Giter Club home page Giter Club logo

goact's Introduction

What is Goact?

Goact is a GDScript derivative of Roblox's Roact, which itself is a derivative of Facebook's React library. This framework allows for a compositional, state based approach to game development that's useful for designing complex applications, traditionally well suited for UI/frontend development.

This is nowhere near complete, mostly just a minimum viable product that still needs some work to get it adapted to the Godot ecosystem. Plus there are a lot of react/roact features that are still missing (like portals, fragments, hooks, etc.)

See:

Godot Version 4.x.x

How to add to your project:

  • Copy the "goact" folder in "addons" into your project
  • Close and reopen if your editor is already open
  • Go to your project settings -> plugins and enable Goact
  • Might need to restart again, Godot plugins seemed a bit finicky for me.

Examples

  • In this repo there's a project that uses some components I made as examples of what Goact looks like.
  • It essentially is a button that toggles an FPS counter, and some UX things like a selection indicator that tweens in/out when you hover on the button.
8a7164e32fcaaa7ccaab89fc055207ce.mp4

goact's People

Contributors

garnold24 avatar

Stargazers

ultrabug avatar Alex Cornide Huber avatar mirad avatar

Watchers

 avatar

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.