Activity

manolea_stefan

Ok so now I finished building an executable (msi).
I can’t build any other executables i.e. for MacOs because I don’t have a mac
It was hard to find how to config the files but finally, after researching and fixing a few stuff, I finished my project <3

From this experience I learnt the main idea of developing with compose. I am still a beginner but I’m happy I could make this project look this good and now I understand the core principals of KMP.

Can’t wait to do the next project which will target web probably.

Attachment
0
manolea_stefan

So for today that’s it.
Added some programmer art and started implementing a scaling system (W.I.P.)
Nextt thing I will implement the Pipe class

Attachment
0
manolea_stefan

Ok, so update.
I had to update a bit the game logic because my bird was jumping insanely high the more you waited to start the game.
I already had implemented a delta time dt but it just refused to do it’s job I thought.
Then I remembered that I start my clock when the game starts.

Tl;dr
If you face the same issue, it is because you, yes you dear developer, don t have your first delta time between frames. so when you divide the (i.e. acceleration) that you add to your object with your delta time, guess what, you haven’t accounted for the time between your first and second frame, so your time is useless.

The solution:
Instead of calling the function updateGame only when you are sure that the game Runs, enter the function and add an if that returns if you don’t have to update your game, but add your clock before that return :P

Attachment
0
manolea_stefan

Started by creating the basic mechanics for the game.

Attachment
0