LittleStain's Recent Forum Activity

  • Do you know how to make events with conditions and add actions to them?

    It's pretty easy if you understand how to work with C2..

    Add keyboard to your project

    on key pressed (choose which key) play punching animation

    (first you would have to have created the animation ofcourse and import it into C2 with the image editor)

    Add a collision box to your animation (either by the pin behaviour or by setting the box to an imagepoint on the frames the punch is punching)

    if collisionbox is overlapping enemy - enemy subtract 1 from variable health..

    But if this is all too complicated to understand I would suggest following the beginners tutorials to learn how to program with construct2..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That would be as simple as creating a text variable and setting it to: Text1.text&Text2.text and then setting text2 to the variable..

    I'm not sure if it can be done without the variable step inbetween, but this way it should for sure..

  • Issue is your arrow is on a different layer with different paralax..

    Here's one way to solve it..

  • It shouldn't be that hard..

    something like this should work:

    On key pressed if animation1 is playing set variable ComboAttack to 2

    on animation1 finished if ComboAttack is 2 set animation2 to playing

    else set animation to default..

  • is the arrow pointed right in the original image?

    is the origin of the arrow at the left?

    actually the origin doesn't need to be on the left, but it could be off in comparison with the arrow sprite..

  • You are going to have to use Ajax to send a string..

    There are some tutorials about communicating with mySQL through Ajax and php in the tutorial section..

  • I thought that was what you were trying to achieve, for I don't understand why your text should have issues..

    Here's a small capx with text append, would this work?

  • Another great way to fill an array is with the CSV2Array plugin..

    You can write the csv in excell or libre/open-office and add it to the project-files..

    It really helps me to visualize the array..

  • Wouldn't it work to append : ""&newline&text1.text

  • In this case, where all you actually want to save are the variables, why not use webstorage?

  • I'm not sure, but I think it isn't that important anyway..

    An immovable object doesn't need as much processing as a moving object..

    Only collisions with it are important, for it doesn't react to forces anyway..

    A sleeping object still reacts to collisions and probably the "is sleeping" will be turned of immediately on collision..

    So in a matter of speaking you could say an immovable object is always sleeping, but always awake is actually the same, for the calculations when awake or sleeping should be the same for an immovable object..

  • It ofcourse depends on what platform you're aiming at..

    I guess the limit lies more with the machine running the game than the engine with which it was made..

    Something running without lag on your pc, does not mean it will not lag on any pc..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies