4
0
Fork 0

Ajout reset salle quand joueur touche trou

This commit is contained in:
rick 2020-12-06 19:39:22 +01:00
parent 7e5847e017
commit dbcf8c9c91
2 changed files with 10 additions and 3 deletions

View file

@ -0,0 +1,2 @@
hit (self, other, 10);
room_goto(asset_get_index("r" + string(oGame.tableau[oGame.posX, oGame.posY])));

View file

@ -1,7 +1,10 @@
{ {
"spriteId": null, "spriteId": {
"name": "sTrouDetect",
"path": "sprites/sTrouDetect/sTrouDetect.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":"oTrou","path":"objects/oTrou/oTrou.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
],
"properties": [], "properties": [],
"overriddenProperties": [], "overriddenProperties": [],
"parent": { "parent": {