semaphore and citizens

0 favourites
  • 5 posts
From the Asset Store
Electronic music for games, movies and much more . All songs are in wav. format
  • I can perform as an interaction between a semaphore and citizens

    <img src="http://s2.subirimagenes.com/imagen/previo/thump_8209113sin-ttulo.png" border="0" />

  • ...

  • I think you need to provide a bit more information if you want people to understand what you're asking.

    Whiteclaws: Not trying to be rude or anything, but your post is pretty pointless in my opinion.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That's the perfect description of this post Nimtrix :D !

  • You can accomplish it quite easily with variables, the bullet object and animation.

    Create a traffic light sprite, three frames for each light.

    Create your pedestrian sprites, add the bullet behaviour, initial speed set to 0.

    Simple bool variable, when the traffic light sprite is green, the bool becomes true. Separate event, conditional of bool being true: Results in pedestrians having set speed to 30, 300 etc. whatever feels good.

    You could make it more complicated by having a numeric variable, each light represented by a number, and have a few pedestrians cross on amber.

    The real confusion is why there's a zebra crossing and traffic lights!

    Hope that helps, traffic lights can actually get very complicated from a programming perspective if you want to do them properly (With a real logic system controlling a city for example.

    Just thinking about it brings back memories of Flowol... Ow.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)