en:start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:start [2025/09/06 07:51] – created picopicop | en:start [2025/09/07 23:44] (current) – 240f:10c:ce32:1:55a1:ad4:8ea9:a212 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PicoPicoScript ====== | + | ====== PicoPicoScript |
+ | |||
+ | * [[Getting Started]] | ||
+ | * [[PicoPicoScript Syntax]] | ||
+ | * [[PicoPicoScript API]] | ||
+ | |||
+ | ===== About PicoPicoScript ===== | ||
+ | |||
+ | PicoPicoScript (picosc) is an indie game engine fueled by your dreams! | ||
+ | |||
+ | * Built from scratch, easy-to-use scripting with C/ | ||
+ | * Supports not only Windows, but also macOS, Linux, WebAssembly, | ||
+ | * Enables easy 2D game programming on the latest hardware | ||
+ | * Runtime is a single ~2MB EXE | ||
+ | * Fast execution with JIT compiler technology | ||
+ | * MIT-licensed and freely available | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ===== Live Web Demo ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Script Example ===== | ||
+ | |||
+ | <code javascript> | ||
+ | func setup() { | ||
+ | var config = { | ||
+ | title: "My Sample Game", | ||
+ | width: 640, | ||
+ | height: 480 | ||
+ | }; | ||
+ | return config; | ||
+ | } | ||
+ | |||
+ | func start() { | ||
+ | myTexture = Engine.loadTexture({file: | ||
+ | } | ||
+ | |||
+ | func frame() { | ||
+ | Engine.draw({ | ||
+ | texture: myTexture | ||
+ | x: Engine.mousePosX, | ||
+ | y: Engine.mousePosY, | ||
+ | }); | ||
+ | } | ||
+ | </ | ||
+ | |||
+ |
en/start.1757112679.txt.gz · Last modified: by picopicop