September 2024 Progress Update

Gataela

A decade ago a civil war tore across the Kingdom. Zack, an orphan, embarks on a mission to improve his loved ones' lives. Uncover schemes, investigate mysteries, and debate the citizens and nobles of Gataela! Will he discover hidden truths that threaten to rip apart the nation all over again?

Happy September! Here’s what we were up to in the last month! [h1]Demo Update[/h1] [img]{STEAM_CLAN_IMAGE}/31931167/5d8becd2420dbce4f88438b60222496df1b48576.png[/img] In case you missed it, [url=https://steamcommunity.com/games/631860/announcements/detail/4577433480055607250]we released a demo update at the end of last month[/url] providing some bug fixes and a new performance toggle. Thanks to all the demo players who logged bug reports! [h1]VFX Completion[/h1] We wrapped up the rest of the VFX work this past month. There might be some adjustments that need to be made, but this means that most of the visual effects for the turn-based battles are complete! The next steps for the turn-based battles will be creating the skills, adding the SFX, hooking things up, and (eventually) balancing! For now, here’s some of the last ones we put in: [img]{STEAM_CLAN_IMAGE}/31931167/2a203200b38e194d275cd50132ed21d4793fa2c3.gif[/img] Our favourite “absolutely not a Turkey” is showing off their feathers and Fluffing them Up to Raise their Critical charm points. [img]{STEAM_CLAN_IMAGE}/31931167/018f35ef8012871fd3d7b9422e4f944b66a48028.gif[/img] Our friendly Lynx is just giving you a small Body Slam out of love and affection. Probably. [img]{STEAM_CLAN_IMAGE}/31931167/0c1faec954d9ee332a8b4d39226eac72cd9e36ac.gif[/img] Did you know Badgers will Stock Up on food? We’ve heard it’s to Raise all variety of things. [img]{STEAM_CLAN_IMAGE}/31931167/3dbeac90b256b7edd7dca151d5238908ca9cad68.gif[/img] Finally we have a pot of gold showing off our Alchemy skills. This little fellow will now appear on Crafting screens and for the future Crafting skill in battles. [h1]Tile Troubles[/h1] [img]{STEAM_CLAN_IMAGE}/31931167/122621d336932cb744f2bbc77a1cc3ad661c12f6.png[/img] One of our focuses for the last month was adding a “walking through water” effect to all of the swamp maps. We have a cave map that already has this effect, but it was specific to the map. It was a little bit of work to make it work on all the swamp maps, but not too hard. No. The difficulty came up when dealing with the tile detection system and the cursed transparent tiles. Now this is a rather common problem when it comes to the tile system for Gamemaker. Tilemaps are formed off of images, and if there are any spots in the image which are transparent they become transparent tiles. However they are not considered “empty” because there’s an associated image section assigned to it. Now for Gataela we have a large image – particularly for the background tiles – which has empty spaces to fill in over time. We would rather have a single large image with empty spaces to fill in rather than recreating tilesets and redoing maps as development went on, or having a lot of different small tilesets and many tile layers. [img]{STEAM_CLAN_IMAGE}/31931167/9508109a22093fe3ff3a24345eee83fd7a7903a6.png[/img] Our tile checking – which is used for the water effect, VFX, and SFX – goes from top to bottom through the layers, finds a valid tile (i.e. a tile that is non-empty and has image data) and then determines the type. Although these transparent tiles are considered a valid tile by the engine – they aren’t valid for the tile checking algorithm. Sometimes what happens while creating maps is that these transparent tiles will be accidentally be added. We could go through every single map and clean up every tile layer so there are no transparent tiles but… there are hundreds of maps. There must be a way to do it without that, right? [img]{STEAM_CLAN_IMAGE}/31931167/c813bd65f38e1941f130748bda370cb18845afe5.png[/img] Transparent Tiles Not Visible [img]{STEAM_CLAN_IMAGE}/31931167/1dd6586a4339199cb411eb0ba75e796792f962f5.png[/img] Transparent Tiles Colored Pink Most of the advice for this situation revolves around checking every single pixel for the tile. With the size of our image, we would be checking essentially every pixel in the tileset image worst case. That’s 2048×2048 checks. Even if we store the result that’s still a pretty expensive check. BUT! There’s a way to do that easier: using bounding boxes. [img]{STEAM_CLAN_IMAGE}/31931167/87b7b9d7514185d101a2fd0665c355b0fbcdc01a.png[/img] Gamemaker allows you to create image assets at run time, and these assets can be created from tiles. When we first run our tile checking algorithm, we will check all the tiles in the Background tileset once by turning them into temporary images and generating an automatic bounding box. If the bounding box’s LS >= RS then this tile is fully transparent so we’ll add it to the list of tiles to ignore. This means that instead of 4,194,304 checks we have 1,024. [h1]What’s Next?[/h1] A bit of a switch up for next month – we’ll be working on adding NPCs (including dialogue) to the world over the next little while. If you’re interested in getting in a line or two, we’ll be streaming it every [url=https://www.twitch.tv/azurempress]Tuesday & Sunday at 9pm EST[/url]. Have a good start to Fall and a relaxing last bit of Summer!