I cannot get SPAWN ACTOR to work since 0.8.x updates?

JCFordJCFord Member Posts: 785
edited November -1 in Working with GS (Mac)
For some reason I have noticed that I cannot get SPAWN ACTOR to work since the 0.8.x update.

Even if I strip my rule right down or recreate it in a fresh document:

RULE ON ACTOR 1
When Actor receives event overlap or collides with ACTOR 2
Play sound - xxx.ogg
Spawn Actor - actor 3 in front of actor relative to actor

It plays the sound fine so the colision detection is working, but I cannot get it to yeald the SPAWN anymore, but this was working in GS 0.7.x

Also if I transpose the spawn above the sound then it doesn't spawn or play the sound?

Comments

  • ORBZORBZ Member Posts: 1,304
    I'm having the same problem.
  • JCFordJCFord Member Posts: 785
    Glad its not just me then possible 0.8.x bug?
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    JSFord, Is it just those 3 actors you have? And only those rules on actor 1? I can not reproduce it. Could you please post that project so we can take a look at that. Thanks.
  • JCFordJCFord Member Posts: 785
    Hey Codemonkey,

    I think I have found out what is causing the Spawn not to work, but I don't know why?

    I have a button on the main menu that when clicked begins to count the scene its on, so on click Change Atribute
    game.scene to game.scene+1

    And there is another attribute that counts the scenes and moves it to the right one.
    i.e. If game.scene = 1 then go to scene1 etc

    When I use this method the SPAWN does not work. But if I delete this and simply put a on click to to scene 1 it works?

    Where can I email you a stripped down version of the project for you to look at?
  • ORBZORBZ Member Posts: 1,304
    Hmmmm... I have a similar construct.

    I'll try that.
  • JCFordJCFord Member Posts: 785
    Yep stripped my project right back to the bare bones and for some reason the game.scene attribute is causing NO SPAWNS, but as soon as I use the basic change scene attribute instead it works.

    Now I could go through ALL my scenes and use the change scene manually, but I can see no reason why using the game.scene attribute to change the scene should stop the SPAWNING working? Possible bug?

    Ready to send you a test file Codemonkey - whats the email address?
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Just send to contact at gendaigames dot com. Or upload it to the website. We can access it from there.
  • JCFordJCFord Member Posts: 785
    HI codemonkey emailing you the file now.
  • ORBZORBZ Member Posts: 1,304
    This is a spawn test I made that illustrates the problem I'm having. Read the directions there:

    http://gamesalad.com/game/play/38539
  • JCFordJCFord Member Posts: 785
    HI Orbz

    same sort of issue i'm having, I have emailed codemonkey a file with a detailed description of the issue so hopefully we should hear back soon. Could it be 0.8.3 just round the corner.
  • jimsjims Member Posts: 2
    I am also having an issue with spawning since he recent updates, spawning with rules and timers is not working at all. I have created actors with just the spawn actor behaviour, and some will work and some will not. Seems to be every other one. Also actors set to "chase" an actor seem to have become less intelligent since the update.
  • ORBZORBZ Member Posts: 1,304
    Jims,

    are you changing scenes with the preserve scene checkbox checked?

    That's what the devs told me the problem was related to.
  • jimsjims Member Posts: 2
    I did have a change scene actor with preserve checkbox, but it wasn't used before the spawning should occur. I unchecked the box and still the actors do not spawn reliably.

    With timers and rules involved none work. When the actor simply has the spawn actor behaviour some work. With one spawn point it works and the same with two but the third one added doesn't. With the addition of a fourth one the third one starts working. A 5th makes no difference, however a 6th makes the fourth one work I kept going and found layers lso had an effect. With nine spawn points on one layer and one on the other 6 worked correctly, when all ten were on one layer only 5 worked
  • SparkyidrSparkyidr Member Posts: 2,033
    So is the preserve scene issue a confirmed bug then?
  • ckurt25ckurt25 Member Posts: 122
    @Sparkyidr

    I had an issue with preserve screen too. When I left a screen and came back, where preserve screen was selected in the original screen, actors that were spawning failed to do so upon return to the screen. Quantumsheep mentioned in another topic that it was a confirmed bug.
  • amigoniamigoni Member Posts: 78
    Any news on this topic. I am having a similar issue. The spawn blocks my game for about 5 seconds.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Are you spawning a Rule heavy Actor?
    If you spawn an Actor that doesnt have any Rules, is it instant?

    My spawn behaviors are working fine and I have noticed any issues.

    What is your current RAM usage?
  • amigoniamigoni Member Posts: 78
    I figured it out. The spawning actor was spawning itself. This cause the issue since the collision actor that was colliding to start the spawn was also spawning it.

    Anyways. Where do I see the RAM usage, is this in the viewer? I am having problems installing it the certificate doesn't show up on the list.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    You need he viewer to see ram usage. Follow the directions in the wiki word for word and it will work
  • amigoniamigoni Member Posts: 78
    Mmm. I did, everything is fine but my certificate for gamesalad as well as all the others for the game don't shown up in the dropdown on xcode. Maybe it has changed since the new xcode was released for ios4
Sign In or Register to comment.