Sgt Tupelo's Recent Forum Activity

  • Grid one's easy.

    Floor( MouseX / N ) * M

    Floor( MouseY / N ) * M

    Where N and M are the size of grid.

    For example, 16x16 grid would be

    Floor( MouseX / 16 ) * 16

    Floor( MouseY / 16 ) * 16

    Just set

    Always

    -Sprite: Set position to Floor( MouseX / 16 ) * 16, Floor( MouseY / 16 ) * 16

    or so.

    And make your own checkbox that says something like "Follow grid" and set the sprite/something to follow the grid (Floor) when checked, and just follow mouse (MouseX, MouseY) when not checked.

  • This is a great engine!

    I made an Arnold (Terminator-dude, can't write his last name) that follows you and yells at you.

    And the transparency is indeed odd on the sprite-statue thingies. As well as on my Arnold.

  • Both versions work as smoothly here.

    3gb of RAM.

    8800GT 512mb

    AMD X2 5200+

  • I think 4th part means that he wants and object to glide like in ice-skating, but still use some animations to make it realistic.

    And in the 7th part I think he wants a button, that when clicked once (one click) makes the character walk (or move slowly) and when he doubleclicks it, the character starts running (or moving fast).

    Sorry if that is not understandable, I, on my behalf, am finnish.

  • You could also use the Text Manipulator which can read line by line.

    I couldn't figure out how to make it read any other line than the last line.

    But list-objects saved my day! It works like a charm now!

  • Nevermind, got it to work, and it works flawlessly!

  • The only way I've managed to do something like this is by loading the text file using the list object. This will load the text file, giving each line it's own seperate line in the list object, allowing you to change whichever one you want.

    For me the list-object just remains empty, no text, but the vertical scroll bar goes smaller if I make it add the file when I click and click a few times and it says the correct amount of lines.

  • I couldn't figure out how to put the title, and I guess I can't explain it too well, but here goes.

    Is there a way to read specific lines from a text file?

    If I had a file called positive.txt that would be like this:

    cool guy

    smart

    pretty

    nice

    and I want a text to change into one of those at random, how would I do it? Is it even possible?

    Oh, and I'd love to have it so that if you add a line, it can automatically tell that there is a new line, so you can add stuff into the file without changing the application in Construct. So it kind of counts the lines or something.

    There, I hope you understood.

  • Excellent!

    Going to download this first thing in the morning!

    Now I'm off to bed, 2:36 AM here.

  • Making a new family appears to crash Construct for me. I think it's the icon-editing part when you create it.

    Making sure I'm not the only one getting this, before I send a bugreport.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Try the icons at the top (the flip ones), in the toolbar. Is that what you meant?

    Not working, I thought they were changed to do something else.

  • Quick question:

    Is there really no flip picture horizontally/vertically -option in the sprite/animation editor?

Sgt Tupelo's avatar

Sgt Tupelo

Member since 5 Apr, 2008

None one is following Sgt Tupelo yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies