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.
- Host: GitHub
- URL: https://github.com/girkovarpa/sciter-gamemaker
- Owner: GirkovArpa
- License: unlicense
- Created: 2020-10-27T06:42:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-27T06:49:45.000Z (about 5 years ago)
- Last Synced: 2025-03-18T02:47:16.802Z (10 months ago)
- Topics: gamemaker-studio-2, rust, sciter
- Language: Rust
- Homepage:
- Size: 2.53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
