Ajout d'un sprite pour détecter le contact du joueurs avec les flammes
This commit is contained in:
parent
338c224824
commit
1b58165956
3 changed files with 78 additions and 0 deletions
BIN
sprites/sFlamDetect/281c6d9f-c99e-449e-95e4-ff13e798ffaf.png
Normal file
BIN
sprites/sFlamDetect/281c6d9f-c99e-449e-95e4-ff13e798ffaf.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 203 B |
Binary file not shown.
After Width: | Height: | Size: 203 B |
78
sprites/sFlamDetect/sFlamDetect.yy
Normal file
78
sprites/sFlamDetect/sFlamDetect.yy
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
{
|
||||||
|
"bboxMode": 0,
|
||||||
|
"collisionKind": 1,
|
||||||
|
"type": 0,
|
||||||
|
"origin": 0,
|
||||||
|
"preMultiplyAlpha": false,
|
||||||
|
"edgeFiltering": false,
|
||||||
|
"collisionTolerance": 0,
|
||||||
|
"swfPrecision": 2.525,
|
||||||
|
"bbox_left": 0,
|
||||||
|
"bbox_right": 0,
|
||||||
|
"bbox_top": 0,
|
||||||
|
"bbox_bottom": 0,
|
||||||
|
"HTile": false,
|
||||||
|
"VTile": false,
|
||||||
|
"For3D": false,
|
||||||
|
"width": 64,
|
||||||
|
"height": 64,
|
||||||
|
"textureGroupId": {
|
||||||
|
"name": "Default",
|
||||||
|
"path": "texturegroups/Default",
|
||||||
|
},
|
||||||
|
"swatchColours": null,
|
||||||
|
"gridX": 0,
|
||||||
|
"gridY": 0,
|
||||||
|
"frames": [
|
||||||
|
{"compositeImage":{"FrameId":{"name":"281c6d9f-c99e-449e-95e4-ff13e798ffaf","path":"sprites/sFlamDetect/sFlamDetect.yy",},"LayerId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},"images":[
|
||||||
|
{"FrameId":{"name":"281c6d9f-c99e-449e-95e4-ff13e798ffaf","path":"sprites/sFlamDetect/sFlamDetect.yy",},"LayerId":{"name":"17fbaacd-e890-480f-bba7-e3d79bbf5469","path":"sprites/sFlamDetect/sFlamDetect.yy",},"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMSpriteBitmap",},
|
||||||
|
],"parent":{"name":"sFlamDetect","path":"sprites/sFlamDetect/sFlamDetect.yy",},"resourceVersion":"1.0","name":"281c6d9f-c99e-449e-95e4-ff13e798ffaf","tags":[],"resourceType":"GMSpriteFrame",},
|
||||||
|
],
|
||||||
|
"sequence": {
|
||||||
|
"spriteId": {"name":"sFlamDetect","path":"sprites/sFlamDetect/sFlamDetect.yy",},
|
||||||
|
"timeUnits": 1,
|
||||||
|
"playback": 1,
|
||||||
|
"playbackSpeed": 30.0,
|
||||||
|
"playbackSpeedType": 0,
|
||||||
|
"autoRecord": true,
|
||||||
|
"volume": 1.0,
|
||||||
|
"length": 1.0,
|
||||||
|
"events": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MessageEventKeyframe>",},
|
||||||
|
"moments": {"Keyframes":[],"resourceVersion":"1.0","resourceType":"KeyframeStore<MomentsEventKeyframe>",},
|
||||||
|
"tracks": [
|
||||||
|
{"name":"frames","spriteId":null,"keyframes":{"Keyframes":[
|
||||||
|
{"id":"9eb59bed-4646-4eea-a0f7-ba53644624ff","Key":0.0,"Length":1.0,"Stretch":false,"Disabled":false,"IsCreationKey":false,"Channels":{"0":{"Id":{"name":"281c6d9f-c99e-449e-95e4-ff13e798ffaf","path":"sprites/sFlamDetect/sFlamDetect.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",},
|
||||||
|
],
|
||||||
|
"visibleRange": null,
|
||||||
|
"lockOrigin": false,
|
||||||
|
"showBackdrop": true,
|
||||||
|
"showBackdropImage": false,
|
||||||
|
"backdropImagePath": "",
|
||||||
|
"backdropImageOpacity": 0.5,
|
||||||
|
"backdropWidth": 1366,
|
||||||
|
"backdropHeight": 768,
|
||||||
|
"backdropXOffset": 0.0,
|
||||||
|
"backdropYOffset": 0.0,
|
||||||
|
"xorigin": 0,
|
||||||
|
"yorigin": 0,
|
||||||
|
"eventToFunction": {},
|
||||||
|
"eventStubScript": null,
|
||||||
|
"parent": {"name":"sFlamDetect","path":"sprites/sFlamDetect/sFlamDetect.yy",},
|
||||||
|
"resourceVersion": "1.3",
|
||||||
|
"name": "sFlamDetect",
|
||||||
|
"tags": [],
|
||||||
|
"resourceType": "GMSequence",
|
||||||
|
},
|
||||||
|
"layers": [
|
||||||
|
{"visible":true,"isLocked":false,"blendMode":0,"opacity":100.0,"displayName":"default","resourceVersion":"1.0","name":"17fbaacd-e890-480f-bba7-e3d79bbf5469","tags":[],"resourceType":"GMImageLayer",},
|
||||||
|
],
|
||||||
|
"parent": {
|
||||||
|
"name": "SpecialsSprite",
|
||||||
|
"path": "folders/Sprites/SpecialsSprite.yy",
|
||||||
|
},
|
||||||
|
"resourceVersion": "1.0",
|
||||||
|
"name": "sFlamDetect",
|
||||||
|
"tags": [],
|
||||||
|
"resourceType": "GMSprite",
|
||||||
|
}
|
Reference in a new issue