rockyracoon's Recent Forum Activity

  • Yup. You're right!

    I fixed it in the end by adding an 'IF pressanykey is visible' - then activate keyboard.

    Worked great in the end.

    Thanks for the advice.

  • Disabling the controls will only disable the movement but it won't stop your animation events which are probably on key pressed - play animation. Add a condition to your play animation for WASD events, to play only if hp > 0.

    Here's the code for my endgame layout. Basically this happens when player health <=0.

    Left alone this plays fine. Problem is, usually the player is pressing one of the movement keys at the end of the game, which then skips the Endgame layout and animation completely.

    It's interesting what you say about disabling controls only disables movement. I hadn't thought of that. In which case, how do I stop any keypress from skipping the ending animation?

    Can you elaborate please?

  • I have a game that uses AWSD and the arrow keys for movement (8 directonal behaviour).

    When Health <= 0 the end game layout loads, which is a full screen animation.

    All works fine, except if a player is pressing one of the keys as he 'dies' the animation skips before it's played through.

    Things i've tried; Disabling controller at end of game and start of end game layout.

    Creating a variable (Can_move) assigning controls to Can_move=1 then disabling controls for Can_move=0 and adding this variable change at the end of the game screen and the start of the animation start.

    Can't get it to ignore the controls when my game ends????

    Can anyone advise please?

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a game where I have a 'wheel' sprite is continually rotating on it's center point.

    A 'target' sprite is attached to the wheel sprite's image point (far right) so it creates the illusion that the 'target' sprite is rotating (the 'wheel' sprite is invisible).

    I want to clone both sprites to create a second wheel and target sprite. However, when the original 'target' sprite is destroyed (on overlap) the 2nd 'target' sprite jumps back to the original wheel's image point.

    Ideally, I need to create multiple clones of these sprites but not if they keep jumping back to the first.

    Here's the basic layout:

    Can anyone help me out please? Thanks in advance!

  • Hey All,

    I have a game setup so that when two variables match, I want a camera sprite (with a scroll-to behaviour) to lerp position to another object.

    Problem is, I can only get the Lerp working when i start with an 'Every tick'. If i place this at the start, then the movement occurs before the variables are checked. I just can't seem to fix it.

    Anyone have any suggestions please?

    To summarise:

    SYSTEM - COMPARE VARIABLES - VARa = VARb - LERP position.

    Thanks,

    BB.

  • Hey All,

    I'm currently studying a course and our college uses the free version of construct 2 (Go figure!)

    We were tasked with designing a game from scratch and i'm still new to this!

    Probably, naively, while most my classmates decided to make a side-scrolling shooter, I decided to make something really different. It's a climbing game where the player needs to reach the top before the time runs out.

    I've added a link to the project but so far, I've created the body movement (You only see his top half) and use WASD for the left hand and the arrow keys for his right.

    The idea is, the player moves his hands to blocks. Once both hands are locked the screen moves up and the hands are released. I'm really pleased with the progress but I'd love someone to take a look and come back with any suggestions / recommendations as i'm hitting a block with the upward movement and figuring out how to keep adding blocks etc.

    Sorry for the long winded post but I want you to understand i'm not just uploading my file and expecting someone to fix it. Just some advice to a beginner please!

    Thanks.

    drive.google.com/file/d/1TfI55V1CGmiOgmmYLGhCZbdcqvsn5q7t/view

rockyracoon's avatar

rockyracoon

Member since 4 Aug, 2018

None one is following rockyracoon yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies