sled's Recent Forum Activity

  • Hi

    I haven't found this anywhere so:

    How to do condition that repeats itself for every let's just say 10 points. I know there are many examples with time, but none with something other then time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes I know that inline and block was in css, and i thought that it describes the situation quite well:D

    I must doing something wrong. When i put your code in event sheet everything is good, but no results in game, hiscores still displays in one line and not in a block. This spritefont is a plugin i have found in this forum. It's a sprite, so i think i can't append text to it :(

    Anyway here are my screenshots, I hope they are allowed here.

    First is this Spritefont object events(they are not mine, they were in example of usage)

    second are the request to php

    and the third is your Ajax condition, on my events:

    I checked the post.php file, and it has this "\n" at the end

  • Thanks Yann, with your fantastic help I was able to get it right, but now I have another question.

    I want to do this hiscore thing with spritefont plugin, but scores are displayed inline(player1,30,player2,50...and so on) with that plugin and i don't have to say that it looks bad.

    How to make them display in block like in normal font.

  • OK i got this working, but where and how do i have to put my variables for user:

    I want this:

    When level is finished -> display text field where user could enter their name -> and when hitting enter the hiscore board is displayed with actual score and name of that user.

    Now i've got only this and don't know how to replace NEWENTRY and 1337 for variables:

    "post.php?name=NEWENTRY&score=1337"

    "readscores.php?num_scores=10"

  • How to run this hiscore example. First I have exported it to html5 from Construct2. Then I dropped created files to my server with those php files from example, and when i press left or right arrow nothing is displaying, only white board.

    I have win7 64bit and using firefox 9.01 if that helps

sled's avatar

sled

Member since 17 Jan, 2012

None one is following sled yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies