Banner
Views: 931,732,938
Time:
16 users online: Beakstore, ForthRightMC, Francium, gui, Isikoro, Julintendo, Kailol8, katun24, mario90,  MarioFanGamer, nanec, RichardDS90, Romano338, Samuel Zuccati,  Tahixham, Valentine - Guests: 70 - Bots: 370 Users: 52,015 (2,083 active)
Latest: sergvazq
Tip: Don't place dragon coins near a goal post because they keep glowing when a level fades out.
Not logged in.
Interaction with object no.130
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Interaction with object no.130
Pages: « 1 » Link
is there a way with a code to dis-allow a sprite to interact with a specific block number? like if i wanted a sprite to not interact with block number 130(solid cement) but interact with the rest.. OR a code that allows the sprite to only interact with only 1 specific block number?

--------------------
Hacks:
Unknown Islandz: submitted - Download
Kaos Islands: submitted - Download
SMB. Mystik Levels: finished - not yet submitted
Kaos Islands 2(Unknown Islandz remake): in progress
Thread: http://www.smwcentral.net/?p=thread&pid=562536&r=1#id562536
Possibly, yes, but why not just change the tile settings instead. o_O
Will some sprite-only 25/130 custom blocks not work for this situation?

Romi's SMB3 Stretches would only move if touching certain types of blocks. It might be worth looking into their coding to see what method he used.

--------------------

[?] Miscellaneous Helpful Hints
If I moderated your hack, there was apparently a 90 percent chance it was rejected.
Originally posted by andy_k_250
Romi's SMB3 Stretches would only move if touching certain types of blocks. It might be worth looking into their coding to see what method he used.


Well, I'm interested in studying it too, but I've looked for it everywhere in the site and I can't find any link to a SMB3 stretch. ôO
Any help?

--------------------
All good, all settled, was configuring my own codes for a new boss bass im making, although using some old codes from mikeyks old bass sprite trying to interact with the water, was very very simple actually.. lol

--------------------
Hacks:
Unknown Islandz: submitted - Download
Kaos Islands: submitted - Download
SMB. Mystik Levels: finished - not yet submitted
Kaos Islands 2(Unknown Islandz remake): in progress
Thread: http://www.smwcentral.net/?p=thread&pid=562536&r=1#id562536
Eh, sorry for bumping this, but I've looked to mikeyks boss bass and I didn't see any water interaction in it.
Or you're talking about another boss bass...?

--------------------
Probably worth looking, I think.
Code
;no yoshi block
;by smkdan
;act like 25

;this can be used to deny yoshi access (make solid) or any other given sprite
!DENYSPRITE = $35	;yoshi by default

JMP Mario : JMP Mario : JMP Mario : JMP Sprite : JMP Sprite : JMP Return : JMP Return

Mario:
	LDA $187A	;yoshi flag
	BNE ReturnSolid

	RTL		;not solid for mario if not on yoshi

Sprite:
	LDA $9E,x		;load sprite #
	CMP #!DENYSPRITE	;compare touching sprite to yoshi
	BNE Return		;don't cement for sprites apart from yoshi

ReturnSolid:
	LDA #$30	;cement for yoshi
	STA $1693
	LDY #$01

Return:
	RTL


Also, 2 day bump isn't a bump.

--------------------
If you want, I will test your stages for bugs. Just PM me those ;). Don't expect Youtube video, since I have too weak connection to send any videos. (this only apply to hacks which could be sent to hacks section, I'm NOT accept Kaizo nor very very very crappy hacks)
Originally posted by undefined
Also, 2 day bump isn't a bump.


Ah, oh, ok.

Yes, custom blocks will be the best option, but there may be a way to do it in the custom sprite and I was trying to find it.

--------------------
Originally posted by SL
Eh, sorry for bumping this, but I've looked to mikeyks boss bass and I didn't see any water interaction in it.
Or you're talking about another boss bass...?


I meant that it was simple to implement a code to make a sprite interact with objects/water, mikeyks boss bass never did interact with objects and such and also wasn't very alike to the orginal SMB3 one, i've remade the sprite to be more like SMB3 and atm it has some bugs with the interaction with mario.. such as when it makes mario disappear(eat mario) it doesn't make his cape dissapear o.o

--------------------
Hacks:
Unknown Islandz: submitted - Download
Kaos Islands: submitted - Download
SMB. Mystik Levels: finished - not yet submitted
Kaos Islands 2(Unknown Islandz remake): in progress
Thread: http://www.smwcentral.net/?p=thread&pid=562536&r=1#id562536
If you don't mind Mario not interacting with it then you could always adjust it in map 16 :3
SMWC's official dentist since 2011.

YouTube - Twitter - Twitch
Pages: « 1 » Link
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Interaction with object no.130

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

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks