Ldk's Recent Forum Activity

  • I know. Found the correct folders eventually. Had to create a new project and save it as a project. I have always saved all my stuff as a single file and havent seen any folder structures.

    Managed to recover 6 hours of work.

  • Hi.

    In which folder did you place your missing image? I am having the same issue.

  • ahh ok cool. thank you

  • Hi

    Is there a way to record the debug information. I have a few issues and its extremely hard to pick up. The error occurs so quickly its impossible to see what it states. It just switched over in less than a split second.

    I can see something was there but now its no longer showing that information.

    For example. My animation changes.

    The cycle follows this

    Run -> jump -> jumpkick -> fall

    But sometimes there is a variable between jumpkick and fall.

    I can see it but its too quick to read what animation it was calling.

  • liking the art style for your mother project.

  • Still a lot to be done but the game is coming along nicely.

    Elephant will run away after stomping people.Leopard will kill people

    Eagle will blow people away with the wind from his wings.

    http://youtu.be/N28A3i8F694

  • Thx. That did the trick. Much appreciated.

  • Hi.

    Trying something simple but i must be misunderstanding something.

    I have a global variable i want to be set to 1 when the player is pressing down on the direction keys.

    If they are not pressing the keys i want to variable to be set to 0.

    Global Variable ("movekeys")

    I tried the following.

    If key (A) or (D) is down set variable to 1

    I t hen inverted the If key (A) or (D) is down set variable to 0

    However the variable stays on 0.

    I then tried if key is pressed set variable to 1

    If key is released set variable to 0

    However the last option is not viable because if you switch between keys to quickly then the variable gets stuck on 0. As you pressed the key and released it and pressed it all in 0 seconds.

  • Hi.

    You do not need seperate imagepoints for mirrored or non mirrored.

    It should work with just one imagepoint.

    This is what i did. Keep in mind it looks a bit more complex than it should be, as its part of a combo attack.

    Quick explanation of the steps.

    1: If attack is pressed set the instance variable of the character.

    2: If the variable is set, then only can it play the attack animation

    3: If the attack animation is playing, then set the helper to the imagepoint of your character

    4: If the animation is finished playing set the helper to position 0,0. (i also found if you destroy the helper its gone forever.) Then set animation to idle.

    The bug you speak of of the imagepoint i think is related to the way you set up your events as i experience similar issues.

    Try the above method using only 1 imagepoint. Only set the imagepoint while the animation is playing like i did.

    Also make sure your sprite is scaled weird as this can cause issues when mirroring it.

    Hope this helps

  • DUTOIT

    Cool thank you for the feedback. Cleared up all my concerns.

    Cheers

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1) Create a new imagepoint on your sprite. Call it "punch"

    Create a new event that pins the "helper" or punch collision box to that imagepoint of your sprite.

    Detect collisions for punching the enemy from the helper you created and not from your player sprite.

    If Punch Helper collides with enemy - destroy enemy

    2) Use if key pressed. Not if key is down. If key K is pressed set animation to "player punching"

    Create another event If animation "player punching" finished set animation to "Player idle"

    3) Yes i had this issue as well. Create the helper object off the screen. Create an event that spawns a new helper and sets it position to the imagepoint as discussed earlier. On animation idle destroy helper

    4) Give enemies platform behavior. Disable the default platform movement. Create a new helper. E_Jump or whatever you wanna call it.

    Create an event if enemy collides with "E_Jump" helper then simulate platform pressing jump.

    Basically you will need to place that helper at every possible place you want them to jump. Near edges of platforms.

    I hope this helps. If not im planning on doing a tutorial soon on how i did all my platform movements and enemies.

  • Do you perhaps have another CAPX. im not too keen on using beta builds

Ldk's avatar

Ldk

Member since 4 Aug, 2013

None one is following Ldk yet!

Connect with Ldk

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies