[A83] Re: need help with this code:
[Prev][Next][Index][Thread]
[A83] Re: need help with this code:
You have to get the offset of the tile where the perso is going to walk and
check it (ex you have to put all the walkable floor at first and only make a
cp check, what i mean is if you have 6 sprite of floor, you will have a cp 5
to do an if that over do not advence your perso)
You can check in my Zcasino program if you want to see a real exemple.
I hope that will help you.
Paxl
On Thursday 05 April 2001 02:43, aled hansson wrote:
> I would be real glad if anyone could help me out with this code. It's a
> scrolling tilemap with 12x12 tiles taken from void. I want the code to
> detect when there is a tile where you can't walk at like in an rpg. I want
> to have a character at the center of the screen (like in tyron) and when he
> moves he should get pushed back when he hits a wall for an example. Please
> help me.
>
> the tilemap can be found here: http://void.calc.org/programming/tilemap.zip
>
> /thanks
> Alex
>
>
> _________________________________________________________
> FreeBox - The World's Finest Web Mail Solution
> Get your own FREE email account at http://www.freebox.com
References: