lionz's Forum Posts

  • You can set up a series of spawn points above that are used randomly, every x seconds pick random spawn point instance or you can create objects at a random range of X across Y every X seconds. Lots of ways to do it. The objects will need some other logic set up to move down, or you can apply physics behaviour.

    So the logic will look something like this:

    Every X seconds

    Pick random SpawnPoint -- Spawn Obstacle at SpawnPoint

    OR

    Every X seconds -- Create object Obstacle at X=random(0,1000), Y=0 (co-ords are flexible)

  • Some interesting ideas guys! Looks like they all have tycoon systems in common, I was probably looking for something that wasn't there, like a slight edge on the normal gameplay. I guess they would all be reskins of the same game so I'll stick with the generic tycoon formula.

  • There isn't really a 'first instance' until you run the game. Then the objects are listed in order of IID in each layout. What is it that you are trying to do?

  • The boxes are destroyed when you click them. You used a change position method but you could really do anything. You could have all of the boxes invisible and then set visible, up to you.

  • Possibly every x seconds with condition pick random instance of sprite > set global variable to sprite.mynumber.

    edit: yeah exactly that above...

  • You can run a 'pickedcount=1' check with an else, like this :

    https://dl.dropboxusercontent.com/u/495 ... dited.capx

  • You can either load a layout that is the loading screen or set up a loading screen on a layer and make it visible. I guess the loading screen would be a sprite that has an animation?

  • To have it constantly follow the cursor, I use set angle toward mouse.x, mouse.y every tick and then object move forward. You could also do it by on every click, set mouse.x mouse.y to pathfinding destination, then have the enemy move to that destination. It really depends on exactly what you want to happen.

  • You probably have some logic set to play animation while 'key is down' instead of on key press.

    Because of the logic in 1, it's going to keep playing the animation while the key is down.

    Add a condition in for your other movement actions : when not punching

  • Oh a screenshot has been added. The function names need to match? Calling "moonnormalize" won't do anything.

  • I mean what problem are you having?

  • What is the problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're not picking anything. Just using 'Pick random Bunny instance > Bunny jump' will work. 'For each' isn't always needed and it doesn't mean 'Do action to each', you need to pick the instances it applies to with a condition.

    BitBalloon is OK but I get random unexplained errors so it's kind of like a lottery on whether my prototype will quickly launch. I've tried Neocities on ashley's request and it seems fine, you just drag the files in and it launches instantly on your website.

  • Not exactly sure what OP wanted, request isn't very descriptive. Just providing general help lol.