-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.js
1 lines (1 loc) · 51.7 KB
/
data.js
1
gdjs.projectData = {"firstLayout": "","gdVersion": {"build": 98,"major": 4,"minor": 0,"revision": 0},"properties": {"adMobAppId": "","folderProject": false,"linuxExecutableFilename": "","macExecutableFilename": "","orientation": "portrait","packageName": "com.example.gamename","projectFile": "C:\\Users\\Вячеслав\\Documents\\game.json","scaleMode": "linear","sizeOnStartupMode": "","useExternalSourceFiles": false,"version": "1.0.0","winExecutableFilename": "","winExecutableIconFile": "","name": "Geometry Monster","author": "mypoint13k","windowWidth": 640,"windowHeight": 960,"latestCompilationDirectory": "","maxFPS": 60,"minFPS": 20,"verticalSync": false,"platformSpecificAssets": {},"loadingScreen": {"showGDevelopSplash": true},"extensions": [{"name": "BuiltinObject"},{"name": "BuiltinAudio"},{"name": "BuiltinVariables"},{"name": "BuiltinTime"},{"name": "BuiltinMouse"},{"name": "BuiltinKeyboard"},{"name": "BuiltinJoystick"},{"name": "BuiltinCamera"},{"name": "BuiltinWindow"},{"name": "BuiltinFile"},{"name": "BuiltinNetwork"},{"name": "BuiltinScene"},{"name": "BuiltinAdvanced"},{"name": "Sprite"},{"name": "BuiltinCommonInstructions"},{"name": "BuiltinCommonConversions"},{"name": "BuiltinStringInstructions"},{"name": "BuiltinMathematicalTools"},{"name": "BuiltinExternalLayouts"}],"platforms": [{"name": "GDevelop JS platform"}],"currentPlatform": "GDevelop JS platform"},"resources": {"resources": [{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle0.png","kind": "image","metadata": "","name": "monster-idle0.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle1.png","kind": "image","metadata": "","name": "monster-idle1.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle2.png","kind": "image","metadata": "","name": "monster-idle2.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle3.png","kind": "image","metadata": "","name": "monster-idle3.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle4.png","kind": "image","metadata": "","name": "monster-idle4.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle5.png","kind": "image","metadata": "","name": "monster-idle5.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle6.png","kind": "image","metadata": "","name": "monster-idle6.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle7.png","kind": "image","metadata": "","name": "monster-idle7.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle8.png","kind": "image","metadata": "","name": "monster-idle8.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle9.png","kind": "image","metadata": "","name": "monster-idle9.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle10.png","kind": "image","metadata": "","name": "monster-idle10.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-idle11.png","kind": "image","metadata": "","name": "monster-idle11.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/geometry1.png","kind": "image","metadata": "","name": "geometry1.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/geometry2.png","kind": "image","metadata": "","name": "geometry2.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/geometry3.png","kind": "image","metadata": "","name": "geometry3.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/geometry4.png","kind": "image","metadata": "","name": "geometry4.png","smoothed": true,"userAdded": true},{"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster.wav","kind": "audio","metadata": "","name": "monster.wav","userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/bomb1.png","kind": "image","metadata": "","name": "bomb1.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/bomb2.png","kind": "image","metadata": "","name": "bomb2.png","smoothed": true,"userAdded": false},{"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/killed.wav","kind": "audio","metadata": "","name": "killed.wav","userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/life-3.png","kind": "image","metadata": "","name": "life-3.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/life-2.png","kind": "image","metadata": "","name": "life-2.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/life-1.png","kind": "image","metadata": "","name": "life-1.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/life-0.png","kind": "image","metadata": "","name": "life-0.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/game-over.png","kind": "image","metadata": "","name": "game-over.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-try-again-normal.png","kind": "image","metadata": "","name": "btn-try-again-normal.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-start-hover.png","kind": "image","metadata": "","name": "btn-start-hover.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-try-again-hover.png","kind": "image","metadata": "","name": "btn-try-again-hover.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-try-again-pressed.png","kind": "image","metadata": "","name": "btn-try-again-pressed.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-main-menu-normal.png","kind": "image","metadata": "","name": "btn-main-menu-normal.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-main-menu-hover.png","kind": "image","metadata": "","name": "btn-main-menu-hover.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-main-menu-pressed.png","kind": "image","metadata": "","name": "btn-main-menu-pressed.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/monster-killed1.png","kind": "image","metadata": "","name": "monster-killed1.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/game-title.png","kind": "image","metadata": "","name": "game-title.png","smoothed": true,"userAdded": false},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-start-normal.png","kind": "image","metadata": "","name": "btn-start-normal.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "https://df5lqcdudryde.cloudfront.net/examples/geometry-monster/btn-start-pressed.png","kind": "image","metadata": "","name": "btn-start-pressed.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "I7tD6nazyY4.png","kind": "image","metadata": "","name": "EA Games\\I7tD6nazyY4.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "poop1.png","kind": "image","metadata": "","name": "EA Games\\poop1.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "coin1.png","kind": "image","metadata": "","name": "EA Games\\coin1.png","smoothed": true,"userAdded": true},{"alwaysLoaded": false,"file": "coin2.png","kind": "image","metadata": "","name": "EA Games\\coin2.png","smoothed": true,"userAdded": true},{"file": "Sound_08092.mp3","kind": "audio","metadata": "","name": "EA Games\\Sound_08092.mp3","userAdded": true}],"resourceFolders": []},"objects": [],"objectsGroups": [],"variables": [],"layouts": [{"b": 33,"disableInputWhenNotFocused": true,"mangledName": "MainMenu","name": "MainMenu","oglFOV": 90,"oglZFar": 500,"oglZNear": 1,"r": 86,"standardSortMethod": true,"stopSoundsOnStartup": true,"title": "","v": 9,"uiSettings": {"grid": false,"gridB": 255,"gridG": 180,"gridHeight": 32,"gridOffsetX": 0,"gridOffsetY": 0,"gridR": 158,"gridWidth": 32,"snap": true,"windowMask": false,"zoomFactor": 0.496},"objectsGroups": [],"variables": [],"instances": [{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "GameTitle","width": 0,"x": 33,"y": 148,"zOrder": 1,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "ButtonStart","width": 0,"x": 233,"y": 406,"zOrder": 2,"numberProperties": [],"stringProperties": [],"initialVariables": []}],"objects": [{"name": "GameTitle","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [{"name": "SineMovement","type": "SineMovement::SineMovement","SineSpeed": 60,"AmplitudeX": 20,"AmplitudeY": 10,"InitialX": 0,"InitialY": 0,"SineProgress": 0}],"animations": [{"name": "GeometryMonster","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "game-title.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "ButtonStart","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "StartNormal","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-start-normal.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "StartHover","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-start-hover.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "StartPressed","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-start-pressed.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]}],"events": [],"layers": [{"name": "","visibility": true,"cameras": [{"defaultSize": true,"defaultViewport": true,"height": 0,"viewportBottom": 1,"viewportLeft": 0,"viewportRight": 1,"viewportTop": 0,"width": 0}],"effects": []}],"behaviorsSharedData": [{"name": "SineMovement","type": "SineMovement::SineMovement"}]},{"b": 33,"disableInputWhenNotFocused": true,"mangledName": "Level1","name": "Level1","oglFOV": 90,"oglZFar": 500,"oglZNear": 1,"r": 86,"standardSortMethod": true,"stopSoundsOnStartup": true,"title": "","v": 9,"uiSettings": {"grid": false,"gridB": 255,"gridG": 180,"gridHeight": 32,"gridOffsetX": 0,"gridOffsetY": 0,"gridR": 158,"gridWidth": 32,"snap": true,"windowMask": false,"zoomFactor": 0.496},"objectsGroups": [],"variables": [{"name": "GameSpeed","value": "100"}],"instances": [{"angle": 0,"customSize": true,"height": 242,"layer": "","locked": false,"name": "Monster","width": 134,"x": 253,"y": 691,"zOrder": 1,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "Score","width": 0,"x": 35,"y": 19,"zOrder": 2,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "Life","width": 0,"x": 487,"y": 27,"zOrder": 3,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "GameOver","width": 0,"x": 100,"y": 148,"zOrder": 4,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "ButtonTryAgain","width": 0,"x": 348,"y": 406,"zOrder": 5,"numberProperties": [],"stringProperties": [],"initialVariables": []},{"angle": 0,"customSize": false,"height": 0,"layer": "","locked": false,"name": "ButtonMainMenu","width": 0,"x": 110,"y": 406,"zOrder": 6,"numberProperties": [],"stringProperties": [],"initialVariables": []}],"objects": [{"name": "Monster","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [{"name": "Flash","type": "Flash::Flash","HalfPeriodTime": 0.1,"IsFlashing": false,"FlashDuration": 0},{"name": "Health","type": "Health::Health","Health": 3,"DamageCooldown": 0.8,"MaxHealth": 3,"IsJustDamaged": false,"CooldownActive": false},{"name": "StayOnScreen","type": "StayOnScreen::StayOnScreen","MarginTop": 0,"MarginBottom": 0,"MarginLeft": 0,"MarginRight": 133}],"animations": [{"name": "MonsterIdle","useMultipleDirections": false,"directions": [{"looping": true,"timeBetweenFrames": 0.1,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\I7tD6nazyY4.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "Shape1","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "NewObject1","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\coin1.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "Shape2","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "NewObject2","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\coin2.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "Shape3","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "NewObject3","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\coin1.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "Shape4","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "NewObject4","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\coin2.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"bold": true,"italic": false,"name": "Score","smoothed": true,"tags": "","type": "TextObject::Text","underlined": false,"variables": [],"behaviors": [],"string": "Score:","font": "","characterSize": 30,"color": {"b": 28,"g": 231,"r": 248}},{"name": "Obstacle","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "Obstacle","useMultipleDirections": false,"directions": [{"looping": true,"timeBetweenFrames": 0.1,"sprites": [{"hasCustomCollisionMask": false,"image": "EA Games\\poop1.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "Life","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "Life3","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "life-3.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "Life2","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "life-2.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "Life1","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "life-1.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "Life0","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "life-0.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "GameOver","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "GameOver","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "game-over.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "ButtonTryAgain","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "TryAgainNormal","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-try-again-normal.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "TryAgainHover","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-try-again-hover.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "TryAgainPressed","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-try-again-pressed.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"name": "ButtonMainMenu","tags": "","type": "Sprite","updateIfNotVisible": false,"variables": [],"behaviors": [],"animations": [{"name": "MainMenuNormal","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-main-menu-normal.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "MainMenuHover","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-main-menu-hover.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]},{"name": "MainMenuPressed","useMultipleDirections": false,"directions": [{"looping": false,"timeBetweenFrames": 0.08,"sprites": [{"hasCustomCollisionMask": false,"image": "btn-main-menu-pressed.png","points": [],"originPoint": {"name": "origine","x": 0,"y": 0},"centerPoint": {"automatic": true,"name": "centre","x": 0,"y": 0},"customCollisionMask": []}]}]}]},{"additive": false,"alphaParam": "Mutable","angleParam": "Mutable","blueParam": "Random","destroyWhenNoParticles": true,"emissionEditionSimpleMode": true,"emitterAngleA": 0,"emitterAngleB": 360,"emitterForceMax": 85,"emitterForceMin": 45,"emitterXDirection": 0,"emitterYDirection": 1,"emitterZDirection": 0,"flow": 45,"friction": 2,"gravityEditionSimpleMode": true,"greenParam": "Random","maxParticleNb": 10,"name": "Shape4Explosion","particleAlpha1": 255,"particleAlpha2": 0,"particleAlphaRandomness1": 0,"particleAlphaRandomness2": 0,"particleAngle1": 0,"particleAngle2": 40,"particleAngleRandomness1": 0,"particleAngleRandomness2": 0,"particleBlue1": 255,"particleBlue2": 255,"particleEditionSimpleMode": true,"particleGravityX": 0,"particleGravityY": 30,"particleGravityZ": 0,"particleGreen1": 255,"particleGreen2": 255,"particleLifeTimeMax": 1.5,"particleLifeTimeMin": 0.5,"particleRed1": 255,"particleRed2": 255,"particleSize1": 100,"particleSize2": 80,"particleSizeRandomness1": 0,"particleSizeRandomness2": 0,"redParam": "Enabled","rendererParam1": 20,"rendererParam2": 20,"rendererType": "Quad","sizeParam": "Mutable","tags": "","tank": 5,"textureParticleName": "geometry4.png","type": "ParticleSystem::ParticleEmitter","zoneRadius": 10,"variables": [],"behaviors": []},{"additive": false,"alphaParam": "Mutable","angleParam": "Mutable","blueParam": "Random","destroyWhenNoParticles": true,"emissionEditionSimpleMode": true,"emitterAngleA": 0,"emitterAngleB": 360,"emitterForceMax": 85,"emitterForceMin": 45,"emitterXDirection": 0,"emitterYDirection": 1,"emitterZDirection": 0,"flow": 45,"friction": 2,"gravityEditionSimpleMode": true,"greenParam": "Random","maxParticleNb": 10,"name": "Shape3Explosion","particleAlpha1": 255,"particleAlpha2": 0,"particleAlphaRandomness1": 0,"particleAlphaRandomness2": 0,"particleAngle1": 0,"particleAngle2": 40,"particleAngleRandomness1": 0,"particleAngleRandomness2": 0,"particleBlue1": 255,"particleBlue2": 255,"particleEditionSimpleMode": true,"particleGravityX": 0,"particleGravityY": 30,"particleGravityZ": 0,"particleGreen1": 255,"particleGreen2": 255,"particleLifeTimeMax": 1.5,"particleLifeTimeMin": 0.5,"particleRed1": 255,"particleRed2": 255,"particleSize1": 100,"particleSize2": 80,"particleSizeRandomness1": 0,"particleSizeRandomness2": 0,"redParam": "Enabled","rendererParam1": 20,"rendererParam2": 20,"rendererType": "Quad","sizeParam": "Mutable","tags": "","tank": 5,"textureParticleName": "geometry3.png","type": "ParticleSystem::ParticleEmitter","zoneRadius": 10,"variables": [],"behaviors": []},{"additive": false,"alphaParam": "Mutable","angleParam": "Mutable","blueParam": "Random","destroyWhenNoParticles": true,"emissionEditionSimpleMode": true,"emitterAngleA": 0,"emitterAngleB": 360,"emitterForceMax": 85,"emitterForceMin": 45,"emitterXDirection": 0,"emitterYDirection": 1,"emitterZDirection": 0,"flow": 45,"friction": 2,"gravityEditionSimpleMode": true,"greenParam": "Random","maxParticleNb": 10,"name": "Shape2Explosion","particleAlpha1": 255,"particleAlpha2": 0,"particleAlphaRandomness1": 0,"particleAlphaRandomness2": 0,"particleAngle1": 0,"particleAngle2": 40,"particleAngleRandomness1": 0,"particleAngleRandomness2": 0,"particleBlue1": 255,"particleBlue2": 255,"particleEditionSimpleMode": true,"particleGravityX": 0,"particleGravityY": 30,"particleGravityZ": 0,"particleGreen1": 255,"particleGreen2": 255,"particleLifeTimeMax": 1.5,"particleLifeTimeMin": 0.5,"particleRed1": 255,"particleRed2": 255,"particleSize1": 100,"particleSize2": 80,"particleSizeRandomness1": 0,"particleSizeRandomness2": 0,"redParam": "Enabled","rendererParam1": 20,"rendererParam2": 20,"rendererType": "Quad","sizeParam": "Mutable","tags": "","tank": 5,"textureParticleName": "geometry2.png","type": "ParticleSystem::ParticleEmitter","zoneRadius": 10,"variables": [],"behaviors": []},{"additive": false,"alphaParam": "Mutable","angleParam": "Mutable","blueParam": "Random","destroyWhenNoParticles": true,"emissionEditionSimpleMode": true,"emitterAngleA": 0,"emitterAngleB": 360,"emitterForceMax": 85,"emitterForceMin": 45,"emitterXDirection": 0,"emitterYDirection": 1,"emitterZDirection": 0,"flow": 45,"friction": 2,"gravityEditionSimpleMode": true,"greenParam": "Random","maxParticleNb": 10,"name": "Shape1Explosion","particleAlpha1": 255,"particleAlpha2": 0,"particleAlphaRandomness1": 0,"particleAlphaRandomness2": 0,"particleAngle1": 0,"particleAngle2": 40,"particleAngleRandomness1": 0,"particleAngleRandomness2": 0,"particleBlue1": 255,"particleBlue2": 255,"particleEditionSimpleMode": true,"particleGravityX": 0,"particleGravityY": 30,"particleGravityZ": 0,"particleGreen1": 255,"particleGreen2": 255,"particleLifeTimeMax": 1.5,"particleLifeTimeMin": 0.5,"particleRed1": 255,"particleRed2": 255,"particleSize1": 100,"particleSize2": 80,"particleSizeRandomness1": 0,"particleSizeRandomness2": 0,"redParam": "Enabled","rendererParam1": 20,"rendererParam2": 20,"rendererType": "Quad","sizeParam": "Mutable","tags": "","tank": 5,"textureParticleName": "geometry1.png","type": "ParticleSystem::ParticleEmitter","zoneRadius": 10,"variables": [],"behaviors": []}],"events": [],"layers": [{"name": "","visibility": true,"cameras": [{"defaultSize": true,"defaultViewport": true,"height": 0,"viewportBottom": 1,"viewportLeft": 0,"viewportRight": 1,"viewportTop": 0,"width": 0}],"effects": []}],"behaviorsSharedData": [{"name": "Flash","type": "Flash::Flash"},{"name": "Health","type": "Health::Health"},{"name": "StayOnScreen","type": "StayOnScreen::StayOnScreen"}]}],"externalEvents": [],"eventsFunctionsExtensions": [{"author": "@4ian","description": "Force the object to stay visible on the screen by setting back its position inside the viewport of the camera.","extensionNamespace": "","fullName": "Stay On Screen","name": "StayOnScreen","shortDescription": "Force the object to stay visible on the screen by setting back its position inside the viewport of the camera.","tags": "positioning, camera, screen","version": "0.0.1","eventsFunctions": [],"eventsBasedBehaviors": [{"description": "Force the object to stay visible on the screen by setting back its position inside the viewport of the camera.","fullName": "Stay on Screen","name": "StayOnScreen","objectType": "","eventsFunctions": [{"description": "","fullName": "","functionType": "Action","name": "doStepPostEvents","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "MettreX"},"parameters": ["Object","=","min(max(Object.X(), CameraX(Object.Layer(), 0) - CameraWidth(Object.Layer(), 0)/2 + Object.Behavior::PropertyMarginLeft()), CameraX(Object.Layer(), 0) + CameraWidth(Object.Layer(), 0)/2 - Object.Behavior::PropertyMarginRight())"],"subInstructions": []},{"type": {"inverted": false,"value": "MettreY"},"parameters": ["Object","=","min(max(Object.Y(), CameraY(Object.Layer(), 0) - CameraHeight(Object.Layer(), 0)/2+ Object.Behavior::PropertyMarginTop()), CameraY(Object.Layer(), 0) + CameraHeight(Object.Layer(), 0)/2- Object.Behavior::PropertyMarginBottom())"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "StayOnScreen::StayOnScreen","type": "behavior"}],"objectGroups": []}],"propertyDescriptors": [{"value": "0","type": "Number","label": "Top margin, in pixels","extraInformation": [],"hidden": false,"name": "MarginTop"},{"value": "0","type": "Number","label": "Bottom margin, in pixels","extraInformation": [],"hidden": false,"name": "MarginBottom"},{"value": "0","type": "Number","label": "Left margin, in pixels","extraInformation": [],"hidden": false,"name": "MarginLeft"},{"value": "0","type": "Number","label": "Right margin, in pixels","extraInformation": [],"hidden": false,"name": "MarginRight"}]}]},{"author": "@4ian","description": "Allow an object to move smoothly on the X and/or Y axis following a sine wave, or an ellipsis.","extensionNamespace": "","fullName": "Sine (or ellipsis) Movement","name": "SineMovement","shortDescription": "Allow an object to move smoothly on the X and/or Y axis following a sine wave, or an ellipsis.","tags": "sine, ellipsis, movement","version": "0.0.1","eventsFunctions": [],"eventsBasedBehaviors": [{"description": "Allow an object to move smoothly on the X and/or Y axis following a sine wave.","fullName": "Sine Movement","name": "SineMovement","objectType": "","eventsFunctions": [{"description": "","fullName": "","functionType": "Action","name": "doStepPreEvents","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "SineMovement::SineMovement::PropertyInitialX"},"parameters": ["Object","Behavior","=","0"],"subInstructions": []},{"type": {"inverted": false,"value": "SineMovement::SineMovement::PropertyInitialY"},"parameters": ["Object","Behavior","=","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "SineMovement::SineMovement::SetPropertyInitialX"},"parameters": ["Object","Behavior","=","Object.X()"],"subInstructions": []},{"type": {"inverted": false,"value": "SineMovement::SineMovement::SetPropertyInitialY"},"parameters": ["Object","Behavior","=","Object.Y()"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "SineMovement::SineMovement::PropertyAmplitudeX"},"parameters": ["Object","Behavior",">","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "MettreX"},"parameters": ["Object","=","Object.Behavior::PropertyInitialX() + cos(ToRad(Object.Behavior::PropertySineProgress())) * Object.Behavior::PropertyAmplitudeX()"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "SineMovement::SineMovement::PropertyAmplitudeY"},"parameters": ["Object","Behavior",">","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "MettreY"},"parameters": ["Object","=","Object.Behavior::PropertyInitialY() + sin(ToRad(Object.Behavior::PropertySineProgress())) * Object.Behavior::PropertyAmplitudeY()"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "SineMovement::SineMovement::SetPropertySineProgress"},"parameters": ["Object","Behavior","+","Object.Behavior::PropertySineSpeed() * TimeDelta()"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "SineMovement::SineMovement","type": "behavior"}],"objectGroups": []}],"propertyDescriptors": [{"value": "60","type": "Number","label": "Speed, in degrees per second","extraInformation": [],"hidden": false,"name": "SineSpeed"},{"value": "100","type": "Number","label": "Amplitude of the movement on X axis (0 to deactivate)","extraInformation": [],"hidden": false,"name": "AmplitudeX"},{"value": "0","type": "Number","label": "Amplitude of the movement on Y axis (0 to deactivate)","extraInformation": [],"hidden": false,"name": "AmplitudeY"},{"value": "0","type": "Number","label": "","extraInformation": [],"hidden": true,"name": "InitialX"},{"value": "0","type": "Number","label": "","extraInformation": [],"hidden": true,"name": "InitialY"},{"value": "0","type": "Number","label": "","extraInformation": [],"hidden": true,"name": "SineProgress"}]}]},{"author": "@4ian","description": "Make the object flash (blink) for a period of time, so that it is alternately visible and invisible.\nAfter adding this to an object, you have to **trigger the effect** by using the **Flash action**.","extensionNamespace": "","fullName": "Flash (blink)","name": "Flash","shortDescription": "Make the object flash (blink) for a period of time, so that it is alternately visible and invisible.\nTrigger the effect by using the Flash action.","tags": "flash, blink, visible, invisible, hit, damage","version": "1.0.0","eventsFunctions": [],"eventsBasedBehaviors": [{"description": "Make the object flash (blink) for a period of time, so that it is alternately visible and invisible.\nTrigger the effect by using the Flash action.","fullName": "Flash (blink)","name": "Flash","objectType": "","eventsFunctions": [{"description": "","fullName": "","functionType": "Action","name": "doStepPreEvents","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Flash::Flash::PropertyIsFlashing"},"parameters": ["Object","Behavior"],"subInstructions": []}],"actions": [],"events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "ObjectTimer"},"parameters": ["Object","\"FlashTimer\"","Object.Behavior::PropertyHalfPeriodTime()"],"subInstructions": []},{"type": {"inverted": false,"value": "Visible"},"parameters": ["Object"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Cache"},"parameters": ["Object"],"subInstructions": []},{"type": {"inverted": false,"value": "ResetObjectTimer"},"parameters": ["Object","\"FlashTimer\""],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "ObjectTimer"},"parameters": ["Object","\"FlashTimer\"","Object.Behavior::PropertyHalfPeriodTime()"],"subInstructions": []},{"type": {"inverted": true,"value": "Visible"},"parameters": ["Object"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Montre"},"parameters": ["Object",""],"subInstructions": []},{"type": {"inverted": false,"value": "ResetObjectTimer"},"parameters": ["Object","\"FlashTimer\""],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "ObjectTimer"},"parameters": ["Object","\"FlashDurationTimer\"","Object.Behavior::PropertyFlashDuration()"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Flash::Flash::Stop"},"parameters": ["Object","Behavior",""],"subInstructions": []}],"events": []}]}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"}],"objectGroups": []},{"description": "Make the specified object(s) blink for the given duration.","fullName": "Flash (blink)","functionType": "Action","name": "Flash","sentence": "Make _PARAM0_ blink for _PARAM2_ seconds","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Egal"},"parameters": ["GetArgumentAsNumber(\"FlashDuration\")",">","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "ResetObjectTimer"},"parameters": ["Object","\"FlashDurationTimer\""],"subInstructions": []},{"type": {"inverted": false,"value": "Flash::Flash::SetPropertyFlashDuration"},"parameters": ["Object","Behavior","=","GetArgumentAsNumber(\"FlashDuration\")"],"subInstructions": []},{"type": {"inverted": false,"value": "Flash::Flash::SetPropertyIsFlashing"},"parameters": ["Object","Behavior","yes"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"},{"codeOnly": false,"defaultValue": "","description": "Duration of the blinking, in seconds","name": "FlashDuration","optional": false,"supplementaryInformation": "","type": "expression"}],"objectGroups": []},{"description": "Check if the specified objects are flashing.","fullName": "Is object flashing","functionType": "Condition","name": "IsFlashing","sentence": "_PARAM0_ is flashing","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["False"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Flash::Flash::PropertyIsFlashing"},"parameters": ["Object","Behavior"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["True"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"}],"objectGroups": []},{"description": "","fullName": "","functionType": "Action","name": "onOwnerRemovedFromScene","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "Flash::Flash::Stop"},"parameters": ["Object","Behavior",""],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"}],"objectGroups": []},{"description": "","fullName": "","functionType": "Action","name": "onDeActivate","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "Flash::Flash::Stop"},"parameters": ["Object","Behavior",""],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"}],"objectGroups": []},{"description": "Stop the flashing of the specified object","fullName": "Stop flashing","functionType": "Action","name": "Stop","sentence": "Stop flashing _PARAM0_","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Flash::Flash::PropertyIsFlashing"},"parameters": ["Object","Behavior"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Montre"},"parameters": ["Object",""],"subInstructions": []},{"type": {"inverted": false,"value": "Flash::Flash::SetPropertyIsFlashing"},"parameters": ["Object","Behavior","no"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Flash::Flash","type": "behavior"}],"objectGroups": []}],"propertyDescriptors": [{"value": "0.1","type": "Number","label": "Half period (time during which object is invisible), in seconds","extraInformation": [],"hidden": false,"name": "HalfPeriodTime"},{"value": "","type": "Boolean","label": "","extraInformation": [],"hidden": true,"name": "IsFlashing"},{"value": "0","type": "Number","label": "","extraInformation": [],"hidden": true,"name": "FlashDuration"}]}]},{"author": "@4ian","description": "Add actions and conditions to manage the life of the object. Object can get damages, lose some health and you can check with a condition if it's dead.","extensionNamespace": "","fullName": "Health (life points and damages for objects)","name": "Health","shortDescription": "Add actions and conditions to manage the life of the object. Object can get damages, lose some health and you can check with a condition if it's dead.","tags": "health, life, damage, hit, heal","version": "0.0.1","eventsFunctions": [],"eventsBasedBehaviors": [{"description": "Add actions and conditions to manage the life of the object. Object can get damages, lose some health and you can check with a condition if it's dead.","fullName": "Health","name": "Health","objectType": "","eventsFunctions": [{"description": "Add some damage to the object, decreasing its life.","fullName": "Damage the object","functionType": "Action","name": "Hit","sentence": "Damage _PARAM0_, removing _PARAM2_ from its health","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "BuiltinCommonInstructions::Or"},"parameters": [],"subInstructions": [{"type": {"inverted": false,"value": "ObjectTimer"},"parameters": ["Object","\"DamageCooldown\"","Object.Behavior::PropertyDamageCooldown()"],"subInstructions": []},{"type": {"inverted": true,"value": "Health::Health::PropertyCooldownActive"},"parameters": ["Object","Behavior"],"subInstructions": []}]}],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyHealth"},"parameters": ["Object","Behavior","-","GetArgumentAsNumber(\"DamageValue\")"],"subInstructions": []},{"type": {"inverted": false,"value": "ResetObjectTimer"},"parameters": ["Object","\"DamageCooldown\""],"subInstructions": []},{"type": {"inverted": false,"value": "Health::Health::SetPropertyCooldownActive"},"parameters": ["Object","Behavior","yes"],"subInstructions": []},{"type": {"inverted": false,"value": "Health::Health::SetPropertyIsJustDamaged"},"parameters": ["Object","Behavior","yes"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"},{"codeOnly": false,"defaultValue": "","description": "Value of the damage to do (will be removed from object health)","name": "DamageValue","optional": false,"supplementaryInformation": "","type": "expression"}],"objectGroups": []},{"description": "Check if the object is considered dead (no more health)","fullName": "Is dead","functionType": "Condition","name": "IsDead","sentence": "_PARAM0_ is dead","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["False"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Health::Health::PropertyHealth"},"parameters": ["Object","Behavior","<=","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["True"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"}],"objectGroups": []},{"description": "","fullName": "","functionType": "Action","name": "doStepPreEvents","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyIsJustDamaged"},"parameters": ["Object","Behavior","no"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"}],"objectGroups": []},{"description": "Check if the object was just damaged previously in the events.","fullName": "Is just damaged","functionType": "Condition","name": "IsJustDamaged","sentence": "_PARAM0_ has just been damaged","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["False"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Health::Health::PropertyIsJustDamaged"},"parameters": ["Object","Behavior"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "SetReturnBoolean"},"parameters": ["True"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"}],"objectGroups": []},{"description": "Heal the object, incrasing its life.","fullName": "Heal the object","functionType": "Action","name": "Heal","sentence": "Heal _PARAM0_, adding _PARAM2_ to its health","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyHealth"},"parameters": ["Object","Behavior","+","GetArgumentAsNumber(\"HealValue\")"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Health::Health::PropertyMaxHealth"},"parameters": ["Object","Behavior",">","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyHealth"},"parameters": ["Object","Behavior","=","min(Object.Behavior::PropertyHealth(), Object.Behavior::PropertyMaxHealth())"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"},{"codeOnly": false,"defaultValue": "","description": "How much to heal (will be added to object health)","name": "HealValue","optional": false,"supplementaryInformation": "","type": "expression"}],"objectGroups": []},{"description": "Change the object health to set it to a specific value (check if the actions to damage or heal the object are not better suited to your use case before using this one).","fullName": "Change object health","functionType": "Action","name": "SetHealth","sentence": "Set health of _PARAM0_ to _PARAM2_","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyHealth"},"parameters": ["Object","Behavior","=","GetArgumentAsNumber(\"Value\")"],"subInstructions": []}],"events": []},{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [{"type": {"inverted": false,"value": "Health::Health::PropertyMaxHealth"},"parameters": ["Object","Behavior",">","0"],"subInstructions": []}],"actions": [{"type": {"inverted": false,"value": "Health::Health::SetPropertyHealth"},"parameters": ["Object","Behavior","=","min(Object.Behavior::PropertyHealth(), Object.Behavior::PropertyMaxHealth())"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"},{"codeOnly": false,"defaultValue": "","description": "New health value","name": "Value","optional": false,"supplementaryInformation": "","type": "expression"}],"objectGroups": []},{"description": "The health of the object","fullName": "Health","functionType": "Expression","name": "Health","sentence": "","events": [{"disabled": false,"folded": false,"type": "BuiltinCommonInstructions::Standard","conditions": [],"actions": [{"type": {"inverted": false,"value": "SetReturnNumber"},"parameters": ["Object.Behavior::PropertyHealth()"],"subInstructions": []}],"events": []}],"parameters": [{"codeOnly": false,"defaultValue": "","description": "Object","name": "Object","optional": false,"supplementaryInformation": "","type": "object"},{"codeOnly": false,"defaultValue": "","description": "Behavior","name": "Behavior","optional": false,"supplementaryInformation": "Health::Health","type": "behavior"}],"objectGroups": []}],"propertyDescriptors": [{"value": "100","type": "Number","label": "Health","extraInformation": [],"hidden": false,"name": "Health"},{"value": "0","type": "Number","label": "Damage cooldown (in seconds) (0 for no cooldown)","extraInformation": [],"hidden": false,"name": "DamageCooldown"},{"value": "100","type": "Number","label": "Maximum health (0 for no maximum)","extraInformation": [],"hidden": false,"name": "MaxHealth"},{"value": "","type": "Boolean","label": "","extraInformation": [],"hidden": true,"name": "IsJustDamaged"},{"value": "","type": "Boolean","label": "","extraInformation": [],"hidden": true,"name": "CooldownActive"}]}]}],"externalLayouts": [],"externalSourceFiles": []};