Hi, everyone.
Alright.
I have a weird problem setting up the infinite scroll left and right for the Vertical Space Shooter template.
I tried it 3 different ways and nothing works.
See 2 capex here:
scrollx example
This one utilizes scrollx.
Global variable instead of scrollx
This one utilizes a global variable instead of scrollx.
The scroll does work.
The problem are the player angles.
The player sprite no longer orients properly towards Mouse.X and Mouse.Y or Touch.X and Touch. Y unless one points the cursor really far away, within the original window boundaries.
I really need help with this.
The documentation on scrollx and scrolly is very scant in the manual.