Jump to content
  • Advertisement

Optimization SDL and Web Assembly Browser Game Engine

Recommended Posts

Posted (edited)

For my final assignment in school, I made a basic multiplayer ray casting game in the browser. The response was so so at the demo held at Case Western in Cleveland, due to it being a silly game. It was programmed in JavaScript, Web Assembly and C. Emscripten was used to output Wasm and glue code to run SDL in the browser. I wanted to demonstrate the power of Web Assembly and it's practical usage to speed up web apps. It's pretty much alpha, so it's not perfect. But it's fast, really fast! And it can run on a mobile device, something that WebGL hasn't supported fully yet. I developed another demo showcasing its usage in a mobile environment. Unfortunately it doesn't perform well on an Iphone. Graphics and sounds were found on various royalty free sites.

You'll need a solid internet connection for the death match FPS game. About 4 players can hop on and play before it gets laggy due to being on a shared processing server. Controls are listed on the main page. Use the mouse to look around.

For the mobile version of the engine, it's just a skeleton of what could an rpg. Random battles are generated, and clicking on the enemies will attack them.

Demo Links:

Multiplayer Game

Mobile RPG skeleton



Edited by shawnathanmcfly
fixed links

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!