I'm making my first first-person shooter game, and ran into two problems. A) I don't know how scrolling works, and B) I don't know how to make the screen turn faster when the mouse is closer to the side. Some help would be greatly appreciated!
Offline
you should search "basic scrolling tutorial" or "scrolling tutorial"
Offline
WingsGames wrote:
I'm making my first first-person shooter game, and ran into two problems. A) I don't know how scrolling works, and B) I don't know how to make the screen turn faster when the mouse is closer to the side. Some help would be greatly appreciated!
Scrooling Demo
Just Download It
Here!
I'd Be Happy To Help
Last edited by mrsrec (2011-03-12 13:01:31)
Offline
For Part B,Maybe Make 2 Sprites(1 For Each Edge) And Use The (Distance To =$Sprite$) Reporter With A Dot Sprite With [Go To Mouse Pointer]. Did That Help?
<when green flag clicked>
<forever>
<go to[ Mouse Pointer
<set{ Speed }to( <distance to[ edge1
<end>
Last edited by mrsrec (2011-03-12 13:14:50)
Offline
@mrsrec: Thank you! That really cleared things up! However, the game will be 3D, so I'm not sure if the scrolling demo would work. For the scrolling, I've just been making it so each time he moves forward, all other sprites get bigger.
Offline
WingsGames wrote:
@mrsrec: Thank you! That really cleared things up! However, the game will be 3D, so I'm not sure if the scrolling demo would work. For the scrolling, I've just been making it so each time he moves forward, all other sprites get bigger.
I Was Wrong Anyway.
<when green flag clicked>
<forever>
<go to[ mouse pointer ]
<set{ speed }to( (join(-) <distance to[ edge1 ]>
<end>
Last edited by mrsrec (2011-04-18 20:19:48)
Offline