Tutorial request: how to do Zelda-esque push blocks

Post Reply
mynameisjawsh
Posts: 7
Joined: Wed May 20, 2020 10:19 pm

Tutorial request: how to do Zelda-esque push blocks

Post by mynameisjawsh » Thu May 21, 2020 4:33 am

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

User avatar
Jonny
Posts: 130
Joined: Tue Apr 14, 2020 3:18 pm
Location: United Kingdom
Contact:

Re: Tutorial request: how to do Zelda-esque push blocks

Post by Jonny » Thu May 21, 2020 9:39 am

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...
- - - - - - - - - - - - - - - - - - - -
Game: BAD HARE DAY
Youtube: JONNY'S YOUTUBE
Twitter: JONNY'S TWITTER
User avatar
Jonny
Posts: 130
Joined: Tue Apr 14, 2020 3:18 pm
Location: United Kingdom
Contact:

Re: Tutorial request: how to do Zelda-esque push blocks

Post by Jonny » Thu May 21, 2020 11:37 am

I found this...

viewtopic.php?t=2741

Might be a step in the right direction.
- - - - - - - - - - - - - - - - - - - -
Game: BAD HARE DAY
Youtube: JONNY'S YOUTUBE
Twitter: JONNY'S TWITTER
mynameisjawsh
Posts: 7
Joined: Wed May 20, 2020 10:19 pm

Re: Tutorial request: how to do Zelda-esque push blocks

Post by mynameisjawsh » Thu May 21, 2020 7:59 pm

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!
User avatar
Jonny
Posts: 130
Joined: Tue Apr 14, 2020 3:18 pm
Location: United Kingdom
Contact:

Re: Tutorial request: how to do Zelda-esque push blocks

Post by Jonny » Thu May 21, 2020 11:00 pm

Please do that. Good luck with it.
- - - - - - - - - - - - - - - - - - - -
Game: BAD HARE DAY
Youtube: JONNY'S YOUTUBE
Twitter: JONNY'S TWITTER
User avatar
mouse spirit
Posts: 272
Joined: Tue May 12, 2020 1:13 am
Location: Ohio,North America
Contact:

Re: Tutorial request: how to do Zelda-esque push blocks

Post by mouse spirit » Wed Jul 29, 2020 5:17 pm

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.
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.
I am game, hear me blip.

WIP my game Star Rider
https://www.mediafire.com/file/phef252j ... p.zip/file
Post Reply