Tiled Map Collision Problem

Get help using Construct 2

Post » Sun Jul 01, 2012 9:22 pm

Hiya! Happy Sunday!

I am doing a lot of proof of concepts for getting ready to make a game.

I used TILED to create a project.

Now I have a little man on the layout that runs around using the 8Key method.

How can I make him stop moving when he say hits a wall, but move when on say dirt.

https://docs.google.com/open?id=0B5puA55FudSeYktaMXlzVVltRlE

Thanks

SparkDad
B
12
S
1
G
1
Posts: 50
Reputation: 1,228

Post » Sun Jul 01, 2012 9:51 pm

ok this need alot of works 0.0 i liked the way you made the game :) good luck see here is the way.. first of all try to make a collision polygon in all these frames, and put all the frames you want in the end of animation and do events like this :
event:
    condition1:player collision with tiled
    condition2:system : compare two values-> player.animationframe >= the first frame that has a solid.
   action: anything you want for example destroy..

you can make it with easier way take all solid frames as a new object , its ok you can make 100 object it will be better than 1 object with 100 frames
B
48
S
15
G
6
Posts: 795
Reputation: 12,035


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, armaldio, plinkie and 23 guests