I have two projectiles-one for the player called bullet, the other for the enemy(Roc) called GlowBoulder. The bullet collides with the enemy just fine, however, the GlowBoulder does not collide with the player. Both have the same bullet behavior, both are on the same layer so I'm not sure what's up with the GlowBoulder. Thanks.
https://www.dropbox.com/s/xd0wv5g9o7ycn ... .capx?dl=0
Ah, I forgot to set the point of origin in my bullet. Much obliged!
Really? I've checked the image point(2) for each of the animation frames and it looks to be right where I intended it to be. Maybe I'm looking at the wrong thing. Thanks.
https://www.dropbox.com/s/ognj3viqzmn0h ... e.png?dl=0
https://www.dropbox.com/s/56nwgbljf7091 ... n.png?dl=0
I'm creating a bullet that originates at an imagepointx and y on the player. However on creation the bullet appears in the middle of the screen. Can't figure out for the life of me why. I've done this before, but I don't what I'm doing to cause this now. Thanks.
I discovered the mirror attribute so I got it fixed. Thanks.
setting mirror did the trick. Many thanks!
I have a sprite flying a circuit around 3 nests. Going to the left it has one animation, flying to the right,another. Once it starts going to the left switches from correct animation for a second to then back to the animation it was on before it switched directions. Any ideas on why it switches back. Thanks.
I'm trying to get my sprite to use one animation while going in one direction in a circuit stopping briefly at 3 different stations. When it switches direction, it should go the other way. It will switch for a second, but then switches back. Also, I notice that if I run the animation long enough, it stops and discontinues the circuit.
Thanks.
I opened your link, but I don't see the .capx.
Try add a "wait 0" action before calculate path and see if it helps. Could be that it's related to this issue. https://www.scirra.com/forum/pick-all-create-bug_t178366 Once created it doesn't really exist until next tick, but not sure.. if wait 0 works, it's the same problem.
Try add a "wait 0" action before calculate path and see if it helps. Could be that it's related to this issue. https://www.scirra.com/forum/pick-all-create-bug_t178366
Once created it doesn't really exist until next tick, but not sure.. if wait 0 works, it's the same problem.
I put a wait 0, and it did nothing. However, when I disable set animation, I get the movement across the screen. It's only one sprite, it's not I'm creating a bunch of them.
Develop games in your browser. Powerful, performant & highly capable.
Is the Roc you talk about created in event 49 ?
That's the one.
I have a function, StartRoc()-called by StartGame(), that creates a Roc, changes animation, and sends it to the other board. In reality, it creates the Roc, and the Roc just sits there. It should be pretty straightforward, not sure what the problem is.
https://www.dropbox.com/s/0e14dnd4wgb0efn/Uru.capx?dl=0
What if you want to select a random element, but don't know what the length of the array is?
Doh! Thanks!
When my player collides with a nest in my game, I call a function, "RescuePeasant" which takes a param, the nest uid, and finds. However, when I try to display a variable within that nest, it doesn't show. This seems pretty straightforward, but it simply doesn't work. I've spent hours on trying to figure this out. Thanks. https://www.dropbox.com/s/0e14dnd4wgb0efn/Uru.capx?dl=0