doodle/pkg
Noah 5b3121171e Fix touchscreen mode detection
* Touchscreen mode used to be detected based on SDL2 GetNumTouchDevices
  but on a Macbook, the trackpad registers as a touch device - worse,
  GetNumTouchDevices will only start returning 1 the first time some
  devices are touched.
* The result was that on macOS the custom mouse cursor was drawn by
  default, but on the first trackpad touch, would disappear in favor of
  assuming the game is running on a touch screen device (which is not
  the case).
* New method: the render engine has an IsFingerDown boolean which will
  be true as long as at least one finger has registered a FingerDown
  event, but not yet a FingerUp event.
* So as long as one finger is down, the mouse cursor can disappear and
  then it comes back on release. This isn't perfectly ideal for pure
  touch devices (ideally the cursor remains hidden until a mouse
  movement without touch occurs).
2024-04-19 22:01:33 -07:00
..
balance WIP Doodle++ 2024-04-18 20:23:07 -07:00
branding Doodle++ Code Cleanup 2024-04-18 22:49:12 -07:00
campaign Rename Go module 2022-09-24 15:17:25 -07:00
chatbot Rename Go module 2022-09-24 15:17:25 -07:00
collision Walk up slopes smoothly, texture freeing improvement 2024-02-07 22:14:48 -08:00
cursor Fix touchscreen mode detection 2024-04-19 22:01:33 -07:00
doodads WIP Doodle++ 2024-04-18 20:23:07 -07:00
drawtool Level Thumbnails on Story Mode Select 2023-12-09 14:59:31 -08:00
enum Flood Tool, Survival Mode for Azulian Tag 2022-03-26 13:55:06 -07:00
filesystem Rename Go module 2022-09-24 15:17:25 -07:00
gamepad Unit test fixes and code cleanup 2023-12-02 12:33:14 -08:00
keybind Flood Tool, Survival Mode for Azulian Tag 2022-03-26 13:55:06 -07:00
level D++ Default Author and Embedded Doodads Error 2024-04-18 22:31:11 -07:00
levelpack Update savegame format, Allow out-of-bounds camera 2023-03-07 21:55:10 -08:00
log Switch github.com/kirsle/golog to git.kirsle.net/go/log 2019-12-22 18:34:31 -08:00
modal Wait Modal 2022-09-24 18:39:02 -07:00
native Fix touchscreen mode detection 2024-04-19 22:01:33 -07:00
pattern SemiSolid Pixels + Icons 2022-10-09 21:39:43 -07:00
physics Rename Go module 2022-09-24 15:17:25 -07:00
plus Doodle++ Code Cleanup 2024-04-18 22:49:12 -07:00
savegame Update savegame format, Allow out-of-bounds camera 2023-03-07 21:55:10 -08:00
scripting Walk up slopes smoothly, texture freeing improvement 2024-02-07 22:14:48 -08:00
shmem Level Difficulty + UI Polish 2022-03-06 22:20:53 -08:00
sound Level Thumbnails on Story Mode Select 2023-12-09 14:59:31 -08:00
sprites Rename Go module 2022-09-24 15:17:25 -07:00
uix Fix touchscreen mode detection 2024-04-19 22:01:33 -07:00
updater Rename Go module 2022-09-24 15:17:25 -07:00
usercfg Cheats Menu UI 2023-01-02 12:36:12 -08:00
userdir Rename Go module 2022-09-24 15:17:25 -07:00
wallpaper Level Thumbnails on Story Mode Select 2023-12-09 14:59:31 -08:00
wasm Level Thumbnails on Story Mode Select 2023-12-09 14:59:31 -08:00
windows Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
cheats.go Add cheat code to send power to all actors 2023-02-18 14:21:07 -08:00
commands.go Walk up slopes smoothly, texture freeing improvement 2024-02-07 22:14:48 -08:00
common_menubar.go Rename Go module 2022-09-24 15:17:25 -07:00
config.go Level Thumbnails on Story Mode Select 2023-12-09 14:59:31 -08:00
doodle.go Fix touchscreen mode detection 2024-04-19 22:01:33 -07:00
editor_scene.go D++ Default Author and Embedded Doodads Error 2024-04-18 22:31:11 -07:00
editor_scene_debug.go Rename Go module 2022-09-24 15:17:25 -07:00
editor_ui.go WIP Doodle++ 2024-04-18 20:23:07 -07:00
editor_ui_doodad.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
editor_ui_menubar.go Doodle++ Code Cleanup 2024-04-18 22:49:12 -07:00
editor_ui_palette.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
editor_ui_popups.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
editor_ui_toolbar.go Rename Go module 2022-09-24 15:17:25 -07:00
fps.go Dust off WASM build support 2023-12-08 21:52:34 -08:00
guitest_scene.go Rename Go module 2022-09-24 15:17:25 -07:00
main_scene.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
menu_scene.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
play_inventory.go WIP: Chunker size to uint8 and Rectangular Doodads 2023-02-16 21:47:18 -08:00
play_scene.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
play_scene_menubar.go Resolve circular import errors for Doodle++ plugin 2024-04-18 22:12:56 -07:00
play_scene_touch.go Cheats Menu UI 2023-01-02 12:36:12 -08:00
player_physics.go Coyote time 2024-02-06 20:56:07 -08:00
scene.go Walk up slopes smoothly, texture freeing improvement 2024-02-07 22:14:48 -08:00
shell.go Cheats Menu UI 2023-01-02 12:36:12 -08:00