B4XTutorialB4X [B4X]
The ultimate guide to proper use of animation in UX[B4X]
I happened to come across a very well written, and absolutely beautifully illustrated, article on how to best use animation in UX. I thought the forum might appreciate it, so here’s the link.
@Sandman · 2018-09-25
B4XSnippetB4X [B4X]
Easy dis-/enabling views (by condition) [B4x]
Easy dis-/enabling views (by condition) [B4x]
@KMatle · 2018-09-21
B4XTutorialEncryption [B4X]
RSA example (asyncstreams) [B4x]
RSA example (asyncstreams) [B4x]
@KMatle · 2018-09-17
B4XClassMap [B4X]
Sorted Map Class (with source code) [B4X]
This is an implementation of a sorted map using a red black self balancing binary search tree. It replaces the B4J TreeMap Library and the B4I Sorted Map Library. The .zip file includes demonstration / test programs for B4A,B4I and B4J.
@keirS · 2018-09-14
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
B4XSnippetDate/time [B4X]
Get time ago from datetime [B4X]
Convert example 2018/2/2 4:4:23 to 3 minute ago or moment ago
@Pooya1 · 2018-09-05
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
B4XSnippetDrawing [B4X]
Bezier curve [B4X]
How to make the bezier curve with B4X? Here is a simple code, you can edit points by tapping and dragging them and the curve will change.
@Star-Dust · 2018-08-25
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
B4XSnippetColour [B4X]
Change the background alpha level [B4X]
Change the background alpha level [B4X]
@Erel · 2018-08-17
B4XLibraryB4X [B4X]
List2 [B4X]
Description: A simple class to add 3 methods to the native List. Methods: IndexOf2(Item As Object, StartIndex As Int) As Int Returns the index of the specified item starting the search from StartIndex. Returns -1 if Item was not found. GetAllIndexes(Item As Object) As List Returns a list of indexes of the specified item. An initialized empty list will be returned if no items will be found. Count(Item As Object) As Int Returns the number of occurrences of Item.
@LucaMs · 2018-08-08
B4XClassDrawing [B4X][XUI]
Siri Wave [B4X] [XUI]
For a while now I''ve been looking for an animation to represent some sort of ai talking but couldn''t find anything beside videos and gifs. I wanted something that can be usable in an app, so I came across with this project on github which is close enough for what I wanted but it was written in javascript which I know very little, but I managed to translate it to b4j and later to a b4x class.
@jtare · 2018-08-05
B4XLibraryViews - additional [B4X][XUI]
SD AwesoneWheel [B4X] [XUI]
SD AwesoneWheel [B4X] [XUI]
@Star-Dust · 2018-08-01
B4XClassHome automation [CLASS][B4X]
Broadlink home automation [Class] [B4X]
Broadlink home automation [Class] [B4X]
@walt61 · 2018-07-31
B4XClassCharts [B4X][XUI]
xChart Class has been updated to version 2.1 [B4X] [XUI]
xChart Class has been updated to version 2.1 [B4X] [XUI]
@klaus · 2018-07-30