I have 2 big games in production (this one and the bubble one, and not forgettin the Hill Racing one and it's updates), but after these ones I'll try another engine. I've been searching and I find Godot a very good way of making games.Totally understand. I've been thinking about this myself lately. It's great to have something simple available like libgdx b4a library to use for free. But it's not officially supported and could stop working any moment like you say. I've been tempted to look elsewhere but haven't looked much so am not sure what else I could use that would be as simple.
Usually I use A LOT of classes. ie, for the pinball I have one for the ball, for the flipper, for the bumper, for the sensor...I'd love to see a write up on how you handle the code layout for this type of game. Are the game in separate modules, or just different gameloops within one big file? Are you still using box2d for collisions and basic physics?
Dim lGdx As LibGDX
Dim GL As lgGL
...
Dim pinball As cPINBALL
Dim basket As cBASKET
Dim flappy As cFLAPPY
...
Dim IP As lgInputProcessor
Dim GD As lgGestureDetector
Sub IP_TouchDown(screenX As Int, screenY As Int, Pointer As Int) As Boolean
controlGUI.IP_TouchDown(screenX, screenY, Pointer)
If drawPinball Then
pinball.IP_TouchDown(screenX, screenY, Pointer)
Else if drawbasket Then
basket.IP_TouchDown(screenX, screenY, Pointer)
Else if drawFlappy Then
...
End Sub
Sub IP_TouchDown(screenX As Int, screenY As Int, Pointer As Int) As Boolean
...
End Sub
Sub LG_Render
'Clears the screen
GL.glClearColor(0.8, 0.8, 0.8, 1)
GL.glClear(GL.GL10_COLOR_BUFFER_BIT)
Dim deltatime As Float
...
deltatime = lGdx.Graphics.deltatime
If drawPinball Then
pinball.render(deltatime)
...
Dim World As lgBox2DWorld
Dim vGravity As lgMathVector2
World.Initialize(vGravity.set(0, -2), True, "Box2D")
Sub Box2D_BeginContact(Contact As lgBox2DContact)
Sub Box2D_PreSolve(Contact As lgBox2DContact, OldManifold As lgBox2DManifold)
Sub Box2D_PostSolve(Contact As lgBox2DContact, Impulse As lgBox2DContactImpulse)
At the moment what I want to do is first stop adding more gamesLooking really good! When are you releasing the first version? Will you have a beta release track with new unreleased games in it? What about a premium add on to allow for extra features?
Amazing, you're really talented!I made another game, called Froggy (it's a port-adaptation of my Crossy Road game):
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?