Jump to content


Photo

V4.01 - Eddy's Platform Engine - [gm6+gm7]


  • Please log in to reply
334 replies to this topic

#1 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 25 June 2007 - 07:34 PM

Note to GMC: I no longer use GameMaker, or practice in Game Development. If you have any problems, please visit the Novice and Intermediate Users.



Posted Image

V4.01 Beta - Written by Edmunn


Update - 01/06/08 : Note - This is a beta version, some updates are still to come!
Welcome to the new platform engine! Here are a list of the new features!
  • New* - Condensed code!
  • New* - Tutorial / message system!
  • New* - Bug fix allowing sprite change of character!
  • New* - Conveyor belts!
  • New* - Movement key variable!
  • New* - Enemies!
  • New* - Updates sprites!
  • New* - Sprite and player speed proportion!
  • Unregistered support!
  • Vertical Platforms!
  • Improved Jump-through blocks!
  • Lives!
  • Slopes!
  • Water!
  • Wall Jumping!
  • Ice!
  • Following Spikes!
  • Short spikes (You have to duck/slide under!)
  • Pixel perfect collisions
  • Acceleration and deceleration
  • Horizontal moving blocks
  • Directional Sprite functionality
  • Falling blocks
  • Following blocks
  • Crates, Switches and Doors [Fixed bug in V3]
  • Super jump blocks
  • Spikes
  • Electricity
  • Double Jump
  • Extra jumps
  • Falling Spikes
  • Switching Spikes
  • Instance deactivation
And much, much more!

GameMaker Version - GM7.0

Links, edmunn.co.uk -
Mirror, 64Digits -
Thanks for all your support, and lastly, please feel free to comment for improvements, and whether you like it or not, and also thank you for downloading!
~Eddy Munn

Edited by edmunn, 16 September 2011 - 09:30 PM.
reopened: links fixed

  • 2

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#2 AjDeF3

AjDeF3

    Platform Game Lover

  • New Member
  • 1264 posts

Posted 25 June 2007 - 08:50 PM

Any chance i can get a gm 6?

Ah well you down have to because ill be back on my windows 98 by tomarrow so nvm...(but i garranty some people will want this)

Im ganna test the exe though, looks pretty good!
  • 0
My game: NEW VERSION! 5 Levels!


Play Sonic Super Dash!
And last but not least... Play my FAVORITE game ever made with GM, and purchase the full version. Here

#3 mike0281

mike0281

    GMC Member

  • Validating
  • 670 posts

Posted 25 June 2007 - 09:56 PM

thats a nice engine edmunn but you said eletricity twice! XD

#4 Games

Games

    GMC Member

  • Banned Users
  • 2968 posts

Posted 25 June 2007 - 10:08 PM

Nice one edmunn..

Ultimate test. You know basically everything has moving platform technology..

Could you make the pushable block have the ability to bounce?
Or make it possible to pull it, with a certain keyboard key of course.
Click to visit Toydaker.com
For Sale: 3 Editables, 40 dollars (demo on site above). Click to purchase.

#5 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 26 June 2007 - 07:08 AM

thats a nice engine edmunn but you said eletricity twice! XD

<{POST_SNAPBACK}>


Thanks man, ill change that now!

Nice one edmunn..

Ultimate test. You know basically everything has moving platform technology..

Could you make the pushable block have the ability to bounce?
Or make it possible to pull it, with a certain keyboard key of course.

<{POST_SNAPBACK}>


Seems like a good idea, im working on slopes and sprite angles at the moment though, so i may add that to my todo list.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#6 mememe

mememe

    GMC Member

  • New Member
  • 1328 posts

Posted 26 June 2007 - 07:43 AM

I really want to test it but I have GM6 Reg. Could you make it GM6 as well?
  • 0


Visit my lifeDevvar blog - The life of a Devvar for tips, hints and reviews to producitivty, useful apps and more.

#7 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 26 June 2007 - 02:22 PM

I no longer have GM6, sorry. But i have included an EXE in the zip remember :)
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#8 [M]edieval

[M]edieval

    MediYama Games

  • New Member
  • 600 posts

Posted 26 June 2007 - 08:11 PM

Heh, very obvious that you have been playing Jumper a lot ;) . Very good engine. Too bad about not having GM6 though.
  • 0

#9 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 26 June 2007 - 08:35 PM

