Hello. I am having a problem walking on top of RectCells that have the 
collision booleans set on all sides. The player moves across the tile but 
then stops when colliding with the next tile, even though they are both 
next to each other. I can avoid this problem by only setting the "top" 
property and then the player can walk normally. 

My question is, can these properties be set at runtime? I noticed that the 
collisions occur even if the boolean properties are set to "no". So it 
appears that having the property, regardless of its value causes a 
collision.

I need to be able to change the sides that can collide during runtime. How 
is this possible? I looked at the get() method and I can change the 
properties that way, but if I set the property to "no" or "None:, the 
collision still occurs. So how do I add or remove tile properties?

The project can viewed here: https://github.com/Art9681/2D_Terrain_Game

I have disabled automatic terrain generation for testing. If you want to 
reenable it just uncomment line 19 in main.py

Run main.py to launch it. The project requires the python noise library 
located here: https://pypi.python.org/pypi/noise/

When you click on a tile, it gets changed to an "air" tile. I need to 
reconfigure colliders around the tiles that are next to air tiles at run 
time. Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to