Join the ranks of soldiers in the American Army or the German Wehrmacht. Fight online with your friends and against your foes. Fight to become a war hero or rise through the ranks to command the armies of nations. Every man's actions has consequences for the outcome of the war.

Report article RSS Feed Multi-threaded Flash + H&G + ??? = Profit!

While we are developing our game, the world is changing. Change is coming to the Flash Player Plug-in as well and sometimes this change is something we've been waiting for!

Posted by Reto.KenSolo on Jul 26th, 2012

By Reto.Vashu, Flash Programmer

While we are developing our game, the world is changing. Change is coming to the Flash Player Plug-in as well and sometimes this change is something we’ve been waiting for!

So how will this affect Heroes & Generals? Read more to find out!

Multi-threading or worker (Adobe name for a thread), a long time requested feature has been revealed for release in the second half of 2012 by Adobe, it will appear in what is called “Flash Player Dolores” (See Adobe Roadmap for Flash Player)

So what exactly does this mean for Heroes & Generals?

Getting multiple workers to render / process the information and content means a lot in modern games and applications and this especially applies to our Flash Solution. There will be 3 areas (at least) that will benefit greatly from workers in our project:

multi-threadingThree areas that will benefit from Multi-threading / Workers

Area 1. The Campaign Map
The campaign map handles all the map tiles, the fire effects from battles, searching for assault teams / Cities and moving assault teams around the map. This will be offloaded to not influence other areas of the flash solution. This is the biggest optimization to the application.

Area 2. Chat

Another area that is heavily influenced by the lack of multiple workers is the chat area. When a lot of users are chatting and the war-map is doing what it does best, then this area is heavily choked up. Offloading this it’s own will make it smooth as a baby’s bum.

Area 3. Interface Responsiveness in general

With a third worker we can improve and keep a constant responsiveness for the user interface in general.

So does this worker thing really work?

One of Adobe’s leading engineers have posted the following video in his walk through of how it’s most likely going to work with workers in Flash Player

Below you can see the video of how workers change the responsiveness of Flash:

Highlights of the Video:

00:30: Handling expensive processes in the current Flash Player
00:54: Handling expensive processes in the new version of Flash Player
01:32: Punchline of Video

So will my computer explode when you get workers implemented?

Short answer is, no.

Slightly longer is, we will continue to monitor our memory and CPU usage and keep it at a proper level! With the workers and the improved profiling in Dolores, we will be able to easily find our memory leaks and poorly optimized areas and improve upon them to ensure a great experience for as many as possible!

Thanks for reading!

I hope you enjoyed reading about what’s coming up in the next half year for both Flash Player and Heroes & Generals.

Sign up for a Beta-key here!
(Original Heroes & Generals blog link)

Post comment Comments
Roh Jul 26 2012, 11:09pm says:

Lets face it. The ??? = cheese. It's the greatest catchall there is.

+2 votes     reply to comment
Nwabudike Jul 28 2012, 12:05pm says:

flash + X = crap ϵ ever

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Heroes & Generals
Windows, Web, iPhone, iPad, Android
Developer & Publisher
Send Message
Official Page
Release Date
Game Watch
Track this game
Report Abuse
Report article
Related Games
Heroes & Generals
Heroes & Generals Multiplayer First Person Shooter
Related Engines
Retox Proprietary TBD
Related Groups
Reto-Moto Developer & Publisher