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
# CSSTutorial One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc ## Authors **[Haskasu](/profile/Haskasu)**
CSSTutorial
Haskasu
visibility
code
OPEN
info_outline
# 【C.G同人陣】足球小遊戲 仿Messenger的足球小遊戲 ## C.G同人陣介紹 C.G同人陣可說是光暈同人陣的升級版本,C.G同人陣保留了原有的遊戲設計的特色之外, 同時大大增加了自由度,您可以自行做不同的遊戲,不論是RPG還是mini-game,在這也可以實現! 除此之外,您還可以自行加入不同的檢查、動作,讓你的遊戲不再受限於框架,沒有那個動作,就自己加入那個動作; 你還可以使用自己的資源,包括圖片、音樂等等,千變萬化! ## 遊戲玩法 開始遊戲時,畫面會出現一個足球,玩家需要點擊足球,讓足球不會掉下來。 ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[gamtable](https://code.gamelet.com/dev/profile/gamtable)** ## 注意 本遊戲在電腦和手機上也可以遊玩。開發時以手機為設計藍本,因此很多設計也是基於手機。
【C.G同人陣】足球小遊戲
gamtable
visibility
code
OPEN
info_outline
# HtmlTutorial2 One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc ## Authors **[Haskasu](/profile/Haskasu)**
HtmlTutorial2
Haskasu
visibility
code
OPEN
info_outline
# HtmlTutorial One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc ## Authors **[Haskasu](/profile/Haskasu)**
HtmlTutorial
Haskasu
visibility
code
OPEN
info_outline
# ReactMaterial React components that implement Google's Material Design. Integrated with Code.Gamelet. ## Getting Started ### Usage Open a pre-defined dialog: ```typescript // Alert Dialog CG.ReactMaterial.dialogs.openAlertDialog({ title: 'Alert!!!', message: 'Something is happening.', onClose: () => { console.log('dialog is closed'); }; // Confirm Dialog CG.ReactMaterial.dialogs.openConfirmDialog({ title: 'Delete File', message: 'Are you sure?', onConfirm: () => { console.log('user confirmed'); }; // Input Dialog CG.ReactMaterial.dialogs.openInputDialog({ title: 'What\'s your name?', message: 'Your name will be shown in the highscore board.', onConfirm: (value: string) => { console.log('name = ' + value); }; ``` To write your own React element: ```typescript CG.React.renderElement( <div> <materialUI.TextField id="name" label="Name" margin="normal" /> <materialUI.Button variant="contained" color="primary" size="small" className={classes.button}> Send <materialUI.Icon>send</materialUI.Icon> </materialUI.Button> </div> ); ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors **[Haskasu](/profile/Haskasu)**
ReactMaterial
Haskasu
visibility
code
OPEN
info_outline
# Fingertip Star (指尖明星) 快點擊你的鍵盤,成為fingertip star 的一員! <br> ## BGM1 "Cheery Monday" Kevin MacLeod (incompetech.com)<br> Licensed under Creative Commons: By Attribution 3.0 License<br> http://creativecommons.org/licenses/by/3.0/<br> ## BGM2 "Laser Groove" Kevin MacLeod (incompetech.com)<br> Licensed under Creative Commons: By Attribution 3.0 License<br> http://creativecommons.org/licenses/by/3.0/<br>
【Online】Fingertip Star
gamtable
visibility
code
OPEN
info_outline
# SpyFall > Author: [FK人(Dipsy)](https://github.com/dipsywong98/) CodeGamelet 首個完全沒用CG library,沒有typescript syntax,堅持使用完全原味javascript的遊戲上線啦!!! ~~(先躲,感覺會被小哈追殺)~~ ### 玩法 所有玩家都有一個身分和一個共同地點,除了間碟只知道自己是間碟而不知地點。玩家輪流向另外某個玩家發問,若十分鐘之內發現間諜,玩家勝,如果間諜發現地點或找不到間諜或找錯間諜,間諜勝。 建議所有玩家坐在同一個房間/開discord 作溝通,或者用內建的聊天室 ### 代碼 - 母湯看代碼哦 - 母湯看代碼哦 - 母湯看代碼哦 - 很重要所以要說三次 - 看了你會吐血 - 草泥馬只有1行代碼就能弄出又有房間系統又有firebase又那麼漂亮的遊戲,還要多語言,靠北哦刷新一下我的語言設定還在哦 - 只要功夫深,_棒磨成針,某FK用的可是iframe - window.location.href 指的是你目前的網頁位置,某FK 將它指到別處,就不需要用CG和typescript 寫遊戲啦哈哈哈 - 如果你們想看某FK真正的code,在這兒哦~ 完全免費的哦~ [https://github.com/dipsywong98/SpyFall](https://github.com/dipsywong98/SpyFall) - 具體製作方法我還是不在這兒說了吧,畢竟我是爆了五天肝才弄出來,這兒不好說,~~還有怕嚇跑初學者~~ - ~~其實我比初學也好不了多少,我2017年才開始學,所以大家要加油哦(X~~ - ~~如果你們有github帳戶,歡迎star上面的github連結哦~~ - 想給什麼意見的話,歡迎來跟某FK說哦 [https://www.facebook.com/FK.twf/](https://www.facebook.com/FK.twf/)
SpyFall
dipsy
visibility
code
OPEN
info_outline
# CgEventsLib The engine of CgEvents. CgEvents is a great way to build your own games with with a CG.built-in editor. ## Live Demo <a href="cg://source/test/physics.events" class="mat-raised-button mat-primary">Open Demo Events Sheet</a> ## Concept The engine takes a *.events file to run. The .events file is an encoded json which contains a config field and a events field. ```json { config: { stage: { width: "number", height: "number", resolutionPolicy: "showAll" | "exactFit" | "fixedWidth" | "fixedHeight" | "origin", alignHorizontal: "left" | "center" | "right", alignVertical: "top" | "middle" | "bottom" } }, events: [ { id: "string", triggers: [], checks: [], actions: [] }, ... ] } ``` Yon can edit the json with CG.built-in editor to control all your game events. ## How Events Work Each event contains a TRIGGER, some CHECKS, and some ACTION. The event flow works like this: 1. The TRIGGER of the event is triggered by the engine (keyboard pressed, event over, or maybe the hero collides with an enemy) 1. Once the trigger is triggered, the engine then goes check the CHECKS. 1. If all CHECKS pass, the engine executes all the ACTIONS in the event. ## Getting Started ```typescript let manager = new CgEventManager(); manager.importFromSource('CG.YourProject/yourGame.events') .then(() => manager.preload()) .then(() => manager.start()) ; ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)**
CgEventsLib
Haskasu
visibility
code
OPEN
info_outline
HitTestTutorial \ One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
HitTestTutorial2
Haskasu
visibility
code
OPEN
info_outline
HitTestTutorial \ One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
HitTestTutorial
Haskasu
visibility
code
OPEN
info_outline
# TMXMap Use [Tiled Map Editor](https://www.mapeditor.org/) maps in Code.Gamelet with [pixi.js](http://www.pixijs.com/). ## What is Tiled Map Editor Tiled is a 2D level editor that helps you develop the content of your game. Its primary feature is to edit tile maps of various forms, but it also supports free image placement as well as powerful ways to annotate your level with extra information used by the game. Tiled focuses on general flexibility while trying to stay intuitive. ## Getting Started #### Usage 1. import tmx resources into one appResource ``` typescript CG.Base.resourceManager.addAppResource('TMXMap.testMap'); CG.Base.resourceManager.load(() => { CG.Base.pixi.initialize(600, 600); let tiledMap = new CG.TMXMap.MapRenderer('TMXMap.testMap'); CG.Base.pixi.root.addChild(tiledMap); }); ``` #### Usage 2. import tmx resources into a appResource, and load tmx file from source code ``` typescript CG.Base.resourceManager.addAppSource('test/beach.tmx'); CG.Base.resourceManager.load(() => { CG.Base.pixi.initialize(600, 600); let tiledMap = new CG.TMXMap.MapRenderer('test/beach.tmx') CG.Base.pixi.root.addChild(tiledMap); }); ``` To use tmx of appSource (usage 2), you need to modify the tmx: * tileset > source (tsx file) change "filename" to "resourceAlias:filename" * tileset > image > source (embeded tileset) change "filename" to "resourceAlias" or "resourceAlias:filename" ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Resources * [Official Tiled Documentation](http://doc.mapeditor.org/en/stable/) * [Tiled Youtube Tutorial](https://www.youtube.com/watch?v=ZwaomOYGuYo)
TMXMap
Haskasu
visibility
code
OPEN
info_outline
# 數據庫模組(firebase) 一個讓用戶可以應用firebase功能的模組。</br>(本版本和rapid中的firebase功能一樣,已加載rapid的用戶可以不用加載這個。) # 什麼是firebase? firebase是一個由Google提供的開發程式應用,申請了firebase之後,你就可以使用線上數據庫的功能,也可以進行帳號驗證的功能等等。</br> <a href = 'https://firebase.google.com/'>(firebase官網)</a> # 教學影片 沒有經驗的人可以看著影片來做: <iframe width="560" height="315" src="https://www.youtube.com/embed/DXbsAiJdfHk?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> ## Getting Started 1.請先根據上方影片的教學來申請firebase(免費)。</br> 2.輸入下方的程式碼就可以使用! ```typescript var config = { //請在你的project複製 }; CG.firebase.FireBase.initialize(config); CG.firebase.FireBase.load(() => { //你的程式碼 }); ``` ## Authors * **[gamtable](https://code.gamelet.com/dev/profile/gamtable)** ## 其他教學 <iframe width="560" height="315" src="https://www.youtube.com/embed/8J2iPPIG67E?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
數據庫模組(firebase)
gamtable
visibility
code
OPEN
info_outline
# RpgWalkerHaska A tutorial that create a girl animation from a grid spritesheet. ## Getting Started 1. add and load resources 1. parse grid spritesheet 1. add sequences into spritesheet info 1. control spritesheet movieclip ## Authors * **[Haskasu](/profile/Haskasu)**
RpgWalker(Controller)
Haskasu
visibility
code
OPEN
info_outline
# RpgWalkerHaska A tutorial that create a girl animation from a grid spritesheet. ## Getting Started 1. add and load resources 1. parse grid spritesheet 1. add sequences into spritesheet info 1. control spritesheet movieclip ## Authors * **[Haskasu](/profile/Haskasu)**
RpgWalker(Basic)
Haskasu
visibility
code
OPEN
info_outline
實作遊戲,不專業請見諒 遊戲音樂來源: #http://freemusicarchive.org/music/Yung_Kartz/October_2018/DemonFL #https://www.freesoundeffects.com/free-track/scream3-466426/
zombieGameTester
tonyo3o3
visibility
code
OPEN
info_outline
# LoopingBackgroundDemo One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
LoopingBackgroundDemo
Haskasu
visibility
code
OPEN
info_outline
# HaskaAnimationDemo One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
HaskaAnimationDemo
Haskasu
visibility
code
OPEN
info_outline
# BlockyRun One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
BlockyRun
Haskasu
visibility
code
OPEN
info_outline
# SpritesheetDemo Demostrate how to take a spritesheet to create a movieclip, and play animation. ## Websites that host free spritesheets to download - [OpenGameArt](https://opengameart.org/content/2d-complete-characters) - [Game Art 2D](https://www.gameart2d.com/freebies.html) - [Spriters Resource](https://www.spriters-resource.com) ## Spritesheet tools - [Texture Packer](https://www.codeandweb.com/texturepacker) - Pack animation sprites into one textures. - [Alferd Spritesheet](http://www.alferdspritesheetunpacker.forkandbeard.co.uk/forkandBeard/apps/AlferdSpritesheetUnpacker/Download.aspx) - Converts an animation spritesheet into individual frames.
SpritesheetDemo
Haskasu
visibility
code
OPEN
info_outline
# DemoBreakout One Paragraph of project description goes here ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ```typescript Give examples ``` ## Versioning We use [SemVer](http://semver.org/) for versioning. ## Authors * **[Haskasu](/profile/Haskasu)** ## Acknowledgments * Hat tip to anyone who's code was used * Inspiration * etc
DemoBreakout
Haskasu
MORE RESULTS
ⒸCode.Gamelet.com |
Privacy Policy
|
Terms of Service