Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - felix330

#1
Name of the App: Bears 'n' Bees
Genre: Casual/Action
Costs: Free!

Description: The bees want to have their honey back! Defend yourself, in this exciting Action game. Use the mighty flyswatter! Fight regular bees, queens and even zombees!
Even though I have released other games before, this was the first game I started in GlBasic. Its gameplay is pretty simple but i think it turned out to be a fun game. :)

Screenshots:


[attachment deleted by admin]
#2
I will do the german translation :)

Edit: Done!
#3
Ja, die standart icon.png ist drin.
#4
Hilft leider nichts, der Fehler bleibt genau der selbe.
#5
Ich versuche mein Projekt für Android zu kompilieren. Über den Android Emulator habe ich ein virtuelles Gerät angeschlossen. Ich bekomme aber beim kompilieren immer diesen Fehler:
Code (glbasic) Select

_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.074 SN:b2a2b2c7 - 3D, NET
Wordcount:950 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack
     [echo] *************************************************
     [echo] ****  Android Manifest has debuggable=true   ****
     [echo] **** Doing DEBUG packaging with RELEASE keys ****
     [echo] *************************************************
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\Users\Felix\GLbasic\GLBasic\Bears_n_bees\distribute\Android\bin\classes.dex...
     [echo] Packaging resources

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:498: null returned: 1

Total time: 3 seconds
BUILD STAGE 2: Install on device
     [echo] Creating output directories if needed...
     [echo] Compiling aidl files into Java classes...
     [echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
     [echo] Generating R.java / Manifest.java from the resources...
     [echo] Converting compiled files and external libraries into C:\Users\Felix\GLbasic\GLBasic\Bears_n_bees\distribute\Android\bin\classes.dex...
     [echo] Packaging resources

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\main_rules.xml:498: null returned: 1

Total time: 3 seconds
finished Android build-script.
Android=C:\Users\Felix\GLbasic\GLBasic\Bears_n_bees\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 12.1 sek. Zeit: 14:20
Erstellen: 1 erfolgreich.

Was kann dieser Fehler bedeuten? Ich habe schon versucht das Android SDK neuzuinstallieren, aber das hat nicht geholfen. Im Programmpfad befinden sich keine Leerzeichen, und im Pfad der JAVA_HOME Umgebungsvariable auch nicht mehr. Was kann da sonst das Problem sein?
#6
Quote from: doimus on 2011-Sep-19
Sadly, as it seems, Gamepark Holdings, the company behind Caanoo, just went out of business and device itself out of production.  :(

Bad marketing and iOS/Android have done its way...
They will continue production of the caanoo, as long as people still buy it. They just won't develop any new gaming handhelds.

#7
So, die fehlerhafte Zeile habe ich gefunden. Ich bin mir jedoch immer noch nicht sicher, warum die einen error verursacht hat.
Code (glbasic) Select
IF klaktiv=1 AND KEY(29) OR GETJOYZ(-9)
IF INIGET$("einsts","sound")=1
PLAYSOUND(2,0,1)
ENDIF
klaktiviert=1
klaktiv=0
ENDIF

Hierbei war offenbar das GETJOYZ(-9) das Problem. Das sollte ursprünglich ein Test für den Accelerometer des iPhone sein. Den habe ich zwar noch nicht ausprobiert, aber vorher hat der Befehl zumindest keinen Fehler erzeugt. Hat sich vielleicht in den neueren Version irgendetwas geändert, sodass das jetzt nicht mehr geht?

EDIT: Wenn ich mir das nochmal durchlese, habe ich glaube ich den Befehl falsch verwendet. War also mein Fehler, sorry.
#8
Ich versuche gerade ein Programm für Android zu kompilieren, und soweit habe ich da auch schon Fortschritte gemacht. Plötzlich geht nun das Programm aber garnicht mehr, und wenn ich das Spiel aus dem Menü aufrufen will stürtzt es ab, und die Ausgabe
Code (glbasic) Select
*** Unhandled exception ***
   EXCEPTION_ACCESS_VIOLATION
erscheint. Das seltsame ist, dass das relativ plötzlich aufgetreten ist, ohne dass ich etwas geändert hätte. Weiß jemand woran das liegen kann? Ich könnte auch mal das gesamte Projekt hochladen.
#9
If you want, you can now vote for my game at: ttcc
Also check out the other games. There are some really good ones. :)
#10
I finally released my first game made with GLBasic, Geek 'em up. It's a shoot 'em up game for Wiz (Windows/Linux versions also available), with stages designed after various game genres. The game takes part in the Riot tag team coding competition.
I also want to thank you all for being such a helpful community! :) I'm a beginner in programming, but thanks to this forum and the tutorials, I'm a lot better now!  :good:
You can download the game here: http://www.riotdigital.com/ttcc2011/?page=Entries


[attachment deleted by admin]
#11
Ich fände ein Kollision Spieler - map tutorial sehr interessant, über sowas würde ich mich wirklich freuen. :)
#12
Found it, thanks! :)
EDIT: Is it also possible to install the APK on a virtual Android machine? I don't have an Android device to test it on.
#13
if I try to compile for Android I get this Error: "*** Error: Environment variable JAVA_HOME must be set to JDK path
Please install the Java Development Kit and set the variable.
Example: C:\Program Files (x86)\Java\jdk1.6.xx"
But how do I set the environment variable? I have tried: "GLOBAL JAVA_HOME  = "C:\Programme\Java\jdk1.6.0_26"" , but it still won't work.
#14
hm, ok, ich glaube ich habe den Grund gefunden. Der Projektordner meines Projekts hieß vorher "Wiz shmup 2.app". Scheinbar verändert eine Verändeung der Optionen den Ordner so, dass die Leerzeichen durch _ ersetzt werden. Ich habe also plötzlich einen zweiten Ordner "Wiz_shmup_2.app". Da sind jetzt keine Mediadateien drin, also kommt auch nur ein schwarzes Bild. Genauso werden ' in _ umgewandelt.

QuoteBist du mit dem V10 RC unterwegs?
Wär evtl. noch interessant zu wissen.
Ja, ich habe gerade angefangen v10 zu benutzen.
#15
ok, danke. Das Problem hat sich gelöst. Jetzt habe ich aber ein größeres Problem, das schon bei 2 meiner projekte aufgetaucht ist. Wenn ich meine Projekte normal kompiliere klappt alles perfekt. Allerdings soll ich, um das Projekt für Android zu kompilieren, die "Platform optionen setzen". Das Problem: Wenn ich bei Projekt -> Optionen auch nur irgendetwas ändere (oder sogar garnichts ändere und nur auf übernehmen klicke), resultiert das darin, das wenn ich das projekt danach testen will nur noch ein schwarzer Bildschirm kommt! Ich kann mir einfach nicht vorstellen dass ich da was falsch gemacht haben soll, da das schon ohne Änderung durch bloßen klick auf übernehmen geschieht. Die einzige Möglichkeit die ich gefunden habe, das Projekt danach wieder zum funktionieren zu bekommen, war den Programm code zu kopieren und in ein neues Projekt einzufügen wo wieder alles perfekt ging (Es sei denn natürlich ich versuche wieder die Optionen zu verändern)