ezrubiera's Recent Forum Activity

  • SpriteFont just maps keys to a grid position in the PNG file. Just add some extra characters that you won't use and edit those characters in the PNG to change the graphic to something else (left-arrow...). Since you are mapping keyboard-keys, presumably you are mapping capital letters, so you could use lowercase letters to map to your special keys.

    But to display the letter I use 'Keyboard.StringFromKeyCode(key)', and they keycode of the bound key will not correspond with the 'Left arrow', for example. Am I right?

  • Hi,

    I am working in the key binding menu and I use a custom sprite font to display the actual bound keys. My question is:

    Is there a way to put keys like 'left arrow', 'right arrow', 'space bar' etc in the character set?

  • ok, got it, without changing the layer. Thanks man

  • I don't know how to use it.

    What I do first? Move the object to the new layer and then repositionate it?

  • Hi,

    I have some objects created in the UI layer (no parallax), and I want to move them to another layer preserving the "relative " position. I mean, i nthe UI layer one object can be at 100, 100 (UI layer) but in the real world is 1024, 345. How do I convert the UI position to world position to positionate that objects correctly when I move them to a new layer.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Finally I did it with an array.

    A bidimensional array in which I save in the 0 index the room UID and the subsquent index the IID of the enemy spawners when I kill the enemy that belongs to that spawner.

    So if I go back to that room, and the IID of the spawner is in the array, it does not spawn anything

  • Hi guys,

    I have a problem, and maybe u can help me. I have a room generation system in which I assign a layout to a room. Same layout can be assigned to many rooms. At the start of each layout, I spawn the enemies through spawners placed in the layout. So now, what I want to do is to not spawn the enemies I have killed, and spawn the enemies that were not killed. I can do this with the persist behaviour, but I as I said, I use the same layout for different rooms, so the enemies from the room 1 are not the same than the room 5.

    If someone knows a workaround for this, I would appreciate it, thank you.

  • and there is a way to show a capx without showing it to all the forum???

  • Problem Description

    When I export the game, it does not work, and also if I go back to Construct and use the preview mode, it also does not work and an error appears

    Attach a Capx

    I can't because it is a professional project, so I don't know how to handle this part

    Description of Capx

    ____ Concise description of what this CapX does ____

    Steps to Reproduce Bug

    • Everything works fine, the preview mode in all browsers works fine, everything cool
    • Export the game to NW.js, it exports it right
    • Open Win64 version and the screen stands black
    • Go back to Cosntruct to the First layout
    • Open the layout in preview mode
    • The error appears

    Observed Result

    This error appears:

    Expected Result

    I expect the game works fine

    Affected Browsers

    • Chrome:YES
    • FireFox: YES
    • Internet Explorer: YES

    Operating System and Service Pack

    windows 10 Pro 64 bits

    Construct 2 Version ID

    r239 64 bits

    Edit:

    Seems to be something relative to container objects that are already placed in the layout. I dont know more. What I did is create a new layout empty, and from there load the must "first" layout of the game. It is just a workaround, not a solution.

  • Yeah, thank you very much

  • TiledBackground

    ok, but now I can only change its size from up to down, no matter where the hotspot is. If I want to make the sprite larger from bottom to top the image is also displaced

  • Hello, I want to make custom progress bars, with custom shapes, so one can overlap each other and whatever. The thing I want to do is to show a percent of an sprite. Not change its width or height, that distorts the sprite. I want a way to render a percentage of a sprite. I do not know if there is any way to do it with construct behaviours and functions, or there is a plugin or something.

    Hope you can help me, thanks in advance

ezrubiera's avatar

ezrubiera

Member since 25 Nov, 2012

None one is following ezrubiera yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual

Progress

13/44
How to earn trophies