|Jul 10, 2011, 05:01 PM||#1|
Timers in Obj-C
Just started programming in Obj-C.
I wanted to make a Tetris style game to test my ability before I develop a unique game for sale in the App Store.
If I generated a 2d block at the top of the screen with core graphics would I be able to set a timer which will allow the user to move the block left and right but then every X amount of seconds will move the block down.
I was just worried that an attempt to implement this would result in the program pausing for X seconds and ignoring user input and would then accept input after the timer had run down.
I want a timer to trigger a move down yet still enable left and right movement.
27" Aluminium iMac, 2.93GHz i7, 12GB RAM, 2 TB HDD; (Retired.)
27" Aluminium iMac, 3.2GHz i5, 8GB RAM, 3 TB Fusion Drive;
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Function pointers in Obj-C||TheLee||Mac Programming||11||Sep 19, 2008 05:52 PM|
|"Switch" Statement in Obj-C||satyam90||Mac Programming||15||Dec 21, 2007 01:40 PM|
|Reading from a file in Obj-C||MacFan26||Mac Programming||6||Nov 12, 2007 08:34 PM|
|wrapping SSH in Obj-C/Cocoa||neoserver||Mac Programming||12||Oct 9, 2007 08:57 PM|
|'events' overloading in OBJ-C||Palad1||Mac Programming||5||Oct 10, 2005 09:39 AM|
All times are GMT -5. The time now is 02:15 AM.