How do I make a certain sprite in my level's background not loop?

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
EForEngineer
Goomba
Goomba
Posts: 4
Joined: Sun Aug 20, 2023 12:09 am
Pronouns: He/Him

How do I make a certain sprite in my level's background not loop?

Postby EForEngineer » Sat Dec 02, 2023 8:28 pm

I'm working on a level named Tower of the Red Moon, and I need some help making the moon parallax or something like it.

Added in 48 seconds:
Here's the background.

Image

Just_Thomas
Snifit
Snifit
Posts: 233
Joined: Sat Dec 16, 2023 3:32 am
Pronouns: he/him

Re: How do I make a certain sprite in my level's background not loop?

Postby Just_Thomas » Sat Dec 16, 2023 10:42 am

Hey,
I rather think this is what you are looking for.
https://docs.codehaus.moe/#/features/pa ... ackgrounds

Here, I made some quick edits for your needs
Image
Image
Image

But in case you have some trouble understanding parallaxing-backgrounds I prepared an example for you.

Save the following e.g. as background2-1.ini and put it into your episode or level folder.

[background2]
name = "LEVEL"
fill-color = "#000000"

[BasicSkyColor]
name="BasicSkyColor"
depth=10
img="bg_BasicSky.png"
repeatX=true
repeatY=true
parallaxX=0
parallaxY=0

[RedClouds]
name="RedClouds"
depth=INFINITE
priority=-99.7
opacity=0.85
img="bg_RedClouds.png"
alignY=CENTRE
repeatX=true
parallaxX=0.3
parallaxY=0.3

[RedMoon]
name="RedMoon"
depth=INFINITE
priority=-99.8
img="bg_RedMoon.png"
alignY=TOP
parallaxX=0.015
parallaxY=0.015

Feel free to change these settings to your liking.

edit:
As download
https://www.file-upload.net/download-15 ... t.zip.html
or
https://fastupload.io/5ur6Qrl90Q4mvZZ/file
or
https://file.io/19KxIWiWvAzO

hopefully at least one dl will work for you ...
Last edited by Just_Thomas on Sat Dec 16, 2023 10:49 am, edited 1 time in total.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 6 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari