Hello All. I've decided to take a shot at deving games on the PSP. Ive been coding for god knows how many years now. Most of my C/C++ knowledge is in data structures/data abstraction sadly. My game work is in java. So bear with me while i struggle with some of the graphical/animation stuff. Anyways, i decided at first ill create something really simple to help familiarize myself with the psp environment. So i decided as an exercise in button recognition, I'd create the game Simon. You know, a random pattern of buttons appears and lengthens by one each time and you gotta follow up by inputting the stuff in the correct order. A memory game. I've almost got a prototype done, but im struggling in one part right now, because im unfamiliar how id do this in C.
I need something be to be able to display for a few seconds then disappear. In short, i dont know what i need to do to create an animation timer that halts other processes. If someone would be as kind as to point me in the right direction thatd be great
Animation delay code
If you are looking for just showing the beginning of a simon game e.g. showing the pattern needed to sucessfully 'complete' a level, then here is some very english pseudo code:
Code: Select all
function showPatter
loop
draw correct button
call sleep of [x] seconds
clear screen
end loop
end function
Lego of my Ago!