Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to treat an ofImage as an ofRectangle to use intersects() method

$
0
0

@FozziWig1998 wrote:

Hi!

I am making this maze game where my players and enemies are ofImages. I was told that instead of making my own collision method, I could use the intersects() method that ofRectangles have (since ofImages are technically ofRectangles)s. However, I have had no luck in figuring out how to do this, does anyone know?

thanks!

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles