sysads's Recent Forum Activity

  • OK I know I can use tween to slide in and out layers but I want when i enable a layer for the menus to pop up like from the middle of the screen and animate.

    Just can't figure out scaling with tween since I have multiple objects attached to the pop up menu.

  • Also, as another question, how can I add hint buttons at each level? Thanks.

    Can you explain a bit more on what you want the hint button to do? And how is your level setup?

  • Congrats on your launch. BTW where did you make the graphics?

  • I have searched the forum and only seen few related posts but without a precise answer. I am trying to implement the Google Play leaderboard but just need to know which blocks goes where as I have seen many that looks confusing. For instance

    1)

    + Is loaded

    + On loaded

    Do we need both or just one?

    2) Do I just do this on start of layout

    + google sign in

    or I need to add something else?

    3) On leaderboard button click

    + Is sign in

    ++ submit score

    ++ show leaderboard

    I just need some guide on steps using the blocks correctly and efficiently.

    Thanks

  • OK the game sound nearly took my ears off without warning. Now I am in recovery mode.

  • Are you using PHP and AJAX to send the request? Whatever you echo out should get sent back to C3 so you can tell if the results were "Sorry..." or "Your account..."

    If I may ask, how do I ensure no one is able to inject scores to the board using the full address?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you using PHP and AJAX to send the request? Whatever you echo out should get sent back to C3 so you can tell if the results were "Sorry..." or "Your account..."

    Thanks for the reply. I just figured it out using AJAX.LastData then I am now able to compare the strings.

  • Hi I am currently setting up my SQL for my leaderboard. I have been able to configure setup mysql to check for existing record when a new user tries to create a new username.

    Manually testing it, I am able to create a new user and also when I try to create another user with same name, it echos the message as expected on the browser.

    The challenge I have now is with Construct 3, I am able to create a new user but when I try to create same user, on SQL side nothing changes but on Construct 3 side, it still thinks it went OK.

    How can I get Construct 3 to get the echo message from mysql so it knows there was an error?

    if (mysqli_num_rows($res_u) > 0) { $name_error = "Sorry... username already taken"; echo 'Sorry... username already taken'; }else{ $sql = "INSERT INTO $db_name.$db_table (name, score) VALUES ('$name','$score')"; $results = mysqli_query($con, $sql); echo 'Your account has been created!'; }

    Tagged:

  • I have decided to do my own leaderboard using SQL and so far it works fine for me with a few exceptions which I am now working my way through to fixing them. That includes:

    - Checking and ensuring no duplicate players names

    - Lock down hackers from been able to inject data into the database (sql injection) hence avoiding scores been altered. TBH it will be foolish for a hacker to spend his time doing that on a leaderboard. Only reason why I would want to fix this is to avoid a virus spamming my database

    - Display a dialog for player to enter name if he wants score to be submitted if first time but subsequent time only high score should be saved straight without any prompt since player already registered

    - Add a column to insert random images per players. This eliminates forcing players to register

    - Ability to display players current rank if outside the top 10 or 20 etc

  • I have been in your shoes for years now and what I have learnt is you need to find a way to tell people about your game. I learnt from the owner of Color Switch some time ago when I was also using Buildbox and before his game came out and became a hit, I asked him about it and what he said was he was waiting on a friend he mentioned his game to who apparently pitched that game to a cousin of his who apparently was an American music artist.

    The artist as at then had almost 8 million followers on facebook. So he posted it on his page and that was the beginning of his break-through.

    So this is why the Chinese guys do so well because they help one another promoting it to their friends.

    So what do I do?

    OK you will be surprised to hear that there are many many badly written games in the store that have over 1M downloads and you wonder HOW DID THEY DO IT? Familiar with that phrase?

    Since Flappy Bird came out, everybody now became a developer including Taxi driver. So the market is over saturated hence reason why App stores pay more attention to games that are getting lots of downloads as soon as its released.

    IF YOU DO NOT HAVE BUDGET TO ADVERTISE, THEN TRY THIS

    1) Avoid cloning another game. Take inspiration from existing games doing well and make changes to it. Maybe add features or so.

    2) Build a very simple original game that is less complex BUT fun to play. May be a game with less retention but you only need a game that will give you an initial boost so you have small funds to do something much better

    3) Make good use of social media by integrating the likes of facebook for sharing

    4) Port your game to facebook instant games. Reason why i mentioned this is because I have seen lots of funny games been played by lots of people on that platform. Add ability to recommend the game to your facebook friends does help a lot. If people love it, they will naturally try and look for the game in app store.

    I really can't think of anything else for now but I am looking to try these methods since I have decided to try out Construct 3 since I left it over 3 years ago while struggling to understand the platform.

    Thanks to this lock-down, I have been able to come up with 2 games of sleepless nights and looking forward to publishing them.

  • Hi, anyone able to provide me with link on how to setup Google Play leaderboard on C3 step by step. Thanks

  • Hi thanks. Actually I just found an easy way out with json since I was finding it hard to convert my csv to json due to the number of commas I have in each text line since I have over a thousand lines of texts.

    I just created an array file in C3 and copied and pasted all the text into it and downloaded the file and uploaded it online since that already generates the json version hence saving me from doing complex conversion.

    Now I just need to try and read each data as needed.

sysads's avatar

sysads

Member since 20 Jun, 2015

None one is following sysads yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies