Tutorial request: how to do Zelda-esque push blocks

mynameisjawsh

New member
You know how in Zelda you'd push those blocks to open a locked door or secret passage? Has anyone figured that out yet?

[media]https://imgur.com/EG4Hn6N[/media]
 

Jonny

Well-known member
I wan't to learn how to do this too. I'm wanting to use it in my platformer.

I'm guessing the block would need to be a monster object and have the scripts set up to react how you want, expecially in my case as it would need to have gravity.

I'm sure someone will have done this for a puzzle game or something. I'll have a search and post the link in here if I can find anything...
 

Jonny

Well-known member
I found this...

http://nesmakers.com/viewtopic.php?t=2741

Might be a step in the right direction.
 

mynameisjawsh

New member
Looks like making them a monster is the way to go. I've been dabbling in 6502 recently, so I'll do some experiments and will post my results if there are any!
 

mouse spirit

Well-known member
Heres something that may help.I was able to make a monster make tiles solid or unsolid so it seems like a solid monster.Sorry if this does not help.
http://nesmakers.com/viewtopic.php?f=35&t=5522

For pushing them... id say put monster blocks in the correct spots so the brick will onnly move one way

Why would the brick move? To be simple, lets try to make it when the player ''touches block'', block moves the same way as player.
Ofcourse the block will be stopped 3 of 4 ways.
Or even easier, trigger next action when touched,next action monster moves..right only lets say. Moves on top of switch tile.Monster must be able to trigger switch.
Switch tile should be solid now also.

So heres a checklist of what we might need....
1.A monster AI slot.
2.At least one tile maybe two.
3.A monster.
4.A player.


I will look into this further as it would be awesome.I am using 4.1.5 platformer but if i can do it im sure we can translate it.
Lastly, that post has been dead since 2018 which sucks.
 
Top Bottom