Coder Social home page Coder Social logo

turtletaco / godot_card_engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from braindeadbzh/godot_card_engine

0.0 1.0 0.0 997 KB

A plugin for Godot to create card based games

Home Page: https://www.braindead.bzh/page/cardengine-doc

License: MIT License

GDScript 98.06% Smarty 1.94%

godot_card_engine's Introduction

CardEngine for Godot Engine

Currently under development, do not expect it to work.

Everything is work in progress.

Glossary

  • Card: card data with id, name, categories, values and texts
  • Database: persistent card data storage
  • Container: UI element to display cards in a given layout using a card visual
  • Store: in memory card data storage (deck, pile, hand)

What is implemented

  • Creating, modifying and deleting databases
  • Creating, modifying and deleting cards
  • Creating, modifying and deleting containers
  • Containers layouting as a grid or along a path
  • Fine tuning containers layout with linear/symmetric interpolation or random position, scale and rotation
  • Basic card visualization

What is not implemented

  • Containers animation
  • Containers event handling
  • More advanced card visualization
  • Other features to be defined...

Important folders

  • _private: contains the generated code and data file, none of this file should be edited manually
  • addons/cardengine: contains the code for the in editor plugin and for the core elements
  • containers: contains the public code for your custom containers

How to use the UI

Locating the UI

The CardEngine UI can be accessed at the bottom of the Godot Engine window.

The Databases tab

You can use the Databases tab to manage the databases. Double clicking an item in the list allows to edit the database's name. Click "Edit database" button to edit or delete existing cards.

The Cards tab

You can use the Cards tab to manage the cards. The "Card ID" field with the "Save to" allow you to add/edit a card in selected database. The "Card ID" field with the "Load from" allow you to search and display a specific card in the selected database. Each list allows you to manage the corresponding data, Categories, Values and Texts. Double-clicking an item in a list allows you to edit it.

The Containers tab

You can use the Containers tab to manage the containers. When creating a container it creates a scene inside the containers folder that use can add to your scenes to use it. Using the "Edit container" button allows you to modify the layout and other parameters. Double-clicking an item in the list allows you to change the container's name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.