ZFGC

Resources => Coding => Topic started by: ctbmc on August 14, 2014, 02:03:41 pm

Title: [REQUEST] Zelda 2 Engine
Post by: ctbmc on August 14, 2014, 02:03:41 pm
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...
Title: Re: [REQUEST] Zelda 2 Engine
Post by: Theforeshadower on August 14, 2014, 04:50:32 pm
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.
Title: Re: [REQUEST] Zelda 2 Engine
Post by: Theforeshadower on August 15, 2014, 02:30:14 am
Here it is.  I hope you find it useful.  Gravity is essentially the same as moving left and right except you are moving vertically.
Title: Re: [REQUEST] Zelda 2 Engine
Post by: ctbmc on August 16, 2014, 12:54:13 pm
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
EDIT: Fixed, but now I can only jump once. Oh noes...
Title: Re: [REQUEST] Zelda 2 Engine
Post by: Theforeshadower on August 16, 2014, 03:14:46 pm
If you can wait, I can dig up my old Megaman Engine. You can take at look to see how I successfully handled jumping.
Title: Re: [REQUEST] Zelda 2 Engine
Post by: Theforeshadower on August 17, 2014, 12:10:02 am
https://drive.google.com/file/d/0B49_4X0jDFp8WV9aeVNLbjJNNVE/edit?usp=sharing

There ya go.  I hope it helps.
Title: Re: [REQUEST] Zelda 2 Engine
Post by: ctbmc on August 31, 2014, 03:53:33 pm
Speaking of Megaman, I making a Megaman Game in GameMaker as well. The player plays as Protoman and seems to be versus Wily at first, but then it is realized that instead the evil mastermind is a cyborg called Dr. Bugaluggy, who used the robot masters to cover up his plan of zapping Earth from space. ;)

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