Nevesbr's Forum Posts

  • I solved this my method:

    Sprite - Car moviment

    W pressed

    - Rotate toward 270

    W pressed

    Sprite is between angles- 269-271 - SIMULATE COMAND - ACELERATE

    And do to other keys ...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm managing to do it in a somewhat polluted way but I believe it will work...

    I put it to read between which angle the tank is stopped... to define the direction to turn... and when it's facing X accelerate... That's in the movement of the car...

  • Hello community...

    How could I cleanly code the 8-way motion to set the angle slowly to the chosen direction? For example, I have a tank game... The car movement was not efficient for me...

    So I decided that it will move in 8 directions but the tank directly sets the angle of the arrows... I would like it to rotate in the direction of the arrows before starting to move...

  • You do not have permission to view this post

  • Hello, I noticed something that I'm not sure if it's a bug and I didn't find the bugfix / report channel...

    I tested my multiplayer game with local prediction enabled, everything is ok the peer fires 1 time on each click...

    BY JUST disabling local prediction so that he doesn't move at all without host response, his shots became infinite with no gaps...

    The host no longer read the ONCE WHEN TRUE.

    Is it a bug? Or does setbit have to do with local prediction?

  • Thanks i find the "SET CSS STYLE" On list actions.

    Properties "Border"

    Value "Double"

    Work ok.

  • If you are referring to an actual list view. You can just use the CSS border property and use whatever selector is most relevant.

    HOW DO THIS ?

  • Hello... can you help me in the use of these style commands:

    ::-webkit-scrollbar {

    width: 31px;

    height: 31px;

    }

    I changed the size of my scrollbar in the list in this way in a file styles.css... Now how do I change the border of the list?

    I can't find a list of webkit codes... I expected to see something like

    ::-webkit-border {

    10px

    }

    but wouldn't that be so? Where do I have a list that I can use an "everything" generator in webkit css ?

  • here's an example:

    If you set: MyString = "hero1 - maxhp40 - maxmp80 - power30 - house1 - layout3 - age40"

    Then:

    tokenat(MyString, 0, " - ") == "hero1"

    tokenat(MyString, 1, " - ") == "maxhp40"

    And so on

    Where MyString is the source; 0 or 1 is the index; " - " is the separator

    I'll go try...

  • You can use the system expression tokenat(src, index, separator).

    Thanks can you do a example?

    Src ?

    Index is the character count?

    Separador ir the Second count value ?

    I no understand the use.

  • hey guys i need help again this time i need to read a part of a textbox. I can't use block separation with globals or anything like that. As I'm using the multiplayer object my intention is to read the room and read the name of the room but this information goes in one wave just for example... if a textbox has

    " layout 2 / room 1 - europe"

    the player only has to read the layout so I would only have to read a part of that block... and in another case on the lobby screen a textbox would read only the name of the room but the string contained everything (layout 2 / room 1 - europe) summary: I need to read a part of a large text that may have the sum of information.

    hero1 - maxhp40 - maxmp80 - power30 - house1 - layout3 - age40 ...

  • Hello guys.

    Could you test my game and provide your feedback? I explored various multiplayer object mechanics and the game got interesting.

    construct.net/en/free-online-games/multi-tank-battle-online-50983/play

  • Is the same as an "Every Tick" event.

    I like to leave them empty so I can identify them quickly while looking through my events.

    Ok, it's because I wonder if empty doesn't tire the system more being a faster reading than every tick,

  • Hello everyone, what's the difference between leaving a condition box empty or using every tick? What is better?

  • Hey community, there is a way to get around this problem of the shot bursting early on the peer...

    This appears to be because the host destroyed the bullet and it had not landed on the peer's screen.