4
0
Fork 0
This commit is contained in:
Valsept 2020-12-05 12:45:29 +01:00
parent e11a6cc641
commit 219052f07c
8 changed files with 62 additions and 62 deletions

View file

@ -1,7 +1,7 @@
{ {
"resources": [ "resources": [
{"id":{"name":"sPlayer","path":"sprites/sPlayer/sPlayer.yy",},"order":2,}, {"id":{"name":"sPlayer","path":"sprites/sPlayer/sPlayer.yy",},"order":2,},
{"id":{"name":"Purple","path":"sprites/Purple/Purple.yy",},"order":1,}, {"id":{"name":"sSword","path":"sprites/sSword/sSword.yy",},"order":1,},
{"id":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"order":0,}, {"id":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"order":0,},
{"id":{"name":"Script1","path":"scripts/Script1/Script1.yy",},"order":0,}, {"id":{"name":"Script1","path":"scripts/Script1/Script1.yy",},"order":0,},
{"id":{"name":"sTest","path":"sprites/sTest/sTest.yy",},"order":0,}, {"id":{"name":"sTest","path":"sprites/sTest/sTest.yy",},"order":0,},

View file

@ -1,11 +1,11 @@
keyLeft = keyboard_check(vk_left) or keyboard_check(ord("Q")); keyLeft = keyboard_check(vk_left) or keyboard_check(ord("Q"));
keyRight = keyboard_check(vk_right) or keyboard_check(ord("D"));; keyRight = keyboard_check(vk_right) or keyboard_check(ord("D"));;
keyUp = keyboard_check(vk_up) or keyboard_check(ord("Z"));; keyUp = keyboard_check(vk_up) or keyboard_check(ord("Z"));;
keyDown = keyboard_check(vk_down) or keyboard_check(ord("S"));; keyDown = keyboard_check(vk_down) or keyboard_check(ord("S"));;
keyAttack = keyboard_check_pressed(vk_shift); keyAttack = keyboard_check_pressed(vk_shift);
deplaceHorizontal = keyRight - keyLeft; deplaceHorizontal = keyRight - keyLeft;
deplaceVertical = keyDown - keyUp; deplaceVertical = keyDown - keyUp;
x += deplaceHorizontal; x += deplaceHorizontal;
y += deplaceVertical; y += deplaceVerticald;

View file

@ -1,39 +1,39 @@
{ {
"spriteId": { "spriteId": {
"name": "sPlayer", "name": "sPlayer",
"path": "sprites/sPlayer/sPlayer.yy", "path": "sprites/sPlayer/sPlayer.yy",
}, },
"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":3,"collisionObjectId":null,"parent":{"name":"oPlayer","path":"objects/oPlayer/oPlayer.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",}, {"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": [
{"varType":1,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"deplaceHorizontal","tags":[],"resourceType":"GMObjectProperty",}, {"varType":1,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"deplaceHorizontal","tags":[],"resourceType":"GMObjectProperty",},
{"varType":1,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"deplaceVertical","tags":[],"resourceType":"GMObjectProperty",}, {"varType":1,"value":"0","rangeEnabled":false,"rangeMin":0.0,"rangeMax":10.0,"listItems":[],"multiselect":false,"filters":[],"resourceVersion":"1.0","name":"deplaceVertical","tags":[],"resourceType":"GMObjectProperty",},
], ],
"overriddenProperties": [], "overriddenProperties": [],
"parent": { "parent": {
"name": "Objects", "name": "Objects",
"path": "folders/Objects.yy", "path": "folders/Objects.yy",
}, },
"resourceVersion": "1.0", "resourceVersion": "1.0",
"name": "oPlayer", "name": "oPlayer",
"tags": [], "tags": [],
"resourceType": "GMObject", "resourceType": "GMObject",
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

View file

@ -7,10 +7,10 @@
"edgeFiltering": false, "edgeFiltering": false,
"collisionTolerance": 0, "collisionTolerance": 0,
"swfPrecision": 2.525, "swfPrecision": 2.525,
"bbox_left": 0, "bbox_left": 22,
"bbox_right": 63, "bbox_right": 32,
"bbox_top": 0, "bbox_top": 6,
"bbox_bottom": 63, "bbox_bottom": 43,
"HTile": false, "HTile": false,
"VTile": false, "VTile": false,
"For3D": false, "For3D": false,
@ -24,12 +24,12 @@
"gridX": 0, "gridX": 0,
"gridY": 0, "gridY": 0,
"frames": [ "frames": [
{"compositeImage":{"FrameId":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/Purple/Purple.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[ {"compositeImage":{"FrameId":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/sSword/sSword.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
{"FrameId":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/Purple/Purple.yy",},"LayerId":{"name":"19b32337-1cc4-49aa-a953-00db83b561b0","path":"sprites/Purple/Purple.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",}, {"FrameId":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/sSword/sSword.yy",},"LayerId":{"name":"19b32337-1cc4-49aa-a953-00db83b561b0","path":"sprites/sSword/sSword.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
],"parent":{"name":"Purple","path":"sprites/Purple/Purple.yy",},"resourceVersion":"1.0","name":"1f54f59f-74d3-450c-a41c-1986c1537345","tags":[],"resourceType":"GMSpriteFrame",}, ],"parent":{"name":"sSword","path":"sprites/sSword/sSword.yy",},"resourceVersion":"1.0","name":"1f54f59f-74d3-450c-a41c-1986c1537345","tags":[],"resourceType":"GMSpriteFrame",},
], ],
"sequence": { "sequence": {
"spriteId": {"name":"Purple","path":"sprites/Purple/Purple.yy",}, "spriteId": {"name":"sSword","path":"sprites/sSword/sSword.yy",},
"timeUnits": 1, "timeUnits": 1,
"playback": 1, "playback": 1,
"playbackSpeed": 30.0, "playbackSpeed": 30.0,
@ -41,7 +41,7 @@
"moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",}, "moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",},
"tracks": [ "tracks": [
{"name":"frames","spriteId":null,"keyframes":{"Keyframes":[ {"name":"frames","spriteId":null,"keyframes":{"Keyframes":[
{"id":"4e12be63-a77f-4039-aa72-09a02319ca8d","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/Purple/Purple.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",}, {"id":"4e12be63-a77f-4039-aa72-09a02319ca8d","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"1f54f59f-74d3-450c-a41c-1986c1537345","path":"sprites/sSword/sSword.yy",},"resourceVersion":"1.0","resourceType":"SpriteFrameKeyframe",},},"resourceVersion":"1.0","resourceType":"Keyframe<SpriteFrameKeyframe>",},
],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",}, ],"resourceVersion":"1.0","resourceType":"KeyframeStore<SpriteFrameKeyframe>",},"trackColour":0,"inheritsTrackColour":true,"builtinName":0,"traits":0,"interpolation":1,"tracks":[],"events":[],"modifiers":[],"isCreationTrack":false,"resourceVersion":"1.0","tags":[],"resourceType":"GMSpriteFramesTrack",},
], ],
"visibleRange": null, "visibleRange": null,
@ -58,9 +58,9 @@
"yorigin": 0, "yorigin": 0,
"eventToFunction": {}, "eventToFunction": {},
"eventStubScript": null, "eventStubScript": null,
"parent": {"name":"Purple","path":"sprites/Purple/Purple.yy",}, "parent": {"name":"sSword","path":"sprites/sSword/sSword.yy",},
"resourceVersion": "1.3", "resourceVersion": "1.3",
"name": "Purple", "name": "sSword",
"tags": [], "tags": [],
"resourceType": "GMSequence", "resourceType": "GMSequence",
}, },
@ -72,7 +72,7 @@
"path": "folders/Sprites.yy", "path": "folders/Sprites.yy",
}, },
"resourceVersion": "1.0", "resourceVersion": "1.0",
"name": "Purple", "name": "sSword",
"tags": [], "tags": [],
"resourceType": "GMSprite", "resourceType": "GMSprite",
} }