Hunter's Forum Posts

  • 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 =)

  • alextro Thank you very much alextro, your exemple with family is very useful i will use it in some puzzle for my game =)

    Somebody i tested another condition with 4 click, it works fine, but when i try to add more clicks it doesn't work, for exemple here is my capx for 6 click, i follow the same procedure but i think i forget something

    [quote:3sxt4ev9]https://dl.dropboxusercontent.com/u/138507172/Puzzle_6_click.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ohhh thank you very much Somebody! it works you made my day

    now i have to understand the mechanism of your code to use it in other things

    thanks everybody for your help

    Edit : and thank you trultz i can't reply in the private message they told me i don't have enough reply i think

    for the moment i don't have mic, please send me your fb or twitter

  • thank you for your quick comment Somebody

    i tested with your code but nothings is happend, maybe i forget something

    here is the capx with your events : [quote:1uf9q9xz]https://dl.dropboxusercontent.com/u/138507172/piano_puzzle_2.capx

  • here is an exemple of what i want to do, to see the full picture

    you have to play a melody to solve the puzzle

    the melody order is : C+E+C+D

    when the puzzle solved then a congratulation text appear

    please help i rearly don't know what to do

    here is the capx : dl.dropboxusercontent.com/u/138507172/piano_puzzle.capx

  • alextro, i don't know how to use the family instance variable fo this case

    what i can't do is add an & to a condition like this :

    If

    i do this

    &

    do this

    &

    do this

    Then do this

    maybe with a capx i undestand better ^^

  • Thank you alextro, but what i wana do is a little diferent

    i want to have seperate images not all in one, so i can put a sound on mouse clicked and other things

    thank you for your help