The Daily Click ::. Forums ::. Klik Coding Help ::. How to change gravity in Mode 7 EX extension?
 

Post Reply  Post Oekaki 
 

Posted By Message

Piqutchi



Registered
  24/12/2012 15:51:13
Points
  29
24th December, 2012 at 24/12/2012 16:03:06 -

For my current project, I need to make it so that the player can go higher or lower depending on how high or low the heightmap is. However, the Mode 7 engine I'm currently using does not support that at all.

I assume I'll need to change the gravity in order to make this work. How do I do so?

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49567

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
25th December, 2012 at 25/12/2012 07:42:58 -

Gravity?
What engine are you using?

It's entirely possible to adjust the vertical position of an object on screen in relation to it's position on a height map. It just depends on how the data is stored.

If you can retrieve the height value of a certain spot on the height map then all that's next is to decide where the object is located on the plane relative to the height map.

Of course one needs to know how the engine that you are using works first to determine that.

 
n/a

Piqutchi



Registered
  24/12/2012 15:51:13
Points
  29
27th December, 2012 at 27/12/2012 01:42:23 -

I am using the engine from the game/project below:

http://www.create-games.com/download.asp?id=8241

Any suggestions?

 
n/a

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
28th December, 2012 at 28/12/2012 03:27:51 -

The author of the engine example you've cited, SupaStix, recommends the following:

There's an example (and several others) included with the Mode7Ex extension that does what you're asking for. Check it out.


See the comments below the original download for more info.

Unfortunately I'm not brainy enough to offer any more suggestions...Mode7 is quite far beyond me. But best of luck to you.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click