Author Topic: Player Only Collision / Map Image  (Read 5145 times)

Amran

  • Posts: 20
  • Maggot Crusher.
    • View Profile
Player Only Collision / Map Image
« on: April 18, 2014, 06:55:17 PM »
Two more questions relating to a level I've been working on!

-Is there a way to set the collision of a doodad to only block players, but not projectiles or enemies?
-How can an image be set to display in the menu screen when the map is selected (rather than the question mark preview image).

Myran

  • Developer
  • Posts: 183
    • View Profile
Re: Player Only Collision / Map Image
« Reply #1 on: April 19, 2014, 12:23:58 AM »
No player only collision, no :\
Add a 80x60 image named icon.png in to the map directory (next to the info.xml and levels.xml)

Amran

  • Posts: 20
  • Maggot Crusher.
    • View Profile
Re: Player Only Collision / Map Image
« Reply #2 on: April 19, 2014, 03:16:06 AM »
No player only collision, no :\
Add a 80x60 image named icon.png in to the map directory (next to the info.xml and levels.xml)

Great! Thank you for the fast reply!

Heretic

  • Moderator
  • Posts: 305
  • Castle Runner
    • View Profile
Re: Player Only Collision / Map Image
« Reply #3 on: April 19, 2014, 05:17:21 AM »
Can have collision ignore projectiles though <collision shoot-through="true">

Hipshot

  • Developer
  • Posts: 455
  • Level Designer
    • View Profile
Re: Player Only Collision / Map Image
« Reply #4 on: April 19, 2014, 09:41:40 AM »
You can also have the player AND enemies walk through a collision, using
Code: [Select]
collision-response="false"
I use this for very specific things, like using a "invisible" door that triggers when the person goes past it, like an area (but requires a key to activate). I'm not sure there are any other good usage for it, but maybe there are!
« Last Edit: April 19, 2014, 11:21:19 AM by Hipshot »