edieval,Jun 26 2007, 08:14 PM]
Heh, very obvious that you have been playing Jumper a lot ;) . Very good engine. Too bad about not having GM6 though.

<{POST_SNAPBACK}>

Heh if someone wants to change it to gm6, be my guest =P

And I've made a small update, now includes switching spikes and falling spikes.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#10 SquareWheel

SquareWheel

    Square Wheel Games

  • New Member
  • 851 posts

Posted 28 June 2007 - 06:13 PM

Very nice engine. It seems very complete and polished, people could really use this.
  • 0
Cook Console | Editor Engine | Mass File Namer

All of my examples are publicly available and can be found at

#11 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 29 June 2007 - 02:35 PM

Thankyou, anymore comments in which i can improve this engine?
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#12 jedi_man

jedi_man

    GMC Member

  • New Member
  • 398 posts

Posted 29 June 2007 - 07:29 PM

Hmm... I'll turn it into a gm6 for you guys.
  • 0

#13 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 30 June 2007 - 09:55 PM

This is one of the better platform engines that I've seen.
The only problem I'm having is the FPS. I think it may be
Vista because I just upgraded. Other games work fine.
Any suggestions to how I could improve the speed?

I run at about 10FPS in small rooms or big. :huh:
Oblivion runs faster than this... :angry:
  • 0

#14 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 02 July 2007 - 05:31 PM

This is one of the better platform engines that I've seen.
The only problem I'm having is the FPS. I think it may be
Vista because I just upgraded. Other games work fine.
Any suggestions to how I could improve the speed?

I run at about 10FPS in small rooms or big.  -_-
Oblivion runs faster than this...  <_<

<{POST_SNAPBACK}>


Holy cow, how old is your computer?
Mine runs at 60 FPS constantly.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#15 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 02 July 2007 - 08:29 PM

Holy cow, this computer is brand new!
I bought it a hallf a year ago for $1000.
You'd think a GFX card with 128mb of
memory would run something this simple...
Hmm... I thought it had 256. I'm getting a
new one anyways. :P Two 8800GS's.
That, and a 64-bit dual core... <_<
Agh. I'll just give you the specs. -_-

http://img337.images...015/specez0.png
  • 0

#16 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 03 July 2007 - 02:54 PM

hmm ok, ill add a function to change the SFX on electricity and things.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#17 [M]edieval

[M]edieval

    MediYama Games

  • New Member
  • 600 posts

Posted 03 July 2007 - 03:09 PM

You could add wall and skid jumping.
  • 0

#18 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 03 July 2007 - 10:06 PM

What would you need to change the effects
for? I don't think that's what is slowing my
computer down. I kinda think it is Vista.
Other games run just fine though. And also,
with or without the electricity, it still runs slow.

I've been testing some stuff. A room with nothing
but the menu gives me 60. A room with one block
gives me 60. I outline the room in blocks.
It gives me 30. I add the player. It gives me about
22. I add a moving block. It gives me 21. I add a
super and a follower. Same. This is a 640x480 room.
That's all. I add two verticle and two horizontal
electricities. Same... I add one block, one crate, one
switch, one door. 19-20 FPS. Weird huh?
I can't figure it out. :)

Edited by Element_TJ, 03 July 2007 - 10:36 PM.

  • 0

#19 Kapser

Kapser

    GMC Member

  • GMC Member
  • 1644 posts

Posted 06 July 2007 - 05:00 PM

Amazing engine, I love it!
  • 0

#20 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 06 July 2007 - 09:05 PM

Thankyou for the comment. Just incase anyone cares, i have perfected the slopes, and am fixing some door bugs, so expect a new version soon!
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#21 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 06 July 2007 - 09:34 PM

Anything on the slowness of my game? ::lmao::
  • 0

#22 hellfire911

hellfire911

    GMC Member

  • New Member
  • 844 posts

Posted 07 July 2007 - 10:17 AM

Arghhh! Finally I finished it! Ok, this is what I've done. I've copyed everything into a .gm6 file for everyone who wants the gm6 file. And here it is.

Click here to download the version 6.1 editable.

Seriously, it was hell. But now I've finished!
  • 0

#23 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 07 July 2007 - 12:14 PM

I appreciate your efforts hellfire911, and will post a link in the topic, could you also keep hold of it, and i PM you when i make updates, so you can change it?

