Hmmm, this is strange, because when I load it onto Greenfoot, it compiles, but no world appears... And when I ungroup it after downloading, it gets confused about the file names. Are you using windows?
It's possible the zip file was corrupted somehow on uploading - the same thing happens with me, and winrar throws quite a few warnings on extracting it. Perhaps try uploading the source again?
this is great, i wish i could build sumthing like this. im trying to make a mario game... but it seems to be failing miserably :(
each time i do sumthing right it seems i find 5 more things wrong with it and it just counteracts all my code :(
man... i need a teacher :P im such a noob :P
Silly point, but have you named files the same (case insensitively speaking?) On closer inspection winrar complains about overwriting files in the same directory its extracting to - so there may be something like a file.txt and File.txt in the same directory.
No, not in the same folder, but might it cause a error if they are in different folders (like "BG/1.png" and "MASK/1.png")?
I think I'll try to uploading the source again...
A new version of this scenario was uploaded on Mon May 04 14:36:09 UTC 2009
One of your images appears to have a forward slash in the file name and there's several images that start with a ? - that seems to be what windows doesn't like.
Awesome! Very cleverly done. Only a few things that could be changed to make the game play better. Firstly, is it me or is every other empty area a hidden block? And there are way to many mushrooms. Also, there are no coins. The brick blocks go up when you hit them, but you don't even get points. Could something be added? Also, it would be good if the items actually did something. And if there was more of a variety. And more enemies. And more levels. And more music.
Basically, I am listing everything that is in regular mario games. The only reason I am doing this however, is because this is so much like a mario game, I notice the things it doesn't have more in comparison. Basically, the more I criticize you, the better the game.
A new version of this scenario was uploaded on Mon May 04 19:15:24 UTC 2009
Yay! it works now. But try this, pause the scenario in the middle of the song and then resume. The instrument is different! (And more like the original). But looking at the source I can't see why...
Hmm so it does! My only quick thought behind it is that the sequencer stop() method might reset the instrument used to some default value - but it doesn't seem that logical.
I like this update!
Could you make it so that it played the death music when you die?
Also, the question marks seem to rotate around the box a bit fast, and there is a mysterious black pixel in the middle of the map for some reason.
I think i found a bug in the map system. When you don't have the map turned on and you die, it brings you back and turns the map on, except now none of the enemies or special items show up on the map!
By the way, did you hack greenfoot or something? I was playing with the source, and i was able to move the actors all the way off the screen! And sometimes it wouldn't even let me select them after I moved them!
I just need some help. I am trying to edit my greenFoot code from Eclipse IDE after following some instructions I got from googling. I am getting the following errors. I will really appreciate if anyone that has done this can help
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at greenfoot.export.GreenfootScenarioViewer.instantiateNewWorld(GreenfootScenarioViewer.java:370)
at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:264)
at greenfoot.export.GreenfootScenarioViewer.<init>(GreenfootScenarioViewer.java:132)
at greenfoot.export.GreenfootScenarioViewer$1.run(GreenfootScenarioViewer.java:115)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
at Sign.<init>(Sign.java:8)
at NWorld.<init>(NWorld.java:16)
... 16 more
Caused by: java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: -BitFont/0.png
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:202)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:100)
at BitFont.<clinit>(BitFont.java:8)
... 18 more
Caused by: java.io.FileNotFoundException: Could not find file: -BitFont/0.png
at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:560)
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:199)
... 20 more
java.lang.ExceptionInInitializerError
at Sign.<init>(Sign.java:8)
at NWorld.<init>(NWorld.java:16)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at greenfoot.export.GreenfootScenarioViewer.instantiateNewWorld(GreenfootScenarioViewer.java:370)
at greenfoot.export.GreenfootScenarioViewer.init(GreenfootScenarioViewer.java:264)
at greenfoot.export.GreenfootScenarioViewer.<init>(GreenfootScenarioViewer.java:132)
at greenfoot.export.GreenfootScenarioViewer$1.run(GreenfootScenarioViewer.java:115)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: java.io.FileNotFoundException: Could not find file: -BitFont/0.png
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:202)
at greenfoot.GreenfootImage.<init>(GreenfootImage.java:100)
at BitFont.<clinit>(BitFont.java:8)
... 18 more
Caused by: java.io.FileNotFoundException: Could not find file: -BitFont/0.png
at greenfoot.util.GreenfootUtil.getURL(GreenfootUtil.java:560)
at greenfoot.GreenfootImage.loadFile(GreenfootImage.java:199)
... 20 more
So how did you add the Mario object to the world initially? It doesn't seem to be an object cause when I right-click on it, it doesn't s show the methods for the class.
It seems as if he hasn't imported all of the default greenfoot packages. I think he has used his own methods ( addObject(Actor actor, int x, int y ) ) etc.
Seems like a complicated code.
2009/5/3
2009/5/3
2009/5/3
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/4
2009/5/5
2009/5/5
2009/6/26
2009/6/26
2009/6/27
2009/6/27
2009/6/28
2009/6/28
2009/6/28
2009/6/28
2009/6/28
2009/6/30
2009/6/30
2010/5/6
2010/5/7
2010/5/7
2010/6/1
2010/6/28
2010/12/6
2011/1/11
2012/3/27
2013/3/27
2013/3/27
2013/5/1
2013/5/3
2013/5/13
2013/12/9