Creating blocker using color

Get help using Construct 2

Post » Fri Dec 21, 2012 5:47 pm

Hi friends, am new to scirra, in my game, am having a background with red and blue, if my object moves on red, object can move freely. if on blue, object should not move into blue areas(means blue should act as blocker and red as path way).. I know I can achieve it with an solid object but is this possible by identifying color and making object not to move on it ... please help me if so. Thanks in advance.javaaddict2012-12-21 17:49:39
B
4
Posts: 10
Reputation: 495

Post » Fri Dec 21, 2012 5:52 pm

Well yes you can. However you would be needing to manually determine movement controls yourself. You can use on collision and then set your movement back a little so that you can't move on blue or a sensor sprite to just stop moving forward.

Unless your doing somekind of inversion of colour movement I see this as just complicating your work.
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Fri Dec 21, 2012 6:05 pm

I cant get it clearly... jayderyu... no options available for this, so how to control it manually ..
B
4
Posts: 10
Reputation: 495


Return to How do I....?

Who is online

Users browsing this forum: HeinRich, Yahoo [Bot], Zakeru and 25 guests