ohsqueezy
102d1749a5
added function to disable audio chunks, colors default to fully transparent, add public getters for Pad::box and Pad::visible
2024-05-01 20:25:35 -04:00
ohsqueezy
0e4f06d779
- restore video recording
...
- remove sdl context
- configurable audio device settings
- deprecate node
- move audio recording input handling to game object
2024-03-04 19:44:06 -05:00
ohsqueezy
27d2128e1f
move post command into delegate
2023-07-19 12:47:18 -04:00
ohsqueezy
772c5482dd
unsubscribe delegate subcribers in game's quit function and remove destructor calls to unsubscribe; delete ID memory when GL object is deleted; disable recorder because of memory leak
2023-06-11 21:49:04 -04:00
ohsqueezy
aaaebc006d
- use vector instead of map to store textures in Model class
...
- require a font to be passed to the Text class constructor
- convert default font from static member to non-static so it unloads from memory before TTF library unloads
- construct delegate object first so that it deletes last and other objects can call unsubscribe successfully
2023-06-11 01:07:15 -04:00
ohsqueezy
3ba3be4496
- add Switch and time_it classes
...
- finish adding #pragma once to headers
- move configuration initialization into Game class
- print debug to stdout by default
- explicitly pass file to refresh to config auto refresh
- add delegate to sb namespace and deprecate get_delegate() in favor of delegate()
- set custom log function before loading config
- raise exception when no model textures are available
2023-05-23 15:28:53 -04:00
ohsqueezy
d1cb24a785
angle difference and ratio methods
2022-07-23 18:55:27 -04:00
frank
03d179eed4
attributes can be accessed as a typed vector; box set gl mode function; mouse events are suppressed in addition to key events when input is suppressed
2021-11-09 23:30:27 -05:00
Frank DeMarco
877d63cf4e
fix sprite wipe and precision collision for scaled sprites; box move and return copy function
2020-09-02 23:32:01 -04:00
Frank DeMarco
ae644b7138
collide box/box, box/line, box/point; sprite/sprite and sprite/box precise alpha collision
2020-08-09 16:32:32 -04:00
Frank DeMarco
555c1e51a3
- optionally preserve center when modifying box size
...
- sprite scale modifier and scale quality setting
- get filled texture method
- get map keys utility method
2020-07-31 12:10:21 -04:00
Frank DeMarco
16e1cc19d0
method to cancel event propagation
2020-07-27 14:19:11 -04:00
Frank DeMarco
3d439e56e0
suppress input temporarily
2020-07-22 00:53:40 -04:00
Frank DeMarco
5df099354b
compare event accepts vector of commands
2020-07-21 15:04:12 -04:00
Frank DeMarco
b2f5f56063
- store video stashes in linked lists
...
- cube face textures demo
- only dispatch events to active nodes
- only update animation if containing object is active
2019-07-21 03:13:19 -04:00
Frank DeMarco
c71635e5d6
keyup sends cancel to command subscribers
2019-05-31 21:53:39 -04:00
Frank DeMarco
10cc649f45
unsubscribe automatically at destruction
2019-05-18 21:25:27 -04:00
Frank DeMarco
e45806f8bc
create resource management objects on stack
2019-05-18 17:39:47 -04:00
Frank DeMarco
1dbb2a2e1d
save indexed screenshot to directory
2019-05-07 03:33:54 -04:00
Frank DeMarco
ebd8f34266
translate key down to command event
2019-05-04 20:30:39 -04:00
Frank DeMarco
41dbfb8498
key map
2019-05-04 03:25:35 -04:00
Frank DeMarco
845d3bb883
pass object bound functions to delegate
2019-05-03 22:16:56 -04:00
Frank DeMarco
eb35aedeef
event dispatch
2019-05-03 02:09:48 -04:00