RafaelMatos's Forum Posts

  • Having to use the google play leaderboard is really frustrating because its design is really apart of the game's design and seems really bad and ugly =/

    I just don't create my own leaderboard using this link because I need to pay for a host and I can't do that if I don't have any app generating revenue... oh boy =/

  • Congrats man! I'm curious in how did you make the top score with your own design. Are there a way of using google play leaderboard with your own in-game design?

  • Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have an array just to hold temporary values, but I need remove values that are repeated between x elements.

    Thanks!

  • rexrainbow Thanks for the advice

  • rexrainbow I think it's not a good idea rely on that for something really important to the game then. Aren't there any reliable online source to get the hour? It's just a simple thing you know? Get the time online instead from the phone and then, internally, I manage to know if it's time to unlock the item or not.

  • Is it reliable? Because using a server that is not yours is unpredictable and could have the service ended in the future, which would ruin the entire game.

    Thanks, rexrainbow .

    I was looking at it and I'm getting the time elapsed since logout. But how should I manage different items (which will be unlocked once their own timer end) from different players?

    Situation:

    Player A

    items 1, 2 ,3

    item 1 : timer X

    item 2 : timer Y

    item 3 : timer Z

    Player B

    items 1, 2 ,3

    item 1 : timer X

    item 2 : timer Y

    item 3 : timer Z

    Is this enough?

    On start of layout

    Define the Player ID to Player A.

    Get Timer "item 1" of user ID: "Player A".

    Blank condition> Start Timer "item 1" of user ID: "Player A" When Disconnected.

    Also, this item would have to be different every time to avoid two items share the same timer. Then, whenever a player earns a new item, it's ID would be Last item ID + 1. Am I following a correct logic regarding to firebase and your plugin?

  • I thought about using phone's time but it's easily exploitable and I don't really know how to do that too. Are there any simple and practical way?

    It's, in other words, a countdown that I need to keep track to unlock certain things in the game. Then if the player shutdown the game it won't get lost.

    Thanks!

    Edit:

    I found this great plugin but is this exploitable? Like changing the phone's time?

    rexrainbow

  • senecaa

    I'm not at home but you Just need to verify if the shotpower is equal to the shotmaxpower value in the condition where you spawn the bullet

    Edit: do not verify if Its equal, use greater Or equal otherwise Will never be true

  • Capx: https://www.dropbox.com/s/whitqb9ws2auz ... .capx?dl=0

    I've made this quickly because I have to leave right now but I think it's what you are looking for.

  • Colludium I thought that browser actions wouldn't work while using NW.JS. Thank you.

  • Anyone? =/

  • Anyone? =/

    Also this question leads me to another question, which is the possibility of players changing the resolution to fit their screen. It's simple to do I guess, but with no full screen option like the browser object have, I found myself kinda lost on this subject.

  • I think there is no "ready to go" tool for this in c2. But it's not impossible. You just need to create it by yourself, which is a pretty hard task I think because you have to store all values regarding to movement and other stuffs like damage taken and etc.

  • When I set 1080 as height, the window size is actually 1018 because of the window title and board bars. So, of course that no one wants to play with these bars showing then how to get the real full screen? Also it's interfering a character panel that I'm creating, which occupies the whole screen and I can't just use windowheight and width to determine the Tiled Background width and height because of this problem.

    Any solution for this?

    Thank you!