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

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

This Satuday we invite to watch another #speedpainting of our artist Daniel Faiad.

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

Bandana Dee the Dream Friend

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

Another house i made long time ago.

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

What do you think guys in my robot?Just a beginner in 3d modeling..

My instagram https://www.instagram.com/rojhonbb/

I-Buki

Mio-Da!

Ibuki Mioda!

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve