Noah Petherbridge
7d15651ff6
* New script API method: Self.CameraFollowMe() to draw camera focus toward your doodad (it sets the Canvas.FollowActor target.) * The camera will go back to following the player on any action inputs (arrow keys, jump, use, etc.); if the player is constantly on the move the camera stays on him even if another actor is trying to take the focus. * The first few ticks of Play Mode the player character is always followed, to allow for Anvils to settle into place without taking the focus. * Canvas FollowActor: if the actor is 4 times the max scroll speed away, allow scrolling in greater leaps of 4 times the max scroll speed. New and Changed Doodads * Anvils will take the camera focus while they are falling. * New doodad: "Look At Me" - a 'camera region' technical doodad. Link it to any power source such as a Button - when this doodad receives power it will take the camera focus for a few frames. Use it to highlight a door that opened far off screen by linking the Button to both an Electric Door and a "Look At Me" near the door. |
||
---|---|---|
.. | ||
balance | ||
branding | ||
campaign | ||
chatbot | ||
collision | ||
cursor | ||
doodads | ||
drawtool | ||
enum | ||
filesystem | ||
gamepad | ||
keybind | ||
level | ||
levelpack | ||
license | ||
log | ||
modal | ||
native | ||
pattern | ||
physics | ||
savegame | ||
scripting | ||
shmem | ||
sound | ||
sprites | ||
uix | ||
updater | ||
usercfg | ||
userdir | ||
wallpaper | ||
wasm | ||
windows | ||
cheats.go | ||
commands.go | ||
common_menubar.go | ||
config.go | ||
doodle.go | ||
editor_scene_debug.go | ||
editor_scene.go | ||
editor_ui_doodad.go | ||
editor_ui_menubar.go | ||
editor_ui_palette.go | ||
editor_ui_popups.go | ||
editor_ui_toolbar.go | ||
editor_ui.go | ||
fps.go | ||
guitest_scene.go | ||
main_scene.go | ||
menu_scene.go | ||
play_inventory.go | ||
play_scene_menubar.go | ||
play_scene_touch.go | ||
play_scene.go | ||
player_physics.go | ||
scene.go | ||
shell.go |