Log In  

Cart #numegibas-0 | 2022-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#109853 2022-04-07 15:01

One thing I noticed immediately is that the code where you're printing the message is not in your _draw() function. Since _draw() is clearing the screen and drawing other stuff every frame, even if your print is working, it'll be overwritten by the stuff happening in _draw(), so you'd never see it. When I move that print statement into _draw(), the code works fine - I see the message up until h gets to be 23, at which point it doesn't print.

P#109857 2022-04-07 15:18

Ok thank you

P#109859 2022-04-07 16:03

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 00:20:01 | 0.009s | Q:13