Need some help

Just started using Construct 2? Post your questions here

Post » Sat Sep 27, 2014 11:00 am

Message: nicklowkcmagic is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
Hi, guys.. I am a newbie to construct 2.. I have watched some tutorials about space shooter.. I have a few question to ask, hope I can find answers..

First, I want to spawn bullets from my ship, so I have created an event to spawn it. But the angle seems a little bit weird. My project is vertical scrolling but the bullets keep moving right. And then I found this, . The author used a trick which is set angle to 270 degree, but it didnt work for me, until I rotated 90 degrees on it and then it worked.. I can't understand the theory of it.. I understand the X and Y axis and also angles in mathematics, but in construct 2 it seems different..

Second, I wanted to spawn bullet from ship's image point and I succeed. It shoots when I press CTRL, but when I am pressing CTRL and I also wanted it to move left, it didn't move. When I released CTRL then it can move.. I wonder whats happening to my event system, did I make a mistake?
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 11
Reputation: 397

Post » Sat Sep 27, 2014 11:11 am

try this
You do not have the required permissions to view the files attached to this post.
B
245
S
37
G
15
Posts: 1,941
Reputation: 40,096

Post » Sat Sep 27, 2014 11:49 am

Lordshiva1948 wrote:try this


Hi there, I understand the change in bullet behavior, but the moving problem hasn't solved yet. It still stuck at there when I press two keys in the same time. : :(
B
7
S
1
Posts: 11
Reputation: 397

Post » Sat Sep 27, 2014 3:28 pm

anyone can help??????
B
7
S
1
Posts: 11
Reputation: 397

Post » Sat Sep 27, 2014 3:42 pm

I downloaded the version that Lordshiva made and don't see any problem, it works fine. Have you tried to preview it in Nodewebkit instead?
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,828

Post » Sun Sep 28, 2014 1:59 am

nimos100 wrote:I downloaded the version that Lordshiva made and don't see any problem, it works fine. Have you tried to preview it in Nodewebkit instead?


the bullets work fine, but I was talking about the movement of the ship.. I get stuck when two keys trigger at one time...
B
7
S
1
Posts: 11
Reputation: 397

Post » Sun Sep 28, 2014 7:45 am

What do you mean when two key trigger at one time? If you press up,down,right, or left works fine. If you press 2 key at same time like left and right it will not work because, trigger is meant for only one key and not two. Please explain which two key? Other wise there is no problem with this code
B
245
S
37
G
15
Posts: 1,941
Reputation: 40,096


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests