dop2000's Forum Posts

  • Sigh...

    Why did you change extension for "project.c3proj" file?? Rename it back from "project.c3p" to "project.c3proj"

    Go back to "bamboo forest.c3p" file. Rename it to "bamboo forest.zip"

    Extract files from "bamboo forest.zip" into an empty folder.

    Open "project.c3proj" file in Notepad++, make changes, save.

    Don't do anything else. Try opening this file in Construct 3 editor.

    If successful, make a backup copy of the entire project.

  • rborsuk Yeah, the files got removed a few days ago, hopefully this will be fixed soon.

    Here is the zip:

    dropbox.com/s/eu5gx6ihl091urj/Post_To_Google_Spreadsheet.zip

  • In a big project hard-coding UIDs in code is a bad practice, you should use instance variables instead.

    If you need to detect when the character is standing both feet on the platform, you can put an invisible Zone sprite, which is smaller (narrower) than the actual platform. Then use "on collision with zone" or "is overlapping zone" events.

  • Note that for SpriteFont, the color is applied as a tint. To ensure you can use any color text, use a SpriteFont with the characters drawn in a white color.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/sprite-font

  • 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 rectangle! :)

    Seriously, an invisible rectangular sprite for character is a very common technique used in platformer games. It helps to avoid lots of potential issues with changing collision polygons. Player actually controls that invisible sprite and the character sprite is pinned to it.

    You can use other invisible sprites (green zone on your picture) to detect when character steps on something, or enters a room etc.

    Just a second condition to "On landed" event:

    CharacterBox On landed
    CharacterBox Is Overlapping LandingZone
    .......(do something)
    

    .

    Edit: I may have understood your question wrong. If you are asking about how to detect when the character is N pixels above the floor, in this case - yes, you need to use "Overlapping at offset" event, with a positive number in Y offset. Possibly together with "Character is falling" and "Trigger once" conditions.

  • There is a demo project in C3, on the Start Page search for "JSON".

    editor.construct.net

    If you still can't work it out, you should ask more detailed questions and post your code or the project file.

  • Ashley, Thanks. So this is not a shader, it actually overwrites pixel information for this image in video memory?

  • In event #5 you should use "Set Max speed", not "Set speed".

    "Set speed" means current speed, that's why your car starts moving every 7 seconds.

  • Same here.

    If you are using Local Storage, try clearing it.

  • You need to enable showing file extensions in Windows..

    After that you should see your project file as filename.c3p, rename it to filename.zip

    After unpacking and making changes to .c3proj file, you should be able to open this project in Construct editor (no need to zip and rename again).

  • You can try "System Set canvas size".

  • Rename c3p file into zip, unzip it into a folder and open .c3proj file in notepad or similar text editor.

    Change version number in these keys:

    Note, that this may not work if you've used any of the new features from v 38.2, which were not available in 37.

  • cambiaresearch.com/articles/15/javascript-char-codes-key-codes

    You can use Keyboard.LastKeyCode expression to read codes from the keyboard.

  • Ashley Does it work the same way as "Set color" effect? Which is better? I tested on 500+ objects and didn't notice any difference in performance. (on PC at least)

  • "On Hold" is a gesture, and it's a triggered event. It means that it happens only once, and after you've kept your finger on the screen (in the same spot) for about 1 second.

    "Is touching" is a condition, this event will be executed on every tick from the moment your finger touched the screen and as long as it continues touching, even if you are moving it.

    So "On hold" is good for controls like menu buttons, when you only need to execute the action once. "Is touching" is suitable for things like virtual joystick etc.

    It's important to remember that all "On ..." events in Construct are triggered, and all "Is ..." events are continuous, and to understand the difference between them.