Code Monkey home page Code Monkey logo

godot-4-mii-classes's Introduction

Godot-4-Mii-Classes

This is a work in progress C++ Godot Module that aims to make working with Miis much easier. Currently, it adds a custom class, MiiDataResource, to Godot 4 (Currently tested on 4.2.x), which extends from Resource.

In the future, I also plan to add a custom 3D model class, which will take the aforementioned resource as an input, and accordingly render an accurate Mii. I also might add something akin for getting a 2D portrait of the Mii.

Functions

LoadFromBuffer(buffer: PackedByteArray)

(Incomplete, non-working) This takes a PackedByteArray, buffer, of Mii data and writes all the data of it to the variables of the MiiDataResource it is called on. Currently, this expects the most recent revision of the Mii data spec (used by the Wii U and Switch), but future support is planned for older revisions.

WriteToBuffer()

(Not implemented yet) Writes all the variables of the MiiDataResource instance to a valid mii data buffer, and returns it as a PackedByteArray.

To-do/roadmap

  • Add To-do list

MiiDataResource:

  • Functions:

    • LoadBuffer
    • WriteToBuffer
    • "Generate Random Mii" type function
  • Clamp variables to valid ranges

    • Meta
    • General
    • Face Misc.
    • Hair
    • Eyes
    • Eyebrows
    • Nose
    • Mouth
    • Facial Hair
    • Glasses
    • Mole
  • Implement variables:

    • Meta
    • General
    • Face Misc.
    • Hair
    • Eyes
    • Eyebrows
    • Nose
    • Mouth
    • Facial Hair
    • Glasses
    • Mole
  • Improve in-engine docs

    MiiModel

  • Create

    MiiPortrait

  • Create

Thanks to:

godot-4-mii-classes's People

Contributors

c08oprkiua avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

godot-4-mii-classes's Issues

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.