Skip to content

SetColor not working as demonstrated #73

@Schmel924

Description

@Schmel924

In lecture during presentation of pong-6 (fps update), new function was introduced:
love.graphics.setColor(0, 255/255, 0, 255/255)
In love2d this "new" color should persist between frames (or calls to love.draw function)
But in this example it seems each frame defaults back to white color, without explicitly calling love.graphics.setColor

I highly suspect push library is an actual reason behind this, especially line love.graphics.setColor(white, white, white) which is called during "push:finish" function, which is actually called with push:apply('end')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions