when CE is made passable - it blocks enemies

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

Moderators: Zomis, Flumminator

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

when CE is made passable - it blocks enemies

Post by Lee Brewer » Wed Dec 02, 2015 10:17 pm

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. :(

WWII was fought against fascism, communism, and socialism - so what happened? "Sorry" to vets just does not cover it.

User avatar
Site Admin
Posts: 3267
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany

Re: when CE is made passable - it blocks enemies

Post by Holger » Thu Dec 03, 2015 8:39 am

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