Nevesbr's Recent Forum Activity

  • Change it to 2D array - set its height to 2. Then split the results with tokenat() moving the scores to Y0 and names to Y1.

    > For "x" from 0 to array.width-1
    
    .. // Extracting name
    .. Array set at (loopindex, 1) value tokenat(self.at(loopindex,0), 1, " ----- ")
    
    .. // Extracting score
    .. Array set at (loopindex, 0) value tokenat(self.at(loopindex,0), 0, " ----- ")
    

    After that if you sort the array, it will be sorted by scores.

    Very well thanks !

  • Hello again guys, please I need help because I use google firebase to host my points I store something like this in a global...

    Big Monk ----- 90 GREGORY ----- 150 Gabriela ----- 70 Karen ----- 90 L7iz ----- 170 Nevesbr ----- 110 You ----- 80 among us ----- 60 cheese ----- 70 harry 66 ----- 70 nate ----- 180 nobody ----- 100 pecinha ----- 80 veneza ----- 110

    So I threw this into an Array and got this:

    But I came across the problem of it not sending the largest point to the top...

    So using tokenat I removed the names and managed to organize the points but how am I going to show the points with names again to the player?

  • v1.0 stable

    [Add] Map terminal.

    [Add] New rooms.

    [Add] Bag sprite.

    [Add] Inventory.

    [Add] End game screen.

    [Add] More levels decorations.

    [Change] Improved movements.

    [Change] Collectable item now goes to inventory.

  • Now i'm working on minimap terminal, and inventory now with bag.

  • Updated with supply division and Fog.

  • That's right, now I just have to get used to it... However, I didn't know that groups preserved their states when I left, so in the multiplayer game I'm playing, I returned to the room and the Peer and HOST groups were already open, causing a lot of bugs. Here's the link to a complex multiplayer strategy game I'm working on.

    construct.net/en/free-online-games/nevess-military-c3-multiplayer-58939/play

  • No... You are confusing the global function of the layer or the layout... I meant the state of VISIBILITY and THE ACTIVATION OF GROUPS. As soon as you leave a layout, the groups that were deactivated at the beginning become activated... When you return, the player expects to find the group deactivated and it was activated last time... The same thing for the layers... They remain visible and interactive forever.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's out, please test it out... I've been working hard to develop an online multiplayer military strategy game.

  • I think 'restart layout' should reset the groups.

    If the layers preserving their state is a problem, then they shouldn't be global...

    Yes restart Layout resets the state but the intention would not be to restart, it would be to exit... And come back later... So that didn't solve it. In the end I had to reset them one by one.

  • Hello community, I'm developing a multiplayer game and I came across a simple problem, when leaving the layout the groups and layers preserve their states, it took me a while to identify the problem because I didn't know that this was "global"... So when leaving the layout I had to deactivate all the groups that were supposed to be deactivated at the beginning and I changed the view of the layers... That's when I noticed that we could have a reset state group and layers. Is this valid and possible in the future?

    Tagged:

  • Hello Today I'm resuming the development of this multiplayer real-time strategy game. It will be amazing to explore everything that the multiplayer object has to offer.

  • Interesting everything that was said here... For example, I come across a problem where the host loses focus... I would like the Host to be able to resolve something in another tab but for the peers to continue playing normally, today if he presses alt+tab the information exchange freezes for everyone. ;(

Nevesbr's avatar

Nevesbr

Member since 7 May, 2011

Twitter
Nevesbr has 21 followers

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • x6
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

22/44
How to earn trophies