Ajout dégâts collision joueur par le feu
This commit is contained in:
parent
b42dd58782
commit
791802839c
2 changed files with 9 additions and 3 deletions
1
objects/oFire/Collision_oPlayer.gml
Normal file
1
objects/oFire/Collision_oPlayer.gml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
hit(self, other, 2);
|
|
@ -1,7 +1,10 @@
|
||||||
{
|
{
|
||||||
"spriteId": null,
|
"spriteId": {
|
||||||
|
"name": "sFlamDetect",
|
||||||
|
"path": "sprites/sFlamDetect/sFlamDetect.yy",
|
||||||
|
},
|
||||||
"solid": false,
|
"solid": false,
|
||||||
"visible": true,
|
"visible": false,
|
||||||
"spriteMaskId": null,
|
"spriteMaskId": null,
|
||||||
"persistent": false,
|
"persistent": false,
|
||||||
"parentObjectId": null,
|
"parentObjectId": null,
|
||||||
|
@ -17,7 +20,9 @@
|
||||||
"physicsStartAwake": true,
|
"physicsStartAwake": true,
|
||||||
"physicsKinematic": false,
|
"physicsKinematic": false,
|
||||||
"physicsShapePoints": [],
|
"physicsShapePoints": [],
|
||||||
"eventList": [],
|
"eventList": [
|
||||||
|
{"isDnD":false,"eventNum":0,"eventType":4,"collisionObjectId":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"parent":{"name":"oFire","path":"objects/oFire/oFire.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||||
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"overriddenProperties": [],
|
"overriddenProperties": [],
|
||||||
"parent": {
|
"parent": {
|
||||||
|
|
Reference in a new issue