Hyp3r g4mes 2020-10-25 06:09
Hi! I’m new to LowRes NX, and i don’t know much about coding, I want to know how to change background to another by pressing a button with the gamepad, I’m trying to make a RPG game and I made a background for the stage, and a background for the inventory, and I want to know how to change the background by pressing a button (so by pressing the pause button it opens the inventory) if you know please help me, I’m new to this :(
Timo 2020-10-25 07:04 (Edited)
Hi, if you are new to programming, I recommend reading the first chapters of the manual and also my tutorial:
You have to understand how to jump between different parts of your program.
If you saved your backgrounds to different file numbers, then you can use this commands to draw them on screen:
BG SOURCE ROM(x) BG COPY 0,0,20,16 TO 0,0
Replace the "x" with the file number you used to save the background.
Hyp3r g4mes 2020-10-25 07:11
Thanks, you’re my hero :)
G-9 2020-10-25 19:13
An ugly example cuz im bored ...
Hyp3r g4mes 2020-10-26 03:57
omg thanks, you guys are really nice! thank you so much
G-9 2020-10-26 13:51
Dont worry ;)