Burvey's Forum Posts

  • I would start with the construct 2 manual as well as work my way through the beginner tutorials. There are some really great resources on this site and you will learn a lot. Also there are some really good tutorials on youtube as well.

    https://www.scirra.com/manual

    https://www.scirra.com/tutorials

  • Sure. I may be away over the weekend but I'm sure someone here would be happy to help if I'm not able to answer right away.

  • If you want an enemy to follow you, give the enemy an instance variable like var_walking. Then in your events you can set up something like this:

    Set the variable:

    if enemy has line of sight to player

    if enemy.x < player.x+1 -> set var_walking 0

    if enemy.x > player.x -> set var_walking 1

    Make the event happen:

    if var_walking = 0 -> simulate control left

    if var_walking = 1 -> simulate control right

    You can also just do walking with the same variable and events if you don't want the enemy to follow the player. Something like this should work set up when the enemy doesn't have line of sight:

    On collision with obstacle -> set enemy var_walking to 1-enemy.var_walking

    I hope that makes sense.

  • You can use "Set Canvas Size" in your layout event sheets to change the window size.

  • Hopefully I'm understanding your question. Are you wanting to make the player teeter when they are near the edge of the platform? Like they are about to fall? If so, first you make a teeter animation, then make some invisible sprite and pin it to your player. Use that sprite to detect when they are near the edge of a platform. When they are, play the teeter animation. If you want something else then please explain further.

  • Cool layout.

  • If it can do real pathfinding on a platformer game I would be interested. I've put together my own work around for the AI in my game but I would love to see what you've come up with. Would you be willing to share a video of it in action so we can see what it can do?

  • You're welcome. Good luck with your game.

  • [quote:2b0vd9s9]We hit minus 20 two nights in a row and neither vehicle would start even with the charger on.

    I hear ya man, it was minus 27 this morning when I took my son to school. At least the snow has stopped now. It's up near the top of the 6 foot fence where I shoveled out the driveway.

    By the way, I was going to ask if you have plans to make a bowling theme? I think it could work well on a digital pinball machine.

  • There is something in your layout that is making the song stop or restart, otherwise the music would continue playing on its own. My guess would be that you are doing something like this:

    At start of layout -> Play music

    If that is the case, what you need to do is add a tag to the music that you are playing, then add another condition to your event like this:

    At start of layout

    Audio tag "music" isn't playing -> Play music

    OR alternatively, you could just remove the At start of layout -> Play music from all but the first layout.

  • Can you post your capx?

  • The music will continue playing until something in your events makes it stop. Are you restarting the layout at the end of each level or something like that?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:2pqhsab2]I am doing this all in one event sheet and one layout believe it or not

    Yeah, I did that with my first game as well which is well over 1,000 events lol. It makes it a pain to work on later, which I'm now attempting as I never took the game out of beta. I'm trying to work on it a bit here and there and it really can be a pain sometimes. There's so much that I could fix up now too since I developed the game 4 years ago and there have been so many improvements in C2 and HTML5 since then. Oh well, it is what it is.

    How is the pinball sandbox coming along?

  • Can you post an image of the event sheet where you're talking about, or a capx? It sounds like you should be able to just add a condition On Collision with Object to the current sub event, but it's hard to know without seeing exactly what you're trying to do.

  • It's extremely cool. I'm just not intelligent enough to use it to its full potential!