I am making a game like this: (Focus on android and iOS platforms)https://github.com/angeluriot/Sandboxhttps://play.google.com/store/apps/details?id=com.wonder.psychicdust.an&gl=ushttps://github.com/The-Powder-Toy/The-Powder-Toy
What is the best way to make the elements (materials)?
1. Pixel class in Gideros
2. Particle system (Like the demo from Gideros)
3. Or find some C++ engine and make the Gideros plugin
Thank you so much!
With its flags system you can have interesting behavior:
flags=b2.ParticleSystem.FLAG_COLOR_MIXING | b2.ParticleSystem.FLAG_POWDER,
I used it a long time ago and was really fun but I didn't push it very far.
Likes: vitalitymobile, pie
Don't be fooled by the YT video (this is not the GH game), he uses LiquidFun particles but you will have to replace bit.band and bit.bor because bit got deprecated in Gideros 2022.1 (you can just comment the faulty lines but you won't see the tiles!)
What do you mean with replace "bit.band and bit.bor"? Is there an alternative?
If we can no longer use the bit library we've lost the ability to flip tiles on Tiled maps
For the bit thing, to flip tiles in Tiled I think there is another solution (tested with images not sure for tiles):
Updated tilemap with tileflip support https://github.com/piretro/Gideros-Tiled-Tilemap-Flip-Support and wiki bit lib page with relevant information
(Do not mean it can be done in Gideros)