Nevesbr's Forum Posts

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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. ;(

    I noticed that C3's direct competitor, Gdevelop, has examples that use external 3d objects and treats it as if it were a normal sprite with its appropriate conditions, why doesn't construct 3 still treat some 3d extension to be used together with the 3d blocks?

    Edit:

    After Ashley's response:

    I'm sad that my post caused some kind of controversy, since I've been a fan of Scirra since 2011. In fact, the post was more to get feedback from a potential developer who might offer the feature... Even so, I apologize and the intention was never to criticize the program! I just didn't understand the need to close the topic in response to a participant who may have disobeyed some rule.

  • Working hard to make colector of ore...

  • V0.1

    Stable