Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Background: Size and Position
#2
I assume you're talking about the image dimensions, right? In Windows, it should be under file properties > Details tab > Dimensions. Pretty sure there's a similar thing in other OSs. Alternatively, load it into your favorite graphics editor which should display it as well.

Keep in mind that backgrounds feature the
width:
-property which lets images shift with the camera. A value of 794 means that it always moves with the camera or, in other words, it'll stay fixed at a certain position. Lower values are usually pointless, unless you do some magic shenanigans. Higher values make the images scroll, i.e. they do not move as fast as the camera and therefore appear to shift to the left/right of the bg upon movement (-> parallax). If you want to make a player run across the ground which shouldn't have any sort of parallax effect, use
width: [width of the bg]
.

Hope that helps!
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:


Messages In This Thread
Size and Position - by seikosantana - 05-22-2018, 04:17 PM
RE: Size and Position - by Silverthorn - 05-26-2018, 01:08 PM
RE: Size and Position - by seikosantana - 05-27-2018, 02:32 AM
RE: Size and Position - by Silverthorn - 05-27-2018, 07:39 AM



Users browsing this thread: 3 Guest(s)