Page 1 of 1

Mario for GE game play video

PostPosted: Mon May 16, 2011 12:28 am
by Hblade
Enjoy :D


Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 5:14 am
by lcl
That looks nice! :)

But there is one thing I think should be improved.
In the video it seemed that sometimes mario got hit even you jumped on the enemy.
Have you done the enemy beating just by collision top side of enemy?
It seems like that and because GE's collision system is pixel perfect, mario loses if some
of his pixels hits the side of the enemy, even if he is on top of the enemy.
You should get rid of that by checking marios y position compared to enemys in
the collisions.

Example:
Mario - collision left or right side of enemy - script editor:
Code: Select all
if (y + height*0.25 > collide.y - collide.height*0.25)
{
    //here the losing code
}

With adding 0.25*height to marios y position in the check and decreasing 0.25*collide.height from enemys y position, there will be little bigger area for colliding on the top of enemy without losing.

Of course, if 0.25 is too much or less, it can be changed.

I wish that was helpful. :)

Can't wait to try the game!

Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 1:19 pm
by Hblade
found a better method :D A non-Glitchy method that lets you jump even to the side of him :D If your falling or jumping, it kills him, otherwise it doesn't :) And if your JUST NOW jumping and hit him you still die :D

Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 1:52 pm
by lcl
Hblade wrote:found a better method :D A non-Glitchy method that lets you jump even to the side of him :D If your falling or jumping, it kills him, otherwise it doesn't :) And if your JUST NOW jumping and hit him you still die :D

That's good! Glad you got it solved! :)

Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 2:09 pm
by Hblade
truely its simple :D If the character is jumping, the collision kills him, if he's not, the collision kills the player xD

Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 3:02 pm
by lcl
Hey, send some demo of this!
I want to try it!! :D

Re: Mario for GE game play video

PostPosted: Mon May 16, 2011 3:35 pm
by Hblade
I will :D Check out my new post first ^^ new gameplay, level is done I just need to edit the time total thingy