Game
Fireside Hero


5 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

I-Buki

Mio-Da!

Ibuki Mioda!

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Cash Banooca

We're knee deep in multiple large features and "game feel". Quick peek behind the scenes in this weeks Dev Blog: https://bit.ly/2QmmaQM

A 1h30 painting, coffee break.

My twitter: https://twitter.com/loupil100

:] me sigue sin gustar

:] I still don't like it

Hey you, rookie! Yes, I am talking to you!! Come over here? Relax! Just stick to me and everything will be fine. By the way, my name is James Varhuher, but you can call me Big J. I will bring you up to speed.

One of the ways for people to express their culture is through music. Today we bring the rhythm of the stage of Yerba Mate, your first challenge in the Library. Guardian of Lore hits on Steam on May 18th. Wishlist us now: https://steam.pm/app/1211740

Link Fanart by me