Creating Game Engine in C++ with GM2

P

Panslam

Guest
I want to make a system where you can code an entire GM2 game using C++ via extensions. I'm a bit confused on how extensions work, though. I want to be able to send large arrays/lists of values into GM2 each frame with information about what sprites to draw, where to draw them, sounds to play, etc. What would be the best way to do this?
 

chamaeleon

Member
I want to make a system where you can code an entire GM2 game using C++ via extensions. I'm a bit confused on how extensions work, though. I want to be able to send large arrays/lists of values into GM2 each frame with information about what sprites to draw, where to draw them, sounds to play, etc. What would be the best way to do this?
I think that with the exception of specially named scripts for the HTML5 target, GMS takes the position of "don't call us, we'll call you." In other words, the extension system is not targeting the use case you have in mind. Having said that, you could look at what people have done to make Lua available for instance.
 
Top