Home » SIRTECH CLASSICS » Jagged Alliance 2 » Jagged Alliance 2 General » Play the demo in a browser
Play the demo in a browser[message #366506] Wed, 26 March 2025 13:38 Go to next message
midzer is currently offline midzer

 
Messages:12
Registered:March 2025
I've ported JA2 to the web.

Original source was https://github.com/chmallon/ja2-stracciatella + some custom code from the latest version of the Straciatella project.

Check out here

midzer.de/wasm/jaggedalliance2/


My changes:

https://github.com/midzer/ja2-stracciatella/tree/emscripten

[Updated on: Sun, 04 January 2026 10:07]

Report message to a moderator

Private
Re: Play the demo in a browser[message #366507 is a reply to message #366506] Thu, 27 March 2025 07:17 Go to previous messageGo to next message
Shadooow is currently offline Shadooow

 
Messages:110
Registered:April 2009
Location: Czech Republic
Hi, I tried this.

Was exploring first map and at some point I tried to shoot into air to perhaps lure that hiding enemy I couldn't find (as the map behaves as if occupied by enemies) I used Shadow for this.

Nothing happened so I commanded all soldiers to move to the stairs into lower floor. But Shadow was not moving at all. He got stuck in place with ready animation and won't move no matter what. Moving hands via right click, putting the weapon into bag, or attempting to throw a grenade (that played sound as he would move, and grenade disappeared from his inventory, but Shadow is still stuck and the grenade didn't appear on the map.

Next, I selected rest of the soldiers, clicked on stairs and send them below, however only one merc went and since "Go to the sector" checkbox wasn't automatically checked, I stayed on the first map. So I opened map mode, selected merc that went below and clicked on the down button. It did not work and the tactical put me into first map and the minimap turned black.

So I sent another merc down below and this time I checked the check box. Finally I got below, however I have 2 of 5 soldiers there, in two different squads that I cannot merge and I cannot switch mercs to bring more of them.

I moved them back at the surface, it did not fix Shadow and now I have 3 squads that I cannot change.

With this I give up. I don't really think a website version has any merit anyway... It is way too sluggish even if it wasn't heavily bugged and limited...

Report message to a moderator

Sergeant
Re: Play the demo in a browser[message #366513 is a reply to message #366507] Wed, 02 April 2025 17:30 Go to previous messageGo to next message
midzer is currently offline midzer

 
Messages:12
Registered:March 2025
Yeah, it is lil buggy.

More like a tech demo happy

Report message to a moderator

Private
Re: Play the demo in a browser[message #366514 is a reply to message #366513] Thu, 03 April 2025 23:02 Go to previous messageGo to next message
Shanga is currently offline Shanga

 
Messages:3475
Registered:January 2000
Location: Danubia
This is an awesome idea! I pinned the topic, please keep us updated!

Report message to a moderator

Captain
Re: Play the demo in a browser[message #366548 is a reply to message #366514] Wed, 21 May 2025 10:58 Go to previous messageGo to next message
midzer is currently offline midzer

 
Messages:12
Registered:March 2025
Update:
* reduced CPU usage
* fixed crash when NPC asks you to surrender

[Updated on: Wed, 21 May 2025 10:59]

Report message to a moderator

Private
Re: Play the demo in a browser[message #366771 is a reply to message #366548] Fri, 20 February 2026 20:44 Go to previous messageGo to next message
midzer is currently offline midzer

 
Messages:12
Registered:March 2025
Update:

* fixed talking to Gabby
* smaller bundle size

Report message to a moderator

Private
Re: Play the demo in a browser[message #366821 is a reply to message #366771] Mon, 25 May 2026 17:12 Go to previous message
midzer is currently offline midzer

 
Messages:12
Registered:March 2025
Update:

* use SDL2 cursor and reduce memory and GPU footprint https://github.com/midzer/ja2-stracciatella/commit/eeea7d58faa5e057b5beb1a74bba27fac44759ba

Report message to a moderator

Private
Previous Topic: Mercenary's quotes
Goto Forum:
  


Current Time: Sat Jun 13 08:34:13 GMT+3 2026

Total time taken to generate the page: 0.01699 seconds