tm2000's Recent Forum Activity

  • Hi There,

    I have a game which has on screen touch controls for mobile and tablet.

    But for desktop, I want to hide those controls, because they will be impossible to use with a mouse, and the player should use the keyboard instead.

    I have all the controls working, but I can't figure out how to hide the mobile controls on desktop?

    I thought I could use CSS to hide them with media queries (e.g. screen (max-width:768px) { #controls:display:none; } but i cannot assign an ID, and even if i did, it doesn't appear in the hitml so the external CSS file wouldn't work.

    Is there another way?

    Thanks in advance!

    Andy

  • Thank you - yes I think I have bitten off more than i can chew!

    If you (or anyone else) is interested in helping me finish this project (paid of course) that would be great. I will continue learning, but on something a little less complex.

  • Would you be interested in helping finish this on a paid basis?

    I'm running out of time, and although i want to learn all this, i think the learning curve is a bit steep!

    Let me know if you are interested.

    The things left to do are:

    1. Show the timer constantly on the screen so users can see their time in realtime.

    2. Fix the issue so that the restart game resets the timers.

    Let me know

    Thanks

    Andy

  • I have been trying to replicate the function for resetCP - but I cannot get it to work.

    I have a button to 'replay' and I tried attaching a function to that to reset the 'aTimes' array. like this:

    But it's not doing anything.

    I'm not sure what I'm doing wrong?

  • Thank you - I will look at that. I thought this was a simple one to start on!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi

    I am creating a web game which uses arrows to control the car, but in mobile/tablet I’m providing sprite controls. I don’t want the sprites to appear on desktop. Is there any way to leverage css to hide them with media queries?

    Or just a way to hide them from desktop users within construct?

    Thanks in advance

    Andy

  • Hi there,

    A previous developer created a game using TR_Leaderboard to allow posting top scores to a mySQL db, and it worked great.

    It was created in Construct 3 about a year ago

    When I try and open the .cap3 file - it says i'm missing the CB Hash plugin.

    After trying to find it - I can only find a zip file containing Javascript files - which is designed for Construct 2 - any idea how i can install it into C3?

    I hope this makes sense.

    Thanks

    Andy

  • Thanks for your help.

    I'm just starting out with Construct so i used the template 'racetrack' as a starting point.

    There is a 3 second countdown at the start of the race.

    There is a global number called TimeStartLayout = 0

    But I cannot see that variable referenced anywhere in the event sheet?

    I'm not sure how to use what you have generously provided.

  • I have a racing game which has a timer and records your time.

    I have a button to restart later at the end of the game, but it doesn’t restart the timer.

    How can I completely restart everything as if it’s a new game?

    Thanks

    Andy

  • Brilliant! - thanks for the steer (pun intended)

  • Hi there.

    Just starting out with Construct 3.

    I have started with the racetrack template,but wondered how I can add controls for mobile? (e.g. left, right, accelerate, brake).

    At the moment it's controlled by the arrow keys, but I can't see anything in the event sheet which controls movement.

    Can anyone point me in the right direction?

    Thanks!

    Andy

  • Thanks - yes I have been looking through and playing around with them, but I need a php leaderboard to go with it, which limits which ones I can use. I can probably work it out, but I don't have a lot of time, so wondered if anyone out there could help?

tm2000's avatar

tm2000

Member since 23 Oct, 2017

None one is following tm2000 yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies