Help :(
peachpellen
Member Posts: 977
I'm completely new to GS but normally quite good with this kind of thing; the problem I am having is that I've followed this tutorial (http://gamesalad.com/wiki/how_tos:count_actors_in_the_scene)
4 or 5 times now.
It just isn't working for me and I can't tell why. The text displays the whole time the actor/s are on the screen.
Any help appreciated; it's SO frustrating and as I am currently quitting smoking very, VERY bad timing >.<'
Why wont it work? What am I doing wrong?
4 or 5 times now.
It just isn't working for me and I can't tell why. The text displays the whole time the actor/s are on the screen.
Any help appreciated; it's SO frustrating and as I am currently quitting smoking very, VERY bad timing >.<'
Why wont it work? What am I doing wrong?
Comments
Add another call count.
In the actor have a every 1 second
> Change attribute
> game.time to game.time +1
And in an actor Add;
>Change attribute
> game.count to game.count +1
The add 2 more actors and in them both add a 'display text'.
Then in one add,
game.time
In the other,
game.count
That should do it
I have to go to school though now follow me on twitter and ill tweet if your stuck.
www.twiter.com/ideveloperz
The idea is this - multiple bugs on screen; user kills all bugs, goes to next scene.
I don't understand the time integer, but hope that what I'm saying makes sense and that I just wasn't clear before.
I'll add you on twitter in a moment, just posting this here as I'm hoping to clarify in more than 140 chars
Thank you
I created the integer, set it at 0 and named it "all dead go next level" - it made sense as I was following your advice and wouldn't get confused halfway through and risk calling it the wrong thing.
I went into the bug actor and set it so that "when touch is pressed - change attribute game.all dead go next level - game.all dead go next level+1"
Then the standard thing of when the touch is released to destroy it.
Then I created my other actor - calling it "next scene" - and set it to;
"When game.all dead go next level = 4 - change scene - go to next scene"
Still not working; what am I doing wrong? I'm sure it is simple but I am completely new to GS and so this kind of thing isn't intuitive for me yet.
Is it because I'm destroying the enemy actors?
(4 is because there are 4 bugs in my example.)
PS - I'm in Australia, normally I'm nocturnal, however quitting smoking has made my hours more normal - or opposite, give or take a few hours, to your own.
I'm off to bed in a few, but will check in when I'm up again.
Thanks very much again - sorry I just don't seem to be getting it >.<'
Thanks Chaser.
Much appreciated