Jump to content


Photo

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


  • Please log in to reply
334 replies to this topic

#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

#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

#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:GM8

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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#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

#51 top hunter7

top hunter7

    GMC Member

  • New Member
  • 1043 posts

Posted 18 August 2007 - 12:54 PM

love this engine, especially the follower blocks, they took me ages to figure out, and there you have them, easy as pie :(.

Falling blocks are really kool, i nearly always die at that part, lol. 10/10 for the engine, keep up the good work :)

Are you planning to add more to the engine?

~TH7

Edited by top hunter7, 18 August 2007 - 12:54 PM.

  • 0

#52 seith

seith

    GMC Member

  • New Member
  • 224 posts

Posted 20 August 2007 - 09:58 AM

A beautifully done engine. It's rare to see such quality work.
Simple, clean, and effective, I really have no complaints. Thanks for this.
  • 0

#53 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 22 August 2007 - 10:52 AM

Thank for the review. I've hit a flaw with V3, so it may take a while to come up. And can i have some more comments? If you find any bugs, or things you'd like to see changed just say!
~Eddy Munn
  • 0

#54 AjDeF3

AjDeF3

    Platform Game Lover

  • New Member
  • 1264 posts

Posted 22 August 2007 - 11:07 PM

I would like to see some water, along with basic slopes. I wouldn't even care if there was only 45 degree angle ones.

There very easy to add too.
  • 0

#55 top hunter7

top hunter7

    GMC Member

  • New Member
  • 1043 posts

Posted 24 August 2007 - 09:33 PM

to be honest, i dont see water as an essential ! fair enuf, its not to hard to add, but it is not essential in my opinion ! I cant think of anything to be changed, just be careful with vertical blocks if you are adding them, due to ducking :( ! As i am having the same problem with my engine, though its easy fixed ! Cant wait for an update on the engine !

Still a masterpiece :(

Keep it up !

~TH7
  • 0

#56 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 24 August 2007 - 09:34 PM

Thanks, spent most this evening re-writing it again :(
But V3 will be soon!
  • 0

#57 AjDeF3

AjDeF3

    Platform Game Lover

  • New Member
  • 1264 posts

Posted 24 August 2007 - 09:37 PM

Wee! I cant wait to see the new version!
  • 0

#58 edmunn

edmunn

    GMC Member

  • New Member
  • 1298 posts

Posted 24 August 2007 - 10:11 PM

Yeah, but once again i've hit some more flaws.
But i'm trying hard to get rid of all the bugs, and have changed the way it moves by using lengthdir.
  • 0

#59 Temporal

Temporal

    GMC Member

  • New Member
  • 8 posts

Posted 24 August 2007 - 11:21 PM

Was the ability to wall jump after the second jump intentional or just a nice bug?

It's a very nice engine, I'll see what I can learn from it.
  • 0

#60 name

name

    GMC Member

  • GMC Member
  • 1427 posts

Posted 25 August 2007 - 06:54 AM

This is awsome.
::lmao::
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users