lionz's Forum Posts

  • I made you a capx example with a function so that you can drop in your own values. I added a brief timer as a pause between animation restarting but that was mostly for testing purposes.

    dropbox.com/s/3rcumkdi26e6bil/mining.capx

  • Import it into Construct 3?

  • What you described is pretty much the solution. Each stage/size of the plant should be a different animation. Each animation is a looping plants blowing in the wind animation. As the plant grows, based on a variable or time, you set the next animation. You can also start the next animation 'from the current frame' so it doesn't pop back to the start of one animation and look weird.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess you are using 'set animation', there is also 'start animation' which will start the attack animation from the beginning. Make you sure select 'beginning' and not 'current frame'.

  • If he's moving diagonal you probs have 'isometric' selected, you need to untick that box.

  • Difficult to tell what the problem is as the tile movement behaviour already snaps to a grid. To move toward a point with tile movement I guess you would compare the touch xy to the player and then based on greater/less you would simulate control towards it.

  • You can user timers for switching between different times of day, or do you mean detecting real time to match the morning to morning in the game or something?

  • Hiya, this is a little confusing, are you able to share the capx file and point to the problem?

  • What kind of game is it? You would normally use bullet behaviour for this, to move toward mouse click. With 8-direction you would have to do something like determine whether mouse xy is more or less than player and then simulate control in a direction.

  • YoHoho There is a check 'object is on screen' under the object conditions which will run all actions when an object is in view. You can use this condition then right-click invert to reverse it so it then checks 'object is not on screen'

  • Yep you can set angle to random(x,y) to pick from numbers between x and y.

  • Dam that tutorial is complex, you probably have a better idea than me on how to add to that. I would have to make it myself from the tutorial to work out what is going on, looks like he is using 2 variables to track the uid of last and next created tiles so you would just follow in that trend. There are some snake templates on the store, you could try one of those too.

  • Right-click on the point > Add Point

  • Hi, how did you make the snake? From what I remember of the old school snake you just increase the length of the whole snake object.

  • Not really self explanatory, what do you mean?