This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

nolttr21
nolttr21 presents ...

2018/11/26

New Super Mario Bros. Greenfoot

You will need to press the run button to start this game!

This project was adapted from Dillybar’s Rambaio game located at https://www.greenfoot.org/scenarios/13139 if you enjoyed this game, please like it, then like Dillybar’s project.

Also thanks to Danpost for the SWorld class, https://www.greenfoot.org/scenarios/6719

You play this game as Luigi, Mario or the Blue Toad! If you’re familiar with Mario games, you fit right in! If not, here’s the basics.
When you are small and you get hit, you lose a life. Collecting a red mushroom will transform you into your super form. If the super form gets hit it returns to small Luigi. When either form get a fire flower, they are transformed into fire form. Fire balls destroy any enemy, except Bowser and Bowser jr. Collecting a green mushroom will give you an extra life. Jumping on top goomba, koopa, of magikoopa will destroy it, however touching it in any other way will cause you to return to a lower form.

Controls
On map:
Arrow key move to the level in that direction, provided that it is unlocked
Enter- choose level character is on top of

In level:
Up- jump
Left- move character left
Right - move character right
shift - shoot fireballs

During boss fights:
Jump on the koopa three times to kill him
Jump on the P-button to drop Bowser
Jump on the P-button to shoot a bullet bill at bowser jr

2406 views / 104 in the last 7 days

2 votes | 0 in the last 7 days

Tags: game physics mario shoot code scroll help source luigi

open in greenfoot
Your browser does not support the canvas tag.
danpostdanpost

2019/10/7

I think the cut-off word may be "Environment". However, I am not sure where that might suggest to look in your code.
danpostdanpost

2019/10/7

I would suggest moving everything from the inner (main) folder out into the outer folder (New Super Mario Bros. Greenfoot). Also, remove the PowerPoint files from within the 'images' folder'.
A new version of this scenario was uploaded on 2019-10-08 11:03:00 UTC Removed some redundant files from the project folder
nolttr21nolttr21

2019/10/8

Did you also want me to remove images from that mario, luigi and toad folders within the images folder?
danpostdanpost

2019/10/8

Yes. Move those images from the subfolders into the 'images' folder.
A new version of this scenario was uploaded on 2019-10-08 15:21:17 UTC Moved images out of folders
nolttr21nolttr21

2019/10/8

Hmm, still not working. I must be missing something...
danpostdanpost

2019/10/8

It's really a process of elimination. I am not sure what to try next. Maybe remove static content from the initial world class.
A new version of this scenario was uploaded on 2019-10-08 17:51:25 UTC removed static content from StartMenu class
nolttr21nolttr21

2019/10/8

Ok, looks like it works now, thanks for your help Danpost! I still need to update the timings of some of the animations but I don't need any help with that.

See all comments

Want to leave a comment? You must first log in.

Who likes this?

SPower Nate2002