Game
Rogue Cadet
9 years ago

Day 97


Day 97: Today I got my shipment from amazon. I whished they didn’t rung an hour before my alarm clock. I was still in dreaming phase. I managed to fall back asleep, but still… Anyway I got a nice mouse pad with a soft part for my wrist. And also I got Accelerated C++! This book seems awesome.

Daily interesting stuff:

Tasks done:

  • Implemented 11 achievements. It’s all I did today. But that implies some other stuff. Because I just did the tools for the achievements, I had to actually code each specific achievement. And sometimes it made me go in some place of the code base I completely forgot. And of course I jumped on the occasion to do some upgrades. I won’t detail each achievement because It’ll be a boring thing to do. Instead, like yesterday I’m going to write the process to create an achievement:

    1. RTFM. I have a quick description of every achievement in this doc.

    2. Create a script for the achievement (if it can’t be done with existing stuff)

    3. Make that script inherits the base achievement class

    4. Listen to various event needed for you behavior

    5. Create new events if you need

    6. Implement the unlock condition for your achievement

    7. Attach the script to the achievement game object in the appropriate ship prefab

    8. Test the damn thing

    9. Debug if it doesn’t work

    10. Repeat 8 and 10 until it works

    11. Save the ship prefab

    12. Update the data needed for the UI. This includes telling which ship is unlocked by which achievement and other stuff like that. Oh and icons creation…

    13. Enjoy. I know it seems like a lot of work but I don’t think any of those steps could be automated.

  • Changed the way the score UI works. This is one of the upgrades I made to the code while working on achievements. It turns out this UI still worked with the singleton way. Horrible. So I made it event based. For that I created a new event when the score change (and one for the combo). This event now works both for the UI and some achievement.



0 comments

Loading...

Next up

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Werehog transformation process. #sonicunleashed

I-Buki

Mio-Da!

Ibuki Mioda!

Terraria

An infected room from the second part of Cybel ! Are you up for some cleansing?

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

Our menu, gathered a huge feedback and positive comments among foreign audience, what you say? Game Steam: https://store.steampowered.com/app/1543090/LiBER/

Out of boredom and curiosity, I coded Sailor Jupiter's Argentine Backbreaker.

Colorful Fox

Happy Late Easter!

New Teasers!