Devlog Week #2
1.What did you learn this week?
This week I learned what an Enum and Singleton are. An Enum being a data type that is essentially a list of values, and a Singleton ensure that there is only one instance of something.
2.What work did you complete for your project?
I used my new knowledge of an Enum and Singleton, and used them in my code on the new menu controller script I made
3.What challenges did you face, and how did you overcome them?
A challenge I faced was learning when and how to incorporate an Enum or a Singleton into code and why they should be used over other options. The challenge was easily overcome with the help of the goat Mr. Cardoso who explained my problem used examples and gave good ideas on how they should be used.
4.What would you like to learn next?
I would like to learn how to code in variables like a players score, health, currency or position and having them update with gameplay like when collecting more currency or regening health.
5.Picture/Video of My Work
Moonveil
Status | Prototype |
Author | Alexdmn |
Genre | Action |
Tags | 3D, Dark Fantasy, Short, Singleplayer, Souls-like |
More posts
- Devlog Week #34 days ago
- Devlog Week #16 days ago
Leave a comment
Log in with itch.io to leave a comment.