TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Defold: cross-platform game engine

391 pointsby xdabout 1 month ago

28 comments

evvabout 1 month ago
They have gone with an interesting licensing solution here. I really appreciate that it is labeled as a source-available license instead of Open Source.<p><a href="https:&#x2F;&#x2F;defold.com&#x2F;license&#x2F;" rel="nofollow">https:&#x2F;&#x2F;defold.com&#x2F;license&#x2F;</a><p>You can make proprietary changes to the engine without releasing them (unlike GPL). You can freely monetize games built with the engine, and they make some assurances that there won&#x27;t be a bait-and-switch.<p>And finally, the reason why this is not Apache 2.0- you cannot monetize (forks of) the game engine itself.<p>This seems fair and carefully considered. Kudos to the team!
评论 #43728095 未加载
评论 #43728018 未加载
评论 #43730884 未加载
评论 #43729079 未加载
评论 #43727359 未加载
评论 #43728306 未加载
progbitsabout 1 month ago
Major props to them for not only calling it &quot;source available&quot; (and not trying to misuse &quot;open source&quot; like so many do), but also for highlighting the additions to their Apache-based license: <a href="https:&#x2F;&#x2F;defold.com&#x2F;license&#x2F;" rel="nofollow">https:&#x2F;&#x2F;defold.com&#x2F;license&#x2F;</a>
评论 #43726818 未加载
评论 #43728209 未加载
tunaofthelandabout 1 month ago
I&#x27;ve had a soft spot for defold, partly because they&#x27;re unique in the gamedev space. For example, the GUI editor that is built-in is done in Clojure! <a href="https:&#x2F;&#x2F;github.com&#x2F;defold&#x2F;defold&#x2F;tree&#x2F;dev&#x2F;editor">https:&#x2F;&#x2F;github.com&#x2F;defold&#x2F;defold&#x2F;tree&#x2F;dev&#x2F;editor</a> (cljfx for the GUI, I am rooting for seesaw though :))<p>From what I understand it emerged from a gamedev studio from Sweden (King or something?) so there&#x27;s commercial release pedigree there. I believe their console platform build&#x2F;release tooling does cost money for game devs because the platform SDKs themselves impose restrictions. But I get the impression that defold as org does seem to put in earnest effort to be fair to game devs with licensing, etc. like others mentioned here.
评论 #43729747 未加载
评论 #43727701 未加载
rockyjabout 1 month ago
Defold has been there for a while, not sure of why this in on the front page right now. Anyways, Defold is good, the community, docs etc. are on the lower side as compared to Godot.<p>The other options include MonoGame <a href="https:&#x2F;&#x2F;monogame.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;monogame.net&#x2F;</a> (Stardew Valley was written in it) and of-course the biggies like Unity or Unreal. A lot depends on how much investment in learning one wants to make, what is the feature set one is looking for, the trade-offs or platforms one wants to keep in mind and which programming language &#x2F; style one want to use.
评论 #43730321 未加载
评论 #43733514 未加载
benttabout 1 month ago
I remember when Unity first appeared and what it felt like to read its materials, its pitch. It was like... whoa, this might actually be something.<p>This feels similar. Sometimes you can just tell by the communications and the spirit of the language that the team has the goods.<p>The fact that they have such comprehensive multiplatform export right now is big. One of Godot&#x27;s biggest hurdles has been console support.<p>My ONLY beef, from what I saw, was that it was Lua only. If it was C# I would have been more excited. But at least it&#x27;s not a full C++ recompile like SOME engines. :)
评论 #43727794 未加载
评论 #43728615 未加载
评论 #43729654 未加载
magicalhippoabout 1 month ago
Related ongoing submission here[1], about a game with 60k LOC of Lua using this engine.<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43723088">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43723088</a>
nunodonatoabout 1 month ago
I&#x27;d love to see a more in-depth comparison in terms of features with Godot. Seems the latter is much more advanced, at least in 3d capabitilies.
评论 #43728204 未加载
2mlWQbCKabout 1 month ago
How does it compare to Löve 2D, other than shipping with a IDE? Looks like Defold supports more platforms, but I guess there are some strings attached since packaging games for various consoles usually come with very non-open dependencies.<p><a href="https:&#x2F;&#x2F;love2d.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;love2d.org&#x2F;</a>
Ralfpabout 1 month ago
I’ve used to follow this few years ago. This is a game engine created by King that they then set free after deinvesting from it themselves.
pk-protect-aiabout 1 month ago
Looking into the code ... Wow ... This is not C++, it is C with classes ... <a href="https:&#x2F;&#x2F;github.com&#x2F;defold&#x2F;defold&#x2F;blob&#x2F;dev&#x2F;engine&#x2F;dlib&#x2F;src&#x2F;dmsdk&#x2F;dlib&#x2F;mutex.h">https:&#x2F;&#x2F;github.com&#x2F;defold&#x2F;defold&#x2F;blob&#x2F;dev&#x2F;engine&#x2F;dlib&#x2F;src&#x2F;dm...</a> Any reasons to use these wrappers instead of modern C++ capabilities?
评论 #43729006 未加载
评论 #43728690 未加载
383toastabout 1 month ago
Does anyone know if Defold can be used without the UI? Eg. just running it as a library or using scripting to do everything the game engine UI can do.<p>Purpose is just to try to get an AI to generate code with it.
评论 #43728673 未加载
vlovich123about 1 month ago
Am I correctly understanding that this is a for-profit endeavor that’s relying solely on donations?
评论 #43728752 未加载
评论 #43727306 未加载
landsmanabout 1 month ago
Scripting in Lua sounds good.
评论 #43726916 未加载
LichenStoneabout 1 month ago
How does this compare to something like Godot?
评论 #43727524 未加载
synergy20about 1 month ago
is Teal widely used? <a href="https:&#x2F;&#x2F;github.com&#x2F;teal-language&#x2F;tl">https:&#x2F;&#x2F;github.com&#x2F;teal-language&#x2F;tl</a><p>Teal to lua is what typescript to javascript
评论 #43728635 未加载
评论 #43729740 未加载
评论 #43732598 未加载
imzadiabout 1 month ago
I was curious about VR development, and after reading this, I&#x27;m still not sure: <a href="https:&#x2F;&#x2F;forum.defold.com&#x2F;t&#x2F;official-refold-stance-on-vision-pro&#x2F;76367&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;forum.defold.com&#x2F;t&#x2F;official-refold-stance-on-vision-...</a>
tombertabout 1 month ago
Noticed it wasn&#x27;t on Nixpkgs, so... <a href="https:&#x2F;&#x2F;github.com&#x2F;NixOS&#x2F;nixpkgs&#x2F;pull&#x2F;399843">https:&#x2F;&#x2F;github.com&#x2F;NixOS&#x2F;nixpkgs&#x2F;pull&#x2F;399843</a>
Nijikokunabout 1 month ago
Defold is good, been around a very long time, but it&#x27;s just rough around the edges, once you get used to it it&#x27;s pretty smooth sailing though.
James-Bennet30 days ago
I am looking for a game framework that allows interactive programming like LISP for browser games. So far I have tried love2d, TIC-80, and defold. Fennel (Clojure like language for Lua) works with love2d and TIC-80, but I could not get emacs repl to connect to TIC-80. Also I couldn&#x27;t get Fennel to work with defold. Maybe there&#x27;s a way I haven&#x27;t found yet, but for now the only way to achieve interactive programming is to use love2d (love2d + fennel + emacs repl).<p><a href="https:&#x2F;&#x2F;vxlabs.com.&#x2F;2018&#x2F;05&#x2F;18&#x2F;interactive-programming-with-fennel-lua-lisp-emacs-and-lisp-game-jam-winner-exo_encounter-667&#x2F;" rel="nofollow">https:&#x2F;&#x2F;vxlabs.com.&#x2F;2018&#x2F;05&#x2F;18&#x2F;interactive-programming-with-...</a> <a href="https:&#x2F;&#x2F;technomancy.us&#x2F;188" rel="nofollow">https:&#x2F;&#x2F;technomancy.us&#x2F;188</a>
评论 #43735611 未加载
zerrabout 1 month ago
Related: code-oriented C++ 2D game engine - Axmol Engine. It&#x27;s an actively maintained Cocos2D-x fork: <a href="https:&#x2F;&#x2F;axmol.dev" rel="nofollow">https:&#x2F;&#x2F;axmol.dev</a>
rootnod329 days ago
So, it mentions to support PS4&#x2F;5 and Switch but doesn&#x27;t mention FreeBSD? Both these platforms are FreeBSD based.
aaroninsfabout 1 month ago
Ask-HN:<p>Context:<p>Every time a game engine like this pops up I read through the comments noting other engines and various perspectives and criticisms (positive and negative).<p>I have a game-like music composition project I want to pick back up. Media-intensive with a rich isometric&#x2F;2D environment, with lots of little animations, which need to be synchronized to perfectly-scheduled audio events.<p>I develop fully-feature prototypes in the past, most recently on iOS for iPad before there was iPadOS... but using Core libraries hit a performance wall on hardware of that era.<p>Question:<p>Who can I consult with up front to get good advice on what technology path to pursue, to realize my project?<p>WebGL&#x2F;Webasm would be fine. Cross-platform console targets would be fine. iPadOS would be fine and best, gestures are a core part of the vision.<p>...and I have <i>no</i> idea where and how to find my way into this.<p>I follow some GameDev feeds and naturally what I read about is very capable application of engines&#x2F;environments which are <i>quite close</i> to what I need, but which are (naturally) targetting <i>game</i> dev.<p>Say you wanted to sit down and make a rich visual sequencer with some DAW-like features? What&#x27;s the right approach?<p>It&#x27;s not a traditional DAW, it&#x27;s much more about a rich tiled game-like UX; it&#x27;s not a game, with levels, maps, and such... it&#x27;s got elements of both. The audio engine needs to be DAW-level, but, synchronized to graphical elements and UX and responsive to gesture in a way that&#x27;s like game-level.<p>Any ideas welcome. I think I have a good (layperson&#x27;s) understanding of the overal architecture I need; but I don&#x27;t know how my conceptual map translates into different styles of game-engine or more general media-engines.<p>My hunch is my &quot;solodev&quot; state which was a blocker before when I had no time to quit the day job and learn eg. OpenGL for iOS, is significantly ameliorated today by code assistants... <i>iff</i> they are familiar with &lt;the engine&#x2F;platform&gt;<p>Do Claude Code etc. know Unity dev? Engines like this one? I don&#x27;t know! Naive.<p>Haaaaalp
评论 #43732351 未加载
vednigabout 1 month ago
A game engine that&#x27;s opensource and supports Linux. Love it
评论 #43730120 未加载
amarant30 days ago
In terms of maturity, how does this compare to Godot?
bk49630 days ago
How many of these are there?
shmerlabout 1 month ago
How does it compare to Godot?
sylwareabout 1 month ago
Hopefully their build scripts are sane for native elf&#x2F;linux support:<p>* -static-libgcc (-static-libstdc++ if c++).<p>* glibc ABI selection, see binutils documentation, VERSION related page, the second part of this page. This must include the glibc internal symbols. It easy to check the proper ABI with tools like readelf (the VERSION name part), which will tell you everything.<p>* dynamic loading with fallbacks of all system interface shared libs.<p>That said, it is exactly the same for the other OSes, this is all about abstraction via tables of functions.
zenkeyabout 1 month ago
After spending time with Cursor&#x2F;Junie&#x2F;Copilot etc., game engines are starting to feel slow and behind the curve. I’d love to see faster adoption and deeper LLM integration (as native features, not just some random third-party plugins). Whoever builds the first “Cursor for games” is going to disrupt the market.
评论 #43726763 未加载
评论 #43726877 未加载
评论 #43727517 未加载