I made JavaScript and my C++ game engine talk. The results surprised me.
ProgrammerInProgress
Today I go through how I was able to get a two-way conversation going between my web app and C++ game (that's been compiled to WebAssembly using Emscripten)
Having this functionality opens a bunch of possibilities, such as scripting, debugging from the devtools and building UI from outside my engine in order to control it from within JavaScript.
I want to thank everyone who's recently subscribed to the channel or taken an interest in my videos, thank you so much, and welcome!
Subscribe for future videos: https://www.youtube.com/channel/UCeUFlRo0hK_wBpU21Pata6A?sub_confirmation=1
#programming #gamedevelopment #gamedev #games #coding #coding #gamedevelopers #gamedev #codinggames #gameshorts
#indiegame #indiegamedev #emscripten #embind #c++ #javascript #webassembly #sdl
Music attribution for the living legend, Kevin MacLeod!
Killing Time by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100570
Artist: http://incompetech.com/ ... https://www.youtube.com/watch?v=MPivDsSzRco
115791519 Bytes