brunopalermo's Forum Posts

  • Create a text object and set its text to the variable.

  • Not gonna happen.

  • It's related to the angle, not the position (near the border of the layout).

    Just check this test out:

    [attachment=0:d9w0eb3k][/attachment:d9w0eb3k]

    Still trying to find a workaround...

  • Definitely a bug. And you don't even need to be close to the border or the layout for it to happen. just check this example. I just moved everything left to test...

    [attachment=0:1lcwqbyn][/attachment:1lcwqbyn]

    EDIT: Also tried reducing the font scale and it happens the same with a slight difference to the angle range where numbers disappear...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As far as I understood you already have a variable you update every second. Use the final value of that variable...

  • No idea. Lol. Can you rename the thread and add [SOLVED] to the title?

  • Right-click the event and choose "Make 'Or' Block", then add all conditions that apply.

    [attachment=0:3dcm7504][/attachment:3dcm7504]

  • Are you looking for something like this?

    [attachment=0:nra5ps8j][/attachment:nra5ps8j]

    Just place the blocks at

    x: floor(Mouse.X/32) * 32

    y: floor(Mouse.Y/32) * 32

  • Not sure why this happens, I never touched the actions that activate deactivate each group.

    By the way, regarding this... I'd rather check for a variable or for the visibility of layers instead of activate/deactivate groups.

  • Added an example above...

  • You can use WebGL to tint them... But it won't work for all platforms...

    [attachment=0:tr648cs3][/attachment:tr648cs3]

  • Try this.

    [attachment=0:sje1w26m][/attachment:sje1w26m]

  • Glad to help!

  • Oh. I didn't notice the check you make is "case insensitive". Duh!

  • You should also check if part of the name matches each key. You can do that by checking if find(scorePlayerName.Text, ProfanityFilterDictionary.CurrentValue) is different from -1. If it is, it means the key is included in that player's name and should be filtered, if it is equal to -1 the key was not found and the name is fine.

    For example:

    Your method would detect if a player used "Fuck" as name, but would not detect if he used "Fuck1"

    The find method above would return 0 for both "Fuck" and "Fuck1", meaning the key was found and should be filtered.

    Also, you should save all keys in lowercase and test the lowercase(scorePlayerName.Text) against them. This would avoid players from getting away with it by writing "fUcK" for instance.