Search found 3 matches

by blinmakerivan
Thu Jul 23, 2020 2:21 pm
Forum: Ports
Topic: please explain these lines of code
Replies: 5
Views: 51889

Re: please explain these lines of code

oh ok thanks
by blinmakerivan
Wed Jul 22, 2020 2:55 pm
Forum: Ports
Topic: please explain these lines of code
Replies: 5
Views: 51889

Re: please explain these lines of code

I understand this. but shouldn't there be a number for the y value after the x value
pls help
by blinmakerivan
Tue Jul 21, 2020 4:14 pm
Forum: Ports
Topic: please explain these lines of code
Replies: 5
Views: 51889

please explain these lines of code

i am taking the cs50 game development course and came across the following code for one project. i believe it is to print a flipped sprite function Pipe:render() love.graphics.draw(PIPE_IMAGE, self.x, (self.orientation == 'top' and self.y + PIPE_HEIGHT or self.y), 0, 1, self.orientation == 'top' and...