matriax
here is for you .. with rooftop ...
http://gigatron3k.free.fr/html5/C2/FX/2dcity.rar
Look carefully params and events and invisible block for collision ..etc
Thanks! Now i understand how the shader works much better after some tests <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> .
I can create a sprite called Building, this sprite is a collision & Z-Face(Rooftop). Using the cointainer option creates 2 sprites = One with X-Face and other with Y-Faces. And in theory with only one sprite(The collision-rooftop) i can set in every position and on start layout all will be set, in theory! No? <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz"> .
This will be using 3 different sprites, but wonder if with only one sprite i can do something in events to get differrent frames of the sprite and for each one set the X/Y face automatically, mmm...
One suggestion, Now we have Z,X,Y faces. Z for Top, X for Left-Right and Y for Up-Down. Will be possible setup all the faces? I mean, Now you can set X-Faces, that shows the left and right face the same sprite. Is possible add the variables for all the faces? = Up/Left/Right/Up/Down ? .
---
Other thing, after play with the Cubeface demo, i realized that the cube of bricks and how looks is perfect for a Wolfeinstein/Doom game. I played with all the variables and the Angle is like a zoom.
So, maybe i'm missing something, but with this, is not possible do a Wolf/Doom game? Or for that we will need any other variable? :O