examples

Dear

is there any examples for this two situation :-

a box that player move it when Collision with it in 4 direction …

example with 4 walls and Collision with them stop player …

another question if i will use many instance of the same object how can i apply behavior to some of the instance not all of them ??? like touching one of them only to do something …

Thanks again …

Just use the conditions. Let’s say that you have three enemies (of the same object) on the scene. If you put :

The X position of Enemy is > 400

as condition of an event, every actions of this event refering to Enemy will be applied only on the instance(s) of Enemy that fulfill(s) that condition.

See this page from the wiki (section “Object selection by events” : wiki.compilgames.net/doku.php/gd … s_concepts