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

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

So

i may or may not make an full art of some person or i may just leave this like that-

Been working lately on lots of 'behind-the-scenes' boring stuff that no one really cares about, so here’s a guy playing the sax for some reason.

#screenshotsaturday

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

I was bored, so... ManutKat.

Werehog transformation process. #sonicunleashed

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Strange Umbrella