Published on

Devlog #24 - Rewrites, art, and fixes

3D rendering is an endless battle with precision. For example, the map had a slight rendering issue due to the difference between 3.14 and Math.PI which is 3.14159. 0.00159 tilted the map slightly off center. That took me more than a day to figure out. Luckily it also led to another nasty bug fix.

The next uber bug involved fighting with blend states. In BabylonJS there is the concept of a "Scene" which does a lot of things but mainly separates rendering. So I moved the map to another Scene to isolate it and alpha blending started working on sprites. It turns out the SpriteMap was changing a rendering state that disabled alpha for sprites.

To celebrate the fixing of these two nasty bugs you must go into the game and press the 0 key. This will stay in-game for 24 hours. Too bad key repeat was recently turned off or you could have gone nuclear!

Ok. Those two are the bugs of the week.

Apparently people didn't like the original Angel Wings so LT made some new ones and we held a poll and it was a blowout so I ended it early. The new sprite and icon are already in-game.

https://www.patreon.com/posts/which-angel-86394955

While fixing drag/drop bugs I looked at some code I wrote in February and realized it needed a rewrite. In February I was just learning modern Typescript/Javascript and BabylonJS which means my client code is much nicer now than it was 6 months ago. So I took the time to rewrite a lot of the item and skill icon code. It's looking real nice now.

LT also added new art for the top right buttons. They have hover images and toggle images. They look amazing!

LT has been sharing a lot of new amazing UI and game art on Discord, so don't miss out and join today! Here's an example of what you're missing in #development.

https://discord.gg/fantasyonline2

Oh! We decided the old loot window is coming back!

https://www.patreon.com/posts/which-loot-style-86248104

boshed has been working on some really cool tools. He's making a visual editor for quests!

And it looks like I'll be working on quests next, but I'll let the poll go a few days.

https://www.patreon.com/posts/what-should-i-on-86419703

The core engine on top of BabylonJS is really taking shape. Once a few more things are ironed out there should be a lot less bugs. Should be.

So for now I will continue on bugs and little things and I'll move on to the winner of that poll above in 1-2 days.


See you in-game and here next Friday!

Have Fun & Keep Gaming!