Code Monkey home page Code Monkey logo

ursina.more.ui's Introduction

Ursina More UI

More UI for Ursina Engine.

They are update very often.

Installation

git clone https://github.com/Creator754915/Ursina.More.UI.git

Documentation

Messagebox(Entity)

.messagebox_name = 'My Messagebox'

.text = 'hello world!'

.scale = (.8, .5)

.color = color.azure

.text_origin = (-.36, .18)

RadioButton(Button)

.start_state = False

.state = False

.radius = .5

.scale = (.25, .25)

.color = color.black33

.origin_z = 0

ClickPanel(Button)

.scale = (0.3, 0.5)

.radius = 0.01

.color = color.black66

.visible = False

.position = (999, 999)

.key_control = True #Active control + key_bind

.key_bind = "right mouse"

.button_text = "Button1"

.button2_text = "Button2"

.button3_text = "Button3"

.button4_text = "Button4"

.button5_text =" Button5"

.button6_text = "Button6"

**kwargs:

Examples

MessageBox

from ursina import *
from Ursina.More.UI import MessageBox

app = Ursina()
messagebox = MessageBox(messagebox_name='My Messagebox', text='hello world!', scale=(.8, .5), color=color.azure,
                        text_origin=(-.36, .18))
messagebox.tooltip = Tooltip("MessageBox")

app.run()

RadioButton

from ursina import *
from Ursina.More.UI import RadioButton
    
app = Ursina()

radiobutton = RadioButton(color=color.black33, scale=(.25, .25))

app.run()

CheckBox

from ursina import *
from Ursina.More.UI import CheckBox
    
app = Ursina()

checkbox = CheckBox(start_value=True, color=color.red, scale=.2)

app.run()

Layout

from ursina import *
from Ursina.More.UI import Layout
    
app = Ursina()

layout = Layout(side="LEFT", color=color.gray)

app.run()

Background

from ursina import *
from Ursina.More.UI import Background
app = Ursina()

Background(texture='sky_sunset')

app.run()

ClickPanel

from ursina import *
from Ursina.More.UI import ClickPanel
app = Ursina()

ClickPanel(key_control=False, key_bind="right mouse")

app.run()

ursina.more.ui's People

Contributors

creator754915 avatar

Stargazers

 avatar  avatar ✦ ⚝ Ꮆ ౿ 𝓃 𝓮 𝔰 ɨ 𝕤  ⚝ ✦ avatar

Watchers

 avatar

ursina.more.ui's Issues

Typo on reamde.md

You should write "This project is updated very often" instead of They are update very often.

It will give it a bit more "PROFESSIONAL look

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.