Particle Question!

FrontRoomGamesFrontRoomGames Member Posts: 116
edited November -1 in Working with GS (Mac)
So im working on a maze game and my charcatare is a mouse and since the mazes will be big when someone needs to back track i want the mouse to leave a trail that looks like mouse dropping..

but i cant figure out how to make the trails particles where they dont move and it spawns one every so many seconds. is this possible?

Comments

  • There may be a way to do this with particles (and just have a very long particle lifetime) but you may be better off having a timer that spawns a dropping actor every x-many seconds.

    Hope this helps!
  • FrontRoomGamesFrontRoomGames Member Posts: 116
    there wont be hundres it will be like every 5-10 seconds it will drop one maybe 20 a scene at onces IF that
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you may want to also play around with a rule in the dropping that says if it overlaps with another dropping that it destroys itself. This way you won't get a huge pile of droppings. That would be pretty smelly. Oh add it would cause there to be a bunch of unnecessary actors if the player decides to have the mouse stay still for awhile. Just a thought.
  • dmilinovichiiidmilinovichiii Member Posts: 620
    In the main actor
    set a timer to every 5 seconds
    in timer spawn actor (whatever you want to drop) at self.x and self.y

    Make sure the actor you are using for the dropped particles is set to not move.
Sign In or Register to comment.