Skip to content

Trying (unsucessfully) to embed Sciter into a GameMaker Studio 2 window.

License

Notifications You must be signed in to change notification settings

GirkovArpa/sciter-gamemaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sciter-GameMaker

Trying to embed a Sciter window into a GameMaker Studio 2 game window.

GameMaker Script

This is executed in the room creation code of the first (and only) room in the test project.

var foo = external_define(
	"sciter_gamemaker.dll", 
	"foo", 
	dll_cdecl,
	ty_real, 
	1, 
	ty_string
);
var handle = window_handle();
var handle_as_hex_string = string(handle);
external_call(foo, handle_as_hex_string);

Nothing happens, except the game window is displayed which consists of just a horizontally scrolling image.

Here is the official GameMaker documentation for external_define and external_call.

Preview

GIF preview

About

Trying (unsucessfully) to embed Sciter into a GameMaker Studio 2 window.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published