hm... From what I can see of the files, why not associate every unit to a number, then use arrays to know the game state and all? Enemies would use the same with a number for name, icon, and base stats, then you could create another 2 arrays for stat boosts. It would decrease the computation needed for each round of the battle.
It would require an overhaul of the files though, so it might be a lot of work.
Sorry if you did this already, it's just my two cents as a past coder to optimize the code.
It would let the game run with less lag because while there is a little, it's still noticeable. I'd assume it's itch.io, but some optimization never hurts anyone but the coder.
Oh I see, fair point. Only problem I see is things that need to be saved beside stat boosts like maybe a unit's ability changes every 4 rounds. But I could just have another array to save those. I will consider for future projects. It will kill my motivation if I have to redo code now. Thx
Dang the bug is still here. I have tried to recreate it but failed, if you still remember can you tell me if you were clicking any buttons during the game transition.
← Return to Fan Game
Comments
Log in with itch.io to leave a comment.
First non-pomu flawless win!
hm... From what I can see of the files, why not associate every unit to a number, then use arrays to know the game state and all? Enemies would use the same with a number for name, icon, and base stats, then you could create another 2 arrays for stat boosts. It would decrease the computation needed for each round of the battle.
It would require an overhaul of the files though, so it might be a lot of work.
Sorry if you did this already, it's just my two cents as a past coder to optimize the code.
It would let the game run with less lag because while there is a little, it's still noticeable. I'd assume it's itch.io, but some optimization never hurts anyone but the coder.
Oh I see, fair point. Only problem I see is things that need to be saved beside stat boosts like maybe a unit's ability changes every 4 rounds. But I could just have another array to save those. I will consider for future projects. It will kill my motivation if I have to redo code now. Thx
No Prob. Not the first time I've made game code, so I'm a bit used to optimizing stuff like this.
I believe in Pomu supremacy
Damn. Thanks for playing my game so much! Glad you really liked it!
stats don't matter if all the enemies are dead by turn one.
Won using only 4 units!
First non-pomu win :D
I'd say nerf pomu spam but the game did it already.
leaving to menu and continuing fixed it
Dang the bug is still here. I have tried to recreate it but failed, if you still remember can you tell me if you were clicking any buttons during the game transition.
Not that I can remember
Unfortunate
I'll try and recreate it. I have a record of fucking things up in ways they aren't supposed to be able to.
Fun game, thanks!
Thx for playing :D
Glad to see the game finally released, good job on it!
Thx. It will still be updated, since this is only a demo for play testers. Do look forward to future updates