eljuanss's Forum Posts

  • mmmm It is exactly what I did, but The thing is behaving weird and it keeps spawning a non wanting and large amount of sprites, my cpu starts burning when I run it (my pc is good) hahaha

    Edit: Ok so now, for some reason it works lmao.

    One more question if I'm not bothering (i'm already very grateful for your help), is it posible to select a random layer? I wanna make an event were if you step on something, 1 of 3 minigames run, each minigame on a different layer.

  • Tried using the for but it's creating a large amount of sprites and fps go really low hahaha

  • those variables are instance of global?

  • in one of the four image points, 2,3 or every sprite could spawn in one single image point, it's random. But that is not the point, the thing is making them spawn in a random quantity.

  • For example, in one game, you could face 5 enemies, in other, you could be fighting 7, or 3....

  • Yeah sure, so this base center has 4 image points, and when the layout has begun, I wanna create enemies from that base, but I want that number of enemies to be random, and to spawn randomly from those 4 image points.

  • I have this sprite which works as a base center, so I'm trying to on start of layout, create a random cuantity from x to y sprites on that base but I see no way to do it.

  • Well, I fixed it putting both sprites in a container, so hey, you are amazing, thanks for the help, im genuinely grateful. :D

  • I tried it and it didn't work

  • Sorry but I didn't understand :/

  • I know why they spawn infinite times, but don't know how can I make the text work as I would like to.

  • Ahhhh, well lmao that was quite easy to fix. But I have one little thing, There is a text above both minerals that shows the mineral's life number. But when both minerals are being farmed, the text starts to spawn infinite times D:

  • when you say left and right, you mean, the properties and the event sheet (in that order)?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • This is the code, and I've been fixing stuff on the debug, but I genuinely don't understand how to fix the issue.

  • I have a boolean called "working", when the worker touches the colition of the mineral, boolean sets true, then the instance varaible "mineral's life" starts depleting