Game
Rogue Cadet
9 years ago

Day 71


Day 71: Today I got what I wanted done. Even though I spent a lot of time on a non-necessary feature. Except from that, tomorrow, the cats I’m keeping are gone and next friday I got another one coming. It’s great it makes me a bit of money with no real effort.

Daily interesting stuff:

Tasks Done:

  • Followed a bunch of people on twitter. Yes it still sounds like I’m some sort of pervert. I actually did this based on a post on reddit suggesting that following people and participating was the base of twitter (no shit). So I thought of using follow friday (which I always confuse with feedback friday) to follow new people. I used this article which has a lot of gamedev people to follow. Then I used the twitter recommendations. Then I looked at who the people I know follow. I added like 60 persons.

  • Gave two feedback on feedback friday. I didn’t even post my game. It really just to give feedback.

  • Implemented a file save feature. This actually made me think about the whole global access problems. I spent a lot of time trying to find the best way to do this. I was bothering to not find any answer. It’s like there’s no good solution. Only less worse ones. Finally I opted for a singleton. Now wait I know what you think “A singleton what an horror!”. But I use it only to provide readonly access to data needed in a lot of places. That way I don’t have to worry about side effects. I think it’s better than the dependency injection I used before. I can enforce readonly, I can aggregate data in this class, and I can switch the ScriptableObject really easily to test other configurations. The main problem is with the actual save. It’s a place where I actually want to modify those variables. So I made the save method static and it takes the data class in parameter. The load method is also static and returns the loaded data class. That way if I want to modify the save, I load it first modify the object and send it back to save. This should prevent the temptation of modifying variables through the singleton to save them way after. But I must be careful of not having too different part saving around the same time because they might override each other.

  • Implemented the base upgrade influence. It was actually really easy. Since I got everything I needed with the save file. And since I already influence some variables for the ships types. I still had a bit trouble with the bombs. I just forgot to test it thoroughly so it had some bugs.



0 comments

Loading...

Next up

Fan art for Foolish I'm feeling kinda better so I drew this

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.

Successful landing

#screenshotsaturday

Have a good Boi

Why walk when you can jump?

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

Levels' maps.

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

A sneak peek at the new OST, can you guess what this song will be used for? 🤔

Among us_into Madness