Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Pausing the Game through Coding in Unity3D

You can pause your game in Unity3D by changing the rate at which the time is passing. It is very helpful in making pause menu in the game and in various situations that require pausing of all the events and physics to stop at the moment. To pause yo

How to play,pause and stop sound using as3.

To play,stop and pause sound using as3 we have to use following: flash.media.Sound : Sound class is used to handle the loading and playing a sound. flash.media.SoundChannel: SoundChannel object is used to handle the playback like play,pause and sto

To add pause/stop functionality on mouse over using easySlider1.7

To add pause/stop functionality on mouse over using easySlider1.7 Step 1: Open easySlider JS file in editor like notepad, notepad++ etc. Step 2: Goto line number ‘56’, and add below bold marked line. continuous: false, numeric: false,

To add pause/stop functionality on mouse hover using easySlider1.7

To add pause/stop functionality on mouse hover using easySlider1.7 Step 1: Open easySlider JS file in editor like notepad, notepad++ etc. Step 2: Go to line number ‘56’, and add below bold marked line. continuous: false, numeric: false

Check application screen visibility

Hey do you want to run some code on basis of screen visibility in your app..you can create an Application level class and can set every screen visibility in onResume or in onPaused like this : public class ThisApplication extends Application { priva

How to send a status message to my server when android activity get closed ?

Sometime we wish to track our user activity when user closed particular activity in app so we can follow this life cycle of Activity : If you want to send status to your server when application closed or force quit then you should use override metho

Events in Unity 3D

Loading Levels, Play,Pause and Exit in Unity 3D scene : Example : btn is a string. void OnClick () { if(btn=="Play") { Application.LoadLevel("MyScene"); } } Play a Game : Time.timeScale=1; Pause a Game : Time.timeScale=0; Exit from the Game

How to stop a video in AVplayer in iOS

For those who are new & trying to use AVplayer in their iphone apps,i would like to share that AVplayer has in built functions for only PLAY & PAUSE as "[self.myAvPlayer play]; & [self.myAvPlayer pause];",which are handy to use,whereas t

Playing sounds in Android

Playing sounds in Android Copy your sounds in raw/ folder in res/ . If you do not have raw/ folder then make one by right clicking on res/ folder, click on Android resource directory and then giving directory name as “raw” and selecting resource ty

AVAudioPlayer implementation in Swift

An easy to implement simple swift class working on AVAudioPlayer depicting various features like play, pause and stop.   // creating single instance of class static let sharedInstance = MyAudioPlayer() var myAudioPlayer:AVAu

prev 1 3 11
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: