dop2000's Recent Forum Activity

  • No, you don't pass the key, it should be kept in secret inside the app and on your server.

    For example, you want to send PlayerName and PlayerScore.

    First you need generate a HashValue = HashFunction(PlayerName & PlayerScore & SecretKey).

    Then you send three fields to the server: PlayerName, PlayerScore and HashValue.

    On the server in php file you need to generate the same hash again, using PlayerName, PlayerScore from the request, and the key stored on the server.

    If both hashes match, then you can be sure that the data was sent by your app and was not compromised.

    .

    I used CBHash plugin (you can find it here) to generate hashes in C3. But you'll also need the same hash function on the server side, I'm sure you can find how to do it on Stackoverflow.

  • Say, you want to make touched button bigger. You can use a function to deselect other buttons:

    On touched Button
    	Call function DeselectButtons
    	Button set scale to 1.2
    
    Function DeselectButtons
    	Button set scale to 1.0
    

    Or you can add button sprite to a family and do this:

    On touched Button
    	ButtonFamily set scale to 1.0
    	Button set scale to 1.2
    
  • It works for me! Try a different browser, VPN, or try opening it from any proxy website.

    Couple of direct download links from Rex's page (there are many more):

    rexrainbow.github.io/C2RexDoc/repo/rex_firebase.7z

    onedrive.live.com/redir

    onedrive.live.com/redir

  • You can use unixtime expression. While the game is running, save unixtime in local storage. (say, every few seconds or at the end of each level)

    When the game starts, try to read it from local storage.

    int((unittime-saved_unixtime)/60000)=number of minutes spent offline

  • You can add a hash to every message, and check this hash on the server side. Both the server and your app need to have the same key and the same hashing function.

    But this will still not protect from an experienced hacker, who can disassemble your app and find the key.

  • atlantis_fb Did you read comments in this post? There are several other methods to test internet connectivity.

  • Nepeo, thanks so much for adding the transpose option in array editor!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There is some error in browser Console log, it happens after the layout is restarted, but before enemies are created:

    Not sure what's causing it, but I think it breaks the pathfinding. Try disabling/rearranging some events, see if you can fix it. Also, if you can reproduce this issue in a small demo project, I advise you to submit a bug report here:

    github.com/Scirra/Construct-3-bugs/issues

  • Why did you share an exported project? What are we supposed to do with it?

    Please post your c3p file or a screenshot of the code.

    Are you regenerating the obstacles map for pathfinding, after level generation is finished?

    Also, how big is your map if it takes 15 seconds to build it?!

  • You can add some character or a custom tag, and then replace it with newline. For example:

    Variable s="Some text.#Some more text.#The end."
    SpriteFont Set text to replace(s, "#", newline)
    
  • Am I the only one having this issue??

    Every time I refresh the page, I see different posts and comments, and different number of notifications...

    Tom Could you help?

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies