Published on

Devlog #34 - Map, Optimization, & Jack o' Lantern

For issues related to Patreon please DM me directly on Patreon.
For bugs in the game or website please post to #bugs on Discord

https://discord.gg/fantasyonline2


I started off the week adding nude items and fixing npc rendering mostly as seen in Patch Notes #3.

Patch Notes #3 - Nude Shop & Optimizations

* Nude Shop added to Noob Island.
* Nude Head, Face, Body, Legs, Shoulders added to Nude Shop.
* Pumpkin Head added to game. Will be delivered to active patrons on October 1st.
* Completely rewrote the map rendering code. Optimizing it now.
* Rewrote and refactored all NPC sprite code. (Correctly diposed and loaded on entering and leaving a zone)
* Fixed overhead NPC quest indicators. (Shading and added a state)
* Guild rooms are now set to never be deleted. (Fixes a bug)

https://www.patreon.com/posts/patch-notes-3-89952525

Then I moved on to map rendering. I've been fighting with BabylonJS' SpriteMap for way too long. It's garbage code that I was trying to tweak to fit my use case. I've found over the years that trying to accommodate for garbage code is always a bad idea but I still do it occasionally unfortunately. So I decided to rip out all existing map rendering code and rewrite it. I now render map tiles to quads. This gets rid of many visual artifacts that came with the BabylonJS way of doing it which was to render one quad and have a fragment shader do the rest. Thank goodness I took the time to do this. This took most of the rest of the week as it's a lot of complicated code that is hard to get right. This was in Patch Notes #4.

Patch Notes #4 - Maptastic

* Completely rewrote all map rendering code.
* Heavily optimized map rendering code.
* Above player map layer enabled.
* Collision checks have been greatly improved but I still need to update the collision textures for the maps.
* Mobs are now created and destroyed properly on entering and leaving a zone.
* The main camera position/target now eases into the player's position.
* Fixed one of the bugs where damage numbers would float around on screen randomly.
* Fixed a bug having to do with mouse interactions with items when the items aren't fully loaded.

https://www.patreon.com/posts/patch-notes-4-90058379

So now we can finally have the above player map layer. You should be seeing smoke coming out of chimneys now. You can also hide behind some trees and buildings.

Cave of Some Return enemy sprites have been completed! 

Here is a sample of Perseus' great work!

CoSR item icons and sprites will be worked on in the upcoming week. I will be adding the map and enemies to the game this week as well. CoSR will release sometime in October 2023 with around 10 quests. This will be the first zone that drops armor and weapon crafting ingredients. Crafting recipes will come later.

The Patreon exclusive item for October is the Jack o' Lantern. Due to Patreon breaking their api several times during the month and thus not sending me data that is correct I will be sending the Jack o' Lantern to those who have been active patrons within the last 2 months. All Jack o' Lanterns have now been delivered to in-game mailboxes. If you feel you didn't get the right amount please DM me here on Patreon. 

The Banana Box will be leaving October 13th. It will return next year at some point. This is how I will be releasing all Gem items in the future. They will be available for awhile, then they'll disappear from sale, and then they'll return sometime in the future. This means that no matter when you start playing the game you'll still be able to acquire all Gem items.

October, November, and December 2023 will be the last months for Patreon exclusive items. The next Patreon exclusive item poll for November 2023 will start in a few hours. I'm in the process of setting up https://stripe.com/ to be the payment provider for FO2 starting in January 2024. Thankfully Stripe has an excellent api that is fast and accurate. Starting in  January 2024, Patreon subscriptions will give Gem packs that may or may not contain Gem items.

On to the Cave of Some Return!

See you next Patch Notes!

Have Fun & Keep Gaming!