Page 1 of 1

Background tile value?

PostPosted: Tue Jan 16, 2007 2:10 pm
by akhad
Hi, first visit here & a question. Is it possible to detect the value of a background tile as your actor is moving over it ? For example, if your spaceship is flying over a scrolling tiled background and you are shooting missiles, could you detect an enemy `gun turret` tile from a harmless grass/ground tile, enabling you to paste down a `destroyed gun turret` over the original tile ?
Hope that's clear.

PostPosted: Tue Jan 16, 2007 2:16 pm
by Fuzzy
yes, that is possible. You would use a collision event against the gun actor(tile).

Look at the collision tutorial built into GE and imagine the one actor as the gun, and the other as your ship.