Share My Creation PacDroid

This is a port of PacDroid from B4A/libGDX to B4J/SimpleGameEngine.

Will you be able to reach the level with four teleporters?

pacdroid.jpg
 

Attachments

  • PacDroid11.zip
    193.9 KB · Views: 529

ilan

Expert
Licensed User
Longtime User
very nice! thank you for sharing.

i have a question please. i did not knew SGE exist and i am not familiar with it but it is crashing on debug mode. is it like libgdx that runs only on release mode?

Waiting for debugger to connect...
Program started.
Loading 0% MUSIC "NextLevel" nextlevel.mp3
Loading 14.3% MUSIC "Intro" intro.mp3
Loading 28.6% FONT "Emulogic" emulogic.ttf
Loading 42.9% IMAGE "Ghosts" ghosts.png
Loading 57.1% SOUND "Death" death.mp3
Loading 71.4% TILEDMAP "Maps" Pacdroid.tmx
Loading 85.7% IMAGE "Droid" droid.png
Unexpected event (missing RaiseSynchronousEvents): swingout_interpolate
Error occurred on line: 375 (Main)
java.lang.NullPointerException
at flm.b4j.simplegameengine.math.sgeInterpolators$1.curve(SourceFile:43)
at javafx.animation.Interpolator.interpolate(Interpolator.java:343)
at flm.b4j.simplegameengine.actors.AbstractAction.Perform(SourceFile:47)
at flm.b4j.simplegameengine.actors.ActionMove.Perform(SourceFile:49)
at flm.b4j.simplegameengine.actors.AbstractActor.a(SourceFile:405)
at flm.b4j.simplegameengine.actors.AbstractActor.PerformAction(SourceFile:445)
at b4j.example.main._sge_update(main.java:1199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:612)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:226)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at flm.b4j.simplegameengine.SGE$1.handle(SourceFile:132)
at javafx.animation.AnimationTimer$AnimationTimerReceiver.lambda$handle$485(AnimationTimer.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at javafx.animation.AnimationTimer$AnimationTimerReceiver.handle(AnimationTimer.java:56)
at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:357)
at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:267)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:506)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$405(QuantumToolkit.java:319)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$149(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)

EDIT: lol :D i like the concept. you are a android that needs to find android devices and eat all apple logos. i guess u r not a big fan of apple :D
you should make that game for android and publish it to the store. such simple fun games can get very popular ;)

i would also really like to see an ios version of it and see if apple would approve this game :rolleyes:
 
Last edited:

Informatix

Expert
Licensed User
Longtime User
very nice! thank you for sharing.
i have a question please. i did not knew SGE exist and i am not familiar with it but it is crashing on debug mode. is it like libgdx that runs only on release mode?
Yes, there's a problem with the Debug mode.

you should make that game for android and publish it to the store. such simple fun games can get very popular ;)
It exists already for Android, as it is a port from the Android version. It contains copyrighted material so I doubt that my Google account would last long if I publish it on the store.
 
Top