ZFGC
Resources => Coding => Topic started 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...
-
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.
-
Here it is. I hope you find it useful. Gravity is essentially the same as moving left and right except you are moving vertically.
-
Thanks. I added a jumping event but when I land on the ground I dissapear :-[
Sup with it?
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...
-
If you can wait, I can dig up my old Megaman Engine. You can take at look to see how I successfully handled jumping.
-
https://drive.google.com/file/d/0B49_4X0jDFp8WV9aeVNLbjJNNVE/edit?usp=sharing
There ya go. I hope it helps.
-
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. ;)