Git Product home page Git Product logo

godotutils's People

Contributors

rhardouin avatar valkyrienyanko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

godotutils's Issues

Where should `banned_players.json` be stored?

Context: I am working on developing a game server and I would like to know where to read / write to banned_players.json.

Should it be stored in
A) Local AppData
B) Roaming AppData
C) Local Game Folder
D) Somewhere else

Removing the need for Packet opcodes

Several people have recommended that I should replace all opcode enums with bytes.

The Packet classes get mapped to bytes.

I have tried to do this twice now and I've failed both times.

Why do this? To remove all ugly generics from ENetServer and ENetClient. Also this will simplify server.Send() as it will no longer require you to pass in a opcode as the packet class itself would act as the opcode. Also you would no longer have to worry about defining a opcode for each packet class you make.

If anyone can help me figure this out, it would be greatly appreciated!

Opening the console does not automatically scroll down to the bottom of it

Relevant Code

https://github.com/Valks-Games/GodotUtils/blob/fcabde81b7b68d73e8fb76185212a01b0d2567c4/Console/UIConsole.cs#L97

How to Reproduce

Spam console with text until the console scroll on the right becomes visible. In other words spam enough text to the console until it goes off screen. Then make sure you are scrolled to the very top of the console. Then re-open the console and you will notice that the console does not scroll to the bottom.

`UILabeled` class names are way too long

For example

var color = new UILabeledColorPickerButton(new LabeledColorPickerButtonOptions()); // <------
color.ValueChanged += v => Logger.Log(v);
AddChild(color);

Another example

var optionButton = new UILabeledOptionButton(new LabeledOptionButtonOptions("SomeTest", "AnotherOption")); // <------

optionButton.ValueChanged += (item) =>
{
	Logger.Log(item);
};

AddChild(optionButton);

There has to be a better approach to this.

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.