ezrubiera's Recent Forum Activity

  • mmm, u can do:

    Start of layout -> Repeat Enemies.count - oponents

    Pick random(0, enemies.count)nth instance -> enemies.destroy

  • Hi, I want to make a save/load system like "Dark Souls". Every X seconds I want to save the game and load it in the loading screen.

    The problem is that I dont know how to check if there is a saved slot or if the game should go to the first layout. I saw old posts talking about the Webstorage system, but it seems to be deleted and no more useful. Also I don't know how to use it.

    So, how can I check if there is a saved slot in the loading screen and load it if it exists?

  • Hi, I have a top layer with a TV filter and I want to use a sprite that will be overlapping the player that ignores the filter, to see the player clearly. I tried with the blend modes, but I haven't found anything. Any idea?

  • Hi, I want to make some tests, and I want to know how can I limit the fps to 30?

    thanks

    Edit: I am using NW.js to preview and exported game

  • function.Call("get_string", parameter)

    thank you!

  • Hi, I want to call a function to get string from a number passed as parameter to set a variable, like:

    set "variable" to "function.Call("get_string"(parameter))

    but this is not allowed, how can I do this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use another invisible sprite on top of the platform and check for overlap.

    thanks, good idea

  • I want to know if the player is over a specific object.

    The player has platform behaviour, and the other objects has the jump-thru behaviour.

    Thanks

  • (probably a dumb question)

    is that the same as

    Xnormalised = cos(angle(player.x,player.y,target.x,target.y))

    Ynormalised = sin(angle(player.x,player.y,target.x,target.y))

    ?

    I think yes, I used that formula to get what I wanted.

    Thanks both.

  • So how can I normalize a vector like this?

    X = (target.x - player.x)

    Y = (target.y - player.y)

  • I just logged the text to the console and copied it. I don't know how to generate the actual characters from the keyboard. For control, alt, etc., they return strings, not characters, so you are going to have to search for those strings first, and convert to some special character that can be mapped in SpriteFont. 'Shift' is not reported as a key code.

    Ok mate, thank you very much!

  • korbaach blackhornet Nice, but how did you write that characters? Maybe a stupid question, but I don't know how u did it.

    And also I need 'Ctrl', 'Alt', Shift...

    Thanks, and sorry for too many questions

ezrubiera's avatar

ezrubiera

Member since 25 Nov, 2012

None one is following ezrubiera yet!

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual

Progress

12/44
How to earn trophies