Be a Supporter!

Sniper Game

  • 340 Views
  • 10 Replies
New Topic Respond to this Topic
C-Doodlez-Man
C-Doodlez-Man
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Sniper Game 2008-09-17 17:03:20 Reply

I need help with a sniper game how would i get the scope to zoom in?


Check out the flaming atom forums! A growing community of youtubers, with interesting discussions and a minecraft server. http://forum.flamingatom.com/index/

BBS Signature
14hourlunchbreak
14hourlunchbreak
  • Member since: Jul. 27, 2007
  • Offline.
Forum Stats
Member
Level 30
Game Developer
Response to Sniper Game 2008-09-17 17:09:25 Reply

At 9/17/08 05:03 PM, C-Doodlez-Man wrote: I need help with a sniper game how would i get the scope to zoom in?

What do you mean? Be more descriptive please.


BBS Signature
EmmDubya
EmmDubya
  • Member since: Feb. 23, 2008
  • Offline.
Forum Stats
Member
Level 22
Audiophile
Response to Sniper Game 2008-09-17 17:11:42 Reply

At 9/17/08 05:03 PM, C-Doodlez-Man wrote: I need help with a sniper game how would i get the scope to zoom in?

I would guess an easy way to do it would be V-Cam but I'm not sure if it would work.


Formerly known as mwmike | I'm moderately active on last.fm | Before you post, read these. Please.

BBS Signature
funkycaveman
funkycaveman
  • Member since: Jun. 10, 2008
  • Offline.
Forum Stats
Member
Level 23
Game Developer
Response to Sniper Game 2008-09-17 17:37:35 Reply

maybe have it so you go to a different frame with a vcam zoomed right in

Cthun
Cthun
  • Member since: Jun. 25, 2008
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to Sniper Game 2008-09-17 17:42:55 Reply

Yeah it should work.
I've tried it I made it where my mouse wheel changes the zoom.

mouseListener = new Object();
mouseListener.onMouseWheel = function(delta) {
   vcam._xscale -= delta;
    vcam._yscale -= delta;
if(vcam._xscale>150 && vcam._yscale>99){
	vcam._xscale+= delta;
	vcam._yscale+= delta;
}
if(vcam._xscale<50 && vcam._yscale<150){
	vcam._xscale+= delta;
	vcam._yscale+= delta;
}
}
Mouse.addListener(mouseListener);

I made it where it doesn't zoom out too much and doesn't zoom in too much...

C-Doodlez-Man
C-Doodlez-Man
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Sniper Game 2008-09-18 16:54:21 Reply

alright. sounds good to me thanks for the help


Check out the flaming atom forums! A growing community of youtubers, with interesting discussions and a minecraft server. http://forum.flamingatom.com/index/

BBS Signature
C-Doodlez-Man
C-Doodlez-Man
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Sniper Game 2008-09-18 16:59:06 Reply

At 9/17/08 05:42 PM, Cthun wrote: mouseListener = new Object();
mouseListener.onMouseWheel = function(delta) {
vcam._xscale -= delta;
vcam._yscale -= delta;
if(vcam._xscale>150 && vcam._yscale>99){
vcam._xscale+= delta;
vcam._yscale+= delta;
}
if(vcam._xscale<50 && vcam._yscale<150){
vcam._xscale+= delta;
vcam._yscale+= delta;
}
}
Mouse.addListener(mouseListener);

now would i apply this to the symbol it applies to (backround) or the frame?


Check out the flaming atom forums! A growing community of youtubers, with interesting discussions and a minecraft server. http://forum.flamingatom.com/index/

BBS Signature
uyersuyer
uyersuyer
  • Member since: May. 15, 2002
  • Offline.
Forum Stats
Member
Level 05
Blank Slate
Response to Sniper Game 2008-09-18 17:04:37 Reply

At 9/18/08 04:59 PM, C-Doodlez-Man wrote: now would i apply this to the symbol it applies to (backround) or the frame?

You would rewrite it on your own instead of blatantly stealing someone else's work.


"Whoever said 'winners never quit' obviously never considered addicts." - Hoeloe

BBS Signature
C-Doodlez-Man
C-Doodlez-Man
  • Member since: Apr. 9, 2006
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Sniper Game 2008-09-18 18:24:33 Reply

fuck you the reason i asked this question was for answers not for your bullshit

At 9/18/08 05:04 PM, uyersuyer wrote: You would rewrite it on your own instead of blatantly stealing someone else's work.

Check out the flaming atom forums! A growing community of youtubers, with interesting discussions and a minecraft server. http://forum.flamingatom.com/index/

BBS Signature
LightYagamiVsL
LightYagamiVsL
  • Member since: Sep. 6, 2008
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Sniper Game 2008-09-18 18:39:11 Reply

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0TUpm5h6 LDQ&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/0TUpm5h6LD Q&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

ZealousZephyr
ZealousZephyr
  • Member since: Jul. 5, 2008
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to Sniper Game 2008-09-18 20:27:37 Reply

At 9/18/08 06:24 PM, C-Doodlez-Man wrote: fuck you the reason i asked this question was for answers not for your bullshit

Yeah, because people on Newgrounds normally ask questions without wanting answers.