But how can I position numerous sprites on the scene? For instance, placing a sprite on the scene 500 times?
Microsoft copilot:
Certainly! Simulating water in GDevelop is achievable, although it might require some creative approaches. Here are a couple of methods:
- Dynamic Water Extension (Experimental):
- There’s an experimental extension that allows you to simulate dynamic water surfaces in GDevelop 5. It lets you adjust properties like tension, damping, and spreading to create different types of liquids (water, jelly, lava, etc.). You can even control visual properties such as color opacity and effects1.
- The extension provides a way to obtain the height of the water surface at any point, which is useful for creating realistic interactions.
- Physics Prototype and Movement Adjustments:
- While GDevelop’s physics engine currently handles solids only, you can still achieve water-like effects:
- For water surfaces, consider using a physics prototype that resembles a rope with joints.
- To simulate a body inside water, slow down its movement or add upward movement if it’s supposed to float2.
- Additionally, you can explore reflection extensions for more realistic water visuals3.
Remember that GDevelop’s flexibility allows for creative solutions, so experiment and adapt these techniques to suit your specific project!