calminthenight's Recent Forum Activity

  • dop2000

    Uuuurrgh. How have I not found this before haha. Thanks

  • This might be a stupid question. But I can't find an option to query the resolution of a display, not just the browser window.

    Is it possible?

  • Ashley

    Thanks for the info and demo project!

    I'm not relying on anything to do with this in a project, I just wanted to get a better understanding of how the engine handled multiple sheets.

    Thanks for filling me in

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000 Thanks

  • Just wondering what the process is when including multiple event sheets in a layout.

    Do the included event sheets run simultaneously from top to bottom or are the events of any sheets after the first sheet essentially added onto the first sheet which is then read from top to bottom?

    Cheers

  • dop2000 I plugged it back in today and it worked, it was just an event sequence issue. I've added some other aspects and I think I'll do a tutorial for it as others might find it useful.

    Thanks again!

  • I actually tried that first suggestion straight away after your first reply and it didn't work but my brain is a bit fried so I'll check again tomorrow. Thanks

  • Hidop2000

    Thanks for that, I always forget about loopindex :/. The first part works perfectly for a one-shot between 2 points however, what I'm really looking for is how to maintain the line of sprites while the points move, for a continuous laser effect. Any ideas on that?

  • I can't seem to get the math working for this, any help would be greatly appreciated.

    I have two points A & B, and I calculate the distance between these, divide it by the length of the object I am wanting to spawn, then store it as an integer in a variable. The game then spawns a number of object instances equal to that variable.

    What I am trying to do is spread all the currently spawned instances out evenly between the two points.

    For reference, I am using a raycast every tick to get the positions and distance of the points. I'm trying to create a continuous laser weapon that uses small sprite segments for animation.

  • Thanks, that's what I figured

  • Just wondering how the IID's are assigned to objects that are already in the layout at startup.

    It seems that they are assigned based on the order that they were loaded into the layout in the editor, which would be the same as if they were loaded by an event.

    eg. if there are 4 instances of an object on the layout from left to right, and the first(from left) was created first, the second second etc. Then the IID's from left to right would be 0,1,2,3.

    However if the first created was the right hand object and then on from right to left; the IID's would be from left to right: 3,2,1,0

    Is this correct?

    Tagged:

  • Ok thanks. I figured as much since I had found the rotate options and there were no others there.

calminthenight's avatar

calminthenight

Member since 28 Jan, 2018

Twitter
calminthenight has 6 followers

Trophy Case

  • 6-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies