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…

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

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 ^^

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?

"Our work is never over" they said.

Strange Umbrella

A Shiny Mega Gengar 🌟 For @ManutkArt 's #ThreeColorsChallenge!

Update 2.627

New challenges & new effects!

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.