I renamed Domy into #CarrotJS. I think that's a cute name. 😄🥕 It just happend when i was searching for a simple default image for examples and found this nice SVG carrot on OpenGameArt: https://opengameart.org/content/easter-carrot-pick-up-item Fortunately as the engine is in its early alpha stage and pretty much invisible to anyone except a few people on Mastodon, i can rename it as often as i want without breaking something. 😀 #noragamedev
Mein Magen klang vorhin im Bett wie ein Abflussrohr, durch das irgendein elastisches Metallteil geschoben wird. Guten Morgen 👋😬
Schon wieder so viel programmiert heute! ⌨️ Jetzt ist aber Schluss.
Irgendein Bewohni der umliegenden Häuser spielt im Innenhof gerade mit einer Drohne. Das Geräusch... 😱 Ich war mir erst nicht sicher, ob das nicht ein großes Insekt ist.
gamedev blabla Show more
Ugh. For the last hour i was wondering why #domyjs eats so much more CPU than yesterday. And then i realized that in my test environment i always created 2000 sprites and forgot to change that back to 10. I noticed it when i activated collision detection for all of them and the whole screen getting full of sprites. Before they were just outside of the camera! 😬 I need a debug display. Now. ☝️
My CPU had 30-40% more to do with 2000 sprites than with 10. That's not so bad actually. 🤔
The key to super duper mega hyper ultra unicorn performance for #domyjs seems to be a heavy use of CSS 3 animation, transform and transition. 🦄
I already noticed that moving stuff using translate is noticeable faster than by setting element.style. The tricky part is that transform takes one string for everything. That means i have to collect all transforms and apply them once at the end of the logic instead of setting everything directly like i'm used to. 🤔 #noragamedev
I think the default theme is ugly, but for the moment it's okay. 😶
I feel very productive developing this game engine. I think it's a good project and something i can put some time into. Time i have too much of. 😺
0.0.2 of #domyjs has been released and 0.0.3 will probably follow today, too. Lots of basic stuff has been made like working update and render loops (well, not really made, i'm borrowing them for now), sprites (real game objects!), a world container storing them, a simple image loader and sprite movement, collision with the game bounds and other stuff. It works. 🤷♀️ #noraGameDev