u/dulm_
Does this AI or real? Bit weird to be real but no signs of AI though.
Rate my Smart Cursor logic! Any ideas for polish or extra features?
After working for 3 days, finally got the inventory slots working! Sorry for cam recorde
Working on some 16x16 animations for an evil little crop thief! What do you think?
Planted the fist seed in my game "Greenisle". Still in very early what do you guys think about it?
What do you guys think about the UI art and how can I improve them?
Created an auto tile system for my game "Greenisle"
Hey everyone!
While working on my game, Greenisle, I needed a real-time autotile system for player-placed objects like fences and walls (similar to Stardew Valley).
Standard event methods (like heavy collision loops or raycasts) can cause lag once you have hundreds of tiles on screen. To fix this, I wrote a super optimized, inline JavaScript block that uses mathematical grid mapping.
How it works:
--- It instantly maps all tile positions into a fast-lookup JS Set().
---The Math: It checks the 4 compass directions mathematically and calculates a binary score from 0 to 15 (Up = 1, Right = 2, Down = 4, Left = 8).
---The Best Part: The script saves the total directly into a GDevelop object variable called TileScore. This keeps the code lightweight and leaves you with full control in your standard events to handle animations or sounds!
It runs completely lag-free with thousands of tiles because it skips heavy engine physics entirely.
Drop a comment if you want the JavaScript code for your own project and I'll gladly share it!