4
0
Fork 0

Création d'un objet pour gérer le contact des flammes avec le joueur

This commit is contained in:
rick 2020-12-06 19:57:10 +01:00
parent 1b58165956
commit 5fbfcfb355
2 changed files with 32 additions and 0 deletions

View file

@ -29,6 +29,7 @@
{"id":{"name":"r6","path":"rooms/r6/r6.yy",},"order":7,}, {"id":{"name":"r6","path":"rooms/r6/r6.yy",},"order":7,},
{"id":{"name":"sTransition","path":"sprites/sTransition/sTransition.yy",},"order":0,}, {"id":{"name":"sTransition","path":"sprites/sTransition/sTransition.yy",},"order":0,},
{"id":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"order":1,}, {"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":"oTrou","path":"objects/oTrou/oTrou.yy",},"order":1,},
{"id":{"name":"oWall","path":"objects/oWall/oWall.yy",},"order":2,}, {"id":{"name":"oWall","path":"objects/oWall/oWall.yy",},"order":2,},
{"id":{"name":"sWall","path":"sprites/sWall/sWall.yy",},"order":1,}, {"id":{"name":"sWall","path":"sprites/sWall/sWall.yy",},"order":1,},

31
objects/oFire/oFire.yy Normal file
View file

@ -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",
}