We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello ! I need help for a project . I wanted to know if anyone is willing to help me using skype or something. The reason I ask this is because I do not know how to ask the question here. Apparently it is very simple but I have no idea how to code it. I need to add arrays to created little towers such as in the angry birds game that fall down. I have to add the arrays in code I already have which is the my main game code
Answers
http://wiki.processing.org/w/From_several_variables_to_arrays
And don't forget http://processing.org/tutorials/
And http://StaticVoidGames.com/tutorials/
:(|)
you wrote
I need to add arrays to created little towers such as in the angry birds game that fall down.
Do you have the towers already? Do they fall down as in the angry birds game?
then you have a list like
the idea is that you say instead
so you have an array for the x values and one for the y-values
these are parallel, so tower #2 has data in
in each array at pos 1
so to paint it say
or in a for-loop
rect (towersX [i] , towersY [i], 10 , 10);