Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Screen Shake

Author
Message
Ken the Coder
9
Years of Service
User Offline
Joined: 22nd Aug 2015
Location:
Posted: 22nd Aug 2015 11:17
Does anybody know how to do a screen shake function in AppGameKit application?
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 23rd Aug 2015 10:19
SetViewOffset( x, y )
running angle in degree + random value
r=Random2 ( from, to )
x=Sin(a+r)*distance
y=Cos(a+r)*distance

AGK (Steam) V2 Beta .. : Windows 10 Pro, 8.1 Pro 64 Bit : AMD (15.7.1) Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)

Login to post a reply

Server time is: 2024-11-16 20:23:27
Your offset time is: 2024-11-16 20:23:27