Games [XUI2D] Example Pack - Erel    
Oct 2, 2022   
(33 reactions)   
tags: example games, XUI2D GamesUpdated thread based on X2 v2.0+: https://www.b4x.com/android/forum/threads/xui2d-x2-v2-0-2021... packed as a single b4x lib.
300267245
The examples pack is a single zip with all the XUI2D examples... following a path
- Angry birds example
- Space Shooter
- Tetris
- X2 Source Code
Video tutorial...
link: Tetris example added: https://www.b4x.com/android/forum/threads/xui2d-tetris.107698/
https://www...
link: Mouse following path example updated. An "enemy" mouse was added that follows the first mouse.
The implementation is very ...
Games [XUI2D] X2 v2.0 - 2021 - Erel    
Jul 22, 2022   
(24 reactions).b4x.com/android/forum/threads/97029/#content
- Touchy - https://www.b4x.com/android/forum/threads/xui2d.../threads/very-very-very-simple-xui2d-test-project.96793/post-611080
- Tank Attack - https://www.b4x.com...
link:
and I see that the module Game.bas is for B4J.
No. It is a cross platform module.
The projects sh...
link: I am using B4A, and I see that the module Game.bas is for B4J.
Can you help please ?
Thank you in ad...
link: New example + ParallaxBackground class: https://www.b4x.com/android/forum/threads/xui2d-parallax...
Games [XUI2D] Cross platform tips - Erel    
Dec 19, 2018   
(17 reactions)   
tags: b4x folder structureXUI2D allows us to develop games that run on B4A, B4J and B4i.
This tutorial will explain... they will be updated automatically when we run the project.
Tips
- B4A and B4J XUI2D library is based on jBox2D. B4i iXUI2D is based on the C++ box2d. In most cases the behavior will be the same. However there are some edge cases.
- Be careful with modifying returned B2Vec2 vectors unless.... Not just XUI2D....
Games [XUI2D] To Collide or Not To Collide - Erel    
Sep 12, 2018   
(6 reactions)   
tags: Box2d Collision pack: https://www.b4x.com/android/forum/threads/xui2d-example-pack.96454/.... You can use X2.AddFutureTask to run something after the events complete.
Nice tutorial about box2d...
link:
May be this tool helps you to derive exactly which body shall collide with whom:
https://www.b4x.c...
link: Thanks you so much EREL. It's works like i needed. :)...
link: May be this tool helps you to derive exactly which body shall collide with whom:
https://www.b4x.co...
Games [XUI2D] Mouse following a path - Erel    
Nov 1, 2018   
(8 reactions).
2. How to use the new async drawing features added in BitmapCreator v4.5. These features are very important as they allow us to make drawings directly to X2.MainBC.
X2.MainBC is the BitmapCreator.../forum/posts/622812/
It looks like this:
gs.DrawingTasks.Add(X2.MainBC.AsyncDrawCircle(v.X, v.Y, 5... object. This object holds the information that is required to later make the drawing.
Remember that X2...
B4J Library [B4X] X2 / XUI2D (Box2D) - Game engine - Erel    
Jul 31, 2019   
(26 reactions)XUI2D is a wrapper for jbox2d engine: https://github.com/jbox2d/jbox2d
License: https://github.com/jbox2d/jbox2d/blob/master/LICENSE
iXUI2D is a wrapper for Box2D: http://box2d.org/
XUI2D and iXUI2D...
link: Start here: https://www.b4x.com/android/forum/threads/xui2d-x2-v2-0-2021.131279/...
link: : 5 (X2BodyWrapper)
Public mGame As Game
Any help please ?
Thank you in advance....
link: Source code (v4.73) is attached. The code is not needed....
Games [XUI2D] Monster Truck Example - WheelJoint - Erel    
Aug 28, 2018   
(18 reactions).
The example will be added to the examples pack.
https://www.b4x.com/android/forum/threads/xui2d-example-pack...
Games [XUI2D] Large background class + example - Erel    
Jun 14, 2021   
(11 reactions) As Form
Private xui As XUI
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm... = xui.LoadBitmap("C:\Users\H\Downloads\mapa.gif", "")
Split(bmp, 7, 14)
End...
link: do you have a doughnut addiction, Erel? I've seen that one passing by before....
link: this is awesome !...
link: Class was updated. It now draws on a background layer (ivBackground). This provides more options for...
Games [XUI2D] Tetris - Erel    
Jul 16, 2019   
(13 reactions)https://www.b4x.com/basic4android/images/ZYdyZBYdZB.gif
I've ported the old Tetris example (https://www.b4x.com/android/forum/threads/demo-cross-platform-tetris-clone.94146/#content) to X2 framework.
It is part of the examples pack.
This game is different than other games.... It is done by the X2 framework....
link: I've uploaded a new version. There was a bug in with the drawing of the next piece (also visible in the above gif). The piece was flipped....
Games [XUI2D] X2TileMap - Tiled maps - Erel    
Aug 23, 2018   
(21 reactions)   
tags: games.b4x.com/android/forum/threads/xui2d-example-pack.96454/...First version of X2TileMap is attached. It allows loading map files created with Tiled Map Editor: https://www.mapeditor.org/
281815243
Tiled is a popular game editor. For now only the basic features are supported. X2TileMap can load maps with tile layers and draw them.
Drawing is done automatically by calling DrawScreen or if you need more control you can call Draw and pass the required area...
Page: 1  
2  
3  
4  
5  
6  
7