HELP with custom backgrounds

General Mar0 discussion has been moved to this subforum!
Post Reply
User avatar
goodbot16
Posts: 43
Joined: 27 Feb 2015, 02:08

Post » 04 Apr 2015, 18:09

I need help i don't know how to get custom background

User avatar
Tecminer
Posts: 437
Joined: 11 Jan 2014, 20:44
Contact:

Post » 04 Apr 2015, 19:11

We really need a whole new thread for this very important issue

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 04 Apr 2015, 19:15

You could have google'd this
How to use custom background:
The screen of Mari0 is 400x224 pixels.
The portal background is the standard custom background, you can overwrite it by doing the following:

Place “background1.png” inside your mappack folder.
You can keep adding consecutive numbers to add more than 1 background (background2.png, background3.png, etc) for parallax scrolling. Adjust the scroll factor slider (main tab) to control the speed of parallax scrolling.

This standard background can be overwritten by each map individually by putting “1-1background1.png” (for world 1-1) inside the folder. Also supports multiple backgrounds.
For sublevels, use “1-1_1background1.png”.

Then check the “Custom Background” box in the main tab of the editor.


User avatar
goodbot16
Posts: 43
Joined: 27 Feb 2015, 02:08

Post » 05 Apr 2015, 03:36

I followed alesan99's instructions and i got this
error

menu.lua : 1429 : attempt to compare number with nil


traceback

main . lua : 2549 : in function ' -__lt'
menu . lua : 1429 : in function 'loadbackground'
menu . lua : 62 : in function 'menu_load'
intro . lua : 29 : in function 'intro_update'
main . lua : 1487 : in function 'update'
[c] : in function 'xpcall'

User avatar
alesan99
Posts: 2335
Joined: 30 May 2013, 21:42
Contact:

Post » 05 Apr 2015, 04:27

pm me the mappack

User avatar
arjaycruz100
Posts: 1
Joined: 06 Apr 2015, 08:03

Post » 06 Apr 2015, 08:43

I also tried it goodbot but then its error dont know whats the problem.







____________________
Ask me about my zombie fighting weapons
Last edited by arjaycruz100 on 09 Apr 2015, 02:24, edited 1 time in total.

User avatar
goodbot16
Posts: 43
Joined: 27 Feb 2015, 02:08

Post » 06 Apr 2015, 17:28

arjaycruz100 wrote:I also tried it goodbot but then its error dont know whats the problem.
i fixed it i did something wrong

Post Reply