Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : PShape() - significant performance issues

$
0
0
The code above is a class, not the main method (notice the lack of setup() and draw()). 

I've called the createShape method in setup() of the main method and pass the PShape objects into the class. However, when I apply kick.scale(1.1); for example, it moves the PShape across the screen. I've googled high and low but results aren't forthcoming; how do you apply the PShape scale method without moving the PShape?

Viewing all articles
Browse latest Browse all 1768

Trending Articles