clarke2509's Recent Forum Activity

  • Hi, i am working on a game which uses a grid so i have the same grass grid but copyed and pasted numerous times.. how do i pick which grass to go on by touch because at the moment wherever i click it only creates an object on the origional sprite.. not on the copied ones.

    is there a way of making it create an object on the specific grass object i clicked on?

    Thank you.

  • i followed the tutorial to scroll screen with touch but it scrolls way too fast so far my code shows;

    on any touch start

    • set dragging to 1
    • set dragMouseX to touch.AbsoluteX
    • set dragMouseY to touch.AbsoluteY

    on any touch end

    • set dragging to 0
    • set dragScrollX to scrollx
    • set dragScrollY to scrolly

    dragging = 1

    • scroll to ((dragScrollX + dragMouseX - touch.AbsoluteX), (dragScrollY + dragMouseY - touch.AbsoluteY))

    does anyone know how i can slow down the drag because at the moment it is way too sensitive and flies around the screen.

    Thank you

  • Thank you so much this helped a lot

  • I was wondering if there's a way of tracking distance travelled using geolocation. it will be shown as a progress bar so it doesn't need to be accurate to a map it just needs to show distance travelled in metres/feet.

    thank you

  • I'm creating a level based game and its starting to become tiring making UI for each level, I know there is a global layout I can use but is there a simpler way of creating multiple level UI with the achievement

    stars on them ( example: angry birds UI, how it shows the stars then you can play from there on each level)

  • yo!!

    ok, so if you have a

    (physics on the car btw)

    Is In touch event-------------------apply force to position( depends on the size of your car) touch.x touch.y

    every...(i did 0.00009)seconds-------and i did rotate 5 degrees towards angle

    needs ALOT of tweaking... but this gives the illusion force is being applied to the car and it accelerates to the desired position with it's speed being affected by motion

    slap in some immovable physic barriers for the track and boom!, you could even have some AI cars that have check points to drive to. loads of examples of these so enjoy

    try it out, i'll keep working out some bugs so the angle is equal to the direction of force. thought id post my current findings though in case it helps

    okk so I've tweaked around with this and it sort of works, well it works on its first time and then any other destination is just unpredictable which I think it is dependant at what angle it is at, for example turning different ways, so I'm not sure how to fix this.

  • I think the way I have set my game up clashes with this method.

    https://www.dropbox.com/s/ug3qdieh4lvh9 ... .capx?dl=0

    that is my .capx while I try both your suggestions, thank you.

  • I have started a car racing game where the car follows the player touch but I want to limit the turning speed, for example if the touch does a sharp turn, the car will swerve slightly outwards to the actual path.

    I'm using a bullet to get the car to follow touch

    is there a way using the angle to do this or something?

    thank you.

  • I managed to get it working now just had to tweak a few things and ditch the drag and drop idea and use touch

  • For some reason this doesn't work? I had a play around with it and I got it working but it wasn't accurate or receptive. Sometimes it would shoot the wrong way other times it wouldn't at all.

    I forgot to mention it can be a touch control rather than drag and drop if that's easier.

  • Can you attach a capx or a screenshot? That way I know what you mean

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had a game which did this a while back but now I can't find it and can't remember how I did it, I've looked around and can only find catapult drag and throws.

    I want to throw a physics object with drag and drop so on the drop it forces object it the direction I swiped, I remember it being quite simple I just can't seem to do it now.

clarke2509's avatar

clarke2509

Member since 9 Oct, 2014

None one is following clarke2509 yet!

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • Email Verified

Progress

12/44
How to earn trophies