LBramley1996's Recent Forum Activity

  • Wow that was easy! It's working now - thanks a lot guys!

  • I've tried that now but it hasn't worked.

    Do you know if particles can be used to bounce off solids? Or if there is another way of doing this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm creating a dodging game and trying to get the player (blue/green ball) and enemies (red balls) to rebound off each other rather than passing through. I've tried using the solid behaviour to make the player (sprite) and enemies (particles) bounce off each other but it's not worked and neither has using physics behaviour and set them to immovable.

    To move the player (sprite) I'm using the drag and drop behaviour but I've read that the solid behaviour only works alongside other certain behaviours.

    Is there another way I can try to make the balls rebound off each other when they collide?

    I've attached an image to show the balls over-lapping.

  • It worked! Thanks so much guys - really appreciate it! :)

  • I'm adding some voucher codes into my game and I need each code to be different. To do this I know I would need to use a for loop or for each but I've never used either of them before, so have no clue.

    So far, I've set the text to 'PRZ-0001' when a particular button is clicked but I need to get the voucher code number to increase by one for each click. Therefore, the second click would set the text to 'PRZ-0002', the third click would set the text to 'PRZ-0003' and so on.

    Do I need to use a for loop or for each? Do I need to use a number instance variable on the text object? What events and actions would I need to use to get this to work?

    Tagged:

  • I'm creating a prize game and I want to do a countdown for when the prize will be drawn (December 12th - my mum's birthday). Is possible to set a timer/countdown in the below boxes to show how many days, hours, mins and secs are left until the prize is drawn? I've watched tutorials for how to do mins and secs but can't see anything for days and hours which I'm guessing would be more complex.

    Would I use date or timer plug-in?

  • I tried picking it nearest to RPImage but that didn't work.

    I'll keep trying things as I'm sure your method will work - I've just got to find the right way.

    Thanks a lot for your help!

  • I've tried doing this along with a number of other possibilities but nothing seems to work :(

    I've attached an image of what you suggested but when dropping, it only drops to its' starting position.

    In my head, I've done everything right - selected on drop, pick nearest placeholder to image point (corner of window) and set position of image to placeholder but not getting anywhere.

    Can you see anything in my method that looks incorrect?

  • Thanks dop, really appreciate your help. I've tried using the round() expression and tweaked the numbers in it but can't get it to snap at the correct points no matter what I put, any ideas what the exact ones would be based on the dimensions given in my first post?

    I also tried putting in 3 small 4 x 4 sprites and pinned to the corner of each image, how do I get it to pick the nearest one? Essentially, what I need to do is get the corner of each image to set X to 20 when dropped as that's where my 'window' starts.

  • I am creating a prize platform and have included 4 images of each prize which have been inserted as 1 tiled background. This then tweens onto the screen at the click of a button. As you can see from the image, I have a sort-of 'window' where the images can be viewed on the screen but at the moment the tiled background can be dragged and dropped anywhere on a horizontal axis which means you can see part of one image and part of another which is no good.

    I need the tiled background to drop/snap to a certain point each time so that one image is aligned perfectly in the window, can any help? Is it possible to do this as one tiled background or do I need to separate into 4 separate ones?

    For reference, the tiled background is 2840 x 440, meaning each image is 710 x 440.

LBramley1996's avatar

LBramley1996

Member since 30 Jan, 2021

None one is following LBramley1996 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies