Bpratt107's Forum Posts

  • 7 posts
  • YOUR FINANCIAL STORY- Evidence-Based Financial Education

    For the past 2 years I've been working on a game for high school students and young adults that (hopefully) teaches them how to budget, invest, and prepare for life situations in their future using the Construct 3 engine. As an educator for the past 6 years, I saw a need to high quality, engaging financial education. Please take a look and any feedback is appreciated.

    Subscribe to Construct videos now

    https://play.google.com/store/apps/details?id=broganpratt.com&hl=en_US&gl=US

    If you are an educator, or are simply down on your luck, contact me for a free copy.

  • You can find the structure here

    radmatt.itch.io/dialogue-designer-documentation

    I'm currently working on parsing this right now, should have most features done in a few days here if you're still interested, I can upload a tutorial

  • My apologies, I didn't have notifications turned on for this thread.

    While the other solutions may work, this is probably the simplest way to do it IMO. Works in my game currently.

  • You could make a str variable called "CurrentAnim".

    On Layout End > Set "CurrentAnim" to "PlayerSprite.AnimationName"

    (this stores the name of the current animation as a str variable when you leave a layout)

    On Layout Start > PlayerSprite Set Animation > CurrentAnim

    (this will take your str variable, and set your player's sprite to the previously stored animation)

    Hope that helps.

  • How are you causing your sprites to move? Are they moving along a path, setting position at various points, etc? It might be an issue with your moving code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Goal: Create a sprite object on a global layer, that persists/remains when switching layouts. Needs to be able to switch to layouts that do not include the sprite's global layer, and when switched back to a layout with that global layer, the created sprite remains.

    I have multiple characters in my game (with multiple walk, jump, etc animations), and the player sprite swaps (while the hitbox/camera sprites remain) between different layouts. How do I create a player sprite that remains between layouts, when not all layouts in my game have the player sprite global layer? (the journal for instance does not have the "player" global layer. If I were to simply make the player sprite a global object, it would remain on these layers which I don't want).

    A caveat:

    - the player sprite's animations are quite large, and I cannot simply use an animation swap, it needs to be a sprite swap (unless there is a way to easily delete animations from memory?)

  • Here's what I'm trying to do:

    Layout 1: includes a list (Item 1, Item 2)

    - The layout loads initially, Item 1 is displayed, player selects item 2.

    - Player leaves the layout.

    -Player returns to the layout, I want item 2 to still be displayed (problem: list returns to displaying item 1)

    - Tried adding the persist behaviour to the list object, however this causes the list to delete the entirety of it's entries upon reloading of the layout.

    Thoughts?

    Tagged:

  • 7 posts