Making a "Sniper" game.

Get help using Construct 2

Post » Fri Oct 05, 2012 9:05 am

Alright, well i checked the "How do I.." FAQs and dont seem to find anything close enough to this, nor can I in the forum itself.

My goal is to make a game (well this will be just a portion of the actual game) with sniping physics. In which you would see through the eye of said sniper and through the scope at a push of a button. (general view, then scoped view)I cant really seem to figure it out though. I understand the mouse will obviously big one of the largest points here in this.

Any one think they can help me out?

P.S. Also if i could get it to where the mouse aims in a side scroll shooter, with out the player's entire sprite moving with it that'd be a plus. Main focus is the sniper part though.
B
2
Posts: 2
Reputation: 304

Post » Fri Oct 05, 2012 1:22 pm

You could use the Set Layout Sclale to X function.

So when you hold Space the camera zooms in, like in this .capx

https://dl.dropbox.com/u/108799982/ZoomIn.capx

To make it better, you could have that when Space is pressed a sprite of the crosss hair would spawn, and when released it dissapears
Using R238 for all examples
B
60
S
17
G
6
Posts: 363
Reputation: 9,125

Post » Fri Oct 05, 2012 1:35 pm

What part exactly are you having trouble with? The zooming? The bullet physics? Wind? Enemy AI? You might need to narrow down the scope (HA!) of your question.
B
24
S
4
G
1
Posts: 244
Reputation: 3,462

Post » Mon Oct 08, 2012 7:45 am

Actually I was Curious as to how to go about the whole idea. emoaeden has a good point there with the zoom. As well with the bullet physics, like drop rate after a certain distance, wind etc. I figured for the kills I'l ljsut make sprites of falling, but is there a way to have it so if the patrolled AI is near an edge it'll fall off rather than just fall to the ground. As well is there a code that can be used for say a detect body.(enemy sees dead ally) I assume I'd use 'Sprite x distance from sprite2 restart layout' or whatever response i decide to put in.
B
2
Posts: 2
Reputation: 304


Return to How do I....?

Who is online

Users browsing this forum: Naightwolf and 14 guests