IGDev's Forum Posts

  • How make counter on layout which display in game how many players currently is playing in my game?

  • How do I play audio when i choose other tab in my browser

    Currently when my game is playing i change tab

    game freezes, music is not playing

    possible?

  • too bad ;/

  • TextBox css

    ok now how to change style of half text

    when i set css style and change color

    whole text have red color

  • For exmple when you press space textbox display on screen some characters

    System set text > "aaa bbb ccc"

    how can modify text in events to display something like that

    When i run preview

    i press space

    and text object display

    Tiny size 'aaa' or with other color but rest of typed text should be normal

    I making simple chat but when i send message i want set tiny text of time using Rex Date.hours, minutes

    rest of text should be normal

  • It has been a few months since I last used the multiplayer template - but it worked fine.

    It is very easy to run into trouble if you are not clear on how it works. If your peer position is getting reset, then you are probably trying to move it manually, rather than having the host move it (then on sync, the host moves it back to where it thinks it should be).

    When you follow the rules, it works well, but if you try to do things like you would in a single player game you will break it very quickly!

    I dont change anything i just run template

  • Please anyone to check C2 multiplayer template

    when i run preview and try walk on the screen my peer back every second to previous position

  • When i use for blue sprite 8 dir move and when i overlapping red sprites they ar not blocking path but move out

    how do this without physics ?

  • Rojo can you take look at this topic?

    Im wondering how do a hills to walk higher without jumping ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • how can i make hills like i this image?

    of course this hills should be walkable without jumping

  • R0J0hound how i can make condition,

    when textboxs is finished editing do something

    ?

  • Thats p[erfect also first time i see 'len' expression Thanks Rojo! > Here's one way. Under the on changed event check all the inputted characters and only keep the digits, then only keep the first two. > > https://dl.dropboxusercontent.com/u/542 ... input.capx

  • What i need:

    i need to type number in textbox object but typed number cannot be greater than 99 or not less than 0

    (i use advanced textbox object)

    how i should create events to block typing text (numbers) than two characters?

  • TELLES0808 thanks

    tell me in C2 is expression 'is rotating' ?

    when i rotate everytick sprite

  • For example

    i have 3 global variables

    -A

    -B

    -C

    A is clicking counter

    in B system will randomize numbers from 0 to 9

    C show which number should not be picked

    when global variable 'A' is less than 2

    i click LMB and

    i set global variable 'B' to int(random(0,10)) without number typed in 'C'

    'B' should never display C number or automaticaly random again to avoid display 'C'

    when global variable 'A' is more than 2

    i click LMB and

    i set global variable 'B' to int(random(0,10))