| help! |
|
Forum Index - SMW Hacking - General SMW Hacking Help - help! |
|
Pages: 1  |
|
|
|
| Posted on 2012-02-18 12:32:41 PM |
Link | Quote |
|
Because the airmeter looks like the part of the HUD (Heads Up Display or status bar), sprites goes on top (or on front) of this makes this looks weird


Its also weird when the ovelap glitch with the pirhana plant inside the pipe too, because the airmeter goes behind most sprites and on front of layer 1. The airmeter is on front of the pipe and behind the pirhana plant at the same time.
most HUD on screen in games always be on front of everything in perspective, otherwise sprites can "block" the viewing on on it
|
| Last edited on 2013-01-13 10:31:49 AM by GreenHammerBro. |
|
| Posted on 2012-02-21 03:49:02 PM |
Link | Quote |
|
|
No way?No way!
|
| Last edited on 2012-02-21 03:50:30 PM by Supermario2003. |
|
| Posted on 2012-02-21 03:54:49 PM |
Link | Quote |
|
Originally posted by Supermario2003No way?No way!
There's no need to say that...
And... I think that happens when you go through a pipe and a sprite is in front of it. I don't know any way to fix that. You may want to move the pipe to avoid that.
|
|
| Posted on 2012-02-21 05:00:37 PM |
Link | Quote |
|
That's actually caused by the air meter not having OAM priority...and the only way to fix it would be to make the graphics routine hardcode it to use slots before all the other sprites. You could try adding something like this to the init routine:
But that is risky.
|
|
|
|
| Posted on 2012-02-21 05:10:31 PM |
Link | Quote |
|
Originally posted by dixeywere to add that?
Originally posted by imameliaYou could try adding something like this to the init routine
In case that instruction is too tricky for you, the init routine is after the dcb "INIT" (DCB "INIT" in this case for some reason I'm not going to question).
|
|
| Posted on 2012-02-21 05:17:41 PM |
Link | Quote |
|
|
the INIT? it doesn't say that in the graphics routine
|
| Last edited on 2012-02-21 05:25:10 PM by GreenHammerBro. |
|
| Posted on 2012-02-21 05:19:34 PM |
Link | Quote |
|
|
INIT routines aren't supposed to be inside graphics routines at all. Look outside it, it should be near the top.
|
|
| Posted on 2012-02-21 05:22:58 PM |
Link | Quote |
|
here?
Code;; INIT and MAIN routines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DCB "INIT"
LDA #$FF
STA RAM_AirMeter
RTL
i want it to have the highest priority that mario also go behind
still doesn't work
|
| Last edited on 2012-02-21 05:34:46 PM by GreenHammerBro. |
|
| Posted on 2012-02-21 05:28:41 PM |
Link | Quote |
|
|
Yeah, just between STA RAM_AirMeter and the RTS.
|
|
| Posted on 2012-02-21 05:38:03 PM |
Link | Quote |
|
|
RTL you mean
|
|
| Posted on 2012-02-21 05:41:19 PM |
Link | Quote |
|
|
Oh, yeah, sorry 'bout that. Anyways, did it work?
|
|
| Posted on 2012-02-21 05:54:10 PM |
Link | Quote |
|
Code;; INIT and MAIN routines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
DCB "INIT"
LDA #$30
STA $15EA,x
RTL
DCB "MAIN"
PHB
PHK
PLB
JSR MainSub
PLB
RTL
|
| Last edited on 2012-02-21 06:06:29 PM by GreenHammerBro. |
|
| Posted on 2012-02-21 05:57:20 PM |
Link | Quote |
|
Yeah, just like that, but... I think you removed something there...
EDIT:
Codedcb "INIT"
LDA #$FF
STA RAM_AirMeter
LDA #$30
STA $15EA,x
RTL
|
| Last edited on 2012-02-21 05:59:29 PM by New Hacker. |
|
| Posted on 2012-02-21 05:59:13 PM |
Link | Quote |
|
|
yeah i did something wrong, after school i will re download (because i was messing around trying to fix the priority om my own and then tell everyone on this site)then edit the asm file.
|
| Last edited on 2012-02-22 11:55:31 AM by GreenHammerBro. |
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - help! |