From e2b52257442fa77cb4376e59953243d058cbc6d5 Mon Sep 17 00:00:00 2001 From: rick Date: Sun, 6 Dec 2020 18:43:24 +0100 Subject: [PATCH] Ajout d'un trou --- Surprise Dungeon.yyp | 3 +-- objects/oTrou/oTrou.yy | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 objects/oTrou/oTrou.yy diff --git a/Surprise Dungeon.yyp b/Surprise Dungeon.yyp index 21edc6f..a25ea2a 100644 --- a/Surprise Dungeon.yyp +++ b/Surprise Dungeon.yyp @@ -2,7 +2,6 @@ "resources": [ {"id":{"name":"r1","path":"rooms/r1/r1.yy",},"order":2,}, {"id":{"name":"sFire","path":"sprites/sFire/sFire.yy",},"order":6,}, - {"id":{"name":"r11","path":"rooms/r11/r11.yy",},"order":14,}, {"id":{"name":"r9","path":"rooms/r9/r9.yy",},"order":10,}, {"id":{"name":"sBox","path":"sprites/sBox/sBox.yy",},"order":10,}, {"id":{"name":"sBlobR","path":"sprites/sBlobR/sBlobR.yy",},"order":3,}, @@ -25,6 +24,7 @@ {"id":{"name":"r6","path":"rooms/r6/r6.yy",},"order":7,}, {"id":{"name":"sTransition","path":"sprites/sTransition/sTransition.yy",},"order":16,}, {"id":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"order":1,}, + {"id":{"name":"oTrou","path":"objects/oTrou/oTrou.yy",},"order":6,}, {"id":{"name":"oWall","path":"objects/oWall/oWall.yy",},"order":5,}, {"id":{"name":"sWall","path":"sprites/sWall/sWall.yy",},"order":3,}, {"id":{"name":"r2","path":"rooms/r2/r2.yy",},"order":3,}, @@ -71,7 +71,6 @@ {"roomId":{"name":"r9","path":"rooms/r9/r9.yy",},}, {"roomId":{"name":"r10","path":"rooms/r10/r10.yy",},}, {"roomId":{"name":"rOver","path":"rooms/rOver/rOver.yy",},}, - {"roomId":{"name":"r11","path":"rooms/r11/r11.yy",},}, ], "Folders": [ {"folderPath":"folders/Sprites.yy","order":0,"resourceVersion":"1.0","name":"Sprites","tags":[],"resourceType":"GMFolder",}, diff --git a/objects/oTrou/oTrou.yy b/objects/oTrou/oTrou.yy new file mode 100644 index 0000000..98c872e --- /dev/null +++ b/objects/oTrou/oTrou.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": "Objects", + "path": "folders/Objects.yy", + }, + "resourceVersion": "1.0", + "name": "oTrou", + "tags": [], + "resourceType": "GMObject", +} \ No newline at end of file