Game
Fireside Hero


4 years ago

Public optimisation update is out!

The last 6 weeks were exclusively devoted to making Fireside Hero a smooth lag-free experience.


The beta build went public in early May, which was an important milestone. This nudged me to look under the hood (using hxScout) and fiddle with the engineering stuff.

I managed to raise the framerate from 3 to 24 FPS for portions with a lot of mouse clicks and hero movement. There's still space for improvement (60 FPS is the gold standard) but I'm happy with the changes - and hope you'll feel the difference, too.

Do give the new build a go and let me know what you think!

For those who are interested in the technical bits, here's a list of major engineering tweaks:

  • Replaced Box2D physics and all collision events with coordinate detection.

  • All ambience sounds are pre-loaded on individual channels at scene initialisation.

  • Replaced "always" events with one-off custom events where possible, including all hero interactions on the map and combat logic, as well as animation switches, font switches and such.

  • Consolidated all mouse clicks and releases in one listener event.

  • Replaced OpenFL Textfields for button labels with more primitive (but faster) Stencyl "drawing" code.

  • Eliminated dynamic lookups for hashmap values.

  • Character death animations are now created dynamically using an "eraser" actor and image masks, instead of pre-loaded frame-by-frame spritesheets.

  • Implemented a dynamic tracker of opened windows and layers containing interactive elements.

  • Implemented a version check at game start.

Happy playing!



0 comments

Loading...

Next up

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Have a good Boi

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Microsoft Windows XP Unprofessional (windows logo prototype)

Horror WIP A track that will be featured in a future horror game soundtrack! Stay tuned!

Likes appreciated ✌️

#gamedev #composer #horrorgame #indiegame #IndieGameDev #soundtrack

Levels' maps.

Regional Bulbasaur. #Pokemon

Szayel Aporro Granz - Bleach

Some time ago, we posted a screenshot of the Mexico level. A curiosity about it is that, like some other scenarios of the game, it was inspired by a real landscape, The Basaltic Prisms of Santa María Regla. It is one of the natural wonders of the country!