Hunter's Recent Forum Activity

  • Hi,

    what i want is : move an object from point A to B in Y axes when i click on a key,

    the problem i have is if i let the key down the object stop moving, but i want when i click on the key, the object start moving automaticly with one click and stop at the point B, and when i click again the object move back to point A even if he doesn't reach point B

    here is an example of what i want to do exactly :

    https://vid.me/7pSw

    here is my capx, help please i'm sure i'm doing it wrong , thanks

    https://dl.dropboxusercontent.com/u/138507172/construct/moving_object.capx[/code:1f20bis6]
  • yeees it works !! it's a smart way to do it! thank you very much ramones you made my day

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • help please ^^

  • actually i mix two screenshots in one, there is only one player

  • thank you briggybros,

    it works, but not in this two case, the camera can't detect him

  • Hi,

    im making a stealth game, and what i want is :

    • the player will be safe in a specific area (box in the example) from the camera
    • if he move one pixel from the area, he will be detected

    i think i do it wrong

    here is my capx :

    https://dl.dropboxusercontent.com/u/138507172/safe_area_from_camera.capx
    [/code:366qp8k4]
    
    thank you a lot
  • thatserafimkid thank you for your quick anwsers, it is really effective with family and frames, but what i can't understand is the number after the global variable, it is not the code order, because tokenat do the order system and int convert it to integer right? but what is after the variable (CodeCombination) i can't understand it

  • thatserafimkid i did it with your method, but the Tokenat Action, it is a little confusing

    i read your explination to EyeForcz, but i think i can understand better in the capx ^^

    capx :

    https://dl.dropboxusercontent.com/u/138507172/Piano%20Forum/numbers_tokenat.capx[/code:32a9cp9u]
  • Thank you EncryptedCow, i will use your code, i found it useful for one of the game puzzles

    thatserafimkid & alextro you are right the tokenat is the best way to do things like the piano puzzle, thank you very much for your help, all of you

    thatserafimkid says : [quote:13gmrwwd]I suppose it depends on how Hunter wants to use it

    actualy i have two type of puzzle in the game, the piano puzzle (with tokenat method) and another with numbres like this :

    the numbres puzzle capx :

     https://dl.dropboxusercontent.com/u/138507172/Piano%20Forum/puzzle_numbers.capx[/code:13gmrwwd]
    this one i don't know yet what method i will use, i don't think Tokenat will be useful here, and i am sure my method isn't the right one, and i have some problems with it.
  • Yeah you are right somebody, thatserafimkid thank you for your explanation very detailed

    i understand now the logic of arrays, i have just a litle problem for my puzzle, it is that i want the player to continue clicking on other keys even if he change the order, so i add this to the event sheet :

    but the problem now is that even if i do this : C+E+C+C+C+D+D+E or C+E+C+D+D+D+E i can succeed

    and what i want to do is leave the player the choice to play what he want but he succeed only if he play the right keys

    here is my capx :

    https://dl.dropboxusercontent.com/u/138507172/puzzle_array2.capx[/code:eiswhsuh]
  • Thank you thatserafimkid for such details =)

    it seems so easy but i have no idea how you create family ID and if you add instant variable to the array or not

    here is my capx, i know it's missing a lot of things, but that's all i understand ^^':

    https://dl.dropboxusercontent.com/u/138507172/puzzle_array.capx[/code:1eu7rx05]
  • Thank you thatserafimkid and somebody for your help, but i'm afraid i have no idea how to use array ^^' for the moment i will use somebody's logic on variables, i think i understand his method, i use debug too to understand what's going on, i use the debug on 2 click in one key with 2 variables, but i didn't succeed, here is my capx :

    [quote:x1wdw42l]https://dl.dropboxusercontent.com/u/138507172/puzzle_2_click.capx

    if i just knew how to put 2 clicks in one key, it will be great

    the puzzle is C+C =)

Hunter's avatar

Hunter

Member since 22 Jan, 2013

None one is following Hunter yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies