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
  • Javascript

Javascript · Changes

Page history
Update Javascript authored Oct 31, 2023 by Administrator's avatar Administrator
Show whitespace changes
Inline Side-by-side
Javascript.md
View page @ 9d0f6667
......@@ -8,7 +8,7 @@ Free and Pro-tier developers only have access to in-play scripting. Enterprise c
The simplest way to try custom scripting is through the custom javascript action in the effect builder.
All javascript is executed in the context of that action. Custom javascript action can be executed either client side or server side. Server side execution effects the logic of the game while client-side execution effects the rendering and visuals on the client. Even if your game doesn't have a server, the logic of the game is still server-side with a local server.
All javascript is executed in the context of that action. Custom javascript action can be executed either client side or server side. Server-side execution affects the logic of the game while client-side execution affects the rendering and visuals on the client. Even if your game doesn't have a server, the logic of the game is still considered server-side with a local server.
Examples of custom javascript commands on the server:
......@@ -300,3 +300,7 @@ jQuery element.
jQuery element.
Change a card by overwriting the attributes of a card element with the attributes of another card element. Unlike `getCard()` it is non-destructive, allowing animations to flow smoothly from one state to another.
### Getting card properties
All cards have their full card properties attached to their jQuery element, which you can access through $('#c-[cardID]').data('json').
\ 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