LBramley1996's Recent Forum Activity

  • That seems to allow multiple touch but is no longer running the sub-event, what can I do to fix this?

  • I have 3 buttons at the bottom of the screen which are used to shoot bullets. I've used the same object for each button and want to shoot at balls falling from the top of the screen. Sometimes, balls will fall down at the same time so I need to be able to press two or three buttons at once but this isn't letting me shoot bullets with how I'm doing it.

    I've put an image of what I've done so far and I thought having the condition Bullets.X = Button.X would work as they remain the same throughout the entire game but it only lets me shoot one at a time which is no good.

    I've done some reading into Touch.ID but not fully understanding this so I'm unsure if it's the right way to go for my project.

  • I've created a gallery of images that users can swipe through using a sprite and putting different images on each frame. I want to include a video within this but I'm not sure what would be the best way to go about doing this.

    I've provided an image of how I've created the gallery for the images, how can I add a video onto the end of this so I have 4 images and 1 video? I'm looking to have something similar to what you might have seen on Instagram with their carousels where you swipe left or right to view various photos and videos within one post.

    Hope I've explained this clearly enough.

  • Cheers Ashley! Got it working now, appreciate your help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've got a couple of links which are working when I test on my laptop but when I do a remote preview on my iPhone they don't work at all.

    The links are just to a Facebook and Instagram page and should work but I can't figure out why they work on the laptop and not my phone. I tested on a friend's phone and they didn't work on his either so this one has got me stumped.

    Any ideas on what I can do here?

  • OK thanks very much - I'll have a play around with probability tables. They don't look too difficult :)

  • Thanks I'll try floor(random(1,6)) and see what happens.

    I'm using the same ball and one global variable and trying to randomise the power ups this way. Should I be using advanced random for this?

  • No problem! :)

    Sorry to be a pain, I have another query now I'm wondering if you could help with. I have power ups (which give the player an advantage against red balls) and 'power downs' (which make the game more difficult for the player). I have 5 of each and they're activated for 10 secs when a player collides with specific balls. I'm currently using a global variable number to represent each power up/down and on collision with the balls setting the variable to round(random(1,5)) but it's not very effective as I'm finding that a lot of the same power ups/downs are appearing too often compared to others. E.g. The player collides with the power up ball and will get the same power up 3 times in a row - this is not what I want. The occasional repeat is fine but it's happening way too much currently.

    How can I make it so that the power ups are more randomised?

  • Yeah you're right - it was creating the object at 0,0 so I used Touch.XAt(1), Touch.YAt(1) which created the object at the X & Y of the second touch.

    Cheers for your help guys! :)

  • Thanks Oosyrag! It's working now :D

  • The user will already be touching the device as I'm using drag and drop to move the player.

    How do I set it so that the bomb is dropped on a second touch and not the current one?

  • That works great - thanks! Do you know how I would set it so that only the red balls within a radius of 100 are destroyed? At the moment it's destroying all of them even if they are the opposite end of the screen.

    Do you know how I would drop the bomb to where the player touches? I'm using drag and drop to move the player so it's dropping it straight away at the X and Y of the player.

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