ProtoType PlanetsGravity
ProtoType PlanetsGravity
@Gunther · 2018-12-28
Working with GoogleTasks using REST [B4X]
GoogleTasks are a Task list (ToDo List, Shopping List, whateveryouwant list)
@DonManfred · 2018-12-26
Cross platform tips [XUI2D]
XUI2D allows us to develop games that run on B4A, B4J and B4i. This tutorial will explain the recommended way to organize your projects.
@Erel · 2018-12-19
MouseJoint Example
Here is a "MouseJoint"-Example. You can click on the body anywhere and you can move the body around with the mouse. The MouseJoint is done by creation of a temporary body which will be used for the anchor point of the revjoint. After releasing the mouse button the joint and the body are destroyed. So, it not breaks the physics of the touched body that much (e.g. the box spins further).
@Gunther · 2018-12-10
Inverted Pendulum in one wheel and PID Controller
Here a version on the Inverted Pendulum with a single wheeled pendulum. In order to keep the pendulum free of any forces expect gravitation for movement a Motor Joint is used this time. The PID Contoller Class is modified so the one can choose between two methods of PID calculations (setting in the global constant)
@Gunther · 2018-12-02
Space Shooter [XUI2D]
Space Shooter [XUI2D]
@Erel · 2018-11-22
Free sound effects for games and apps.
If you need some sound effects for your games and apps then check out this site. : http://diforb.com
@Eme Fibonacci · 2018-11-13
Creating cross platform games [B4X] [BitmapCreator]
BitmapCreator is a relatively new cross-platform class for low level drawings. The drawing performance when used correctly is good and it can serve as the basis for 2d games.
@Erel · 2018-11-07
Graveyard Keeper: How the graphics effects are made
Graveyard Keeper: How the graphics effects are made
@Sandman · 2018-11-07
XUI2D Angry Birds Example
XUI2D Angry Birds Example
@Erel · 2018-11-06
BitmapCreator drawing methods [XUI2D]
BitmapCreator v4.30 was released: https://www.b4x.com/android/forum/threads/b4x-xui2d-box2d-game-engine.95208 This version adds several new drawing methods: DrawLine, DrawRect and DrawCircle.
@Erel · 2018-11-01
Mouse following a path [XUI2D]
This example shows two things: 1. How to use a MotorJoint to make a body follow a path of points. The difficult part was to make the body turn through the shortest direction. A useful FindAngleToTarget sub is included in the example. 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 that all the bodies are drawn to (by default).
@Erel · 2018-11-01
Clipper FoxPro Xbase++ Functions [B4X]
When I started again developing in B4A, I looked around my developed desktop applications to make something similar, as I will know what the result should be. I choose my small attendance program written Xbase++ (similar to Clipper/FoxPro). It is a very simple coded, with saving the current date and time, for selected person, in DBF file, sending email with current month records and also sending SMS using SMS server url of company. While making/converting the codes, I stuck at many places but each time I managed to solve it by just searching our Forum. I sincerely thank all our members for providing solutions for trivial to complex problems. As I progressed, I found that it would be easier for me to cut and paste most codes from Xbase++ to B4A, with minimum changes if I can have the similar functions in B4A. I made some functions as I needed. I intend to increase it as I develop more. I have attached the text file of the same.
@AnandGupta · 2018-10-23
JumpTest Physics [XUI2D]
I was playing around with jumping of characters of the examples. I want to create a better feeling/looking jump physics instead of giving the character just an impuls and wait what will happen. I splitted the inair part in two sections and modified the body gravity in the parts: 1) movement up 2) movement down In addition I put in the possiblility to give the character a higher jump if a long press is done 3) movement up is haveing two body gravity values
@Gunther · 2018-10-18
Floating Bodies Simulation [XUI2D]
This is a small and nice example of simulating bodies thrown into water. It is inspired by this tutorial: http://www.iforce2d.net/b2dtut/buoyancy The implementation is different.
@Erel · 2018-10-15
BitmapCreator vs. CompressedBC [XUI2D]
There are two types in BitmapCreator library that are used by XUI2D: BitmapCreator and CompressedBC (Compressed Bitmap Creator). In many cases you do not need to deal with any of them as they are created and used internally by the XUI2D framework. If you want to do custom drawings then you do need to understand how to use them.
@Erel · 2018-10-14
AES Encryption (lessons learned & best practice) [B4x]
AES Encryption (lessons learned & best practice) [B4x]
@KMatle · 2018-10-04
Single Screen Tile Map Example / Hello World With Background [XUI2D]
This example shows how to use X2TileMap to create a single screen game with tiles based background. This means that the background is never scrolled. To avoid drawing issues we want that the size of each tile will be a whole number and that each tile will be square shaped.
@Erel · 2018-09-27
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
RSA example (asyncstreams) [B4x]
RSA example (asyncstreams) [B4x]
@KMatle · 2018-09-17
CustomListView with multiple ImageSliders [B4X]
Example of creating a xCustomListView with multiple ImageSliders
@Erel · 2018-09-14
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
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
X2 Example Pack without a breakout game ???
Breakout game
@ilan · 2018-09-07
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
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
Very very very simple Xui2d Test Project
Very very very simple Xui2d Test Project
@ilan · 2018-09-04
Performance [XUI2D]
Performance [XUI2D]
@Erel · 2018-08-31
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
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