Twin Stick Shooter 'Fuzeotron'
-
@SteveZX81 do you use a deadzone variable or is it hardcodes?
-
Ok after playing for a few moments you have the old diagonal angle issue. Basically you move twice as fast on diagonals because it adds both values together. You need to normalize your diagonals. Which I honestly have no clue how to do, so my reccomendation is to look up how to normalize a diagonal or maybe someone else can chime in. Thats absolutely where your movement issues come from
-
@Retrocade_media I use this (I believe I stole..uhm borrowed it from Martin)
'if c.lx < -0.5 and player.x > 30 then player.x -8 endif'
same for the other directions.
-
@SteveZX81 if you don't mind I'm going to mess around with it and see if I can improve some of the movement stuff? I'll share it back to you and you can let me know if you like it
-
by all means but I'll be cheeky and suggest you use the word improve rather than fix. as it seems to be okay for me. lol ;)
-
@SteveZX81 said in Twin Stick Shooter 'Fuzeotron':
@Retrocade_media I use this (I believe I stole..uhm borrowed it from Martin)
'if c.lx < -0.5 and player.x > 30 then player.x -8 endif'
same for the other directions.
Ohhhhh!!!!!!
If you copied any of the movement code from YASS then that could explain a lot :P
I manually coded fake physics into that which won't be good for a twin stick shooter :)
-
it wasn't YASS but I've no idea what it was from or even if it was a game. Sometimes you just throw code at me when I need help. ;)
-
Ah good point!
-
@SteveZX81 haha, will do
-
I just played it, and it is very fun! Great job!
If you wanted to "normalize" the diagonal motion as discussed above, it should work to multiply your speed by c.lx and c.ly . Such as,
'if c.lx < -0.5 and player.x > 30 then
player.x -=8*c.lx
endif'I did not notice that being an issue, but I trust the judgement of the shmup aficionados!
Great job!
-
Well done Steve this is excellent.
I'm dying all over the place but get a little further along and it keeps me coming back for more. -
I’m late to the party as usual but this game is fantastic! I made it to level 9 on my first go, but haven’t been able to get there again.
I think the classic retro baddies for each level is a great touch, as it really provides an incentive to do better. And the title screen is very professional and polished. You should be very proud!!
Edit: Level 19!! Another thing I like is how you have to think strategy. I now focus on taking out the spores, as the spawners are deadly -
Level 25 is a bear-- those big guys are faster than the player, and take a ton of hits! I can get there consistently, but haven't been able to beat it yet.
Of course, I could just decrease their life in the code... nah, I'm not a cheater :D
-
-
Oh my! He is quite literally evil.
-
@Martin said in Twin Stick Shooter 'Fuzeotron':
Oh my! He is quite literally evil.
I see what you did there. ;)
-
What have I done! I hope it is not too hard now... :-)
-
This post is deleted! -
Fuzeotron 1.21 is now live and the code is: MXK7Q2X76D (sorry it's a new code, that's my fault)
Changes:
1: improved movement code (thanks to Retrocade_media)
2: spawners are not in level 1-3, only after 3
3: humans now give incremented points 1000,1250,1500 and 2000.
4: Otto joins if you dawdle around on one level too long. he is faster than you and invincible!
5: minor otto sprite bug fixed in 1.21in a way the game is slightly easier now because you can get a lot more points if you collect all the humans which will obviously give you more extra lives.
-
@SteveZX81 can't wait to play! Sounds amazing!