# Defold Grid Engine

**URL:** <https://forum.defold.com/t/defold-grid-engine/65358>\
**Category:** The Defoldmine\
**Created:** [May 27, 2020, 9:03pm UTC](https://forum.defold.com/t/defold-grid-engine/65358 "2020-05-27T21:03:07Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [May 27, 2020, 9:03pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/1 "2020-05-27T21:03:07Z")

</div>

Hello all,

I began development on this extension about a week ago, and it’s shaping up nicely. **Defold Grid Engine** provides grid-based movement, interactions, and utility features to a Defold game engine project.

Grid systems are popular when working with tilemaps because they greatly simplify character movement, pathfinding, collision detection and response, and many other technical challenges. Grid systems also harbor a certain charm, probably due to their iconic usage in classic franchises like Pokémon and Fire Emblem. I have been itching to use grid mechanics in my own games, which led to the creation of dgrid.

Happy Defolding!

[https://github.com/whiteboxdev/library-defold-grid-engine](https://github.com/whiteboxdev/library-defold-grid-engine)

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [May 28, 2020, 3:51am UTC](https://forum.defold.com/t/defold-grid-engine/65358/2 "2020-05-28T03:51:21Z")

</div>

Looks great! Thank you for contributing!

Be sure to submit it here [Submit a Defold Asset](https://defold.com/submit_asset/)

---

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [May 28, 2020, 5:22am UTC](https://forum.defold.com/t/defold-grid-engine/65358/3 "2020-05-28T05:22:43Z")

</div>

Yes, I submitted to the asset portal a while ago.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 28, 2020, 7:48am UTC](https://forum.defold.com/t/defold-grid-engine/65358/4 "2020-05-28T07:48:32Z")

</div>

It’s available: [Defold Grid Engine](https://defold.com/assets/defoldgridengine/)

---

<div class="post-metadata">

**Author:** ![Pkeod](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pkeod/32/606_2.png) [@Pkeod](https://forum.defold.com/u/Pkeod)\
**Post date:** [May 28, 2020, 8:05am UTC](https://forum.defold.com/t/defold-grid-engine/65358/5 "2020-05-28T08:05:39Z")

</div>

Is the sorting by Latest messed up on the asset portal?

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [May 28, 2020, 8:18am UTC](https://forum.defold.com/t/defold-grid-engine/65358/6 "2020-05-28T08:18:57Z")

</div>

Yes, it seems like it. I’ll investigate.

---

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [July 19, 2020, 6:42am UTC](https://forum.defold.com/t/defold-grid-engine/65358/7 "2020-07-19T06:42:32Z")

</div>

I am updating this thread to alert that DGE has undergone a major update. If you’re using this module in any of your projects, please read the new documentation on GitHub. Additionally, I am pushing to perfect grid-based movement. As a result, DGE temporarily no longer supports diagonal movement so I can focus on improving cardinal functionality.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [July 19, 2020, 9:48am UTC](https://forum.defold.com/t/defold-grid-engine/65358/8 "2020-07-19T09:48:22Z")

</div>

A suggestion is to make use of the “Releases” feature of github.  
That way users can stay on a certain release, while you can move ahead on master branch with newer features.  
We always recommend users to use specific features, or they might suddenly find themselves in a situation where they don’t know what went wrong.

---

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [July 19, 2020, 6:02pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/9 "2020-07-19T18:02:59Z")

</div>

Thanks. I read over the [semantic versioning](https://semver.org/) guidelines and posted a release. I’ll incorporate releases into my projects going forward.

---

<div class="post-metadata">

**Author:** ![iotaHum](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/i/977dab/32.png) [@iotaHum](https://forum.defold.com/u/iotaHum)\
**Post date:** [October 5, 2025, 7:43pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/10 "2025-10-05T19:43:10Z")

</div>

Please can someone say what the status of this asset is? An issue was raised in 2022 ([Error when running example · Issue #2 · whiteboxdev/library-defold-grid-engine · GitHub](https://github.com/whiteboxdev/library-defold-grid-engine/issues/2)) The error being that the example does not work, as it contains a number of bugs (I get the same error).

This is absolutely not a an issue for me; I am just browsing the Asset store for inspiration. So zero issue if it is not fixed. I should really spend some time working out what is wrong myself, so I am not expecting anyone else to do this , in my place.

What I think the real issue is, is that the asset store should have a way of marking assets that don’t work, on the Asset store (and not rely on the github page), or maybe mark ones that do work ‘certified’,…, thorny problem I guess.

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [October 6, 2025, 5:33am UTC](https://forum.defold.com/t/defold-grid-engine/65358/11 "2025-10-06T05:33:51Z")

</div>

Thorny, thorny. Most used frequently assets are always up to date and bug-less. I checked this asset on release and it was working, now I’m not using this asset, but I use other assets by @WhiteBoxDev and those are of high quality.

I checked and there are some issues regarding format, I’ll investigate and create a PR with update 😉

Edit:  
There are also some code issues, but I have it working now more or less:

---

<div class="post-metadata">

**Author:** ![iotaHum](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/i/977dab/32.png) [@iotaHum](https://forum.defold.com/u/iotaHum)\
**Post date:** [October 6, 2025, 8:49am UTC](https://forum.defold.com/t/defold-grid-engine/65358/12 "2025-10-06T08:49:21Z")

</div>

Thanks for taking a look. Open source contributions are fantastic, sometimes they gather a bit of dust, totally understandable. I try my best to ask about status without any kind of negativity. Specially since I am really good at holding on to the wrong end of the stick, if I am not careful 🤣 .

---

<div class="post-metadata">

**Author:** ![Ubu](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/ubu/32/41172_2.png) [@Ubu](https://forum.defold.com/u/Ubu)\
**Post date:** [October 10, 2025, 7:11pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/13 "2025-10-10T19:11:04Z")

</div>

If you check the asset page for Defold Grid Engine there are 2 different links, one ‘specific version for development and release’ and one for ‘latest version’. The ‘latest version’ seems to work just fine.

**Asset page:**

> **[Defold Grid Engine](https://defold.com/assets/defoldgridengine/)**
>
> Defold Grid Engine provides grid-based movement, interactions, and utility features in a Defold game engine project.

**Direct link to latest version on GitHub:**

> **[Releases · whiteboxdev/library-defold-grid-engine](https://github.com/whiteboxdev/library-defold-grid-engine/releases)**
>
> Defold Grid Engine provides grid-based movement, interactions, and utility features in a Defold game engine project. - whiteboxdev/library-defold-grid-engine

---

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [October 10, 2025, 8:26pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/14 "2025-10-10T20:26:38Z")

</div>

I’ll accept PRs, but please ping my account in a public reply here on the forums. I don’t use my WhiteBoxDev account anymore, anywhere.

I believe this library was left in a strange state. Something like, it was being rewritten from scratch (which is what you’ll find in the master branch), but the documentation was never updated to match the rewrite. Not sure. If it’s in a working state, then great!

As a side note, there are only one or two libraries I’d actually recommend using from my GitHub nowadays, since most of them were made when I had much less experience with Lua and Defold, and are better off implemented manually to account for project-specific details.

---

<div class="post-metadata">

**Author:** ![iotaHum](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/i/977dab/32.png) [@iotaHum](https://forum.defold.com/u/iotaHum)\
**Post date:** [October 11, 2025, 6:56pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/15 "2025-10-11T18:56:57Z")

</div>

Thanks for the info. Your stuff is good to have, things being a bit rusty is fine. Figuring out what is wrong is good to do. It would be good if the Asset page could have some sort of a status flag for all assets. The ultimate would be a test for CI to run (on latest builds of Defold), no idea how this could be done though.

---

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [October 11, 2025, 9:48pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/16 "2025-10-11T21:48:04Z")

</div>

Completely agree. I think Defold’s “anybody can add pretty much anything to the Asset Portal without much verification” approach was reasonable when there weren’t nearly as many people releasing stuff, but now that the community has grown over time, it’s less and less desirable. It’s tough to know what’s good and what’s not without personally vetting the code and checking out the author’s history for reputation issues. I mean, you should always do those things to some extent, but it would be nice to have a more reliable system in place.

…or something like that. I’m not wording my thoughts perfectly here, but yeah. 🙂

---

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [October 12, 2025, 12:00pm UTC](https://forum.defold.com/t/defold-grid-engine/65358/17 "2025-10-12T12:00:35Z")

</div>

> [@WhiteBoxDev](#):
>
> I believe this library was left in a strange state. Something like, it was being rewritten from scratch (which is what you’ll find in the master branch), but the documentation was never updated to match the rewrite

OK, I had that impression 😁 I made it to the state when it’s working on main and I updated documentation, I might create a PR maybe to discuss the direction, if it’s cool, if not, I can always make a for anyway 😊

---

<div class="post-metadata">

**Author:** ![Lodrasyll](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/lodrasyll/32/41066_2.png) [@Lodrasyll](https://forum.defold.com/u/Lodrasyll)\
**Post date:** [December 17, 2025, 7:28am UTC](https://forum.defold.com/t/defold-grid-engine/65358/18 "2025-12-17T07:28:20Z")

</div>

I’d like to ask if this extension is still working well? I want to use it and learn about it in a simple way.🥰
