Skip to content

An extendable calculator in Godot Engine that can be used with mouse or by typing.

License

Notifications You must be signed in to change notification settings

boukew99/gui_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GUI Calculator icon

An extendable calculator in Godot Engine that can be used with mouse or by typing.

loc size

screenshot

Usage

All the buttons (except evaluation button) have a ButtonGroup. The ButtonGroup is used to get the character of the pressed button. This is added to the LineEdit string, which you can also alter by typing. This string is evaluated by the Expression Class, which supports most functions GDscript supports. Thus more inputs can be added to the GUI, which already are accesible by typing (ex. sin() ). But the current GUI consist out of the basic numbers operators which don't require brackets.

Editing GUI

Edit it by setting the text of a button to something evaluateable. Or add a new button with the same ButtonGroup (ex. by duplicating).

License

MIT

Contributing

Leave a issue if there is one.

About

An extendable calculator in Godot Engine that can be used with mouse or by typing.

Topics

Resources

License

Stars

Watchers

Forks