grigrizljac's Forum Posts

  • As far as I am aware, Letterbox scale doesn't fill the whole screen. If the device has different aspect ratio (usually they have 16 : 9, but they can also have 4 : 3 or 3 : 2 etc.), then black bars will be shown. I usually use Scale outer and then position the elements correctly, so the game fills the screen.

    You may want to check out this tutorial: https://www.scirra.com/tutorials/73/sup ... reen-sizes

  • Awesome, this can come in handy! I'd also recommend a download link.

  • I agree, this would be useful.

  • Make sure that you have .m4a sound files, not just .ogg ones.

    iOS requires .m4a audio files while Android, for example, uses .ogg.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The grammar fail in the thread title made my head explode.

    But you understood the question? Not everyone is native English speaker. As long as it is understood what's being asked, it's ok.

    If it disturbs you, at least write how it should be so OP and others can learn.

  • This plugin, I guess, should do the trick.

    Since there are two keys – private (on server) and public (in C2), it's harder (I think it's impossible, correct me if I'm wrong) for a hacker to decrypt it. Even if they know the public key, they can only encrypt data and send it to the server, but cannot decrypt it.

    Also, it's a good idea to encrypt the public key a bit (instead of plain-pasting it to C2, maybe split it into lots of pieces, then use these pieces together to compose it, change numbers to equations etc.).

  • Check out this tutorial: https://www.scirra.com/tutorials/444/su ... -languages.

    Out of what I've tried, you can detect the language of the device by using Browser.Language expression. It gives you the code of the language (and sometimes region) that the user has set.

  • And it does not work. Note that I DO use "trigger once". The problem is that it is not waiting. It creates the objects all at once; instead of actually completing the loop 10 times, it seems to want to do each step 10 times before moving on to the next:

    Can anyone tell me how to create things in waves without having to make a huge block of copy pasted commands like the first image in this post? Getting a bit frustrated.

    I'm wondering this, too. It seems like the Repeat loop executes the actions (10) times in a row, without going down (waiting).

  • Then, I guess, you should add another parameter to the php and to c2

    Example: if you add a parameter $string to php, make Data in c2 to: "L=" & UserLogin & "&S=" & UserPass & "&string=" & savestats.Text

  • It seems like what you're trying to do is sending data twice (two datas – first in URL field and another time in Data field).

    Try to do like this:

    URL: "http://localhost/legacy/save.php"

    Data: "L=" & UserLogin & "&S=" & UserPass

    I'm not sure what's the savestats.Text inside the Data field.

  • As grandpa and 99Instances2Go said, your event (Repeat 10 times: create obj) runs every tick, that's about 60 times per second, making an unlimited amount of objects.

    I recommend you doing this:

    System|On start of layout

    (

    Right click, add another condition or key C)

    System|Repeat 10 times

    -> Create obj

  • This character should do the trick, it works for me (copy the following line or the second code box bellow):

    ?

    Make sure you put the character to the

    start

    of the text to turn it around (example: [character]text will result as txet).

    When using event sheet:

    Text.Set Text -> "[character]This is some text."

    this will turn to .txet emos si sihT

    ?[/code:2m2fsn1o]
  • There are two sizes:

    • Window size: the size the player can see at once; marked with dashes (- - - -) in layout view,
    • Layout size: the size of the layout; can be larger than window size; it can be, let's say, the size of the map you want. Then, use different techniques (for example, add Scroll To behaviour to your player to follow it).

    About the best resolution, I'm not sure either.

  • Yes, there are. I've made some for various purposes. Simple tools to make lives easier.

  • Agree!