Panamascott's Forum Posts

  • 1 posts
  • I'm building a fantasy football app, which I will gladly share :)

    I'm new to construct. I've dabbled in programming, and I can usually pick it up really fast, however I do best with either books (which I can't seem to find for construct), and analyzing code from other projects - which I haven't been able to figure out how to do that here either...

    Anyway, I am trying to use button clicks with JS. I can get the "alert" box to work, but I am not having much luck with getting anything to display in the text box.

    Button>onclick> JS: alert("Hello, World!"); - This makes the alert box.

    Button>onclick> JS:

    var textObject = runtime.objects.PW;

    textObject.text = "Hello, World!";

    Does not work...

    Thank you in advance... More questions coming as I learn this :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 posts