Code Monkey home page Code Monkey logo

fit-size's Introduction

FitSize for Godot 3.x

The container control of Godot uses the size of the child nodes to arrange, but does not use the scale attribute. This node will use the scale and size attributes to calculate the actual size of the child nodes, and then automatically set min_size to arrange.

Installation

  • Copy addons/fit-size into your project (final path should be res://addons/fit-size).

  • In the Godot Editor, go to Project Settings > Plugins and enable the FitSize plugin.

Usage

To be fit in size, a Control node must be child of a FitSize.

  1. From the editor, press Add a new node, and select FitSize

Note: to add the Container from script, you must use this code:

var FitSize = preload("res://addons/fit-size/main.gd")

add_child(FitSize.new())
  1. Add any Control node as a child of FitSize.

  2. You can set the size of child or the scale of child, then the min_size of FitSize will be change.

License

fit-size's People

Contributors

vmjcv avatar

Watchers

 avatar

fit-size's Issues

Get decryption key of Godot game

Hey there,

This issue is unrelated to this repo, but I don't see any way to contact you.
I want to decompile a game's GDScript files, and they're encrypted, sadly.

I saw your post here (which got deleted), and I thought to contact you.
image

I'd like to know the steps required to obtain the decryption key on IDA.
Thanks.

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.