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

2015/6/11

Could anyone who know how to code help.I can't find solution in my game

Dudeson Dudeson

2015/6/11

#
Please help me . I can't explain what is wrong with my game , I could sent it so someone could tell me what is wrong.Waiting for response.
danpost danpost

2015/6/11

#
If it compiles, you can just upload it to this site so we can download and look at it for you. If it does not compile, you could comment everything except the import lines, class declaration lines and the world 'super' call and then, still, upload it after compiling.
Dudeson Dudeson

2015/6/11

#
this is my game could someone look at it ? game
Dudeson Dudeson

2015/6/11

#
danpost wrote...
If it compiles, you can just upload it to this site so we can download and look at it for you. If it does not compile, you could comment everything except the import lines, class declaration lines and the world 'super' call and then, still, upload it after compiling.
I have uploaded , my Cylinders jumps back , can't figure out why.Dan I would be really grateful if you could fix it and tell me what was wrong with it. P.S I have biten more then i chew.
Super_Hippo Super_Hippo

2015/6/11

#
danpost wrote...
If it compiles, you can just upload it to this site so we can download and look at it for you. If it does not compile, you could comment everything except the import lines, class declaration lines and the world 'super' call and then, still, upload it after compiling.
Export it to greenfoot.org instead of uploading it to an extern site.
Dudeson Dudeson

2015/6/11

#
my game there
Dudeson Dudeson

2015/6/11

#
Super_Hippo wrote...
danpost wrote...
If it compiles, you can just upload it to this site so we can download and look at it for you. If it does not compile, you could comment everything except the import lines, class declaration lines and the world 'super' call and then, still, upload it after compiling.
Export it to greenfoot.org instead of uploading it to an extern site.
uploaded game.
Dudeson Dudeson

2015/6/11

#
Sorry for noobish coding. I am just new at it , well some of you will be so kind fix it for me i would be really grateful , because I have tried lots of solutions . But it keep doing this can't understand what is it.
danpost danpost

2015/6/12

#
What error message shows up at the bottom of the greenfoot frame when you try to compile the project?
Dudeson Dudeson

2015/6/12

#
danpost wrote...
What error message shows up at the bottom of the green foot frame when you try to compile the project?
Code compiles without errors.Just some times when space is presses cylinder sticks not where he suppose to.That's my problem.
danpost danpost

2015/6/12

#
Dudeson wrote...
Code compiles without errors.Just some times when space is presses cylinder sticks not where he suppose to.That's my problem.
You did not have to, and should not have, commented everything out, then. Re-upload it the way you had it before commenting everything out.
danpost danpost

2015/6/12

#
I can say that there is an over-abundance of fields in your classes. Plus, there is an excessive use of 'static' fields (some of which are not properly maintained). I see that you intend to eventually implement scrolling, which will be quite a feat -- trying to maintain proper values for some of the fields. You should start simple. Work on one thing at a time (starting with the basic necessities of the project). Complete one phase before moving onto the next. Build the project in a way that would seem logical. First, the basic world; then, the main actors -- start with the walls, then move on to the main characters (disks). It might make it easier if you created an actor class to run the disk movement system. It could then set its location at the disk that is not moving and control the location of the disk that is. So, it would have a field for each of the disks and the world would have a field for the system itself. That should be pretty much it as far as fields are concerned (other than constant fields like world width, world height and things like that).
You need to login to post a reply.