Modules, Files, Groups and Folders [B4X]
The latest IDE update (B4J v6.0 and soon in the other tools) adds support for grouping files and modules.
@Erel · 2019-03-03
Collision Bits and Masks Calculator - Collision filtering [Tool]
Here is an Exeltool which calculates the Masks according to the categories to which the single category shall collide.
@Gunther · 2019-03-02
Tip - Modified server response [B4X]
The app sends a request to a server implemented with B4J. The server responds with a number. The user internet provider modified the server response and returned a JavaScript that does something (it is related to "safe internet" feature). Bottom line is that even if you are calling your own web service you cannot assume that the server response will not be modified...
@Erel · 2019-02-27
RSS Viewer using xCustomListView [B4X]
After having used the RSS Viewer library in the past, and now finding that it won''t function with my secure sites, I decided to start with Erel''s XUI CustomListView example and then integrate that with using the XML2MAP library to write a RSS viewer. The attached example is for B4A, but it would probably be easy enough to adapt to b4i as well.
@Jack Cole · 2019-02-19
World and Screen Sizes [XUI2D]
There are several ways to adjust our game to different screen sizes.
@Erel · 2019-02-13
B4XTable - Load data from SQL database [B4X]
B4XTable - Load data from SQL database [B4X]
@Erel · 2019-02-10
B4XTable with custom cells layout [B4X]
B4XTable with custom cells layout [B4X]
@Erel · 2019-02-06
How Resumable Subs work [B4X]
This document is intended to add a little understanding as to how Resumable Subs actually work under the bonnet and is intended as a complement to how they are used as Erel explains in his tutorials. Note that the following applies equally to B4A, B4I and B4J.
@agraham · 2019-01-30
Creating commercial games based on the examples [XUI2D]
Creating commercial games based on the examples [XUI2D]
@Erel · 2019-01-24
Input dialogs with XUI Views [B4X]
Input dialogs with XUI Views [B4X]
@Erel · 2019-01-23
Manage your own Let''s Encrypt Certificates [ACME Client] [B4X]
While looking around on interesting projects to wrap i found a java console app (jar file) which is able to create and manage Certificates which can be used in your Server. It manages Let''s Encrypt Certificates for you.
@DonManfred · 2019-01-11
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
Graveyard Keeper: How the graphics effects are made
Graveyard Keeper: How the graphics effects are made
@Sandman · 2018-11-07
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
XUI2D Angry Birds Example
XUI2D Angry Birds Example
@Erel · 2018-11-06
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
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
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