Tiny Http – Defold Native Extension is a simple http server and client.
As a dinosaur developer, I miss my C64 and Amiga days. When developing this simple extension I remembered those days a lot.
PCG Random Number Generator Native Extension for the Defold Game Engine.
This extension allow you to generate random numbers using minimal C implementation of PCG. It uses entropy seed internally. You can switch to Time based seed by uncommenting lines(Check the source code).
Spine is a great tool for sure. But if you are a poor game dev like me, $299 price tag is too much 🙂 There is a free alternative called DragonBones. DragonBones is not the open source project(gladly) and developed with good-old-gold Adobe Air using Flex. Flex is a quite old tech and DragonBones has problems especially about the Spine exporter.
Defold has build-in Spine support with limitations. So we can export anims as Spine json from DragonBones and use them in Defold right?
Nope, it is not that easy. Mostly, DragonBones’s Spine exporter just cause problems. For example; latest version of DragonBones(5.6.1) doesn’t export the size information for Spine.
So how can we fix this? Before we start, you need DragonBones Tools. Tools is a command line json converter. You can convert Spine json to DragonBones json or vice versa. But most importantly it is written with TypeScript, open source and updated more frequently than DragonBones itself. If you have a problem with Tools you can simply fix it by yourself. But the Tools is not very well documented and converting files little tricky.
I ported the Endel Dreyer’s Colyseus example tic-tac-toe to the Defold. Server code is as it is, but I made slightly changes on client side code.
Sorry if I made a terrible design decision, feel free to shout them on my face
You can download the project from github.
Defold Community: https://www.defold.com/community/projects/121893/
Basically, it is a dynamic bounding volume hierarchy (BVH) using axis-aligned bounding boxes (AABBs). The data structure provides an efficient way of detecting potential overlap between objects of arbitrary shape and size and is commonly used in computer games engines for collision detection and ray tracing.
Defold Assets: https://www.defold.com/community/projects/98525/
Continue reading “DAABBCC – Dynamic AABB Tree + Experimental Collision Detection Native Extension for Defold Engine”