Background tile value?

Game Editor comments and discussion.

Background tile value?

Postby akhad » Tue Jan 16, 2007 2:10 pm

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.
User avatar
akhad
 
Posts: 43
Joined: Tue Jan 16, 2007 1:59 pm
Location: U.K
Score: 0 Give a positive score

Postby Fuzzy » Tue Jan 16, 2007 2:16 pm

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.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron