Création d'un objet pour gérer le contact des flammes avec le joueur
This commit is contained in:
parent
1b58165956
commit
5fbfcfb355
2 changed files with 32 additions and 0 deletions
|
@ -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
31
objects/oFire/oFire.yy
Normal 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",
|
||||||
|
}
|
Reference in a new issue