https://github.com/tinkerer-red/MultiProcessing
A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.
https://github.com/tinkerer-red/MultiProcessing
Last synced: 13 days ago
JSON representation
A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.
- Host: GitHub
- URL: https://github.com/tinkerer-red/MultiProcessing
- Owner: tinkerer-red
- License: mit
- Created: 2023-07-01T10:04:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-06T21:12:04.000Z (over 2 years ago)
- Last Synced: 2026-03-05T13:14:52.946Z (4 months ago)
- Language: Yacc
- Size: 144 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-gamemaker - MultiProcessing - A proof of concept for multiprocessing in GameMaker. (Async / Recommendations)
README
# MultiProcessing
A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.
### Example:
```gml
///create
factorial = function(_x) {
var _t = _x-1;
var _v = _x;
repeat (_x-2){
_t--;
_v *= _t;
}
return _v;
}
callback_example = function(_response) {
show_debug_message(string("Factorial Value: {0}", _response))
}
//key-release [spacebar]
for (var _i=0; _i<=1_000; _i++) {
remote_execute(factorial, [_i], callback_example);
}
```