在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:dpweberza/ImpactJS-Plugins开源软件地址:https://github.com/dpweberza/ImpactJS-Plugins开源编程语言:JavaScript 100.0%开源软件介绍:ImpactJS - PluginsThis means no bug fixes, pull request merging or support. NOTICE: Unfortunately I will no longer be maintaining any ImpactJS plugins.Retro High Score Name FieldPlugin HomeThis plugin allows you to add a retro style high score name text field to your game. The player uses his / her keyboard to switch each character to the desired letter of the alphabet to make up his / her name. Usage is really simple: Include the entity in your module requires: 'game.entities.retrohighscorenamefield' In your games init function spawn an instance of the entity by passing in two different fonts and the number of characters you need and then save the object returned so that you can ask it for the name later. To get the name after saying the Enter key was pressed simply call getName() TextureAtlas, TextureAtlasAnimation and TextureAtlasImageThis plugin allows you to create a TextureAtlas from TexturePacker or ShoeBox output and then create animation objects by referring to frames of different sizes by name. A demo has been included for your convenience, just copy in your impact folder Usage is really simple:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论