C .
ODE
G
AMELET
person_outline
Sign In
videogame_asset
Public Games
local_library
Public Library
work
Public Projects
comment
Discuss
search
visibility
code
OPEN
info_outline
# 熊熊台灣優質外送茶 熊熊台灣優質外送茶Gleezy:tw707 或LINE:pp2263 或telegram:tw707 ## 開始設計 <a href="cg://source/CG.tw707/game.events" class="mat-raised-button mat-primary">編輯遊戲事件表</a> ## 作者 **[Gleezytw707](/profile/116598782703482122865@google)**
熊熊優質外送茶
Gleezytw707
visibility
code
OPEN
info_outline
# ironman2025_cook One Paragraph of project description goes here ## Getting Started (For a game project) Write some tips or instructions how to control in your game. (For building a module) Write a piece of codes to demostrate how to use this module. ```typescript function examples() { } ``` ## Authors **[cook1470](/profile/cook1470)**
ironman2025_cook
cook1470
visibility
code
OPEN
info_outline
# 酷可的光暈戰記事件模組(TwilightWarsEventsCook) 用於擴充各種常用,但 [**TwilightWarsEvents**](https://code.gamelet.com/edit/TwilightWarsEvents) 沒有提供的動作、檢查、觸發。 因為 [**TwilightWarsEventsExp**](https://code.gamelet.com/edit/TwilightWarsEventsExp) 太髒太亂了,導致我自己開發新專案都不會用,所以打算重新弄一個乾淨的。 如專案標題所述,是我用來做給自己使用的,因此**破壞性更新是可能的!**如欲安裝請自行斟酌。 但由於開放源碼,所以萬一發生相關事件你也可以自己備份原始功能。 本專案有**大量中文註解**,如果你對於開發光暈戰記的新功能有興趣,可以查看原始碼來了解動作是怎麼運作的。 <font color=red>**注意!本模組可能與 [TwilightWarsEventsExp](https://code.gamelet.com/edit/TwilightWarsEventsExp) 存在部分衝突,如非必要不建議同時安裝兩個模組。**</font> ## 添加新功能的原則 - 必須基於 **TwilightWarsLib** 內有的功能衍生出來,如 `function`、`class` 等。 - 必須支援多人遊戲同步,沒有辦法在多人遊戲時,同步所有玩家狀態的功能不應該添加。 ## 玩家社群 ### Discord - [**嘎姆討論區**](https://discord.gg/hZKQzRfPJM):於 2021/05/08 創立的非官方社群,主要用於討論嘎姆擂台的相關資訊。 ## 作者 **酷可**:[**Code.Gamelet**](/profile/114899766849308759711@google)、[**Gamelet.Online**](https://gamelet.online/user/114899766849308759711@google/board)、[**Youtube**](https://www.youtube.com/@cook1470)
TwilightWarsEventsCook
cook1470
visibility
code
OPEN
info_outline
# pixi_spine_test One Paragraph of project description goes here ## Getting Started (For a game project) Write some tips or instructions how to control in your game. (For building a module) Write a piece of codes to demostrate how to use this module. ```typescript function examples() { } ``` ## Authors **[Haskasu](/profile/Haskasu)**
pixi_spine_test
Haskasu
visibility
code
OPEN
info_outline
# Ryvexia2 One Paragraph of project description goes here ## Getting Started (For a game project) Write some tips or instructions how to control in your game. (For building a module) Write a piece of codes to demostrate how to use this module. ```typescript function examples() { } ``` ## Authors **[cook1470](/profile/cook1470)**
Ryvexia2
cook1470
visibility
code
OPEN
info_outline
# CookPixiUI2 這是一個主要用於 Code.Gamelet Pixi v8 的 UI 模組。 <font color=red>**(本專案僅支援 [Pixi](https://code.gamelet.com/edit/Pixi) 模組,使用 [Base](https://code.gamelet.com/edit/Base) 模組的專案請勿載入此模組,否則會壞掉。)**</font> ## 元件介紹 本專案說明文件皆建立在 Pixi 舞台長 960 寬 540 的情況之下,在使用 Pixi 之前,請先確保你已經正確的初始化 Pixi。 1. 使用 **`then`** 等待。 ```ts // 初始化 pixi CG.Pixi.pixi.initialize({ stageWidth: 960, // 舞台寬度 stageHeight: 540 // 舞台高度 }).then(() => { // 初始化完成後... }); ``` 2. 使用 **`async`、`await`** 等待。 ```ts // 定義一個 async 函數 async function main() { // 在 async function 中,可以使用 await 來等待 Promise 完成。 await CG.Pixi.pixi.initialize({ stageWidth: 960, // 舞台寬度 stageHeight: 540 // 舞台高度 }); // 初始化完成後... } // 呼叫 main 函數 main(); ``` - <a href="cg://source/CG.CookPixiUI2/Readmd/ScrollView.md">ScrollView(滑動容器元件)</a> - <a href="cg://source/CG.CookPixiUI2/Readmd/ListView.md">ListView(清單元件)</a> - <a href="cg://source/CG.CookPixiUI2/Readmd/DynamicListView.md">DynamicListView(動態清單元件)</a> - <a href="cg://source/CG.CookPixiUI2/Readmd/ListViewCell.md">ListViewCell(清單項目元件)</a> ## Authors **[cook1470](/profile/cook1470)**
CookPixiUI2
cook1470
visibility
code
OPEN
info_outline
# CookPixiUI 這是一個主要用於 Code.Gamelet Pixi v5 的 UI 模組。 ## 元件介紹 本專案說明文件皆建立在 Pixi 舞台長 960 寬 540 的情況之下,在使用 Pixi 之前,請先確保你已經正確的初始化 Pixi。 ```ts // 初始化 pixi,長 960 寬 540 CG.Base.pixi.initialize(960, 540); ``` - <a href="cg://source/CG.CookPixiUI/Readmd/ScrollView.md">ScrollView(滑動容器元件)</a> - <a href="cg://source/CG.CookPixiUI/Readmd/ListView.md">ListView(清單元件)</a> - <a href="cg://source/CG.CookPixiUI/Readmd/DynamicListView.md">DynamicListView(動態清單元件)</a> - <a href="cg://source/CG.CookPixiUI/Readmd/ListViewCell.md">ListViewCell(清單項目元件)</a> ## Authors **[cook1470](/profile/cook1470)**
CookPixiUI
cook1470
visibility
code
OPEN
info_outline
# emptyProject 這是一個已經載入pufferfish's playground的專案 ## Introduction 在遊戲內說話會自動啟動指令 <br> 像是如果玩家在遊戲內說了henshin <br> 如果henshin是指令就會直接生效 <br> 有什麼指令都可以在import libraries找,指令都會是小寫 <br> <br> ``` namespace CG.pufferfishsPlayground3.riderSenderUtils { export declare class Boostuppls { constructor(); static boostuppls(e: any): void; } } ``` 這種放在riderSenderUtils 的functions代表這是一個可以使用的指令 <br>有些是單一指令,像是boostuppls,角色直接說boostuppls就有效了 <br>henshin、boostuppls、bombpls都是直接有效的指令 <br>boostuppls 也可以補參數,像是boostuppls 5,中間放空白就能補參數 <br>有哪些參數可以補我還沒有特別整理,之後會再做教學 ## Authors **[pufferfish_01](/profile/pufferfish_01)**
emptyProject
pufferfish_01
visibility
code
OPEN
info_outline
光暈的存檔系統有點複雜 光暈戰技裡面有ACTOR 與玩家 其中 如果你要存檔 你要用玩家的ID 有些事件可以找到如 玩家加入遊戲防 玩家按下鍵盤 而角色殺死攻擊者代碼就算是玩家 它代表的是ACTOR 並不是玩家ID
存檔系統測試
dillenhub
visibility
code
OPEN
info_outline
# Playground 專門用來快速在畫板上塗塗抹抹的專案。 ## Getting Started 摳出來成為你自己的新專案後,可用以下幾種工具(在/libs裏的工具)快速畫圖。 ```typescript // 畫一個紅色的圓 draw.circle(0, 0, 100, {fillColor: 0xFF0000}); // 打開一個確認視窗 dialog.confirm('Are you sure?', 'Click confirm if you think it is ok.') .then((confirm) => { if(confirm) { console.log('User confirmed.'); } }); // 收集資料畫長條圖 let dataCollector = new DataCollector(); dataCollector.addData('一月', 1, 2); dataCollector.addData('二月', 2, 10); dataCollector.addData('三月', 3, 5); dataCollector.addData('四月', 4, 6); dataCollector.showChart('第一季', 'bar'); ```
agar.io
dillenhub
visibility
code
OPEN
info_outline
# CgEventsLib2 One Paragraph of project description goes here ## Getting Started (For a game project) Write some tips or instructions how to control in your game. (For building a module) Write a piece of codes to demostrate how to use this module. ```typescript function examples() { } ``` ## Authors **[Haskasu](/profile/Haskasu)**
CgEventsLib2
Haskasu
visibility
code
OPEN
info_outline
# Server2 One Paragraph of project description goes here ## Getting Started (For a game project) Write some tips or instructions how to control in your game. (For building a module) Write a piece of codes to demostrate how to use this module. ```typescript function examples() { } ``` ## Authors **[Haskasu](/profile/Haskasu)**
Server2
Haskasu
visibility
code
OPEN
info_outline
# 五十音 ~~BINGO~~ 這是一個用來練習五十音的小遊戲。 可以在主頁面設定要以平假名或是片假名為主。 開始後會產生 5 x 5 的隨機假名表,並且隨機產生對應的題目,如一開始選擇平假名,則題目將為片假名,根據題目選擇對應的假名即可圈選。 快來測試看看自己的速度如何吧! ~~花了一個晚上做的,原本要做 BINGO,但連線之後有機會再說吧~~~ ## Authors **[cook1470](/profile/cook1470)** ## 素材 ### Sprite - [basic-gui-bundle](https://penzilla.itch.io/basic-gui-bundle) - [Bing image creator](https://www.bing.com/images/create) ### Music - [Bossa Nova](https://opengameart.org/content/bossa-nova) ### Sound Effects - [Haskasu](https://code.gamelet.com/profile/Haskasu/assets) - [cook1470](https://code.gamelet.com/profile/cook1470/assets)
GojuuonBingo
cook1470
visibility
code
OPEN
info_outline
# EnhServer 為了解決一些CG功能上的缺失,故實作此Lib。 包含變數無法跨專案使用,以及無法跨專案實作大聊天室。 (可能只是不知道方法) 未來將會逐步補上缺失的功能,範例後端請參照[此Github repo](https://github.com/setsuk1/EnhServer-monorepo),歡迎發起PR。 以及可以加入[Discord群組](https://discord.gg/seJwuzCbWq)一起討論,並共同討論功能方向。 初期可能不穩定,建議自建Server。 **且安全性並非此Lib的第一考量,此Lib主要是作為補充功能使用。** ## 如何使用 主要是透過下列方法進行初始化: ```typescript server.initialize(options) ``` options部分為可選選項,若參數為空則預設連線至Enh之後端伺服器。 預設狀態本模組會export一個server物件提供操作,若是希望使用多個instance,僅須透過下列方法: ```typescript const customServer = new EnhServer(); customServer.initialize(options); ``` 之後透過下列方式取得一對一傳訊的資料: ```typescript let context = { handler(data: any, senderCode: string) { console.log(data); } } server.msgManager.on(UserEventList.MSG.UNICAST, context.handler, context); ``` --- ## 呼叫功能 作為範例,下面舉出廣播至全體的功能如何使用: ```typescript let cmd = new Command(SocketEventList.USER, new BroadcastToAllEvent({ data: "Hi there." })); server.sendCommand(cmd); ``` 由此便可送出"Hi there."訊息到Server上的所有使用者。 至於其餘功能目前尚未確定如何說明,待補。 ## Authors **[EnhProject](/profile/EnhProject)** - **[不會取名字](/profile/buhuechuminzu)** - **[雪姬](/profile/setsuki)**
EnhServer
EnhProject
visibility
code
OPEN
info_outline
# TwilightWarsEventsEnhFF "FF" stands for "Fast Forward", and can be considered as **beta version** of original **TWEventsEnh**. Due to slow updates of the original Enh, many functionalities cannot be implemented. ## Additional This project is mainly maintained by [雪姬](/profile/setsuki). The **[Enh Discord server](https://discord.gg/seJwuzCbWq)** is also welcoming participants! ## Important ***It is recommanded to read source code of this project!*** The main concept is to make events work as code. Not just focused on **performance**, but also provide more **flexibility**. This project will not repair bugs unless they are critical. If there are any bugs, they will be fixed when integrated into the main Enh. Enh needs your participate for testing, asking questions or reporting bugs! Features merged into the mainline Enh will be removed here. ## Authors **[EnhProject](/profile/EnhProject)** - **[不會取名字](/profile/buhuechuminzu)** - **[雪姬](/profile/setsuki)**
TwilightWarsEventsEnhFF
EnhProject
visibility
code
OPEN
info_outline
# ZUNHONG 在這兒寫下一段簡短的文字介紹你的遊戲吧。 ## 開始設計 <a href="cg://source/CG.ZUNHONG/game.events" class="mat-raised-button mat-primary">編輯遊戲事件表</a> ## 作者 **[Yoyo.Own](/profile/106866699248391367123@google)**
TESTZUN
Yoyo.Own
visibility
code
OPEN
info_outline
# 我的光暈戰記 My Twilight Wars 皇家近武能力測試 The template that help developers to build their own twilightwars-like game, your own map, your own mission. ## 快捷鈕 Shortcuts <a href="cg://source/CG.TWEventsGameTemplate/game.events" class="mat-raised-button mat-primary">編輯任務事件表 (Edit Events)</a> <a href="cg://source/CG.TWEventsGameTemplate/gamemap.twmap" class="mat-raised-button mat-primary">編輯地圖 (Edit Map)</a> ## 多重任務列表 將 appSeasons.ts 設為遊戲進入點,即可支援任務章節/列表。 <a href="cg://source/CG.TWEventsGameTemplate/seasons.ts" class="mat-raised-button mat-primary">編輯 seasons.ts 任務列表</a> Set appSeasons.ts as the entry point to support seasons/mission list. <a href="cg://source/CG.TWEventsGameTemplate/seasons.ts" class="mat-raised-button mat-primary">Edit seasons.ts (Mission List)</a>
皇家近武能力測試
36984
visibility
code
OPEN
info_outline
# PathFindingDemo An web app that demostrate how path-finding algorithm progresses. 展示路徑搜尋演算法的搜尋過程。 [Youtube說明影片](https://youtu.be/_B8XV1iIvq8) # iT邦2022鐵人賽示範專案 30個遊戲程式的錦囊妙計系列 [Trick 27: 承先啟後的路徑搜尋-A*演算法](https://ithelp.ithome.com.tw/articles/10292260) ## Map Editor The app contains a simple map editor that help you create different maps to run the path-finding. ### Terrains The editor offers 5 different terrains: * Plain * Water (passable but cost a lot) * Forest * Mountain (cannot pass through) * Road (super low cost) The map can be saved to a file. The file can then be used to import the map to the editor. ## Path finding ### Algorithm The simulator includes 4 algorithms: * A-Star (A*) * Best First Search (BFS) * Dijkstra’s Algorithm * Deep First Search (DFS) ### Estimate Plans When estimating the cost from a tile to another tile, the simulator offers 7 different strategies to try. ## Authors **[Haskasu](/profile/Haskasu)**
hopscotch
ox1Ok
visibility
code
OPEN
info_outline
# MarutsukiMaruhiTenkiHaru 在這兒寫下一段簡短的文字介紹你的遊戲吧。 ## 開始設計 <a href="cg://source/CG.MarutsukiMaruhiTenkiHaru/game.events" class="mat-raised-button mat-primary">編輯遊戲事件表</a> ## 作者 **[Aya55](/profile/106797148482283198640@google)**
MarutsukiMaruhiTenkiHaru
Aya55
visibility
code
OPEN
info_outline
# fengyuan 在這兒寫下一段簡短的文字介紹你的遊戲吧。 ## 開始設計 <a href="cg://source/CG.fengyuan/game.events" class="mat-raised-button mat-primary">編輯遊戲事件表</a> ## 作者 **[Meredith](/profile/103361319612759121657@google)**
逢緣
Meredith
MORE RESULTS
ⒸCode.Gamelet.com |
Privacy Policy
|
Terms of Service