dop2000's Forum Posts

  • You need to show your code of share the project file.

  • You can move grass tiles to a separate tilemap and add PF cost to it.

  • I'm guessing Platform behavior knocks the character a fraction of a pixel back when it collides with the wall. Maybe with a low timescale it's enough to register a new collision on the next tick.

    Try checking if "Platform Has Wall on left/right" in the events where you simulate platform movement. So that if the character is already near a wall it will not move.

  • You can use BBcode - reduce font size and add offsety.

    Check out the documentation:

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

  • Agree, the search function is horrendously useless sometimes.. I might have 1000 matches for "Player" in my events, and 1000 matches for "Set position". But it's not possible to find "Player Set position".

    A small tip that I discovered: If you use the find window as a popup window, then you can click into the address bar of the find window, press ctrl+f, then you can use the browsers find feature to search through your find results.

    Wow, thank you, it's a clever workaround! Maybe Scirra should add "search in search results" feature.

    I also want to be able to filter or sort the search results by type - condition or action.

  • You mean listing all dictionary keys/values in a text object?

    You can do something like this

    Dictionary for each key
    .. Text Append Dictionary.CurrentKey & ": "
    .. Text Append Dictionary.CurrentValue & newline
    
  • This simple script will base64 encode a text in string variable:

    runtime.globalVars.var=btoa(runtime.globalVars.var);
    

    Use atob() to decode.

    For a bit of extra protection you can replace some characters after encoding. For example, replace "A" with "#", "B" with "_" etc.

  • Maybe you could rotate the whole object 180 degrees, then it will grow from the right.

  • If there is no action to change this property, you can use a workaround - create two default instances of this sprite (on a separate layout if you wish). Configure them as templates, one with rotate=off, another with rotate=on. Then in runtime you can spawn an instance from a template.

    construct.net/en/make-games/manuals/construct-3/project-primitives/objects/templates

  • I understand that I can still spawn the item with the correct attributes as long as there is an object of the same type within the layout

    It doesn't need to be on the same layout. A common approach is to create a new unused layout like "Assets" or "ObjectRepository" and place default instances of objects there.

  • You can use a global object (an invisible sprite) with NoSave behavior. Create instance variables on that sprite to store the values which should not be affected by saving/loading.

  • If I create a sprite and use the touch or mouse object I can't seem to tween my camera. There is no option.

    What do you mean by "no option"? You should definitely be able to do that.

    Try something like this:

    Touch On Touched spriteButtonRight : Camera Tween X to (self.X+1920)
    

    Make sure that the sprite button is on a separate layer with (0,0) parallax, so it won't scroll with the rest of the layout.

    You might also want to add another condition to "On Touched" event checking that the Camera Tween is not currently running.

  • Seems like a bug, I suggest reporting it:

    github.com/Scirra/Construct-3-bugs/issues

    If you reset the polygon in the capybara sprite by right-clicking any point and selecting "Set to bounding box", and then rebuild the polygon, this should fix the issue.

  • System Save action saved the entire state of the game - all objects, variables, everything.

    With Local Storage you can choose what data you wish to save.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try exporting with the latest beta:

    construct.net/en/make-games/releases/beta/r304