How do I make a laser shoot?

Get help using Construct 2

Post » Sun Dec 13, 2015 1:32 pm

..
Last edited by danieltpt on Tue Dec 15, 2015 1:08 pm, edited 2 times in total.
B
9
S
2
G
5
Posts: 33
Reputation: 3,194

Post » Sun Dec 13, 2015 2:05 pm

look at the position of your laserbeams origin point - try moving it to the left side of your image.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
33
G
47
Posts: 1,194
Reputation: 30,782

Post » Sun Dec 13, 2015 2:39 pm

Yep as said above the origin point needs moving. The laser beam sets its central point to image point 1.
B
43
S
13
G
59
Posts: 1,779
Reputation: 35,731

Post » Mon Dec 14, 2015 9:30 am

..
Last edited by danieltpt on Tue Dec 15, 2015 1:08 pm, edited 1 time in total.
B
9
S
2
G
5
Posts: 33
Reputation: 3,194

Post » Mon Dec 14, 2015 10:16 am

null
Last edited by chadorireborn on Mon Dec 14, 2015 10:35 am, edited 1 time in total.
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
53
S
17
G
90
Posts: 1,111
Reputation: 59,095

Post » Mon Dec 14, 2015 10:22 am

chadorireborn wrote:I think it will be better to upload your project in a single file or (.capx) format so that it will be easier for them to help.


By following this procedure
Construct 2 Button -> File -> Save As Single File...


Just click the download button at the top to download the capx..
This is saved as a single capx file, google drive just shows the contents of the zip..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Dec 14, 2015 10:32 am

My Bad @LittleStain , I was planning to delete that XD
Image



The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
B
53
S
17
G
90
Posts: 1,111
Reputation: 59,095

Post » Mon Dec 14, 2015 2:15 pm

..
Last edited by danieltpt on Tue Dec 15, 2015 1:07 pm, edited 1 time in total.
B
9
S
2
G
5
Posts: 33
Reputation: 3,194

Post » Mon Dec 14, 2015 2:24 pm

The length of your beam (width in the event sheet) is set to the distance between the laser origin and the origin of the LaserEnd object..
The LaserEnd object doesn't move, so the distance between the ship and the unmoving object decides the length of the laser..

I guess what you would like is to have a maximum distance for the laser..
This would consist of pinning laserend (position and rotation) to your ship..
You could also set a max distance in events, but this is a more graphic/visible way..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: ilyaTyl and 10 guests