Search found 67 matches

by CR4SH3D
Fri May 22, 2009 7:56 pm
Forum: Support and Development
Topic: arrays of enemy waves
Replies: 4
Views: 858

Re: arrays of enemy waves

hope this help someone else working code --ENEMY WAVES--------------------------------------------------------- ---------------------------------------------------------------------- waves = 3 --Total waves currentwave = 1 --Starting wave wavesa = {} --Array containing arrays for each wave --Set wav...
by CR4SH3D
Fri May 22, 2009 12:37 pm
Forum: Support and Development
Topic: arrays of enemy waves
Replies: 4
Views: 858

Re: arrays of enemy waves

im working on it but im not sure i get it yet each enemy in the array also needs to have a variable stored for which particle system it should use waves = {} table.insert(waves, { --the wave itself here enemy, --which has an x and an y value, could be anything, but for the sake of examples another_e...
by CR4SH3D
Fri May 22, 2009 10:21 am
Forum: Games and Creations
Topic: WRATH (Zombie Survival)
Replies: 38
Views: 7743

Re: WRATH (Zombie Survival)

hmm it says it runs at 300fps on this comp that only has onboard graphics (intel) im getting a couple of crashes normally when picking up an item thats been in play for a while you should change the map to a top down view of a mall and let stair/lifts take you to other maps, the gameplays really gre...
by CR4SH3D
Fri May 22, 2009 9:50 am
Forum: Games and Creations
Topic: inflЁxion - [snake/pacman with particles]
Replies: 47
Views: 7934

Re: inflЁxion - [snake/pacman with particles]

thanks, ill look into the arrays in a little

i meant that the 'random' numbers generated on load DO seem to be the same every time (ie the position of those circles), i guess the seeed is (0,gamewidth) and (0,gameheight) right?

was a little too tired last night and didnt read it back :P
by CR4SH3D
Thu May 21, 2009 11:03 pm
Forum: Games and Creations
Topic: Snakuence - Snake meets Befunge to make math
Replies: 11
Views: 4636

Re: Snakuence - Snake meets Befunge to make math

really great game (now i get it ;P)
surprisingly tricky too
by CR4SH3D
Thu May 21, 2009 10:25 pm
Forum: Games and Creations
Topic: inflЁxion - [snake/pacman with particles]
Replies: 47
Views: 7934

Re: inflЁxion - [snake/pacman with particles]

added a few things now background color cycling another enemy type fixed boost to use timer added non collision enemy array as you can see the 3 circles are part of a wave1 array but i cant work out how to cycle through and move each independently, i think they all move according to the bottom right...
by CR4SH3D
Thu May 21, 2009 9:34 pm
Forum: Support and Development
Topic: constricting movement
Replies: 3
Views: 742

Re: constricting movement

the way i constricted the movement (and wrapped it) was to check if the player coordinates were greater than the game size (you use the size of the box) for instance: if player:getX() > box:getWidth then player:setX(0) end that wraps the movement so the player appears on the other side of the screen...
by CR4SH3D
Thu May 21, 2009 9:04 pm
Forum: Support and Development
Topic: arrays of enemy waves
Replies: 4
Views: 858

arrays of enemy waves

im trying hard to think of how to use an array for how many enemy waves there are, and each wave has another array for each enemy entity that spawns when that waves function is called but i cant figure it out

any ideas?
by CR4SH3D
Thu May 21, 2009 7:45 pm
Forum: Games and Creations
Topic: Another early tanks game
Replies: 14
Views: 3937

Re: Another early tanks game

looking good so far :)

bartbes is probably right about why you cant shoot properly, would be great to see more stuff, good luck
by CR4SH3D
Thu May 21, 2009 7:18 pm
Forum: Support and Development
Topic: Audio processing?
Replies: 17
Views: 1710

Re: Audio processing?

mmhm thats true, im not talking about encoding and such though, just reading data from current audio such as the level of treble in the background music for instance could enlarge a player entity when it exedes a predetermined value