gamescript
Описание
Языки
- C++56,8%
- C42,1%
- Python0,6%
- Objective-C0,2%
- CMake0,1%
- Остальные0,2%
Game Script


Download for Windows, Linux and Android: procedural.itch.io/gamescript
Download for Xbox One, copy and paste the link below into the Microsoft Edge on Xbox browser:
ms-windows-store://pdp/?productid=9PB1GW72NV4W
Join the official Game Script Discord server for news, updates, code examples and more! https://discord.gg/D7pKPw4kFf
Alternative news channel: https://t.me/gamescriptnews
Game Script is about raising the standards of what it's like to write code fast: you must be able to just double click on the program and start typing code immediately, you must be able to run the code with a single key press, and you must be able to enter the game mode, in which you can fly around in 3D space freely, like in a video game, to see your commands reliably occupy the virtual world.
Install
- On Windows, make sure you have Microsoft Visual C++ Redistributable package installed. Game Script DirectX 11 Version also needs Graphics Tools installed.
- Download and extract GameScript folder, double click on the
file on Windows 7 (64-bit) or higher.game_script.exe - Download and extract GameScript folder, run the
file on Ubuntu 16.04 (64-bit) or higher.game_script.sh
Minimum requirements for Game Script for Android:
- Android 7, armeabi-v7a, OpenGL ES 3.0, 1920x1080 display resolution.
🐞 Report a bug or an issue here
Hotkeys
: run system script (prints help by default if you press F1 again).F1: toggle run output text window.F2: toggle between script and game mode.F3: rerun the script.F5: pause running the script.F7: continue running the script.F9: toggle fullscreen mode.F11: toggle Dear ImGui demo window.F12+Ctrl: switch between windows in script mode.Tab+Alt, arrow keys: move between UI elements with keyboard in script mode.Ctrl: fly forward in game mode.W: fly back in game mode.S: fly left in game mode.A: fly right in game mode.D: fly up in game mode.E: fly down in game mode.Q: roll camera left in game mode.T: roll camera right in game mode.Y: reset camera roll in game mode.R
Game Script functions
Game Script constants
Game Script functions for thread 2
Game Script for Android, Game Script for Windows Platform and Game Script REDGPU Version functions
Game Script uses the Ape programming language v0.14.0 by Krzysztof Gabis, you can read more about it in my public fork of his Github repo here: https://github.com/procedural/script
Game Script Native uses standard C++14.
Game Script Native Swift uses latest available Swift programming language.
Game Script Min uses the MinScriptLang scripting language from Nov 3, 2021 by Adam Sawicki, you can read more about it in my public fork of his Github repo here: https://github.com/procedural/minscript
Game Script C uses Tiny C Compiler.
Game Script for Android notes:
- On Meizu M6 Note phone, I had to disable keyboard settings -> 'English prediction' option that prevented any typing.
- If you use scrcpy to control your Android device from a Windows PC, to type with a keyboard and have Shift key working, run it with
flag like this:--prefer-textscrcpy.exe --prefer-text - To change the default font, rename and place your font to /storage/emulated/0/Download/gamescript_font.ttf
- To compile and run the script at startup in game mode with all default UI windows hidden, rename and place your script to /storage/emulated/0/Download/gamescript_compile_and_run.txt
- If the touch arrow buttons don't work for your device, try entering different "Buttons delay" values, the default one is 19 frames of delay that works on one of my phones, but my other one requires it to be set to 40, for example.
- You can compile your own C code as an ARM shared .so library and run it from within Game Script for Android, rename and place it to /storage/emulated/0/Download/libgame_script_external_procedure.so
- In Android Settings, make sure the Game Script for Android app's "Use phone storage" permission is set to "Allow" (not "Ask" or "Reject").
Other repos:
- https://github.com/procedural/gamescript_raytracing
- https://github.com/procedural/gamescript_fbx_examples
- https://github.com/procedural/gamescript_structs_generator
- https://github.com/procedural/gamescript_for_android_examples
- https://github.com/procedural/gamescript_redgpu_version_visual_studio_project
- https://github.com/procedural/gamescript_native_clang_for_windows
- https://github.com/procedural/gamescript_native_clang_for_linux