parallax scrolling

Posted By: DuaneDawson

parallax scrolling - 02/12/14 19:07

hi im trying to make a star field scroll in the background.
the only thing I can find in one of the aums, is a scroll background that use images and panels, which is no good as the images cover the models,

could the code that control the panels be used to move a large model of a star field that repeats

as I cant find any other information about it in the aums
Posted By: sivan

Re: parallax scrolling - 02/13/14 10:31

it's easy, use simply a sky CYLINDER, and adjust its scale (size), pan (rotation), tilt (height), alpha (transparency) as you wish. it is tiled horizontally around the camera.
"advertisment": you can quick test it in my editor in 1 minute, just delete other skies before adding the cylinder to see it clearly.
Posted By: DuaneDawson

Re: parallax scrolling - 02/14/14 23:10

i been looking at the star particle code from the fake 2d games under aum81

ive added just the particle code parts into my own script, and when i run it the effect of twinkling stars looks nice.

but there just static, how do i make them move, scroll down the screen?
© 2024 lite-C Forums