DevLog: Point System and Random Items
DevLog author: Alex
Evening ya'll.
Today I'm bringing an update on two main features that were implemented during this week. First, A points system was implemented, which tracks how many objectives the player completes. Second, a pickup randomizer was created in preparation for the building randomization.
The points system was a feature that was talked about during early development of Lustrat Somnia, but was mostly put in the backlog in favor of more complicated features. Thankfully, implementing this system was not too hard. Using the GameInstance class, which already stores more information needed throughout the game, a function is called that tallies up the amount of objectives collected, multiplies a score multiplier, and adds it all up. A pretty simple system that only gets called on win or lose conditions.
The object randomizer, originally thought to be more complicated, actually took me about an hour to make. The idea behind the randomizer for pickups was that since each building was eventually going to become an actor, All that was really required was to place this new actor that, on begin play, would change into one of the two pickups we have at the moment.
Get Lustrat Somnia
Lustrat Somnia
Horror game with horde defence
Status | Prototype |
Authors | The Vermilion Chocobos, Sun, Ren, TheCephaloDev |
Languages | English |
More posts
- Winning randomNov 18, 2023
- Components Vs ActorsNov 10, 2023
- UI subsystem abstractionNov 03, 2023
- UI versus Shared PointersOct 28, 2023
- AI Accidental MartydomOct 23, 2023
- Clashing systemsOct 20, 2023
- Positioning a randomized objectOct 16, 2023
- Dev Log: Issues with Turning MeshOct 14, 2023
- UI Player Feedback and DirectionOct 14, 2023
Leave a comment
Log in with itch.io to leave a comment.