brair_user's Forum Posts

  • How i can getelementbyid from div ?

    my html:

    <body>

    <div id="name">my player name

    </div>

    <div id="c2canvasdiv">

    <canvas id="c2canvas" width="1000" height="500">

    </canvas>

    </div>

    </body>

    now i must use CAllJS or something to get player name frome div ID. What i must write in execute?

    i add to construct JS this:

    "var "&name_player&" = document.getElementById('name');"

    next

    i set text --> name_player

    but this dosent work;/

    how i can put player name frome website to construct?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks but this dosent work fine... game is in web browser(iframe)? dont know what system i use?

  • Hi:)

    I would put my game on the website. Controls the computer keyboard but if Run the game by chrome or Mozzila in my phone and cant controle becouse i dont have keyboard; /. I added control buttons on the phone. my question: how to make buttons that were shown only when the game will recreate the phone? If you are turning the game on a computer-controll we buttons for phone invisable. "Only on the phone" to make it visible buttons thso-controll. I might add that the game is played in the browser chrome / Mozzila(im put my export file frome C2 to iframe).

    sorry for language but i use translator:)

    Please help me friends

  • Cool! Heyguy you best!

  • Thank You! I like your games

  • How do I make 3d game in construct? Where i find some toturial or exaple file capx?

  • OK. Thanks for help

  • thanks for help

  • I have a problem with adding images into the screen canvas in html file as in the attached url . I would like to add a image .png under the screen canvas2 . This image must be scaled with the window canvas2. what i must change in my index.html?

    how can I add an image to the canvas2 was responsive or scale well with screen canvas ?

  • Can someone share for me file? i want save slot, next restar computer and load my slot frome json or some file. Please

  • I have a question. when my game thrown on the server , Export data for the help plugin callJS ( example " var name = Eric" ) and save my data in JS . But how i can load my " var name = Eric" when i 'm next time we run game . I need to load this data becouse my game is uploaded and stay in server game.zip so how i can do this? Pleace somone help me . Sorry for my lang

    I need some code in JS or some example file .

    The great graphic designer so if somone help me and draw the layout for game or something

  • You inspired by the Seattle Seahawks but nice game. 200, 000 is good score on this moment

  • nice idea friend:)