Parallax Scrolling in an XNA Game
Uploader Comments (dexter2k6)
All Comments (15)
-
Actually there are 4 layers:
1.terrain
2.mountains
3.clouds
4.sun
Off course the sun layer is still.
-
haha it's got an appealing art style :P
Anyway nice job, I'm beginning to learn about XNA so good job, it's complicated stuff imo.
-
Actually depending on the case waht master lucas said makes sense, i mean if you want to make a paralax effect in a game like castlevania or magamen you dont need to make the layer repeat it self since you r gong to have the hole layer made so that it goes whit the level
-
Amazing.
-
@MasterLucas92 Not really. First of all should the layer be able to repeat itself, as the video shows. It also should draw and update only those sprites that are visible, which the video doesn't show but probably do.
-
@nicholasthetaylor Oh okay then. What about the fps then? You can't forget that XD Does that add more layers?
-
@nicholasthetaylor it is still a layer
-
@Shad12Dash The sun is static
-
@MasterLucas92 you forgot the clouds(4)
To end this unnecessary discussion (no offense):
There are 3 moving layers (each with different velocities)
And 1 constant not moving Background Picture which contains the sun and the blue sky :-)
dexter2k6 6 months ago