Archive for 'Duration'

Element animation options object in Sencha

Audio Playback

The media library provides support for controlling playback of

  • event sounds: short sounds that are played in entirety
  • extended sounds: may be longer and can be paused during playback, but only one may be open at at time

Event Sounds

timer.performWithDelay( 1000, playBeep, 0 )

Extended Sounds

media.playSound( “song.mp3″ )

local stopAfter10Seconds = function()

media.stopSound()

end

timer.performWithDelay( 10000, stopAfter10Seconds )

The following functions should be used to play longer duration sound.

media.playSound( soundFile )

media.pauseSound()

media.stopSound()

A subscription In-App purchase shares attributes of both consumable and non-consumable products. Like a consumable product, a subscription may be purchased multiple times and you can implement your own renewal mechanism in your app. However, subscriptions must be provided on all devices associated with a user.
Here developer will have to deliver subscriptions through their own server. Developer should also handle subscriptions across multiple devices.

There are 2 types of subscription In-App purchases

Auto-renewable Subscriptions

An auto-renewable In-App Purchase subscription allows the user to purchase in-app content for a set duration of time. At the end of that duration the subscription will renew itself, unless the user opts out, which he/she has to do from his/her account in iTunes.

 

Non-renewing Subscriptions
A Non-renewing subscription do not have the feature where we can set the duration we want to offer for our In-App purchase. So we must provide the information some other way. It requires a user to renew each time and the expiry of the subscription should be handled by the developer.

Give wave action to a sprite

The following code gives a wave animation for a sprite.

How to rotate a UIbutton in Xcode ?

 

Incoming search terms:

  • animationWithKeyPath xcode
  • uibutton image rotate
  • xcode how to rotate uibutton

CCSpeed in cocos2D

The CCSpeed action modifies the duration of the inner action.

Incoming search terms:

  • ccspeed example
  • ccspeed cocos2d
  • ccspeed cocos2dx

CCSpawn in cocos2D

The CCSpawn action lets you run several actions at the same time. The duration of the CCSpawn action will be the duration of the longest sub-action.

Incoming search terms:

  • cocos2d ccspawn example

Reverse action in cocos2D

Almost all actions have the reverse method implemented. Basically it creates a new action with the reverse behavior.

Example:

The move_reverse action will be a CCMoveBy action of duration 2, but with the position value of ccp(-80,-80).

Incoming search terms:

  • how to reverse action on android
  • cocos2dx action reverse example
  • php reverse action
  • reverse action in cocos2d in android

Incoming search terms:

  • uiswitch on phonegap

Graphic assets required for your android apps

Graphic assets required for your android apps

1. screenshots:- You can upload up to 8 screenshots, minimum is 2. The size of the screenshots are: 320×480, 480×800 or 480×854 (24 bit PNG)

2. High Resolution Application Icon:- size of the icon should be 512×512.

3. Promotional Graphic:- 180×120 (24 bit PNG) image. This is optional

4. Feature Graphic:- 1024×500 (24 bit PNG) image. This is optional

5. Video Link:- YouTube video showcasing your app. Duration 30 sec to 2 minutes

Page 1 of 212