LittleStain's Recent Forum Activity

  • Would this work?

    create a button (you could set the text to "Check Word" or something)

    button on pressed

    Dictionary has key textbox.text

    perform action

    or add the keyboard object

    keyboard on key pressed - return

    Dictionary has key textbox.text

    perform action

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess this is one way to do it:

    textbox on text changed

    Dictionary has key textbox.text

    perform action

  • I expect you read the manual entry for the facebook-object, if not:

    https://www.scirra.com/manual/112/facebook

    And offcourse the tutorial:

    https://www.scirra.com/tutorials/58/how ... ebook-game

    So reading this, first make sure you have your App ID or the facebook object won't load properly..

    To use the scores API also the appsecret should be entered.

  • Without more information this question can't be answered..

    is this a preview over wifi problem?

    did you export the game and upload it to a website?

    please provide enough information when asking a question.

  • I guess the ajax request isn't processed yet when you do the for loop..

    You should check if the ajax event is completed before you use the lastdata..

    create an event Ajax on completed "letras ab"

    put the system for loop as a subevent of that and all should work..

  • Did you add the mouse object to your project?

    right click on your layout

    insert new object

    Input - mouse

  • Add the audio object to your project

    And create the conditions for when the sound should be played.

    for example:

    player on collision with OtherCharacter

    audio play "hello"

  • you could use choose()

    on button clicked set text to = choose("this is the first line", "This is the second line", "this is the third line")

    another way would be to put the sentences in a dictionary object and use the TokenAt expression.

  • PhoenixNightly

    To get the distance between two points in pixels you can just use the expression - distance(x1,y1,x2,y2)

  • Short answer - No.

    Longer answer:

    You could check if x1 is the same as x2 and y1 is the same as y2,

    but if these are moving objects it will allmost certainly never happen.

    You could check if the distance between those points is less than a certain distance and have that call the actions ..

  • Add more conditions..

    for example

    give the player a boolean variable IsHoldingGun

    If the player is holding the gun set the boolean variable to true

    else set the boolean variable to false

    on a pressed

    --player variable IsHoldingGun is true

    player play animation Player(gun)run

    -- else

    player play animation Playerrun

    There are many more ways, but this is the most straightforward

  • It shouldn't be hard..

    The explanation is there to get the x-coordinates and y-coordinates to use in the zoom example from the referenced thread..

    In that example x and y of player1 are used and x and y of player2

    instead of using them you use the lowestx,lowestY and Highestx,highestY

    if there are two players, three players or four players shouldn't make a difference..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies