Page 1 of 1

Spritesheet example 2

Posted: Tue Mar 12, 2024 11:24 am
by tperry2x
Here's another example of using spritesheets, and parallax scrolling the background
I didn't make the original, but I've tweaked it quite a lot.
Posting here so everyone else can have a play with it and make improvements too:
spritesheet-2.png
spritesheet-2.png (173.21 KiB) Viewed 1018 times
sprites-example2.oxtstack
(340.26 KiB) Downloaded 22 times

Re: Spritesheet example 2

Posted: Wed Mar 13, 2024 2:21 am
by xAction
sprites-example2_v2.oxtstack
(344.59 KiB) Downloaded 16 times
  1. slider added to adjust the repeatTiming
  2. rawkeydown responds to capslock key
  3. A & D keys trigger loop_player_left_in_place & loop_player_right_in_place
    locking character in place during animation
  4. all loop handlers trigger loop_landscape for infinite scrolling
  5. added graphic "Frame" to group "Scene" to have clamp values to guide the infinite scolling
  6. added versionHistory property to card