Commit graph

8 commits

Author SHA1 Message Date
c731c3c5ab Add new_scenes to prevent modifying the currently iterated scenes. 2024-08-29 00:09:34 +02:00
3ff1d663a2 Prevent cycles with ARC by adding {.cursor.} to all "back" references.
TODO: Use destructors to set all cursors of children objects to `nil`.
2024-08-29 00:07:09 +02:00
1557d59d0f Add option to always use GLSL tone mapping instead of GL_FRAMEBUFFER_SRGB. 2024-08-29 00:01:54 +02:00
6636b5e595 Add proc to show/hide on-screen keyboard and character callbacks (except ios).
* Add `myouSetKeyboardVisible(bool)` and export it.
* Add `screen.char_callbacks` to receive platform character events.
* Remove duplicate code for mouse emulation with touch (commited by mistake).
2024-08-28 23:57:29 +02:00
19ed29e806 Replace pixie by stb_image. Add support for 16 bit images, TGA, PSD, HDR, etc. 2024-08-22 21:38:35 +02:00
40276c443b Update cubemap probes automatically. 2024-08-21 21:19:18 +02:00
924fa2413a Register loaders and add engine.loadScene that chooses the appropriate loader. 2024-08-21 19:22:22 +02:00
9af1322937 First commit.
* Incomplete port of myou-engine-js to nimskull, after many months of work, and
  a few extra features that weren't exactly necessary for a "first commit" to
  work. Excuse the lack of commit history up to this point.
* Bare bones structure of the documentation and the process to update it.
* Restructure of the whole project to have a more sensible organization.
* Making submodules of forks of larger libraries.
* README, licenses, AUTHORS.md.
2024-08-20 13:08:19 +02:00