Coder Social home page Coder Social logo

braindeadbzh / godot_card_engine Goto Github PK

View Code? Open in Web Editor NEW
335.0 29.0 45.0 1.29 MB

A plugin for Godot to create card based games

Home Page: https://www.braindead.bzh/

License: MIT License

GDScript 98.61% Smarty 1.39%
godot godot-engine godot-plugin godot-addon card-game

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)
  • Animation: a sequence of values linked together by transition, defined by a duration and an easing curve
  • Effect: modifiers on cards data that can be applied and cancelled at anytime

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
  • Container transition animation (layouting, card added, card removed)
  • Container event animation (idle, un/focused, de/activated)
  • Animation editor
  • Drag and drop support
  • Card effects
  • Filters on DropArea
  • Saving store interface
  • Container to container drag and drop
  • Container to card drag and drop
  • Board widget

What is not implemented

  • Manual sorting
  • Drop placeholder
  • Add animation loop when card is focused or active
  • More modifiers to come
  • 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
  • cards: contains the public code for your custom cards
  • effects: contains the code for the effects

Documentation

Open page

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.