Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> YBME - Yoshbert's Mario Engine
Canada
Yoshbert
Posted: Sep 1 2008, 06:33 PM
Quote Post


Eat your veggies.
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 2161
Member No.: 4336
Joined: 29-August 07

Status: (0d) [--]


This is a small engine I've been working on for a short time. Its a very early beta, and there are still some bugs to fix.

So far, it includes:
-Standard Mario movement (Jumping, moving, etc.)
-Goombas
-Koopas
-Solid and jump-through collisions.
-Hurt collisions.

Press Space to restart if you get stuck in a wall or if you want to test the engine again. Credits are in the info file.

C+C and suggestions are welcome.

This post has been edited by Yoshbert 1-Ups on Sep 1 2008, 06:33 PM

Attached File ( Number of downloads: 47 )
Attached File  YBME.exe


--------------------
PMEmail PosterUsers Website
Top
United States
Noone
Posted: Sep 1 2008, 06:41 PM
Quote Post


You win the prize!!!
[*][*][*]

Group Icon
Group: Members
Posts: 511
Member No.: 3101
Joined: 23-December 06

Status: (0d) [--]


Mario would love if you placed this code in his draw event...

CODE
draw_sprite(sprite_index,image_index,round(x),round(y))


--------------------
user posted image
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
Canada
Yoshbert
Posted: Sep 1 2008, 06:44 PM
Quote Post


Eat your veggies.
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 2161
Member No.: 4336
Joined: 29-August 07

Status: (0d) [--]


QUOTE (Noone @ Sep 1 2008, 06:41 PM)
Mario would love if you placed this code in his draw event...

CODE
draw_sprite(sprite_index,image_index,round(x),round(y))

Yes, but that messes up the xscale code.


--------------------
PMEmail PosterUsers Website
Top
United States
Noone
Posted: Sep 1 2008, 07:04 PM
Quote Post


You win the prize!!!
[*][*][*]

Group Icon
Group: Members
Posts: 511
Member No.: 3101
Joined: 23-December 06

Status: (0d) [--]


QUOTE (Yoshbert 1-Ups @ Sep 1 2008, 05:44 PM)
Yes, but that messes up the xscale code.

Change the movement to a different variable... like my_x and my_y, then after moving, set x to round(my_x) and y to round(my_y), then check enemy collision, etc.


--------------------
user posted image
PMEmail PosterUsers WebsiteICQAOLYahooMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0378 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.80 ]