Coder Social home page Coder Social logo

ivangoncharuk / drawntomagic Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 10.57 MB

Drawn to Magic is an open-world RPG that lets you cast spells with gestures. Explore a rich and dynamic world full of secrets, quests, and characters. Customize your character with items, skills, and perks. Build your own home or base and craft your own gear.

GDScript 98.61% GAP 1.39%
crafting-game gdscript gesture-recognition godot-game godot4 rpg-game spellcasting

drawntomagic's People

Contributors

ivangoncharuk avatar pyxus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pyxus

drawntomagic's Issues

Glyph Spell Recognition

Implement player glyph recognition for spell casting

Description:

Implement a feature where the player would draw a glyph on the screen, and that glyph would correspond to a spell that the player would cast. The game should recognize a glyph that the player has drawn and determine if the spell associated with the glyph is something the player has unlocked or researched. If the spell is available, the game should cast that spell.

Requirements:

  1. The game should allow the player to draw a glyph on the screen using input devices such as a mouse or a touch screen.

  2. The game should have a system to recognize the glyph drawn by the player and determine which spell is associated with the glyph.

  3. The game should check if the player has unlocked or researched the spell before allowing them to cast it.

  4. If the spell is available, the game should cast the spell.

Deliverables:

Method:

Utilize the $Q multi-stroke recognizer algorithm to recognize more complex glyphs that require more than one stroke. This algorithm is optimized for low-powered mobiles.

Improve glyph recognition

Improve the glyph recognition feature #3 and add new features

Description

The glyph recognition feature is a core mechanic of the game that allows the player to draw symbols on the screen and trigger different effects. However, the current implementation has some limitations and bugs that need to be fixed. Additionally, some new features are need to be added to enhance the gameplay and the user experience.

Deliverables:

Features:

  • Implement a way to save the input data to a file for the algorithm to use for preciseness. This will help to improve the accuracy and consistency of the glyph recognition.
  • Implement a way for the player to save unique glyphs that they create or discover in the game.
  • Implement a way for the editor to create glyph data to train the model. This will enable the developers to add new glyphs to the game without having to hard-code them or rely on external sources.
  • Implement a way to choose between one, two, and three stroke gestures. This will increase the variety and complexity of the glyphs and allow for different levels of difficulty and challenge.

Update drawing scene to limit drawing within borders

Currently, the player is able to draw all over the scene even when the drawing rectangle is resized. This can lead to unintended behavior and a confusing user experience.

The drawing scene should be updated so that the player can only draw within the borders of the drawing rectangle.

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.