when CE is made passable - it blocks enemies

Got a cool idea that should be in R'n'D? Let's hear it!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Lee Brewer
Posts: 78
Joined: Tue Jul 25, 2006 2:53 am

when CE is made passable - it blocks enemies

Post by Lee Brewer »

How hard would it be to make it so that all objects/enemies could pass over a CE when the CE's passable option is selected? There are instances I would like this to happen. The best I have been able to do is to make it so when the CE is touched by something, the CE is changed into itself with a copy of the object that hit it on the opposite side. It makes the object skip over the location of the CE rather than it looking as if it passed over it. :(
Lee

WWII was fought against fascism, communism, and socialism - so what happened? "Sorry" to vets just does not cover it.
User avatar
Holger
Site Admin
Posts: 4073
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: when CE is made passable - it blocks enemies

Post by Holger »

Changing the game engine to allow objects or enemies to pass over custom elements means changing the game engine to support more than one element on the same tile. This would be a fundamental change of the game engine logic which won't happen anytime soon, as it would effectively require a complete rewrite of the game engine.

Instead, you already described how to practically solve this using CEs. Making this "look as if it passed over it" instead of "skip over the location of the CE" is just a matter of clever use of CEs and (especially) graphics and animations.

Have a look at the level and artwork sets of Juergen Bonhagen and Alan Bond for lots of examples on how to do things like that. :-)
Post Reply