GDevelop C++ Platform
Platform for developing native games based on OpenGL and SFML with GDevelop
 All Classes Namespaces Files Functions Variables Modules Pages
Classes | Functions
Standard Sprite Object extension

Classes

class  SpriteExtension
 Internal built-in extension providing SpriteObject objects. More...
 

Functions

bool GD_API CheckCollision (const RuntimeSpriteObject *const objet1, const RuntimeSpriteObject *const objet2)
 Pixel perfect collision test between two sprite objects Alpha transparency, rotation and zooms are taken into account. More...
 

Detailed Description

Function Documentation

bool GD_API CheckCollision ( const RuntimeSpriteObject *const  objet1,
const RuntimeSpriteObject *const  objet2 
)

Pixel perfect collision test between two sprite objects Alpha transparency, rotation and zooms are taken into account.

Returns
true if the sprite are overlapping

Check for collision between two sprite objects