HebeinPeter's Forum Posts

  • I have tried to use this tutorial and others, and I have found a process that works, however, when the player gets a game over, everything resets.

  • I am looking for the later option, yes. I am working with arrays right now and trying to get it to work.

  • Hello,

    I have been working on a game and have posed this question before. I have a level based game with a level select option which is working fine; however, I would like to have these level select options continue to be open after you complete each level, i.e angry birds. I feel like this should be a relatively simple fix that I cannot wrap my head around.

    Thank you for your time,

    Peter

  • Hello,

    I am currently working on a game that is using touch controls. I have every other aspect of the controls working, but when i try to get the character to move with my finger, it doesn't work. I feel I have gone through all of the touch control options. I was wondering if anyone had a similar problem and solution.

    Thank you

  • Thank you both so much! I will give them both a go and see what happens. I may add a capx. file to my next post just so you can see what I am working with!

  • Well I do have each level on a different layout. I do not understand what you mean by storing the checkpoints on a variable. How I have it is, after every five levels, the levels become selectectable, even after the character loses lives. I think I have figured it out, but i may send a capx file just to see if you or someo else can test it to see if it works proerly or if i have missed something.

  • Try Construct 3

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

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

    I have been recently working on a game and have gotten very far. The last idea I would like to implement is a level select check point, where after a certain level when the player runs out of lives they can just return to that check point level. I have tried several ways and nothing seems to be working. I was wondering if anyone has come across a similar problem and what the solution was.

    Thank you for your time,

    Peter

  • wow... that's great! Exactly what I needed. Sorry, the move to plug-in was new to me. I greatly appreciate it!

  • Hello again,

    This is close to what I am looking for. I have installed the move to behavior, and it works, but... it is not moving to where I want. It is not following the drawn path. I believe, like everyone has been saying, it needs to involve instance variables, and I have one for the object I want the character to move to, I just don't believe it is set up right, and I am having difficulty doing that. I know it I can have it to where the character finds a path or moves to the line with the first instance variable, destroys that then looks for the next one in consecutive order, I am just having difficulty.

    Thanks agian for all the help!

  • I am still having trouble. I have it where my drawn line has an instance variable. Every tick the system adds 1 to the "Age" of the instance variable. The character is still unable to find the path to the first line. I have included my capx file. I think the character needs to find a path to line.age"number". which would be the first number, on found that line would be destroyed, and he would look for the next one automatically, which would simulate following the path I have created. I just know I am missing something.

  • I have included a snapshot of what I have so far. This is just one of the many examples of what I have tried so far. I believe that the character, sprite two, is trying to find a path to multiple "line" 's. I know that the character has to find a path to the earliest "line" I know the "line" should have an instance variable. It does have one starting at zero. I had the line add "1" to the instance variable everytime a new "line" was created every tick. This did not work unfortunately. I can include the most recent capx file if necessary. This is the only part I am struggling with. After this I know how to do everything else that I am looking for. I really appreciate everyone's help. I have coded a couple games before, I just am not sure why I cannot wrap my head around this concept.

  • The problem is, there are multiple "line" 's. I have an instance variable for the line called age. I have each time the a line is created it adds 1 to the instance variable age. I guess I need an expression for the character to know, that the first line has instance a different instance variable then the next "line". Maybe I am not just explaining good enough...

  • Okay, I have two sprites, which create a path in between them. This path is called "line 1" The character will find a path just fine, to the two dots... but it will not find a path to "line" I am thinking because there are spo many "line 1's" on the layout, so the character doesn't know which one to go to. I need a way to have each line created have a different name, I think... if that makes sense..

  • Oh yes, i follow what you are saying absolutely...but code has a good way of not doing good, even if it sounds right, haha but i will definitely try that! Stay tuned for an update. I have tried using the "line" point, but maybe if i give the line the instance variable, I will try that. Perhaps a global variable would work just as well? hmm...

  • Well, I am using the canvas plug-in. I am able to draw the lines on the screen. Every tick the system creats an object which is my "line" object, from dot 1 to dot 2. I have fixed it now where on left button released, the character will find a path to mouse.x mouse.y. The character gets there fine, but it doesn't follow the exact path. I am thinking it needs to be that the character finds the first "line" object created, follows it, as it hits that object, it destroys it, and the character looks for the next line, and so on, until it reaches the end. I...hope this is making sense.

    In a nutshell... the character has to follow the points, and i do have those points on the screen, because they are drawn... but the character does not follow them, he makes his own path to find the end.