Undersky Aid 2010!

FjantIncFjantInc Member Posts: 115
edited November -1 in Working with GS (Mac)
Since I'll most certainly have lots of questions I've decided to try and keep them all in the same thread.

Alright, my first try is a puzzle game based on an old summer job I had years ago. It was so boring so I tried making a game out of it while I worked.

It's about packing bread and building combos.

RIght now I'm just working with placeholders, to get a basic game play mechanic up and running.

I want to spawn 1 baguette every X seconds. Ideally they would be driven by physics (colliding with eachother and rotating accordingly, whilst rotating on a cooler table), but if it turns out it's a limitation of GS, then I can skip that.

However, for now I'm having problem with the spawned baguettes.

1. After being spawned and I drag the actor, there are no actors left in the place where it should be. I'm guessing that's because I'm dragging all of the actors at the same time, so if anyone can help there, it would be appreciated.

2. If I try to drag the actors again, or drag another, newly spawned, actor, the other actor on the game area disappears. It doesn't matter if it's in the same place as it spawned, or if I have dragged it away, it's always the other actor that disappears. I don't know if it's because the other actor re-positions itself at the mouse or something...

Any help would be much appreciated!

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    Yes, they are all most likely at the same X and Y positions.

    If you are using the 'When Mouse is Down' condition in your dragging Rule, change that to "Touch is Pressed".

    'Mouse is Down' is global, and all Actors will respond to that. Touch is pressed is limited to one Actor at a time (unless they are on top of each other..)
  • FjantIncFjantInc Member Posts: 115
    Aha, thanks! Didn't know it worked for the mouse =)
Sign In or Register to comment.