TCG Layout (.NET only)

An asset by Jaete
The page banner background of a mountain and forest
TCG Layout (.NET only) thumbnail image
TCG Layout (.NET only) thumbnail image
TCG Layout (.NET only) thumbnail image
TCG Layout (.NET only) hero image

Quick Information

0 ratings
TCG Layout (.NET only) icon image
Jaete
TCG Layout (.NET only)

I've remade the cyanglaz plugin with .NET and added some functionalities.This tool allows you to display objects as cards in a TCG. Currently have:- Control node for laying out cards in a hand layout.- View hand layout directly in the editor. Any update on the variables reflect on the cards position in real time.- Configurable hover animation.- Node-free solution for providing layout information for a hand layout.- Dragging cards.- Draw cards from a deck.- Rearrange cards while dragging them around.- Activate card effect (with click or dragging them to a Playable Area)-

Supported Engine Version
4.0
Version String
v1.0
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

TCG Hand Layout

English

A plugin to serve as a card game layout for the player's hand.

I've remade the plugin from cyanglaz repository using Godot .NET instead.

This plugin is designed for Godot .NET users who prefer not to mix C# and GDScript in their projects.

Current State: Same as the original by cyanglaz. I intend to add more features, as it is for a game project I am working on.

Features:

  • Control node for laying out cards in a hand layout.

  • View hand layout directly in the editor. Any update on the variables reflect on the cards position in real time.

  • Configurable hover animation.

  • Node-free solution for providing layout information for a hand layout.

  • Dragging cards (Beta).

Some differences:

  • This version is more object-oriented. This means that I've separated some functions from the core script into their own classes.

  • I've cleansed some stuff that was probably for future updates on the original plugin such as some variables that weren't ever used.

  • Added the option to allow the card, when hovered, to appear above other cards in the rendering or maintain its original ZIndex.

Future updates

  • Add card activation logic, either by click (with confirmation) or by dragging and dropping to a region of the screen defined by the developer, allowing any function to be called for activation.

  • Make more fine adjustments to the layout to make it increasingly customizable, even though it’s already at an optimal point.

  • Document the original code comments that are in English and translate them into Portuguese in a separate Readme file.

Português

Eu refiz o plugin do repositório do cyanglaz mas usando Godot .NET no lugar.

Esse plugin foi desenvolvido pra desenvolvedores do Godot .NET que não querem misturar scripts C# com GDScript nos seus projetos.

Estado atual: O mesmo que o original do cyanglaz. Eu pretendo adicionar mais funcionalidades, já que também vai servir pra um projeto de jogo que estou trabalhando.

Funcionalidades:

  • Um node Control para mostrar as cartas num layout de mão de TCG.

  • Pode ver o layout diretamente pelo editor.

  • Qualquer alteração que fizer nas variáveis do editor mostra no layout em tempo real.

  • Animação de hover configurável.

  • Solução que não precisa de Nodes para prover informação de layouts para a mão.

  • Possibilidade de arrastar as cartas (beta)

Algumas diferenças:

  • Essa versão está um pouco mais orientada a objeto. Isso significa que eu separei um pouco as classes do script principal em suas próprias classes.

  • Limpei algumas coisas que, provavelmente, eram feitas para updates futuros do plugin original como, por exemplo, algumas variáveis que não estavam sendo usadas.

  • Adicionei a opção de permitir que a carta, quando em hover, ficar por cima das outras cartas na renderização ou manter seu ZIndex original.

Futuros updates

  • Adicionar lógica de ativação de carta, seja no clique (com confirmação) ou ao arrastar e jogar para uma região da tela definida pelo desenvolvedor, de forma que seja possível chamar qualquer função para realizar a ativação.

  • Criar mais ajustes finos no layout para ficar cada vez mais personalizável, apesar de já estar num ponto ótimo.

  • Documentar os comentários originais do código que estão em inglês e deixá-los em português num Readme separado.

  • Futuros updates agora ficam nas notas de releases.

I've remade the cyanglaz plugin with .NET and added some functionalities.

This tool allows you to display objects as cards in a TCG. Currently have:
- Control node for laying out cards in a hand layout.
- View hand layout directly in the editor. Any update on the variables reflect on the cards position in real time.
- Configurable hover animation.
- Node-free solution for providing layout information for a hand layout.
- Dragging cards.
- Draw cards from a deck.
- Rearrange cards while dragging them around.
- Activate card effect (with click or dragging them to a Playable Area)
-

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
TCG Layout (.NET only) icon image
Jaete
TCG Layout (.NET only)

I've remade the cyanglaz plugin with .NET and added some functionalities.This tool allows you to display objects as cards in a TCG. Currently have:- Control node for laying out cards in a hand layout.- View hand layout directly in the editor. Any update on the variables reflect on the cards position in real time.- Configurable hover animation.- Node-free solution for providing layout information for a hand layout.- Dragging cards.- Draw cards from a deck.- Rearrange cards while dragging them around.- Activate card effect (with click or dragging them to a Playable Area)-

Supported Engine Version
4.0
Version String
v1.0
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers