Banner
Views: 236,678,754
Time: 2013-05-25 06:56:57 AM
8 users online: o Giga, K1ngHacks, Pokeymeister80, o ShadowPhoenix, Spk77k, o Tahixham, o Undy, o x-treme - Guests: 19 - Bots: 11Users: 22,885 (1,279 active)
Latest: ar1an1
Tip: Proofread your message boxes for spelling and grammar mistakes.
help!
Forum Index - SMW Hacking - General SMW Hacking Help - help!
Pages: « 1 »
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.
No way?No way!
Last edited on 2012-02-21 03:50:30 PM by Supermario2003.
Originally posted by Supermario2003
No 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.
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:

Code
LDA #$30 STA $15EA,x


But that is risky.
were to add that?
here is the asm file
Last edited on 2012-02-21 05:06:10 PM by GreenHammerBro.
Originally posted by dixey
were to add that?

Originally posted by imamelia
You 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).
the INIT? it doesn't say that in the graphics routine
Last edited on 2012-02-21 05:25:10 PM by GreenHammerBro.
INIT routines aren't supposed to be inside graphics routines at all. Look outside it, it should be near the top.
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.
Yeah, just between STA RAM_AirMeter and the RTS.
RTL you mean
Oh, yeah, sorry 'bout that. Anyways, did it work?
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.
Yeah, just like that, but... I think you removed something there...

EDIT:

Code
dcb "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.
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!

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 27

Menu