I convert the Inventory to a String and Save the current Mission at the first letter of the string.
And then I easily store the String with the UserInfo-class. I just have to split the String in five Strings, that it can be saved! :)
To load it, I just load the String-Parts and put them together. Then I create the Inventory and set the current Mission.
@ restu
You can only download games, that are available for download! If they are available you see a "Open in Greenfoot"-Button on the right over the scenario. Just below the views, votes and tags! :)
This scenario has not been released for download...
@ Super_Hippo
Danke, ich habs geändert! :)
@ asitahir
If you want to have the source code, just send me an email! You can find my adress on my side! ;)
Ich hab mir einen Musik-Player mit Bibliotheken geschrieben, der in einem eigenen Thread läuft und wenn man eine neue Bibliothek setzt, wird die alte Musik leiser und die neue Bibliothek wird gestartet.
Wenn die Objekte nicht gedreht sind, suche ich einfach die zwei Bereiche, die sich überschneiden nach den Pixeln ab, die nicht Transparent sind! :)
Bei gedrehten Objekten kreiere ich zuerst ein neues Bild mit den passenden Abmessungen, auf dem ich dann das aktuelle Bild gedreht zeichnen lasse. Dann geh ich vor, wie als wäre das Objekt nicht gedreht! :)
Well, it's not so easy to create a game like this...
I'm working on this game for nearly 1 3/4 years. And my first update came a 3/4 year after I started programming the basics of it...
Currently it has over 400 classes...
But if you need help, I'm open to help you! :)
2013/9/27
Base Defense
2013/9/5
Adventure
2013/8/28
Cube Guy: Against the reds!
2013/8/22
pic puzzla
2013/8/21
Adventure
2013/8/18
Step Jumper
2013/8/15
Big Ocean
2013/8/15
Adventure
2013/8/10
Adventure