From 5fbfcfb3550eaeb7741cd5e9ed8c1d16872de4d0 Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 6 Dec 2020 19:57:10 +0100 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20d'un=20objet=20pour=20g=C3=A9re?= =?UTF-8?q?r=20le=20contact=20des=20flammes=20avec=20le=20joueur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Surprise Dungeon.yyp | 1 + objects/oFire/oFire.yy | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 objects/oFire/oFire.yy diff --git a/Surprise Dungeon.yyp b/Surprise Dungeon.yyp index 9a8e249..e5ba91c 100644 --- a/Surprise Dungeon.yyp +++ b/Surprise Dungeon.yyp @@ -29,6 +29,7 @@ {"id":{"name":"r6","path":"rooms/r6/r6.yy",},"order":7,}, {"id":{"name":"sTransition","path":"sprites/sTransition/sTransition.yy",},"order":0,}, {"id":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"order":1,}, + {"id":{"name":"oFire","path":"objects/oFire/oFire.yy",},"order":3,}, {"id":{"name":"oTrou","path":"objects/oTrou/oTrou.yy",},"order":1,}, {"id":{"name":"oWall","path":"objects/oWall/oWall.yy",},"order":2,}, {"id":{"name":"sWall","path":"sprites/sWall/sWall.yy",},"order":1,}, diff --git a/objects/oFire/oFire.yy b/objects/oFire/oFire.yy new file mode 100644 index 0000000..1b435b2 --- /dev/null +++ b/objects/oFire/oFire.yy @@ -0,0 +1,31 @@ +{ + "spriteId": null, + "solid": false, + "visible": true, + "spriteMaskId": null, + "persistent": false, + "parentObjectId": null, + "physicsObject": false, + "physicsSensor": false, + "physicsShape": 1, + "physicsGroup": 1, + "physicsDensity": 0.5, + "physicsRestitution": 0.1, + "physicsLinearDamping": 0.1, + "physicsAngularDamping": 0.1, + "physicsFriction": 0.2, + "physicsStartAwake": true, + "physicsKinematic": false, + "physicsShapePoints": [], + "eventList": [], + "properties": [], + "overriddenProperties": [], + "parent": { + "name": "SpecialCase", + "path": "folders/Objects/SpecialCase.yy", + }, + "resourceVersion": "1.0", + "name": "oFire", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file