Game
Rogue Cadet
8 years ago

Day 75


Day 75: Today It was harder to work. I did still did stuff though. But I felt like I should have done more stuff. I started well, but as the day went by, my efficiency steadily dropped. Until it stopped completely when I realized I would have to change back the ships. I didn’t account for sprite and animations changes for the different types. So know I have to go back and create a prefab for each ship type. That just killed the tiny amount of motivation I had left. I hope that I’ll be able to finish everything tomorrow…

Daily interesting stuff:

Tasks done:

  • Implemented the ship stock feature. Again this made me think about architecture. But When thinking about it, I conclude that the choices I made aren’t so bad. So I didn’t changed anything. To have a stock feature, I added a “maxstock” and a stock replendish rate on each ship config. Then I added the current stock of ships in the save. In the intergame, the ship selector is in charge of updating the ship stock save data when you select a ship. And now that I write this, I realize that I forgot to show the stock in the UI. And also that I didn’t grey out ships not in stock. Yay more things to do tomorrow.

  • Implemented tools to modify the save in the Unity editor. This way I can cheat easily. It wasn’t actually hard to implement this. I used a scriptable object which automatically serialize its variables. So by having a SaveData variable, I get an Inspector interface at no cost. Now all I had to is to create a tool that load data in this variable and one that override the actual save with the variable. So now all I have to do is to click on the object and use the key bindings for the tool (F9 to load, F10 to save).

  • Kinda implemented the weight system. I say kinda because I’m missing a key component. The upgrades themselves don’t exist yet. And since it’s them that add weight to the ship, you can see the problem. I still did all the other parts though. It looks a lot like the ship stock feature. Except there’s only one current weight and not one per ship. Technically I don’t even need to save the ship current weight as it can be guessed from summing the weight of all the equipped upgrades. But I thought it would be too cumbersome, to do that each time.

  • Dropped the idea of having a tool to know which bullet pattern is used where. I thought this tool would useful because the patterns are Scriptable objects and thus can be used on multiple bullet fountains. But in the end I decided that each pattern would have its specific target. So no need for the tool. As for why I still use Scriptable objects instead of config directly in the bullet fountains. It’s just that these objects are passed by reference. So no matter how many enemies, there would only be one pattern in memory. I guess it’s kind of a flywheight pattern.



0 comments

Loading...

Next up

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

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

So

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

art comission.

Enemies can also suddenly spawn through Realm Rifts. These Rift Spawns are going to be stronger than the ones wandering around. TBD on the enemies... #screenshotsaturday #godstear #madewithunity

One of the most critical update for Sunblaze demo. Now you are able to pet a cat! Finally!

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.

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

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

brung back my old oc plus a new one

...they don`t have names yet tho

Cash Banooca