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

2016/4/12

Game Troubles

DogeOverlord DogeOverlord

2016/4/12

#
Download game here: Google drive download link So on my game 'Flying solo' doesn't work but 'teamwork is dreamwork' mode loads levels properly. Levels should load like the multiplayer levels but they don't and I cannot find the bug for the life of me. Help would be appreciated.
danpost danpost

2016/4/12

#
You should upload the scenario here. If it does not compile, comment out the 'prepare' method (or the code that you would place in a prepare method if you had one) and then compile and upload it.
DogeOverlord DogeOverlord

2016/4/13

#
danpost danpost

2016/4/13

#
danpost wrote...
This will definitely take some time to sort out (will not guarantee anything here).
After adjusting the code to conform to the versions of java and greenfoot I am using, I find that you have some Save files that are not included within the scenario folder that are needed to create the levels. I cannot proceed without them.
danpost danpost

2016/4/13

#
I must have clicked on 'Edit' instead of 'Quote' when trying to add a post here. See the previous post for what I had to say.
DogeOverlord DogeOverlord

2016/4/13

#
Loading and New games don't currently do anything. They are exactly the same right now.
danpost danpost

2016/4/13

#
Try removing from the SpaceWorld class constructor:
waveNumber = 1;
and in the 'levelUp' method change the 'if' condition to:
if (waveNumber < waves.length)
DogeOverlord DogeOverlord

2016/4/13

#
It has something to do with the order of adding solo or multiplayer in first. I need to find a good way to copy the contents of level into another array or something in the HubWorld class.
danpost danpost

2016/4/13

#
DogeOverlord wrote...
It has something to do with the order of adding solo or multiplayer in first. I need to find a good way to copy the contents of level into another array or something in the HubWorld class.
Did you try what I suggested above?
DogeOverlord DogeOverlord

2016/4/13

#
I haven't gotten a chance to yet.
DogeOverlord DogeOverlord

2016/4/13

#
I just ended up making it so both SpaceWorlds call getLevel and theres a static boolean called warned so it only warns about the random level once.
You need to login to post a reply.