update to 4.0
This commit is contained in:
parent
77239a0e96
commit
3d675c66ae
5 changed files with 1138 additions and 1126 deletions
|
@ -8,6 +8,10 @@ red = pyray.get_color(0xFF0000FF)
|
|||
green = pyray.get_color(0x00FF00FF)
|
||||
blue = pyray.get_color(0x0000FFFF)
|
||||
|
||||
red = pyray.Color(255, 0, 0)
|
||||
print(red.r)
|
||||
red.a=255
|
||||
|
||||
while not pyray.window_should_close():
|
||||
pyray.begin_drawing()
|
||||
pyray.clear_background(white)
|
||||
|
|
Reference in a new issue