Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

How to run update() and draw() in keyPressed() event

$
0
0

@hydro, there's always multiple ways to approach a task

if you call your draw functions in keyPressed, you would achieve the same effect (as long as background clearing is disabled),


Viewing all articles
Browse latest Browse all 40524

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>