B4XTutorialEncryption [B4X]
RSA example (asyncstreams) [B4x]
RSA example (asyncstreams) [B4x]
@KMatle · 2018-09-17
B4XTutorialImages [B4X]
CustomListView with multiple ImageSliders [B4X]
Example of creating a xCustomListView with multiple ImageSliders
@Erel · 2018-09-14
B4XTutorialGame [XUI2D]
To Collide or Not To Collide [XUI2D]
The purpose of this example is to demonstrate the usage of mask bits and category bits properties.
@Erel · 2018-09-12
B4XTutorialGame [XUI2D]
Newton''s Cradle Example [XUI2D]
A simple example: 1. It loads the objects. 2. Creates the rope joints. 3. That''s it. Everything just happens.
@Erel · 2018-09-09
B4XTutorialGame
X2 Example Pack without a breakout game ???
Breakout game
@ilan · 2018-09-07
B4XTutorialGame [XUI2D]
Drawing lines example [XUI2D]
This is really a nice example. You draw objects with your finger and they almost come to life
@Erel · 2018-09-06
B4XTutorialGame [B4X][BITMAPCREATOR]
Cross platform Falling Sand game [B4X] [BitmapCreator]
The main challenge here is the performance. All particles are updated if needed and redrawn every cycle.
@Erel · 2018-09-06
B4XTutorialGame
Very very very simple Xui2d Test Project
Very very very simple Xui2d Test Project
@ilan · 2018-09-04
B4XTutorialGame [XUI2D]
Performance [XUI2D]
Performance [XUI2D]
@Erel · 2018-08-31
B4XTutorialGame [XUI2D]
Monster Trunk Example - WheelJoint [XUI2D]
The WheelJoint is similar to a RevoluteJoint with a spring that allows the bodies to move along a defined axis. The movement is done by enabled the joint motors.
@Erel · 2018-08-28
B4XTutorialGame [XUI2D]
Tank Example [XUI2D]
A simple example with a tank that moves and shoots. The interesting point in this example is the usage of RevoluteJoint to move and control the cannon. 1. Limits are set to limit the cannon movement. 2. The joint motor is enabled all the time and we just need to change the target speed to move or hold the cannon
@Erel · 2018-08-27
B4XTutorialGame [XUI2D]
Joints Example [XUI2D]
Joints connect two bodies. There are all kinds of joints and they can be used to implement interesting physical solutions. This example demonstrates three types of joints: WeldJoint - Very simple joint. The two bodies are strictly connected with zero movement between the bodies. Note that it is possible that there will be some relative movement if strong forces act on the bodies. WeldJoint is used here for the fence graphics. We want the fence to move together with the "chain" element. We could have achieved the same effect by creating a body with two fixtures. However this is not possible with X2TiledMap. The WeldJoint makes it simple. RopeJoint - Defines the maximum distance between two bodies (more accurately, between a specific point in body A and a specific point in body B). RevoluteJoint - This is a more powerful joint. I''ll quote this nice tutorial: http://www.iforce2d.net/b2dtut/joints-revolute "The revolute joint can be thought of as a hinge, a pin, or an axle. An anchor point is defined on each body, and the bodies will be moved so that these two points are always in the same place, and the relative rotation of the bodies is not restricted.
@Erel · 2018-08-26
B4XTutorialGame [XUI2D]
X2TileMap - Tiled maps [XUI2D]
First version of X2TileMap is attached. It allows loading map files created with Tiled Map Editor: https://www.mapeditor.org/
@Erel · 2018-08-23
B4XTutorialGame [XUI2D]
Super Mario Example #2 [XUI2D]
Super Mario Example #2 [XUI2D]
@Peter Simpson · 2018-08-23
B4XTutorialGame [XUI2D]
Super Mario Example #1 [XUI2D]
Super Mario Example #1 [XUI2D]
@Don Oso · 2018-08-23
B4XTutorialGame [XUI2D]
Space Invaders #2 [XUI2D]
New features in this example: - shields - mystery enemy (red enemy) - high scores - explosion graphics - and some other small improvements.
@Erel · 2018-08-23
B4XTutorialGame [XUI2D]
Space Invaders #1 [XUI2D]
A simple example of classic space invaders.
@Erel · 2018-08-23
B4XTutorialGame [XUI2D]
Hello World 2 based on Tile Map [XUI2D]
This is a minimal example of using XUI2D with tiled map.
@Erel · 2018-08-23
B4XTutorialGame [XUI2D]
First Joints Demo [XUI2D]
This code adds the joints between the elements based on the "hinge" objects positions
@Erel · 2018-08-21
B4XTutorialGame [XUI2D]
Units and Scales [XUI2D]
There are all kinds of units and scales in XUI2D. It is important to understand them and use them consistently.
@Erel · 2018-07-19
B4XTutorialGame [XUI2D]
Flappy Bird Example [XUI2D]
Example of a "flappy bird" game. The images and sounds are based on Clumsy Bird open source project: https://github.com/ellisonleao/clumsy-bird (GPL license) Interesting points: - The moving ground required some work to correctly adjust its position. It moves a bit backwards and then jump forward. - The pipes are all drawn from the same two images, one for the top pipes and one for the bottom pipes. The default behavior of the built-in graphic cache is to draw the full image. A delegate class was added and it creates the drawing task with the specific part. - I''ve added another ImageView named ivMessages. It is used for the "get ready" and "game over" messages. - The bird is rotated based on its velocity vector direction
@LucaMs · 2018-07-19
B4XTutorialB4X [B4X]
Sharing modules and classes [B4X]
In newer versions of B4A (v7.8), B4J (v6.0) and B4i (not yet released) it is simple to share code modules between projects, including projects targeting other platforms.
@Erel · 2018-07-18
B4XTutorialGame [XUI2D]
Hello World - First app [XUI2D]
The purpose of this tutorial is to help you run your very first app based on XUI2D. A great benefit of XUI2D being cross platform is that you can do most of the development in B4J. Developing directly on the desktop is simpler and faster. Later you can create B4A and B4i projects and add references to the exact same modules.
@walterf25 · 2018-07-18
B4XTutorialGame [XUI2D]
Cross platform game engine - first beta version is released! [XUI2D]
The purpose of this framework is to allow developers to build cross platform 2D games.
@Mark Turney · 2018-07-17
B4XTutorialGit
GitLab: Syntax highlighting for B4X files
When using an online repository such as GitLab, you can add a file named ".gitattributes" with the following content
@wonder · 2018-06-23
B4XTutorialGame
Arrow throwing
Arrow throwing
@hookshy · 2018-06-18
B4XTutorialDrawing [B4X][BITMAPCREATOR]
Maximizing Performance with BC [B4X] [BitmapCreator]
1. This tutorial is about BitmapCreator v3.5+. 2. It is relevant for B4A, B4i and B4J. 3. The features discussed are only needed when making hundreds or more drawings per second.
@Erel · 2018-06-07
B4XTutorialImages [B4X]
BitmapCreator Performance [B4X]
I made some tests to better understand the performance of BitmapCreator in the different platforms. The test starts by creating many boxes with random gradient colors and then it moves all of them each iteration.
@Erel · 2018-06-07
B4XTutorialFTP [B4X]
Tip: Always set FTP.PassiveMove to True [B4X]
Tip: Always set FTP.PassiveMove to True [B4X]
@Erel · 2018-05-29
B4XTutorialB4X [B4X]
Erel Teaches Programming - video tutorials [B4X]
Erel Teaches Programming - video tutorials [B4X]
@Erel · 2018-05-28