An open API service indexing awesome lists of open source software.

https://github.com/girkovarpa/sciter-gamemaker

Trying (unsucessfully) to embed Sciter into a GameMaker Studio 2 window.
https://github.com/girkovarpa/sciter-gamemaker

gamemaker-studio-2 rust sciter

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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.

```gml
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](https://docs.yoyogames.com/source/dadiospice/002_reference/miscellaneous/external_define.html) and [external_call](https://docs.yoyogames.com/source/dadiospice/002_reference/miscellaneous/external_call.html).

## Preview

![GIF preview](preview.gif)