SandNet
  • Sandnet App
  • SandNet GitHub
  • SandNet AI
  • Feedback Forms
  • SandNet Practical Examples
    • P01 - Acender/apagar luz com interruptor
    • P02 - Piscar luz continuamente
    • P03 - Ligar luz em sequĂȘncia com temporizador
    • P04 - Criar portal/teleporte.
    • P05 - IncĂȘndio e desaparecimento de Assets
    • P06 - Sistema de coleta para moedas em quest com recompensa
    • P07 - Checkpoint
    • P10 - TOCHA
    • P11 - BOMB
    • P12 - Pickable Bomb
  • GAMEMAKER LOGIC
    • The Sandbox GameMaker
    • Geral Guide
    • Global Parameters
    • Quests
    • Behaviors
      • 1- Animated Decoration
      • 2- Asker
      • 3- Asset Spawner
      • 4- Basic Plataform
      • 5- Bird
      • 6- Button
      • 7- Citizen
      • 8- Door
      • 9- Farmer
      • 10- Healer
      • 11- Melee Enemy
      • 12- Message Broadcast
      • 13- Multi
      • 14- Plant
      • 15- Predator
      • 16- Prey
      • 17- Replace Asset
      • 18- Soldier
      • 19- Void
      • 20- Timed Events
      • 21- Visual FX
      • 22- Weather Switch
      • 23- Post Process Effects
      • 24- Curio
      • 25- Light
      • 26- Crowd Event
      • 27- Actor Property
      • 28- Audio Streaming
      • 29- Video Streaming
      • 30- Instance Locker
    • Components
      • 1- Climbable
      • 2- Collectable
      • 3- Defeat
      • 4- Drop
      • 5- Health
      • 6- Indicator
      • 7- NFT Details Display
      • 8- Pickable
      • 9- Play Sound
      • 10- Rarity VFX
      • 11- Speaker
      • 12- Toggle Behaviour
      • 13- Victory
      • 14- NFTImage*
      • 15- Indicator LEGACY
      • 16- Image Display
      • 17- Slide
    • Multiplayer Logic
    • Quality Guidelines
  • SANDBRICKS ACADEMY
    • CEPASA GAME STUDIO
    • Sandbricks Cloud
    • VoxEdit Templates
Powered by GitBook
On this page
  1. GAMEMAKER LOGIC
  2. Behaviors

1- Animated Decoration

Sandnet 1.4v - GM 0.8.7v

Last updated 1 year ago

OFFICIAL DOCUMENTATION THE SANDBOX CREATORS: [] Description: The Animated Decoration Behavior is a feature in GameMaker that allows you to add animations to your in-game assets. This behavior consists of 11 Logic Parameters that enable control over various aspects of the animation, such as which animation will be displayed, the speed of the animation, whether it should loop indefinitely, how many times it should repeat, and under which conditions the animation should be shown. Moreover, it includes a detection sphere that senses the player's presence, as well as the ability to send messages at the beginning and end of the animation and the capability to interrupt the animation with another triggered animation. Overall, it seems to provide extensive control over the animation and how it interacts with the player and other Logic Elements.

ANI-1 - PlayCondition PlayOnStart: This condition activates the animation as soon as the game starts. It's a straightforward and automatic option, ideal for animations that should be seen as soon as the player enters a specific scene or level.

ANI-2 - PlayCondition PlayOnReceiveMessage: This condition is more interactive and requires a specific action to be triggered. The animation will only start when the asset receives a specific message, allowing for more dynamic and contextual interaction. This can be used, for example, to activate animations when certain objectives are achieved or when specific events occur in the game.

ANI-3 - PlayCondition PlayOnDetectPlayer: This is a player-centered option, where the animation is triggered based on the player's proximity or detection. It is useful for scenarios where the developer wants something to happen only when the player approaches or enters a specific area, such as motion detection on a security camera or triggering a trap.

https://docs.sandbox.game/en/v/creators/game-maker/docs/behaviours/animated-decoration
Global
Local