Problem: eats the entire watermelon.

2»

Comments

  • Mcreator83Mcreator83 Member Posts: 120
    ah ok now i saw the other video.

    but it is hard too see what you have in the actors. if i were you i would delete the actor from the medium scene and add another one. you might have missed something in the medium ant spawner. it is easy to miss things when there is a lot in an actor.

    use the easy antspawner and add to it what you want it too do in medium other than that i really don't know what might be the problem :/
  • TJMNUTTJMNUT Member Posts: 236
    Thanks!
  • TJMNUTTJMNUT Member Posts: 236
    but everything seems to be in order, so I'm not quite sure what is going on.
  • TJMNUTTJMNUT Member Posts: 236
    JeffreyShimane said:
    Dragging in the prototype is placing the ant actor into the scene. Delete the ant actor in the medium scene then drag the ant prototype from the actors window into the medium scene. This will create a new instance of the ant actor in the medium scene.

    - Jeff

    My spawner works by having the ants with an accelerate, and a spawn actor on the spawner. There are no actual ant actors in the scene. So I don't know if this will work.
  • JeffreyShimaneJeffreyShimane Member Posts: 372
    TJMNUT said:
    My spawner works by having the ants with an accelerate, and a spawn actor on the spawner. There are no actual ant actors in the scene. So I don't know if this will work.

    Ah I see. In that case, you need to try isolate what's different between the working easy scene and the non-working medium scene. From your description, the spawner may be the only difference. Make sure to check all the "otherwise" sections of all your rules. By default, the "otherwise" sections are hidden so there may be a behavior with a blank field in it or something. Another thing to try is to recreate the medium spawner by using the easy spawner. Even though the rules/behaviors may seem in order, if that's the only difference between the scenes, then it may be corrupted.

    Good luck!

    - Jeff
  • TJMNUTTJMNUT Member Posts: 236
    I tried making an exact duplicate of the spawner, and just change the spawn rate. But the problem is still occurring. also, i don't have any rules, so there are no other-wises, it's just timers, and spawn actors.
  • TJMNUTTJMNUT Member Posts: 236
    I ried adding a integer called Destroy ants. So that when ant collides with watermelon, it changes that attribute to 1, and when that equals 1, destroy the actor. and after 0.1 seconds, change attribute to 0. But that just destroyed all the ants. That was really my last option i could think of, so i'm thinking the ant not getting destroyed when it hits the watermelon, is just a weird bug.
  • TJMNUTTJMNUT Member Posts: 236
    Then i just tried debugging tutorial, but that didn't seem to work, so I don't know if it's a bug or a problem.
  • adalpilscazaadalpilscaza Member Posts: 44
    I played around on gamesalad, and made a small game to try to solve your problem. I didn't spend any time on the sprites, so i just left white boxes. Here is a download link for the game file:
    http://hotfile.com/dl/119890641/a907e98/For_forum.gameproj.zip.html

    I'm not 100% sure what you are hoping to figure out in this forum post, so I am sorry if this isn't what you are looking for. Look at the watermelon actor, for the shrinking of the watermelon. Check the ant actor for the collision stuff.
Sign In or Register to comment.