How to set volume of sfx and music differently?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
BrotSagtMist
Party member
Posts: 607
Joined: Fri Aug 06, 2021 10:30 pm

Re: How to set volume of sfx and music differently?

Post by BrotSagtMist »

No, not at all. Just saying that you should stay away from situation where you adjust the volume of every file.
At least one file should be played with 100% and act as base.

So what is a tile? A meter? A centimetre? A kilometre? A lightyear? The lib must know how long a tile is for stuff to work.
Or just scale like:
S:setPosition(x*Scale,y*Scale)
For a 50 pixel tile using the "exponend" distance model i used a scale of 0.01 in my games before.
obey
User avatar
Gunroar:Cannon()
Party member
Posts: 1085
Joined: Thu Dec 10, 2020 1:57 am

Re: How to set volume of sfx and music differently?

Post by Gunroar:Cannon() »

A tile is has 16x16 pixels and is the size of the player. Is a 0.01 scale still fine.
The risk I took was calculated,
but man, am I bad at math.

-How to be saved and born again :huh:
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 49 guests