Thanks, Eddy Munn
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#24 hellfire911

hellfire911

    GMC Member

  • New Member
  • 844 posts

Posted 07 July 2007 - 12:44 PM

Yeah, I'll help, but can't GM7 open up GM6 files as well?
  • 0

#25 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 07 July 2007 - 12:51 PM

Yes, but i'm thinking of saving GM6 files =]
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#26 mememe

mememe

    GMC Member

  • New Member
  • 1328 posts

Posted 07 July 2007 - 01:26 PM

Yay! Finally a .gm6 version! Good on ya hellfire-911.
  • 0


Visit my lifeDevvar blog - The life of a Devvar for tips, hints and reviews to producitivty, useful apps and more.

#27 Uzaki

Uzaki

    GMC Member

  • New Member
  • 409 posts

Posted 07 July 2007 - 11:02 PM

I'm torn apart of 2 engines, yours or Jenner's? Argh this is a tough choice...I think I might go for yours until Jenner releases his 3rd version, then I'll see which one to use. This is a great engine by the way!
  • 0

#28 cheeserules

cheeserules

    GMC Member

  • GMC Member
  • 570 posts

Posted 08 July 2007 - 05:48 AM

SWEETNESS!!!
8.9/10
And I'm a hard rater I hardly ever give above an 8 :lol:
  • 0
SOMETHING WITTY!

#29 cloud

cloud

    GMC Member

  • New Member
  • 543 posts

Posted 14 July 2007 - 12:49 PM

can someone give me the code so it wont have that colour changing thing
  • 0

#30 Kapser

Kapser

    GMC Member

  • GMC Member
  • 1644 posts

Posted 14 July 2007 - 02:10 PM

I can't wait for version3. It isnt probly not too hard to do myself, but I wish that we could keep the upper part of the menu (object on mouse) and remove the down part of it. Two direction jumping sprites would be great too.

Very awsome jumper-like engine, I might want to use it.
  • 0

#31 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 18 July 2007 - 09:22 PM

Just posting to say thankyou for all the positive feedback, you have all encouraged me to work on V3 of this engine, which shall be released in a few weeks!

~Eddy Munn

Anything on the slowness of my game? sad.gif

I have found a solution that makes it really really quick! Ill include in the next update =]

Edited by edmunn, 18 July 2007 - 09:24 PM.

  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#32 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 20 July 2007 - 06:06 PM

Awesome. This works great on XP. 60 FPS all the
way. :( No need to fix it for me anymore. I
don't have Vista anymore. I'm sick of slow
GM games. :GM5: I also got DSL. :GM7:
  • 0

#33 mr.gibblet

mr.gibblet

    GMC Member

  • New Member
  • 374 posts

Posted 23 July 2007 - 05:02 AM

Grrawrr!

This looks too much like jumper2!!!

Noone should immitate jumper2! ^_^

Its HOLY!

lol

-thanks,
mr.gibblet
  • 0

#34 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 23 July 2007 - 09:12 AM

Well being a huge jumper fan and a part of the jumper community, it's hard not too imitate it a little.. =D

~Eddy Munn
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#35 Element_TJ

Element_TJ

    GMC Member

  • New Member
  • 132 posts

Posted 23 July 2007 - 03:22 PM

Awesome. This works great on XP. 60 FPS all the
way. :D No need to fix it for me anymore. I
don't have Vista anymore. I'm sick of slow
GM games. ^_^ I also got DSL. :)

<{POST_SNAPBACK}>


Ok.... I got Vista again... It's because I got
a new GFX card, OK? I'm going to test right
now. I should get a perfect 60FPS. I wuv
my new 8600GT. ^_^
  • 0

#36 Phlum MKII

Phlum MKII

    Captain Slow is on patrol!

  • GMC Member
  • 921 posts
  • Version:GM:Studio

Posted 24 July 2007 - 11:24 AM

can someone give me the code so it wont have that colour changing thing

<{POST_SNAPBACK}>


why wouldn't you want the colour change?
If you don't want it in your own game, just remove all lines of code in the player object with "global.colour" in it.
  • 0

'ey up, y' 'r't?

aye, 'm 'r't pal, y' 'r't?

aye, n't s' bad.


#37 jimmyjames

jimmyjames

    Pixel-Chasers.com

  • New Member
  • 305 posts

Posted 26 July 2007 - 03:32 AM

can someone remove the registered features so unregistered users can use it
  • 0
-GM5-

#38 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 28 July 2007 - 01:57 AM

Hey Eddy, can you tell me what this statement in your wall collision code means?
  while (place_meeting(x,y,Floor)){
   x += sign(xprevious-x-0.5);}

  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#39 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 28 July 2007 - 09:27 AM

That code just stops the player from getting stuck in the wall.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#40 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 28 July 2007 - 01:39 PM

I'm sorry, but I am intruiged by this code. ;) My game uses the same x acc as your does, but my character has always landed on the corner of the block, floor, thingy. So I was just wondering specificaly what it does. (peice by peice) Because when I put it in my game, the game works like a charm. (don't worry, I credited you. :P )
it's something like this I think...

while (place_meeting(x,y,obj_wall) //only when colliding with the wall/floor.
x+=sign(xprevious-x-.5) // Not sure what this does. :(


Also, is there another way to prevent getting stuck on the floor? :D (while still using the same accel tecknique)

Edited by Super Trombone, 28 July 2007 - 05:33 PM.

  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#41 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 28 July 2007 - 08:59 PM

add to x either minus or plus of the x previous - x -0.5.

Don't ask me how it works, a freind advised it, and it worked =P
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#42 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 28 July 2007 - 09:27 PM

OK, yay I'm bringing this topic back to life!!!!! BTW I decided not to use that code. Every time I tried to tamper with it, and then play it my entire system froze!!!!!!! :( So I decided to use something else. B)
  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#43 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 28 July 2007 - 09:31 PM

Ok, have you used anything else in your horhay the hedgehog game? BTW i played it and loved it!
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#44 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 28 July 2007 - 10:21 PM

Not from your example, (though it is very nice :( ) I just added my own custom wall juming though. And am currently working on a new song, and a village. :D
  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#45 AjDeF3

AjDeF3

    Platform Game Lover

  • New Member
  • 1264 posts

Posted 30 July 2007 - 03:13 PM

When you ganna release the version with slopes?
  • 0
My game: NEW VERSION! 5 Levels!


Play Sonic Super Dash!
And last but not least... Play my FAVORITE game ever made with GM, and purchase the full version. Here

#46 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 30 July 2007 - 03:49 PM

Probably a week or two, im not to sure at the moment because i've hat a massive flaw with the sprites and the slopes.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#47 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 30 July 2007 - 03:51 PM

Yaknow, you seem to have experiance with x+=h and such, do you know how to fix this? :( It's not solved... :chikin
http://gmc.yoyogames...ST&f=2&t=316568

EDIT: Your code that was supposed to fix this, has a MAJOR flaw, I landed on the floor in a diagonal direction, and my whole system froze!!! :ph34r: Plus I got stuck on the wall once while playing your engine.

Posted Image
Posted Image
Posted Image

Edited by Super Trombone, 30 July 2007 - 03:58 PM.

  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#48 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 30 July 2007 - 03:59 PM

That was possibly something else that you had coded telling it to do something else, and yes i will take a look later.
  • 0

Posted Image
Please PM / Email your suggestions!

15.4" Apple MacBook Pro Late 08', 2.8 GHz Intel Core 2 Duo, 4GB RAM, SSD
Mac OS X Lion


:)

#49 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 31 July 2007 - 08:22 PM

add to x either minus or plus of the x previous - x -0.5.

Don't ask me how it works, a freind advised it, and it worked =P

<{POST_SNAPBACK}>


Is there an alternative to using that, that you know of? :ph34r:
  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪

#50 Super Trombone

Super Trombone

    Walking, Talking, Brass.

  • New Member
  • 1568 posts

Posted 06 August 2007 - 02:22 PM

^^NVM^^
While I'm pretty sure this engine is dead, I have a comment to make.
Anywho Edmun, there was a problem with your code:
while (place_meeting(x,y,obj_floor)){
   x += sign(xprevious-x-0.5);}

This is a LOT better to use.
if h != 0
while (place_meeting(x,y,obj_floor)){
   x += sign(xprevious-x-0.5);}

You see if h is = to 0 your whole game will freeze, and your character will dissapear. :P (which happened to me ocasionaly. :) )

Edited by Super Trombone, 06 August 2007 - 03:54 PM.

  • 0
C++ Platform Engine:
♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪♪




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users