Freddy33's Forum Posts

  • Ah, I see now. Thanks for all your help with this buddy, I will send a link to the game when its done. I just want to make sure its polished and good and everything looks and plays well.

    Thanks again pal :-)

  • Hi, I'm really sorry to keep bothering you but I'm quite enlightened with this, but a tad confused why it works.

    The global variable I presume means false. (Set to 0)

    Then the system is set to 1 (which I assume is true)

    But below system is "if player is on platform is idle"

    Then the system is set to 1 (when w is pressed) I'm just confused as to why this works, and how that variable relates to throw?

    Sorry about this man.

  • Is it because the state is the platform and 0 is false and 1 is true?

  • Buddy, that worked perfectly. Thank you so much. When the game is complete I will give you a mention in the credits. That was taken me ages to figure out.

    I seen a few youtube videos where the dude uses string states for animations, but it was getting confusing because i have multiple animations.

    Does this work because the "state" is set to platform?

    Again I really appreciate your time and help because you have saved me hours buddy.

  • Hi buddy, i tried doing that and inverting it it but it didn't work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello. please help.

    I am trying to get this animation to work. Basically I want the character to have the throw animation playing when W key is pressed.

    It works only if i disabled the top two. Anyone know what i code/events i should add? Please help, I am really struggling with animations and switching between them.

    Many thanks

    [img=

    ]

  • Hello,

    I am still quite new to construct, a couple of months in. everything i do i doubt if its ok, or if there is a better way to do it. This works, and took a bit of time to fiqure out. Any direction or advice would be appreciated. This is so an enemy shoots the player when the player is range (using the turret behaviour) - which will be needed.

    Thanks for any help

  • Thanks everyone for the help.

    I tried to emulate the one from kiwi story but it didn't work. Different viewport settings.

    I could do the bullet one, thanks. It's the code o struggle with, like where to put brackets and expressions.

    I guess it's trial and error until it works. Can be tricky if you don't know what code to use.

    Thanks all :-)

  • Hello, does anyone know or have access to events on how to create leafs that float into the screen? It's proving a touch tricky to get this to work.

    Many thanks

  • You do not have permission to view this post

  • Thanks buddy, cheers for the event. That may come in usefull as well. I think I will use both ddepending on the situation. Appreciate you taking your time to help.

    Thanks to everyone who helped!

  • Sprites have a condition 'is on-screen' if you negate this you can destroy the sprite if is not on the visible screen. Your sprite has to be on screen from start or spawn on screen otherwise it would be destroyed immediately.

    Bullet| (not) Is on-screen -> Bullet| Destroy

    Ahhh yeah, this is perfect. I never realises that this was an option. Thanks very much buddy :-)

  • Than you very much buddy, So just set x bullet destroy? somthing lieke that?

  • Hi, this is a bit of a rookie question. However proving tricky. How do I destroy a bullet outside the screen? Destroy bullet outside layout won't work because my layout is 20,000 width. The bullet just keeps going. Which is a no no.

    Anyone be able to give a event please?

    My bullet destroys if it hits tilemaps ect, but if it's a sky shot it just goes on and sometimes kills enemy's who are a few screens onward.

    Please help, thanks

  • I think this is possible. You can dynamicly load and unload all graphics and sounds/music.

    https://construct3.ideas.aha.io/ideas/C3-I-111

    https://www.construct.net/de/make-games/releases/beta/r117-2

    > New memory management feature for C3 runtime: control which objects/layouts are loaded and unloaded from memory

    Thanks buddy, it's quite hard to optimise it!