|
#1
|
||||
|
||||
|
Hello everyone. I have been working on a pacman game latly and have had some sucess but also some problem.
What is done pacman walls pause button controls for pacman what needs to be done ghost dots score lives note that i am restart the walls and pacman movement since my layout of the walls were not evenly spaced. I have a new layour and working on a control system similiar to the one in snake Last edited by jbob182; 05-30-2010 at 01:39 PM. |
| Advertisement | [Remove Advertisement] |
|
|
|
|
#2
|
|||
|
|||
|
Do you clear the entire screen before calling pacdraw()?
__________________
Only ONE more functions in the Wiki need addressing! Zen X-Fi2 LUA Wiki Want to protect your applications? Click Here! Tower Defense Thread Zen Lock - Protect Your Zen! |
|
#3
|
||||
|
||||
|
if you mean I redraw the backround than no
I will try that and see what happens if nothing than i have another idea |
|
#4
|
||||
|
||||
|
I have a question. Currently when pacman hits a wall it doesnt stop until the top left corner hits it and i know this is because his x and y are the top left corner. Is there any way to say his x is anywhere from the current x to x + 22 and the same for y?
thanks |
|
#5
|
||||
|
||||
|
Yes, you can always do math on things in checks e.g "If((pacmanX+pacmanWidth)==wallX) then ... etc.
There's a good collision check function in the common code fragments, you should check that thread out.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#6
|
||||
|
||||
|
Ooops...
i didnt relise you had already started making pacman here, so i started already and have basically finished the whole game engine. Heres the link: http://www.anythingbutipod.com/forum...ad.php?t=56174 |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 02:11 AM.











Linear Mode
