The Daily Click ::. Forums ::. Klik Coding Help ::. Eight Direction Engine
 

Post Reply  Post Oekaki 
 

Posted By Message

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
29th March, 2004 at 20:46:27 -

Does anyone have a good eight directions engine that inculdes jumping? I remeber there was an engine like that, but I can't find it on the site. I have MMF 1.0, (I know, I need to upgrade!!!) Anyway...please help!

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Mr Icekirby



Registered
  18/12/2003
Points
  846
29th March, 2004 at 21:07:35 -

8 direction movement???? you mean an isometric jump style? or you mean the 8 directions as a base for your engine? be a bit more specific

 
Mr Icekirby says so!
OBEY ME!

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
29th March, 2004 at 21:13:47 -

Oh, sorry. Yah, an isometric sort of engine.

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Muggus

Possibly Insane

Registered
  31/07/2002
Points
  2958
30th March, 2004 at 00:01:15 -

You probably don't need to make any special movement, basically all you want to make is a custom 8 direction...which is simple enough.

Basically if you want to make jumping you have one of two options I can think of.

First is simple to make an animation for your character that makes it look like it is jumping, and when this animation is playing it can jump over things...ie...collisions with obstacles no longer work.

The other way I can think of is to have instead of your character having the custom 8 direction movement, you have a shadow underneath it. When you jump the player moves upwards...subtract a few from the Y coord relative to the shadow. This will make it look like it is jumping upwards.

This may sound confusing...I could make an example if ya want.

 
MUGGUS
Come and annoy me more at
www.muggus69.tk
STOUT ANGER!!!

Cybermaze



Registered
  03/04/2003
Points
  853
30th March, 2004 at 03:28:33 -

One of the demo games (along with Zeb and Lobotomy) from TGF had isometric view/movement and jumping. Wether it was custom or not ... or how excactly it was done, I dont know. It may be worth a look though.

Dont recall the name of the game ... but its a game with a wizard, some goblins or something and sheeps.

If you dont have TGF I dont know where to get the game (in case you want to check it out), but I guess its freeware so I could make it available to download for you...

 
If you knew, I would have to kill you...

Muggus

Possibly Insane

Registered
  31/07/2002
Points
  2958
30th March, 2004 at 03:47:04 -

That'd be Magicians Lair. Yeah, i'm pretty sure that had a custom movement.

 
MUGGUS
Come and annoy me more at
www.muggus69.tk
STOUT ANGER!!!

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
30th March, 2004 at 16:40:42 -

I remember that. I think the shadow was the object with the 8-direction movement. The actual player was set to the shadow's co-ordinates based on a counter for the jumping. EG:

Set X to X("shadow")
Set Y to Y("shadow") - value("some counter")

'some counter' had some basic gravity physics to make the player jump up then fall down realistically. Worked great!

Sorry mugs, didnt see your reply. oh well, maybe I explained it better ¬_¬

Image Edited by the Author.

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Mr Icekirby



Registered
  18/12/2003
Points
  846
30th March, 2004 at 16:48:13 -

i tryed tinkering with that engine, i got the player to fly... it was odd
but cool

 
Mr Icekirby says so!
OBEY ME!
   

Post Reply



 



Advertisement

Worth A Click