Hello
i need some help.
i need to make multiple planets
and i want the player to walk on them
i dont know how to make gravity work
and i want to make big round planets.
anybody have an idea how to make that??
that simplest way possible
Hi
Obviously you'll need a custom movement engine.
I would start to get the position of the player and the nearest planet/the size of the planet (bigger => more attraction) and adjust the angle of the player(for the feets to be on the planets) and adjust the gravity to positive or negative (Up or down), that looks really complex x)
The trigonometry is not my favorite math-part, it was just an idea good luck !
Hey mark, i did this little example for you:
http://www.puu.sh/63UGu.mfa
(Angle of the player, and allow him to walk across the planet i dont know x) )
It's actually not too hard at all, and as luck would have it, I was working on something like this before Christmas.
I made you an example here: http://sdrv.ms/1k84cKy
I know Pixelthief has also released similar engines before, so it might be worth checking out his downloads as well...
No worries
I was planning to make a kind of Worms clone, set in space, with destructible planets - but it turns out that has already been done before, so I won't bother (unless I make it far more strategic)
Wow sketchy that looks awesome !
Even if it has been made, this game is a sketchy game, meaning it's an awesome game ! I see all the efforts you put into the mmf2 community (examples and all) you're very good at maths and you got good ideas, did you learned mmf2 by yourself ? Anyway, you're awesome !
Sorry - I didn't make that - that's the game that someone else already made. It's just to show you the kind of thing I had in mind.
But yeah, thanks - that's very kind of you to say
And I started with Klik'n'Play many years ago, so I've had a while to learn stuff...