Resources > Coding

[REQUEST] Zelda 2 Engine

(1/2) > >>

ctbmc:
I would like an engine using GMK8 Pro that allows me to make a game based on The Adventure of Link for the NES. I am no good coder (honest) so one using at least some actions would be nice.
Please...

Theforeshadower:
If you wait until I get home from work, I have a document that contains the movement during side-scrolling scenes in zelda2.  I also have a gmk to go with it.

It doesn't contain anything other than left and right movement, but it should get you started.
Just give me a few hours until I can get on my laptop at home.

Theforeshadower:
Here it is.  I hope you find it useful.  Gravity is essentially the same as moving left and right except you are moving vertically.

ctbmc:
Thanks. I added a jumping event but when I land on the ground I dissapear :-[
Sup with it?

--- Quote ---Collision Event with object obj_col:
if expression vspeed > 0 && y < other.y is true
      if relative position (0,+vspeed) is collision free for Only solid objects
            move in direction direction at most 12 till a contact with solid objects
            set the vertical speed to 0
else
      move in direction direction at most 12 till a contact with solid objects
      set the vertical speed to 0

Key Press Event for Z-key Key:
if relative position (0,1) gives a collision with Only solid objects
      set the vertical speed to -10

--- End quote ---
EDIT: Fixed, but now I can only jump once. Oh noes...

Theforeshadower:
If you can wait, I can dig up my old Megaman Engine. You can take at look to see how I successfully handled jumping.

Navigation

[0] Message Index

[#] Next page


Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Go to full version