Language…
7 users online: 15Tails, Cappaque, CroNo486, liz_bean, SpaceGlam, Spicy Jalapeno, Xulon - Guests: 1,491 - Bots: 145
Users: 70,922 (2,288 active)
Latest user: Zemious

Posts by ContinueGames17

ContinueGames17's Profile → Posts

I'm confused about how I can make the block execute a command when a sprite touch it, like when the sprite hits the block from above, and execute the custom block command, without hitting from below the block, when that's correct. How I can configure the block action on sprite position, or specific condition?
Srry for my english!
Originally posted by Thomas
What you're looking for are custom blocks, which are inserted to a hack using GPS. Custom blocks have specific "event handlers" that execute code when interacted with by the player or sprites in certain ways. You can find pre-made custom blocks hosted on SMWC here.

If you want to learn how to make custom blocks yourself, you'll need to learn the basics of ASM first, which is the SNES's programming language. ersanio's beginner guide is a good place to start, and also includes an introduction to custom block programming as part of it.


Alright! Thanks!
Someone can help me in a code, that I thinking about how can I "lock" a passage for Mario from a block, when Mario pass at a side of a block. Like: I'm playing a game, and I put a block where the player cannot pass if him is already passed this block in the first side (from the left side, for example). See an example:

Code
db $37

rep 3 : JMP Start
rep 7 : JMP Return
JMP Start : JMP Start


Start:
	LDA $7B			; \ If the player is not facing left...
	BPL Return		; / Return. Else,...
	LDA $72			; \ ...if the player is not in air...
	BEQ MakeSolid		; | ...act as 130.
	LDA #$20		; | Else, set speed to #$20.
	STA $7B			; /
	LDA #$08		; \ Número do efeito sonoro em hex.
	STA $1DFC		; / Escolha qual banco você quer.
	RTL
MakeSolid:
	LDA #$30		; Act as 130.
	STA $1693|!addr
	LDY #$01
Return:
	RTL

print "Um bloco de teste."


I'm making a block, and I need someone to help me please to I end this block and share (if other people wants to download this asm).
Originally posted by Thomas
If you're just trying to make "one-way" blocks, then these might be what you're looking for.


OMG! THANKS! I did not saw this block, really! Lmao #tb{^V^}