Remove Code Remove Demo Remove Scripting
article thumbnail

Godot XR update - February 2025

Mircosoft Game Dev

Support of the Platform SDK in the Godot Meta Toolkit is done using code generation, which automatically generates the Godot classes by processing the Platform SDKs official C headers. You can download the Godot XR Tools demo on itch.io. You can download version 4.4.0 from GitHub or the Asset Library.

Collision 103
article thumbnail

Noob question about scripting animation

Cocos

I guess what I’m asking is, can the inserted frame event be used a signal to trigger that change in code? Of course you can, the inserted frame events can be used as signals to trigger the code.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Godot Tactics RPG – 15. Turn Order

The Liquid Fire

Once the script is attached, select the “Battle Controller” node and in the Inpsector, assign the Turn Order Controller node to its variable. As always, if you have any questions, feel free to ask below, or check out the repository if you’d like to compare your code. The end result will look something like this.

article thumbnail

Noob question about scripting animation

Cocos

Alternatively, it is possible to control card flipping directly through code directly via tween. github.com CocosCreatorDemos/demo/2dP1/Creator3.6.0_2D_CardFlip at v3.6.x x/demo/2dP1/Creator3.6.0_2D_CardFlip Contribute to yeshao2069/CocosCreatorDemos development by creating an account on GitHub.

article thumbnail

Godot Tactics RPG – 11. Jobs

The Liquid Fire

We’ll be loading in a.csv file, and creating a prefab for each job in code. Job Next up is a script we’ll add to a character that will hold all the stats we load in from the.csv files. Create a script in the same plugin folder named, “ParseJobs.gd”, and attach it to the button we created.

article thumbnail

Tag to prefab dynamically and intersect in script

Cocos

This is the Cocos2dx code snippet. I want to do this in the creator-type script. count++; demo = Sprite::create(“d1”); demo->setPosition(Vec2(362.399170,831.098450)); demo->setTag(count); this->addChild(demo); if ( this ->getChildByTag(i)->getBoundingBox().containsPoint(location))

article thumbnail

Godot Tactics RPG – 12. Stat Panel

The Liquid Fire

Stat Panel In the folder “Scripts->View Model Component”, create a new script named “StatPanel.gd” We’ll extend LayoutAnchor in this one so we can add the positions to move the panel on and off screen to later. Now that the panels have all been created, lets add the scripts we created earlier.