objective c - iphone game control help -


hi creating game whereby 2 actions happen enable button, upon first touch of button need "power" bar scroll , down , on second touch of button "power" bar stops scrolling , action happens.

i have got stage button touchable, have no idea call "power" bar control in order search on how create this.

the "power" bar traditional in game control sports game, need set "power" of golf shot based on when hit button.

if

  1. you know name of type of control can more detailed search -or-
  2. you have sample code show how "power" bar can achieved gratefully appreciated

you use simple progress bar (uiprogressview) have "animate" yourself. perhaps use repeating timer 20ms delay generate small up/down changes.

more on uiprogressview:


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -