Suggestion: Player only collisions

General Mar0 discussion has been moved to this subforum!
Post Reply
User avatar
Jackostar10000
Posts: 417
Joined: 17 Jun 2012, 12:06

Post » 18 Feb 2013, 13:04

I came up with an idea for Mari0 SE. My idea is to have platforms/tiles that only players can stand/collide with/on. Enemies would not collide. and have platforms/tiles that the player cant collide with but enemies can. This could be used for puzzles/Secrets and even making it look like enemies are in the background sorta.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 18 Feb 2013, 15:32

I actually had this very same idea. Though I also suggested variants that were solid to enemies and the player's fireballs.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 18 Feb 2013, 15:56

...
Last edited by Qcode on 21 Oct 2021, 09:06, edited 1 time in total.

User avatar
Superjustinbros
Posts: 2119
Joined: 29 Mar 2012, 20:39
Contact:

Post » 18 Feb 2013, 17:50

So does that mean it's a very possible and easy-to-inplament feature that Maurice wouldn't bother inserting even if it'd take almost zero effort?

P.S. Here's the original thread I begun with the similar concept.
viewtopic.php?f=8&t=2732

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 18 Feb 2013, 18:02

...
Last edited by Qcode on 21 Oct 2021, 09:16, edited 1 time in total.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 18 Feb 2013, 20:25

category 1 was added because I thought I might need to let objects not collide with anything.
The first mask of every object is always true. I don't think I used this ever, though.

User avatar
Jackostar10000
Posts: 417
Joined: 17 Jun 2012, 12:06

Post » 19 Feb 2013, 13:15

How did this go from being about blocks that only allow certain things through them. To something about Fireballs??!!??!!

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 19 Feb 2013, 13:39

...
Last edited by Qcode on 21 Oct 2021, 09:15, edited 1 time in total.

User avatar
Turtle95
Posts: 1246
Joined: 21 Mar 2012, 21:48
Contact:

Post » 19 Feb 2013, 21:54

Qcode wrote:The entity customization allows for you to change their mask, it looks like this for the fireball

Code: Select all

        "mask": [       true,
                                true, false, true, true, true,
                                true, true, true, true, true,
                                true, true, true, true, true,
                                true, true, true, true, true,
                                true, true, true, true, true,
                                true, true, true, true, true],
If you go into the physics.lua it has a mask guide. As you can see for the fireball the third item is the only one false. If we go into this mask reference guide you see that the third item is Mario. So the fireball collides with everything except for mario.
So it is possible, assuming you know how to use it.
QCode, it's the opposite. It won't collide for anything except Mario. So, it'll probably go through tiles and everything but Mario.

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 20 Feb 2013, 06:25

Oh right.

Post Reply