Thread: [ALPHA] PopEm
View Single Post
Old 05-27-2008, 04:32 PM   #15 (permalink)
daneboyzzz
Experienced Zuner
 
daneboyzzz's Avatar
 
Join Date: May 2008
Location: FL
Posts: 119
Reputation: 14
Send a message via AIM to daneboyzzz
Default

I am very new to XNA (and programming) but hopefully I created something. I pretty much copied socker freaks intro to this code and then improvised the slots. Hopefully I did it right. 2 is assigned to bouncy block? I'd like to learn how to do this. It would be fun making levels for this highly potentally fun game! Thank you!

PS: If what I did was correct and you want to add it to the game (highly unlikely) tell me so I can do some touchups cuz i might want to make some improvements. Thank you

case 10:
monmon.setPosition(new Vector2(20, 0));
monarm.Update();
creator = "daneboyzzz";
dart.Update();
slots = new int[11][];
slots[0] = new int[] { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 };
slots[1] = new int[] { 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2 };
slots[2] = new int[] { 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2 };
slots[3] = new int[] { 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2 };
slots[4] = new int[] { 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2 };
slots[5] = new int[] { 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
slots[6] = new int[] { 2, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
slots[7] = new int[] { 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
slots[8] = new int[] { 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
slots[9] = new int[] { 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
slots[10] = new int[] { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
goal = 60;
break;

Last edited by daneboyzzz : 05-27-2008 at 04:59 PM.




daneboyzzz is offline   Reply With Quote