FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  


FIFE 0.4.0 has been released on 15th of January, 2017!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - duke

Pages: [1]
Hello everybody!

It's just a few weeks I have started playing around with FIFE engine and first of all I would like to thank all the community for such a nice job!

At the moment, I am trying to expand the demo "rio de hola" in order to get familiar with FIFE. The game I am building prevents the player to move in some regions of the map until he completes some missions. Basically I have some regions that are "fenced" and their entrance can be unlocked as the game proceeds. To obtain this I change the position in the map of some instances from the Python code (instance.setLocation(coordinate)) in order to open passages and let the player in.

The problem I am experiencing is that sometimes, even if the instances are visually moved where they should, the agent is still prevented to walk where those instances were placed, as they were still there, so that there is no way for the player to move in the "unlocked" region of the map. I also tried different ways to open such passages, for example setting instances to non-blocking or directly removing them, but this behavior still appears.

This problem does not happen always and when it does it can appear the first time an instance is moved or after several times instances are moved around.

Is there something that I am missing from the code standpoint or should this behavior never happen?

Thank you for the help!

Pages: [1]