Skip to content

Unresolved reference Color, Pycharm issue #88

Closed
@sDos280

Description

@sDos280

while trying to use the Quickstart example in pycharm I Noticed that the IDE says that there is an error "unresolved reference 'WHITE'" and the error "unresolved reference 'VIOLET'". but when I tried to run the example it work perfectly. Is there a reason for this error?

example:

from pyray import *
init_window(800, 450, "Hello")
while not window_should_close():
    begin_drawing()
    clear_background(WHITE)
    draw_text("Hello world", 190, 200, 20, VIOLET)
    end_drawing()
close_window()

error image:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions