legofreak689's Forum Posts

  • That worked! Thank you!

  • Hey all,

    I'm trying to figure out how to get a spawn point to randomize the object it spawns every time the layout gets loaded. For example, I'm making a Breakout-style game and every time the layout is started, I want the 'brick' objects (the objects you hit with the ball), or in my case 'barnacles', to be a different style.

    I've got 4 different barnacles that I want the game to choose from, but I don't know how to get the game to choose a random barnacle to spawn. Any help would be much appreciated. Thank you!

  • Perfect thank you!

    Is there anyway to get the game to play a random song, but then know not to play that song (or any other song) twice in a row?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The title pretty much says it all: I have say 5-7 different songs I want to have play randomly in the background as you play the game. I just have no clue how to get the music to play in a random order. If anyone know's a simple way of implementing this (I could settle for a complex way too) then that would be awesome. I've looked up a couple tutorials, but none of them either made sense or did what I was hoping for. Thanks!

  • Thank you! I'll look into it tomorrow.

  • Hey all,

    This is probably an incredibly simple thing to create but I just don't think I'm smart enough which could end up being really embarrassing. Basically, what I'm trying to do is make a game where every 80000 points earned, you gain an extra life. I just don't know how to code that in the event system. Any help will be much appreciated and will result in a credit in the game. Thank you!

  • Perfect. Thanks guys, I'll give these a go tomorrow!

  • Hey all,

    the title isn't a great way to describe my situation. I'm making a Breakout-style game right now, and occasionally the ball will be bouncing from wall to wall, but then will get stuck in an almost perfectly horizontal bounce loop. Sometimes, it will be bouncing continuously on a slight angle. I just didn't know if there was a way to tell the game to launch the ball in a random direction if it gets caught in that loop? If anyone has any questions, I'll gladly answer them. Thanks guys!

  • Ah, I see what you're saying. Yes that makes sense and does help! If you could upload a picture, that would help tons. If not, I'll try some stuff out. Thanks!

  • Hello!

    I'm working on a PONG remake and I want the ball to spawn/respawn from the center of the screen every time. However, sometimes it will spawn directly vertical (only 90 degrees) or very close to that in which case it takes a long time for the ball to reach the paddle on either side of the screen. If anyone could tell me how I can set the ball to spawn within two very large increments on a 360 degree circle. To put this in other words, I don't want the ball to be able to spawn in a 40 degree increment on the top of the circle, nor on the bottom of the circle. Hopefully this makes sense. If not, I'll gladly try and clarify if anyone has any questions. Massive thanks!

  • Some day I'm going to have to repay you immensely for all the help you've given me. This worked and I can't thank you enough for your help. Massive thanks!

  • Hey all!

    Working on a breakout-style game right now, and I can't seem to get the coding right for when the ball hits the paddle. I've followed Stemkoski's tutorial, but I just don't like the way the ball interacts with the paddle. If anyone has done this successfully in the past and is willing to offer help, I'll gladly take it! Thank you!

  • Oh my gosh. I actually can't thank you enough! But thank you anyways! Honestly, I really appreciate it.

  • Oh, sorry. Never done this before. Try this:

    dropbox.com/s/6tjwfxonuvxepmn/BarnacleBlast.capx