Psyke's Forum Posts

  • Hi all!

    I have one question about reading text files. Is it possible to read a file LINE per LINE and CHAR per CHAR?

    Example:

    //Music 01

    1000 - a

    2000 - b

    3000 - c

    Which these values (1000; 2000; 3000) are the time in miliseconds and these (a; b; c) are the type of the notes.

    I need at the Start of Layout, the Construct to read a text file called: "music01.txt", reading each line and each character. Sorry if it's so complexy.

    ps: i am making a Guitar Hero game style.

    Thanks!

  • Wow, thanks Ashley for the help, sorry for the noob question, it's so easy.

    thanks

  • I have a question.

    How to grab the object in screen? I mean, how to make the object to follow the camera in screen? Like the lives or score in other games.

    thanks!

  • Sorry but can you make a little example?

    I am trying use your code in construct, but it doesn't work for me

    ps: I need the camera to follow the mouse, but in smooth condition

    :/

    [EDIT]

    THANKS DRASA, I HAVE USED YOUR CODE CORRECTLY, IT'S WORKED PERFECTLY, THANKS!!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will try to explain...

    I am making a RTS game, and I need a smooth camera movement (moving around with no imediately action or fast action, need smooth camera) like in other RTS games like: Warcraft, Starcraft etc. or like 3D tool programs, when you hold the right button and move, it's like an acelerating method.

    I am having trouble with the "Center view on me", because it's too fast, and it is imediately, i need something more dynamic. Can anybody help-me pls?

    Thanks and sorry for my english!

  • Doesn't work here

    =/

    And do you know the problem of the sprites? I can't edit the image of the new sprites created in version 0.97.6

    thanks for help!

  • Nice release, new audio plugin, but I got some problems:

    I can't click on my sprites to edit the image , why?

    And the XAudio2 plugin doesn't play any sound, look at my code:

    < START OF LAYOUT >

    ---> XAudio2: Load resource "038.wav" to channel 1 (No Loop)

    < ON KEY 'X' PRESSED >

    ---> XAudio2: Set channel 1 position to 0 seconds.

    ---> XAudio2: Play channel 1.

    Can someone help?

  • thanks for the update, I love particles with textures

  • I have downloaded and.... Crazy Bug o.o

    Report it

  • wow, thanks!

  • Where are the animation speed control?

    I can't find it. Can anybody help-me?

    Thanks!

  • I think is your hot spot position in left or right animation of the object.