DJmetal's Recent Forum Activity

  • Hey!

    So I'm making this sidescrolling space shooter, and I have a very weird issue.

    See, I want to make the background scroll automatically. I'm having a hard making said background scroll and return to its original position as it is.

    But what REALLY makes me scratch my head is the fact that when I add Pharalax to the backgrounds, the bullet objects I added get lost somewhere. If I keep pressing the FIRE button, after like 6 seconds, the bullets will appear from behind the character outside the layout.

    It's really strange that this happens, as it was supposed to be a very simple event or two to get this working. For some reason these bullets get disoriented or something because I activated the Pharalax (any value other than 100,100 apparently). And the bullets and the background are not even in the same layer.

    Can anyone help me? This is truly bizarre. In the meantime I'll be checking out a past project in which I involved both bullets and Pharalax, but until now, I've done nothing different.

    Hope someone sheds a little light on this matter.

    Thanks in advance!

  • Thanks, I'm looking into it with what you suggested.

    No luck so far because apparently the character is indestructible now. (I think it was destructible before I tried your suggestion). Apparently it's either not substracting a 1 from the HP variable, or it's not triggering DESTROY when the HP variable reaches 0. It's so weird... In theory, this should be a PIECE OF CAKE. But when I try to put it in events, it just won't work! It's a bit frustrating.

    EDIT:

    Finally got it working! It was a lot simpler than I thought.

    _______________________________________________________

    Player 1 Overlapping DAMAGE||

    + System: Trigger Once||||||||| Substract 1 from "HP"

    ---SUB EVENT:

    ---If HP=0 ||| Player 1 Destroy

    _______________________________________________________

    That was it!

    Anyway, your help is MUCH appreciated!

    You now have my permission to go to bed.

    Haha, jk. Thanks again!

  • The software is great and all, but a lot of times I feel that transferring my ideas from my brain to the C2 project, is like having your wishes granted by an evil genie. Always a horrible twist in them. Maybe this'll be until I get 100% used to how the program works.

    Anyway, my problem today is this, and I hope there's someone kind enough to help me. It's absolutely essential for pretty much any game with a life bar!:

    I have a top-down view perspective in my game.

    And I have this character who moves in 8 directions.

    Now... I want to have a particular terrain type in which if the character STEPS on it, he'll take damage.

    Here's what I've done:

    1.- Added global variety: P1HP (Player 1 Health Points) = 3 (character starts with three "hearts")

    2.- Added a sprite-terrain called DAMAGE, where the character is supposed to walk on and take damage.

    3.- Added Variable: "takingdamage"

    4.- Added Event:

    If P1HP = 0 ||| Then Player 1 = DESTROY

    5.- Added Event:

    IF PLAYER OVERLAPS DAMAGE|

    +"takingdamage" = 0||| Set "takingdamage" = 1

    6.- Added Event:

    IF "takingdamage" = 1 ||| Substract 1 from P1HP

    Player 1 Opacity Set: 20

    Wait 0.2

    Player 1 Opacity Set: 80

    Wait 0.2

    Player 1 Opacity Set: 20

    Wait 0.2

    Player 1 Opacity Set 100

    "takingdamage" Set 0

    ----

    And playing around with this, I've gotten two totally different results:

    A: The player is destroyed the second it touches the DAMAGE field.

    B: The player blinks (opacity), but never gets destroyed.

    I have NO idea why the game acts like it does. And more importantly, why are there specific moments when the program ignores the "WAIT" commands.

    I would REALLY appreciate the help.

  • I'll be tinkering with the options, but I think I got it right with the settings I chose.

    Thanks!

  • Hi, so here's my question.

    I'm starting a big project, and I'd love for it to someday be a part of the Steam library of games.

    But my question is... what template or set of properties should my project have?

    It's basically a (manual-sidescrolling) platformer, and of course I want it to be 16:9 proportions.

    But I don't get what's the difference between widescreen, 16:9, and HD.

    I've chosen Landscape 16:9, but I'm hoping this doesn't end up backfiring in the future.

    Did I choose ok?

    Help would be really appreciated.

  • Now that I think about it, for the project I have in mind, a copy+paste of the whole project and tweaking it around is enough.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, new poster here.

    I couldn't find an introduction section, so I guess I'll just skip straight to my first question. It's kinda silly, and having spent a month with Construct 2, I think I know the answer I'm going to get.

    Is there any way to copy an event from one project to another?

    I could really use this knowledge, if it's possible.

DJmetal's avatar

DJmetal

Member since 16 Mar, 2014

None one is following DJmetal yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies