Other Subscribe to B4J library updates

rwblinn

Well-Known Member
Licensed User
Longtime User
jDHT v1.0

DHT11 & DHT22 digital-output relative humidity & temperature sensors connected to the Raspberry Pi.
 

rwblinn

Well-Known Member
Licensed User
Longtime User
jBH1750

Ambient Light I2C sensor connected to the Raspberry Pi.
 

moster67

Expert
Licensed User
Longtime User
B4JDragToMe (Drag and Drop)

Updated the library so it supports most controls/views. Limitation: The purpose of this library when I wrote it was so I could get the filepath or Url of the object dropped. Thus, no actions are taken when the object is dropped - only an event will be fired with filepath/Url.
However, in this latest version of the library, I have included an object that will load an imageview with the image you drop onto it.
Java-code is included so if anyone who wants to expand the library can do it.
 

Informatix

Expert
Licensed User
Longtime User
jTreeViewExtended

Changelog v1.0:
- I added a workaround for the strange problem of images that disappear when scrolling with the keyboard. To enable this workaround, you have to call SetTreeViewCellFactory (the event subs are optional);
- I fixed a bug in ExpandFromRoot;
- I added 4 new functions: GetItemLevel, GetRowIndex, GiveFocusTo, Search;
- I added a search field and routine to the demo.
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

This is the alpha version of a game engine for B4J that includes many features of advanced game engines like libGDX but is designed to be as simple to use as possible.
It can be used for games of course, but also for animations, slideshows, etc. It is more complete than the Canvas library.
As this is a preliminary version, don't be surprised if you meet bugs or missing features. There's a small text file that describes the current limitations of this version.
This game engine has been entirely written from scratch (except 20-30 lines taken from libGDX for the most technical parts of the tiled map reader) and I plan to grant access to the source code against a small donation when the version 1.0 will be available.

Let me know what you think of it.
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

Beta 0.5: new features (music, sound, object layers of tiled maps, isometric maps, hexagonal maps, interpolators, export/import of navigation grids, sgeUtils class, polylines), new demos, fixed bugs.

I don't plan to add new features for now. This beta version covers most needs for a game.

Let me know if you use it in a real project and, of course, feel free to post comments and suggestions.
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

While I was working on the port of PacDroid, I realized that a few things were missing.

Beta 0.6: font loading with AssetManager, properties for map layers, new functions (sgeMusic.PlayFromStart, sgeGraphics.DrawTiledMap2, sgeGraphics.DrawTiledMapLayer2), more effects (bloom, gaussian blur, inner shadow, 3 different lightings, motion blur, perspective transform, reflection). And I modified two demos.
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

A lot of maths in this version that should ease your collision detections.

Beta 0.7:
I added sgeCircle, sgeIntersections, sgePolygon, sgeSegment;
I fixed two bugs in sgeActor;
I added sgeGraphics.DrawBox;
I added two demos: jBox2D and Collisions;
Should run in Debug mode with no error message.

I updated also the code of PacDroid. I fixed a bug and animated extra-lives.
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

There are two changes in this version that break the existing code:
- Angle in sgePoint2D becomes AngleWithVector;
- the FollowThisPath action has a new parameter: OrientToPath.

Beta 0.8:
- I fixed a bug in sgeActor.DrawingOffset and a bug in sgeGraphics.DrawPolygon3;
- It is now possible to change the FrameDuration of animations after their initialization;
- I added a new parameter to the FollowThisPath action to orient the actor to the path;
- I added FollowThisPath2 to sgeActions;
- I added Contains, LoadThisAsset and Remove to sgeAssetManager;
- I added DrawCircle2, DrawPolygon4 and DrawSegment to sgeGraphics;
- I added CollisionObjects to sgeMapTile;
- I added AngleWithPoint and SquaredDistance to sgePoint2D;
- I renamed Angle to AngleWithVector in sgePoint2D;
- I added the sgeSpline class (for B-splines and Catmull-Rom splines);
- I added a demo (Splines) and modified two demos (Actions and Pathfinding).

It's too bad there's no USB library for B4J. That means "no gamepad support".
 

Informatix

Expert
Licensed User
Longtime User
SimpleGameEngine

I added the sgeVehicle class and 9 steering behaviors in this new version. I also fixed an important bug.

Beta 0.9:
- I fixed an important bug with rotated and scaled actors;
- I added the sgeBehavior, sgeBehaviors and sgeVehicle classes;
- I added the Vehicle property to sgeActor;
- I added two demos ("cars" and "grandma and the zombies");
- I changed the default angle of OrientToPath for the FollowThisPath action;
- I added SegmentAndRect to sgeIntersections;
- sgePoint2D.Angle now returns the angle of the vector, which is more useful than the previous implementation of this function;
- I added Negate to sgePoint2D.
 
Top