LaDestitute's Recent Forum Activity

  • Hi, I'm a student who lives on the west coast of the united states, and I have a passion for video game design, video games, and computers. I also love music. :3

  • Slashing? As in a sword weapon? Is the short part of the player sprite or does it serve as a sprite pinned to the player when in use/at all times?

  • Bytes, you don't understand what I'm trying to bring across. This health bar I cooked up for my game, with a little tinkering; the same mechanics can be used for a Zelda style health display.

    In place of the frame, you just have the single hearts frame in place on the top gui layer. You place the red graphics (you'll probably have to have more than one of the red graphics, from full to completely empty) in the same x/y coordiates on a topmost layer (for gui, with 0,0 parallex) and with a little adjustment; you can get the health gui to change display without filling over or running into problems.

  • Here, take a look at the health bar in my project.

    Capx

    I'll see if I can whip up a custom capx for you tomorrow, alright?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Fixed the bug, but I still like to know if such an expression exists.

  • Are you sure your not forgetting to add the destroy function after their hit by the strike or whatever?

  • Is there a system expression for accessing the "current" value of a global or local variable? No, not the value initially when the first layout is run. I mean accessing the current value when an event is run.

    Because, I made a HP bar using a global variable, some expressions and and width adjustments via events every tick. I only came across one bug from 20 minutes of testing:

    Player starts out in layout one.

    Player takes damage.

    Player moves to layout two, via portal; HP bar doesn't change.

    Player moves back to layout one via same portal; HP bar suddenly becomes empty.

    My capx file

  • Cyblarg.capx

    Sorry to double post.

    I managed to get it working in the game me and my friends are working on but I noticed some very bad flaws.

    While the platform (the middle blue one) performs well when continiously moved on without leaving it or falling over, the player can abuse certain methods to avoid the platform disappearing.

    Some examples:

    If the platform is in the middle between two other platforms, the player could easily jump from the first to second (vanishing) to third (therotically, if they make multiple trips back and forth) without setting the middle one's function off. This also works if they simply jump from platform A (normal) to platform B (vanishing), run across it and then jump to platform C (normal). Nothing happens even if they do this repeatedly.

  • Briefly commented capx

    Thanks dude!

  • How would I create vanishing platforms in a side-scroller context? As in, a platform sprite that will vanish if stood on too long and then respawn shortly after vanishing.

    I thought of using x-y coordinates as a condition, but I'm not sure how to get them to be paired together instead of as just separate events.

    I also tried the on collison with player, but the platform vanishes when the player touches the bottom or sides. I don't want that.

    I also tried the "on platform?" condition, but that didn't work so well. >_<

    Project link

LaDestitute's avatar

LaDestitute

Member since 19 Dec, 2011

None one is following LaDestitute yet!

Connect with LaDestitute

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies