知末
知末
创作上传
VIP
收藏下载
登录 | 注册有礼

纸杯蛋糕奇遇记

2025/12/08 06:14:23
查看完整案例
微信扫一扫
收藏
下载
翻译
Cupcake Adventures
纸杯蛋糕奇遇记-1
纸杯蛋糕奇遇记-2
I wanted to make a Five Night's at Freddy's game inspired by the mini games in FNAF 3. I was exploring how to make this game using the coding language processing. I wanted to develop my programming skills but also convey a particular cute style in my pixel art creations. Another game of inspiration was Five Night's at Candy's; I love the retro 8-bit style of gaming and wanted to see that come to life in this project.
纸杯蛋糕奇遇记-4
I used my coding skills learned in CSC 103 to make this game, which involves variables, classes, state machine's, array-lists, setup and draw, and many other functions. I also dove into pixel art, which I found is extremely fun. I have 5 states in this game: a start screen, quit button, gameplay, lose screen, and the win screen.
I started with a player class (Chica) and then developed my platform class, button class, Cupcake class, and eventually an animation class. I called all of these either in the setup and draw and made these classes interact. I then used Piskel to create my pixel art and extracted them from the data folder in processing to incorporate the art into my game, and hooray! The magic of Cupcake Adventures.
纸杯蛋糕奇遇记-7
纸杯蛋糕奇遇记-8
纸杯蛋糕奇遇记-9
纸杯蛋糕奇遇记-10
南京喵熊网络科技有限公司 苏ICP备18050492号-4知末 © 2018—2020 . All photos and trademark graphics are copyrighted by their owners.增值电信业务经营许可证(ICP)苏B2-20201444苏公网安备 32011302321234号
客服
消息
收藏
下载
最近