Using while loops for each section of game?


hi,
have question regards using while loops within game program.

example program split many sections , may following:

main menu , start prompt
load pre-saved game option
main game level 1 play
gameover screen,etc..

main menu start prompt draw screen button, , continuously loop until option (in case start) selected, @ point proceed next stage load pre-saved game.

query regarding separate 'redraw screen' method, can have system call automatically, though not included in while loop, or have include refreshview in every while loop/segment?
using while loop disrupt other iphone routines?

in advance
m1
 

good luck

have done game programing on other platforms? seems have question - you're trying port other game iphone.

have done programing iphone (game or not)?

best bet may buy iphone game programing book , work through it. can take you've learned specific iphone , apply game.

luck, let know how turns out.

(you're in wrong forum, try iphone programming).
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments