Rear sight (platform)

For questions about using Classic.

Post » Mon Nov 15, 2010 12:13 pm

Hi! I just started up a new project. A platform shooter game. I created a player with a weapon but,
right now i can only aim at the same place while shooting. So now i wonder if it's possible to create a sprite who follows the mouse pointer?

Sry for bad english.
Spelling mistakes for free! :D

Example of game: http://www.totaljerkface.com/divine_intervention.php
B
1
G
2
Posts: 1
Reputation: 627

Post » Mon Nov 15, 2010 7:21 pm

Always: set angle of sprite to mousex
set angle of sprite to mousey
B
39
S
12
G
8
Posts: 580
Reputation: 7,108

Post » Mon Nov 22, 2010 10:37 am

You can make the arm a seperate sprite. Sprite=set position to player at image point 1 (where the arm should be duh) and say its angle to mouseX and mouseY. On click make BULLET
B
2
G
2
Posts: 30
Reputation: 710

Post » Mon Nov 22, 2010 8:12 pm

Here. I made a cap for you just incase.

(Now this is just basic you must add animations etc. . .)

HOPE IT HELPS! :D

[url:25fppbnq]http://dl.dropbox.com/u/7605789/LikeThis.cap[/url:25fppbnq]
B
2
G
2
Posts: 30
Reputation: 710


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests