whats a good method for throwing bombs in an isometric shooter?
Printable View
whats a good method for throwing bombs in an isometric shooter?
Hi wakashot. It is not Iso, but I have a open source Toss example on my website. Maybe you can adapt it.
Marv
Well I know how to toss bombs on platformers i just wanted to know how to on isometric games because thats what kind of game i am working on
Maybe have a shadow that moves isometrically, and the bomb follows it and just has a relative height from the toss. :\
Now since im new to this i ask you this to be sure. what do you mean by relative height from the toss?
Well, when you throw something up, usually it goes up, and not some other direction.
ok i understand but do you mind sending in an example file?
Well if you already have the Isometric movement working you obviously know more than me! I was just giving you the basis of how to go about it. I don't know how to do it by events, I never use Isometric. :(
I built one, but it's not working, so I'll try to walk you through it.
when a bomb is thrown, your character fires a "shadow" piece (If you've played Legend of Zelda, and paid attention to it, there's a shadow when you throw a bomb in that game).
Then, you create a bomb piece, and have it 'always' a distance above the shadow.
The way I'm trying to do this is to increment an Alterable Value of the bomb, have a fast loop move the bomb up 1 pixel, and run that loop (x*(x-100)/50) times, where x is the Alterable Value. Once x hits 100, I stop the shadow.
Assuming this worked, it would result is the shadow moving for 1 second, and above it, the bomb would go from overlapping it, to 50 pixels above it, and back, in a parabolic arc. And the bomb would return to being right on top of it at the same point that it stopped.
Never mind, got something working.
It's going to take some adaptation from you, since all I did was create a set of commands that arcs a bomb over the shadow.
View MFA
thanks i have a better understanding