BabyCave's Recent Forum Activity

  • You're a lifesaver, Kyatric. Thank you!

  • Well the capx appears to be missing some png files (the loading icons and the favicons for the project), this might be an issue in the long run and might cause the javascript issue.

    Thanks! I just opened up the caproj, and it gave me a list of them. I didn't realize I was missing them. Is there a way to replace them, or should I start a new project and re-import the assets, to avoid future issues?

    As for your problem, simply add a system condition "Else" to events 29 to 31.

    It's just a (common) issue of how events work. You press S, the code testes if you're positioned over a "up" stairs, yes ? then it moves the character.

    Then it testes is the character positioned over a "down" stairs ? Well, now yes it is since I moved it as a result of my very previous test. So moving the character again, you are under the impression it hasn't moved from the "up" stairs when actually in the same tick, it moved twice.

    Adding the "Else" condition allows you to prevent that behavior and the checks to perform as you intend.

    Thank you so much. I didn't even think of that. It explains why when he's on an "up stairs" he gets repositioned to the position for the "down stairs." I think I'm doing your fix wrong though. When I go to add "else" to the events, it comes up with red text warning me that '"else" is not valid here', and if I right click and add "else" events inbetween the events it doesn't work. I feel like this is a simple concept I'm not grasping. Haha.

    EDIT: Nevermind!! I just had to indent the events properly in order to get this to work. I'm so grateful for your help, thanks!

    Just a quick suggestion. Rather than hard-coding the position for the doorways, I would add an extra image point to the doorway and then use the Set Position to Object action. If you have many doors, it can save you lots of time.

    Thanks for the tip!

    Originally I had it set to the origin just to test to see if it worked, but I tried switching to using the position to see if for some reason those events weren't working because of their being set to the origin.

  • That was happening to me a few times too. It alternated between giving me a JavaScript error and opening. I haven't played with anything out of the ordinary, so I'm not sure why it's happening.

  • Hey all,

    I'm having a problem in one of my games, and I'm not sure if this is a bug or not so I don't want to post it to the "report a bug" thread just yet.

    I'll post my cap.x below, but basically what's going on is that I have events set up (the last four on the event sheet in the cap.x) so that when the playerbox is overlapping a stairway and the player presses "S," the playerbox is repositioned to the "exit" of that stairway. For some reason the mechanic works fine when the player is going from a higher elevation to a lower elevation, but when the player is on an "up" stairway (decreasing in x value), the playerbox just gets repositioned to the center of the stairway he's overlapping.

    Any suggestions?

    https://www.dropbox.com/s/cz4zmq9jxsvhbo1/Wald0BUG.capx

    All help is extremely appreciated. I'm working towards submitting a game to the Newgrounds Construct 2 GameJam, and I only have until June 15th to push it out.

  • Hey Doc,

    I'll definitely look into that. Thanks!

  • Hurr durr.

    I just realized I didn't have the layout assigned to the correct event sheet.

    Thanks for telling me the event should be okay!!

  • Hey all, I tried searching for this topic in the forums, so I apologize if I missed it, but I've run into some trouble, and I'm hoping someone can throw me an answer.

    I'm trying to create a character screen for a player that reflects its stats.

    I have a dictionary called "PlayerAttributes" with an instance variable called "Strength" and I created a SpriteFont which I want to display the current Strength value. What I tried doing was putting in:

    Every tick - set SpriteFont text : PlayerAttributes.Strength

    in my event sheet, but it doesn't work. Is it possible to set a textbox, or spritefont's text to a numerical instance variable, or does it have to be a string?

    Hope my question is understandable. Please help!

    Thanks.

    -BabyCave

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey all,

    I'm very new at this, and I'm having a bit of a dilemma with my (super-alpha) demo displaying in a very small window on the Scirra Arcade. It's compressing the screen, and since my artwork is pixel-based, the images are becoming pretty distorted.

    This is what I mean:

    scirra.com/arcade/action/11306/wald-0-demo

    Is there any way to make the window appear bigger on the Scirra Arcade?

    Thanks!

    -BabyCave

  • I'm on Firefox 23.0.1, and C2 release 139 (free).

    Could that have anything to do with my problems?

  • I'm using the free version off C2, and I was on Firefox.

    I'll check the versions and take a video when I make it home.

  • You can move the character after you switch images?

    It halts the actions on my end.

  • Hey everyone!

    So I've been mucking around with Construct 2 for a little while. I went through the platforming tutorial, and I'm now attempting to expand a little on some of the possible features.

    I was testing out trying to have two buttons to switch player appearances (and later abilities), and I got the buttons to switch the visibility of the specific sprites/being assigned to the PlayerBox's position, but after I click the buttons, the PlayerBox stops being controlled by the arrow keys. This is what I have so far:

    db.tt/0W6JV9In

    Can anyone help me work out why I can't move the players after I've switched their appearances?

BabyCave's avatar

BabyCave

Member since 9 Sep, 2013

None one is following BabyCave yet!

Connect with BabyCave

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies