This tool makes possible to convert an animated 3D model to sprite sheets that can be used for 2D games. Achieve pixel-art style animations by tuning the resolution of generated sprites. This plugin is meant to be a complete framework for 3D to 2D animations with many features to come.
Provides editor's brush drawing functionality over TileMapHow to use it:0. Install, and activate plugin1. Add new child node to scene tree - called TileMapBrush2. Configure 'Script Variables' in inspector: * Draw/Erase Size (1 is default, and equals to 1 tile) * Draw/Erase Brush Type3. Now, in editor - press 'Left Mouse Button' to draw, 'Right Mouse Button' to eraseKnown issues:1. There's no UndoRedo for what you draw with brush - it supposed to be original TileMap workflow; but seems - it saves only 9 rounding tiles for undo, rest cannot be undone - use manual erase instead(I hope, solution will be found in future for that)2. Some drawing points may be missed - due to mouse movement can be faster, than _physics_process' delta; TileMap still draw single tiles (can be fixed with line drawing between last and new mouse position; probably other solution can be found)3. Some optimization can be done on get_cell_info() - refresh once per mouse holdAdditional info:1. Some optimization can be enabled in TileMapBrushPlugin, by OPTIMIZE field (you may not like to use it due to how it optimizes)(not sure it actually adds performance)
Easy edition of Area2D rectangular shapes.
A Godot plugin which provides custom controls for 2D painting / drawing applications. This plugin currently provides 2 custom "ColorSelect" controls meant to let the user select Foreground/Background colors
An input/output system to easily connect the signals of objects in a level, like a button pressed to door open.* Create interactions between objects more easily by using the ui.* Have precise control over the interactions by using the included and-gate, or-gate, and not-gate.* Create complex interactions by combining logic with your own code.
This node allows you to easily create regular 2D polygons. A polygon is regular if it has equal sides and angles.Supports borders and textures.
Plugin for Godot editor that makes easier to change the anchor point of a Sprite or Control (User Interface).You need to Enable this plugin in Projects > Project Settings > PluginsChange Log:v 0.6.0 - Added support for Control objectsv 0.5.1 - Moved to addons folder to make compatible with Godot Asset Library
This an alternative to the built in tilemap node for games that don't need all of it's features or need better performance when drawing a lot of tiles, the tilemap is rendered with a shader and performance depends on the resolution and the GPU, so the amount of tiles on the screen doesn't affect performance.How to use: https://github.com/MightyPrinny/godot-gputilemap/wikiFeatures:-The editor supports basic things such as undo/redo, paint, erase and has a rectangle selection tool, brushes are made selecting things on the tileset view or from the selection on the map.-Node instance generation via custom scripts.-Autotiling-Flip tiles vertically and horizontally-Import maps from Tiled exported as json with csv tile data, the importer will ask you about which layer you want to import and what tileset you want to use.-Save and load brushes from filesSave and load maps from filesNotes:-Maps are stored as ImageTexture, if you are targeting mobile and low end devices don't use maps larger than 1024x1024 tiles( 2048x2048 should be fine but I'm not sure if that's good for low end mobile phones).-Tilesets can have a maximum size of 256x256 tiles.-Unfolding the image property of the ImageTexture that stores the map crashes the editor, this is a Godot editor bug.-Only one tileset can be used on a single GPUTilemap node, this is because shaders don't support sampler2d array uniforms on GLES2.
A simple tool to create assets without leaving Godot
Spawn node instances from a Tilemap
A custom resource for Godot to simply and quickly generate palette swapped textures
Go Godot simplifies common operations in Godot. It's like a swiss army knife of making Godot more intuitive!Here's the README for this asset package:A Godot add-on library to simplify common operations.Install instructionsWithin the project, open the setup.tscn file. This should load the library into the project settings.Referencefunction spawn_instanceTo spawn an instance of a scene at set location, type go.spawn_instance(, optional:, optional:, optional:)Examples:#spawn enemy at position 0, 0 as a child of the main scene root node go.spawn_instance("EnemyScene")#spawn enemy at position 200, 300 as a child of the main scene root node go.spawn_instance("EnemyScene", 200, 300)#spawn enemy at position 200, 300 as a child of the object calling the function go.spawn_instance("EnemyScene", 200, 300, self)function spawn_instance_gridSpawns a rectangular grid of instances of a provided scene. This is good for creating formations of enemies, or arcade puzzle elements.go.spawn_instance_grid(sceneName, numberOfColumns, numberOfRows, columnSpacing, rowSpacing, xPosition, yPosition, whereToAddChildren)Examples: #spawn a 4 by 5 grid of cards that are spread out with 100 pixels of space between them horizontally and vertically. go.spawn_instance_grid("CardScene", 4, 5, 100, 100)#the same as the above example, but the grid is placed at a position of 250, 150 from the root node. go.spawn_instance_grid("CardScene", 4, 5, 100, 100, 250, 150)#the same as the above example, but the grid is put as a child of the caller, rather than the scene's root node. go.spawn_instance_grid("CardScene", 4, 5, 100, 100, 250, 150, self)get the main scene root node#the following code gets a reference to the main scene root node: go.Maincallback functions automatically connected to built-in signalsNOTE: This is a breaking change. This replaces go_collision and go_body_collisionEach node's built-in signals will automatically connect to a callback function whose name matches the signal name, within a script that is either on the node or its nearest ancestor node. To activate, just write a function definition whose name is the desired signal's name inside the node's script, or its parent (or grandparent, etc.).Examples:Extends Area2D#area_entered called when area overlaps another areafunc area_entered(otherArea): #do collision related thingsNote: normally, you would have to turn on contact monitor on the RigidBody2D and increase the number of contacts reporting from the default 0 value. Fortunately, if an ancestor node is found with the body_entered function, then GoGodot will automatically turn on contact monitor and increase contacts reporting so that it just works (without having to manually tweak those settings).function restart_gameExample: #The following code reloads the current main scene go.restart_game()function get_all_nodes_by_classThis function returns an array of all the nodes in the SceneTree that match a given class name.Example:var allLabels = go.get_all_nodes_by_class("Label")for label in allLabels: label.text = "all labels now show this text!"function destroyExample:#remove myObjgo.remove(myObj)Destroy is simply an alias for queue_free(), but ensures that the object trying to be removed can actually queue_free.function random_integerGets a random integer in range.Example:go.random_integer(2, 12) #get random integer, minimum of 2 and maximum of 12If no arguments provided, then assume die roll 1 to 6. If only one argument provided, assume range of 1 to maximum of that argument provided.function array_shuffleSupply an array to shuffle, and the shuffled array is returned.Example:var shuffledFruitArray = go.array_shuffle(["apple", "banana", "orange"])Go ModulesGo Modules are nodes that can be found in the go_modules folder which give special powers to whatever node they are attached to. For example, adding the Platformer node to a Node2D will make that node behave like a platformer (moving and jumping, etc.).PlatformerAdding the Platformer node to any Node that has a transform (e.g. Node2D, Sprite, etc.) will make that Node automatically possess typical Platformer behavior.Settings for the Platformer node can be tweaked in the Inspector with the following properties:Gravity - the strength of gravitySpeed - the speed of the Platformer nodeJump Strength - how "high" the Platformer node can "jump"Collision Bounds - the pixel dimensions of the collision area of the Platformer node. (Note: you may add your own custom collision shape if you like, but the Rectangle is the default option)Set Bounds To Sibling Sprite - when this is clicked, the first Sprite node that is a sibling to the Platformer node will be used to auto measure and determine the size of the collision area of the Platformer node.WASD - check this property to enable default WASD key controls.Arrow Keys - check this property to enable default arrow key controls.SpritesheetThis node expands the typical Sprite node to make spritesheet animations easier to set up.The following properties of the Spritesheet node can be configured in the editor:Spritesheet - this is the Texture of the spritesheet, i.e., the spritesheet graphic itself. Note that the spritesheet's frames need to be evenly divided in a grid.Current Frame - this is the same as the Frame property, which states which frame of the animation is current.Framerate - set this to change how fast the animation plays in frames per second.Horz Frames - the same as HFrames, this tells Godot how many frames there are in each column.Vert Frames - the same as VFrames, this tells Godot how many frames there are in each row.First frame - if the desired animation does not begin on frame 0, you may choose which frame the animation starts on.Final frame - sometimes the grid ends before the final column, so this allows you to choose what the final frame actually is of the animation. Default assumes the final frame is the last frame in the grid calculated by the Horz Frames and Vert Frames.Loop - choose whether or not the animations should loop.Reverse - specify if the animation should be playing backwards. Note: this will play from the Final Frame to the First Frame.Is Playing - this allows you to preview the animation in the editor.Autostart - specify whether or not the spritesheet should start playing when it enters the scene at runtime.The following are functions that belong to the Spritesheet node that you can run on the Spritesheet object in the code:play() - starts the animationstop() - stops the animation and returns to the First Framepause() - stops the animation, but stays on the Current FrameThe following are callback functions that can be added to the nearest ancestor to the Spritesheet node that will automatically run under its respective conditions:func go_animation_end() - the nearest ancestor node to Spritesheet will run this function when the Spritesheet animation ends or loops.Linear MotionAdding this node to any node with a transform (e.g. Node2D, Sprite, etc.) will enable you to easily make the node "go" at a fixed speed. Unlike the linear_velocity property found on some nodes, the speed is controlled with an angle and speed rather than x and y velocity.The following properties can be modified in the editor in order to tweak the behavior of the Linear Motion module:Enabled - check this to enable the module to work. If it is unchecked (whether in the editor or in the code), the parent node will stop moving as a result of the Linear Motion node.Match Angle - check this to have the parent node move in the direction of its angle. Whatever angle the parent of Linear Motion is set to is the direction it will go. Otherwise, the node will go the direction of the Angle Of Motion property.Angle of Motion - if the Match Angle property is unchecked, the parent node will go the direction provided by the Angle of Motion property. This is good for when you don't want to rotate the parent node to have Linear Motion work.Speed - the speed of the Linear Motion in pixels per second.TopDownMovementAdding this node to any node with a transform (e.g. Node2D, Sprite, etc.) gives that node traditional top-down movement mechanics, as in classic top-down games, such as _The Legend of Zelda_ and _Metal Gear_. The following properties can be configured in the editor to customize how the top-down motion works.* Speed - pixels per second the node moves in the respective directions. Note that moving diagonally will move the given pixels per second _diagonally_, taking into account the correct vector magnitude.* CollisionBounds - set the size of the default rectangular collision boundaries of the character.* Set_Bounds_To_Sibling_Sprite - clicking this checkbox will have the module find the first Sprite sibling of the TopDownMovement node, and use its dimensions to automatically figure out the size of the rectangular collision shape.* LimitFourDirections - with this selected, the TopDownMotion can only go one direction at a time, instead of diagonally.* WASD - with this checked, the w, a, s, and d keys control the TopDownMotion in game.* ArrowKeys - with this checked, the arrow keys control the TopDownMotion in game. Note that WASD and ArrowKeys can both be checked, allowing either set of keys to work for the TopDownMotion.
A circular container node, which arranges its children in a circle. It might be helpful for circular menus and the like.Features:* Simple, Godot-like, public API* Animations support, with support for custom animating function* Somewhat supports Node2D children - experimental* Option to force expand on all children* Option to force all children to be square (might be useful if you don't want to play with both minsize axes)* Option to configure the angle from which to start arranging children* Calculate minimum size of the container, so it can be embedded inside other containers (maybe circular, maybe not...)
This tool adds a GDCharts Control node.It allows you to create fancy line charts and pie charts.
Radial progress bar with customizable values like radius, thickness , color,....