4
0
Fork 0

Ajout attribut pv et attack pour oMonstre

This commit is contained in:
rick 2020-12-06 00:00:02 +01:00
parent 96632440e9
commit 944b39e071
2 changed files with 47 additions and 44 deletions

View file

@ -1,7 +1,10 @@
dureeDeplacement = 0; dureeDeplacement = 0;
deplaceHorizontal = 0; deplaceHorizontal = 0;
deplaceVertical = 0; deplaceVertical = 0;
dir = 3; dir = 3;
pv = 5;
attack = 1;

View file

@ -1,38 +1,38 @@
{ {
"spriteId": null, "spriteId": null,
"solid": false, "solid": false,
"visible": true, "visible": true,
"spriteMaskId": null, "spriteMaskId": null,
"persistent": false, "persistent": false,
"parentObjectId": null, "parentObjectId": null,
"physicsObject": false, "physicsObject": false,
"physicsSensor": false, "physicsSensor": false,
"physicsShape": 1, "physicsShape": 1,
"physicsGroup": 1, "physicsGroup": 1,
"physicsDensity": 0.5, "physicsDensity": 0.5,
"physicsRestitution": 0.1, "physicsRestitution": 0.1,
"physicsLinearDamping": 0.1, "physicsLinearDamping": 0.1,
"physicsAngularDamping": 0.1, "physicsAngularDamping": 0.1,
"physicsFriction": 0.2, "physicsFriction": 0.2,
"physicsStartAwake": true, "physicsStartAwake": true,
"physicsKinematic": false, "physicsKinematic": false,
"physicsShapePoints": [], "physicsShapePoints": [],
"eventList": [ "eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"parent":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"parent":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"parent":{"name":"oMonster","path":"objects/oMonster/oMonster.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
], ],
"properties": [ "properties": [
{"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"hp","tags":[],"resourceType":"GMObjectProperty",}, {"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"hp","tags":[],"resourceType":"GMObjectProperty",},
{"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"speed","tags":[],"resourceType":"GMObjectProperty",}, {"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"speed","tags":[],"resourceType":"GMObjectProperty",},
{"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"attack","tags":[],"resourceType":"GMObjectProperty",}, {"varType":0,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"attack","tags":[],"resourceType":"GMObjectProperty",},
], ],
"overriddenProperties": [], "overriddenProperties": [],
"parent": { "parent": {
"name": "Entity", "name": "Entity",
"path": "folders/Objects/Entity.yy", "path": "folders/Objects/Entity.yy",
}, },
"resourceVersion": "1.0", "resourceVersion": "1.0",
"name": "oMonster", "name": "oMonster",
"tags": [], "tags": [],
"resourceType": "GMObject", "resourceType": "GMObject",
} }