programming

RTS engine preview

Video preview of Real Time Strategy engine

Toni Sagrista Selles

2 minute read

RTS engine preview

Today I want to introduce a very different piece of software I have been putting together lately. It is a RTS (real time strategy) engine. I started playing with the idea as a time killer some years ago, kicking off the development with a fast version of the A* pathfinding algorithm backed not by a grid (as usual) but by a quadtree. Quadtrees make pathfinding super-fast because of their hierarchical division of space and their adaptive partition sizes. Even though I used visibility graphs to store the navigable nodes from one given point, quadtrees are also fast for checking the properties/elements of a position’s surroundings, for child nodes are always spatially contained in parent nodes.

Released version 3.6

New version 3.6 with different star sprites and fancy tails!

Toni Sagrista Selles

1 minute read

Particle Physics Simulator 3.6

The new version 3.6 of the Particle Physics Simulator is now out with customizable star sprites and fading tails. The new tail graphics have an impact in the performance with older devices (just like mine), but should be handled with minor fps drops by newer processors. However, if you encounter problems you can disable tails or set them to “short length” in the preferences screen.

Toni Sagrista Selles

1 minute read

I just published the latest version (3.5) of the Particle Physics Simulator, with a fancy new feature that allows for different-size particles to be shot into the simulation. You’ll notice a frame with a size-changing particle when you hold your touch down for a shoot. The size of that particle at the moment you take the shot is the size of the particle being created. Easy, ain’t it?

Load/save feature in version 3.4

Load and save simulations in version 3.4 of Particle Physics Simulator

Toni Sagrista Selles

1 minute read

The new version of the Particle Physics Simulator (v3.4) is now out. This version brings us the capability to load and save simulations to XML files. Now you can export your simulation to a file and load it later on.

Load and save

In order to save the current simulation, just open the menu and then tap the “Save file” entry. In the file dialog that pops up select the folder you want to save your simulation and the name of your new file if you want to create one, or the file to overwrite, and tap “select”. It is done, your simulation has been exported to an XML file!

Bug fixes and more in 3.2.4

New bugfix version of Particle Physics Simulator for Android (v3.2.4)

Toni Sagrista Selles

1 minute read

New friction feature has been added to the Particle Physics Simulator v3.3 for Android. Now, particles can be set to have friction so that their velocity will decrease over time at a steady rate. You can make them behave like snooker balls! Also, this version tunes particle tail lengths and adds some interesting performance tweaks that should make it run smoother in handicapped devices.