Help ! Can't shoot enemies on Vert.Shooter game

Get help using Construct 2

Post » Thu Jan 16, 2014 8:44 am

I made my own version of Space Blaster.
But I have a problem when I tried to shoot lasers to enemies. That lasers just like move trough the enemies. but when I get hit with their bullet, I take some damages. When the spaceship is on collison with a enemy, it also take some damages.
.
whereas all of them are in the same layer, and I think I did exactly like the examples.
.
What is my mistake at this point?
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Post » Thu Jan 16, 2014 9:44 am

I not quite understand what is wrong with what you want to do?
if you don't want to take damage from bullets or colliding with the enemy?
B
139
S
26
G
21
Posts: 520
Reputation: 25,307

Post » Thu Jan 16, 2014 9:54 am

Look at your events and make sure you have an event for when your lasers/bullets collide with the enemy, then destroy the enemy. It is hard to get much more detailed than that without seeing your event sheet.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,603

Post » Thu Jan 16, 2014 1:43 pm

please take a look at my screenshoots
https://www.dropbox.com/s/99sj2i0n62aac8q/question.rar
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Post » Thu Jan 16, 2014 1:44 pm

the problem is, I can't shoot enemies. but they can shoot me.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Post » Thu Jan 16, 2014 6:53 pm

can you post capx of your project
B
28
S
6
G
2
Posts: 86
Reputation: 3,267

Post » Thu Jan 16, 2014 7:06 pm

You are probably missing a simple event like:

laser on collision with enemy - enemy destroy

but without seeing your capx or eventsheet we can't be sure.
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 » Thu Jan 16, 2014 8:43 pm

1) check your collisions events
2) check all your boundary boxes on all your sprites, if you fiddle with spites sometimes it gets all messy.
B
31
S
10
G
7
Posts: 416
Reputation: 7,264

Post » Fri Jan 17, 2014 3:21 pm

what is wrong with boundary boxes?
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Post » Fri Jan 17, 2014 3:23 pm

did you look at my screenshoots? which one is the problem?
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
3
Posts: 292
Reputation: 7,188

Next

Return to How do I....?

Who is online

Users browsing this forum: draiza and 18 guests