Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 81
    • Issues 81
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • dulst
  • core
  • Wiki
  • Animations

Animations · Changes

Page history
Update Animations authored Sep 07, 2019 by Kaoru Aoi's avatar Kaoru Aoi
Hide whitespace changes
Inline Side-by-side
Animations.md
View page @ 650495b5
...@@ -56,4 +56,14 @@ EX: Here is the same card immediately after it's been played onto the board. ...@@ -56,4 +56,14 @@ EX: Here is the same card immediately after it's been played onto the board.
.data 1 .data 1
``` ```
There is now a `change-data-location='board'` attribute, signifying the move from the hand to the board, a `add-data-summoningsickness='1'` attribute, a `add-data-eligibletoattack='0'` attribute. These can all be used to select for CSS animations. Especially helpful for tying into entry and exit animations. There is now a `change-data-location='board'` attribute, signifying the move from the hand to the board, a `add-data-summoningsickness='1'` attribute, a `add-data-eligibletoattack='0'` attribute. These can all be used to select for CSS animations. Especially helpful for tying into entry and exit animations.
\ No newline at end of file
## ui: animate
### Card attributes
ui: animate action in the effect builder can be used to play complex animations that require javascript. When starting, set the attribute `current-animation`, and keep it for the duration of the animation. For example, the ram animation would set `current-animation=ram`.
### Writing your own animations
Users on the enterprise plan can upload their own animations to `/src/animations/` in addition to using the ones provided by Dulst. These animations would then be available in the effect builder, same as the default ones.
\ No newline at end of file
Clone repository
  • Analytics Events
  • Animations
  • Basic Effect Building
  • Change Log v13
  • Change Log v14
  • Change Log v15
  • Change Log v16.1
  • Change Log v16.2
  • Change Log v16.3
  • Change Log v16.4
  • Change Log v16.5
  • Change Log v16.6
  • Change Log v16.7
  • Change Log v16.8
  • Change Log v16
View All Pages