Sgt Tupelo's Forum Posts

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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 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?

  • Not sure if this has been said, but...

    When I set the depth of 3D-box to a value less than 1, it doesn't work in the layout editor, it's just flat, like it was 0. But when I set the depth-value in Event Sheet (Start of layout for example) to something less than 1, like 0.5, it works. Also values like 1.2 or 1.9 etc. don't work in the layout editor, only "whole" numbers like 1,2,3,4 etc. work.

    Same with Z it seems.

    Yes, yes it is. Test confirmed that.

    Also, further thinking gets me to a conclusion that this post should not be here.

    Ok, sent it to Sourceforges bug-tracker.

  • Can anyone else confirm hotspots and image points cannot be set in this version? Seems like such a silly thing to be rushing to the bugtracker for.

    Yup, can't see them. But they still work.

  • Oh, for christs sake! That did the trick!

    Ashley, could you give me a title?

    It would be: The Turret-fool.