Objet Joueur
This commit is contained in:
parent
252b4353dc
commit
9ffb57b99d
3 changed files with 10 additions and 3 deletions
5
objects/oPlayer/Step_0.gml
Normal file
5
objects/oPlayer/Step_0.gml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
keyLeft = keyboard_check(vk_left) or keyboard_check(ord("Q"));
|
||||||
|
keyRight = keyboard_check(vk_right) or keyboard_check(ord("D"));;
|
||||||
|
keyUp = keyboard_check(vk_up) or keyboard_check(ord("Z"));;
|
||||||
|
keyDown = keyboard_check(vk_down) or keyboard_check(ord("S"));;
|
||||||
|
keyAttack = keyboard_check_pressed(vk_shift);
|
|
@ -20,7 +20,9 @@
|
||||||
"physicsStartAwake": true,
|
"physicsStartAwake": true,
|
||||||
"physicsKinematic": false,
|
"physicsKinematic": false,
|
||||||
"physicsShapePoints": [],
|
"physicsShapePoints": [],
|
||||||
"eventList": [],
|
"eventList": [
|
||||||
|
{"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"parent":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
|
||||||
|
],
|
||||||
"properties": [],
|
"properties": [],
|
||||||
"overriddenProperties": [],
|
"overriddenProperties": [],
|
||||||
"parent": {
|
"parent": {
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
"width": 32,
|
"width": 32,
|
||||||
"height": 32,
|
"height": 32,
|
||||||
"textureGroupId": {
|
"textureGroupId": {
|
||||||
"name": "",
|
"name": "Default",
|
||||||
"path": "",
|
"path": "texturegroups/Default",
|
||||||
},
|
},
|
||||||
"swatchColours": null,
|
"swatchColours": null,
|
||||||
"gridX": 0,
|
"gridX": 0,
|
||||||
|
|
Reference in a new issue