30FootForest's Recent Forum Activity

  • Thank you. I am currently installing the beta because I can't open your capx in the stable release.

    I am looking forward to seeing your suggested solution and playing more with Loops! :o)

  • I posted this problem in the forum but haven't had any responses so far. I am willing to pay a little for some help, or I'm kinda stalled and frustrated.

    Note: I am new to Construct and game dev in general, so excuse any bad descriptions:

    ---

    I want the user to draw lines on the screen by swiping. A general up or down draws a vertical line, a horizontal swipe draws a horizontal line.

    These are the two major problems I'm having:

    1) The lines do not stop accurately when colliding - especially after hitting the "speed button". The lines often overlap the other lines (which will not work in my game. They must end exactly on the line they collide with since I need those specific points to calculate the different areas of the rectangles created)

    2) The user cannot draw mulitple lines at the same time (the user should be able to draw at least a second line while the first line is still being drawn, but currently the first line stops when the second one is started)

    CapX file is here:

    dropbox.com/s/i8p5b41or8v8ytx/Drawing-Line-Issue.capx

    ---

    Part 2:

    I need a way to calculate when sprites are boxed in by the lines.

    ie. if the user drew 4 lines (4 sides of a box) I'd need to know the area of the box and what sprites were in it. Then, if the user drew another line through that box it would divide it into 2 boxes. I would then need to know the area of both boxes and what sprites were in each of them.

    I was going to find the area of each boxed in square by noting the locations of the ends of the intersecting lines. (but since the ends of the lines are often over the lines, it makes for a very inaccurate measurement).

    So, in a nutshell, I need a way to draw the lines more accurately, AND, calculate when an area has been "boxed in" and what sprites are in the boxed in area?

    ---

    If anyone wants to tackle this, please reply or email me with a quote: mhouston (at) gmail (you know the rest ;o)

    thanks.

  • ok. one more try...

    If I can't get the fences to draw more accurately, I need a way to calculate when sprites are boxed in by the lines.

    ie. if the user drew 4 lines (4 sides of a box) I'd need to know the area of the box and what sprites were in it. Then, if the user drew another line through that box it would divide it into 2 boxes. I would then need to know the area of both boxes and what sprites were in each of them.

    I was going to find the area of each boxed in square by noting the locations of the ends of the lines. (but since the ends of the lines are often over the lines, it makes for a very inaccurate measurement).

    Is there a way I can either draw the lines more accurately, OR, calculate when an area has been "boxed in" and what sprites are in the boxed in area?

    TIA!

  • BTW, I've never used Dropbox this way. Is the link to the Capx working?

  • Total amateur here... I've been working on this problem for weeks, but can't solve it.

    I want the user to draw lines on the screen by swiping.

    These are the two major problems I'm having:

    1) The lines do not stop accurately when colliding - especially after hitting the "speed button". The lines often overlap the other lines (which will not work in my game. They must end exactly on the line they collide with since I need those specific points to calculate the different areas of the rectangles created)

    2) The user cannot draw mulitple lines at the same time (the user should be able to draw at least a second line while the first line is still being drawn, but currently the first line stops when the second one is started)

    CapX file is here:

    dropbox.com/s/i8p5b41or8v8ytx/Drawing-Line-Issue.capx

    If anyone can help me with these 2 issues, I'd be very grateful!

  • Ok, I finally figured out how to use the TiledBackground to make a sprite with a recurring texture. But then I had an issue with the lack of Origin Points. But then I discovered the HotSpot property, and all is well with the world.

    Thanks for pointing me in the right direction. I'm slow at this stuff. But I'm getting better!

  • I still haven't solved dthis

  • Not a bug - human error. figured it out finally :0)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    I'd find it very helpful if instead of "Construct 2 - event sheet 1" at the top of the Construct 2 screen, it also included the name of the file I'm working on.

    ex. Construct 2 - MyGameName - event sheet 1

    That way I get less confused about which version of the game I'm working on!

    Thanks for listening :o)

    And thanks for Construct 2!

  • I created my first animation on a sprite.

    When I preview the animation it works perfectly. But when I run the game, the 2nd frame displays beneath the first frame, etc. So the 10th and final frame is not visible below all the other frames.

    Is it displaying in the wrong z-order?

    Or, is each frame supposed to disappear before the next frame displays?

    It looks perfect when previewed.

    What am I doing wrong?

  • I have tried repeatedly with the built in TiledBackground object feature (sorry I wrongly referred to it as a behaviour) and have not had any success.

    I appreciate the feedback. I have read the manual and run through the beginner tutorial (and several other tutorials, studied examples, and done lots of reading on the forums, etc.). I am simply not very good at this sort of thing, but I am trying (just struggling along the way!)

    So, as a result of all that trying, I still have the problem of not being successful at adding a repeating textures to randomly drawn lines. I can get the texture graphic to display on the lines either stretched to fit, or simply one instance of the graphic to the correct scale - but sitting alone on a long line (not repeating).

    Still experimenting/trying - no success so far.

  • Found it. I had looked for a plug-in link on the site, and found it in the forum section. :o)

30FootForest's avatar

30FootForest

Member since 30 Jan, 2013

None one is following 30FootForest yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies