sam fisher
Well-Known Member
What is there left to talk about, wait till tuesday.
Alex. posted on Dec 14 2006 at 08:04 AM said:Does anyone have any new projects on the pipeline now that this one is over?
I have one that I'll release a week or two from now, around the 24th, then I'll probably work on a space shooter, something I wanted to code for a long while now.
- Alex
With so many apparently talented people here I'm not sure if we shouldn't combine our effortsGP2X_Coder posted on Dec 14 2006 at 02:52 PM said:Alex. posted on Dec 14 2006 at 08:04 AM said:Does anyone have any new projects on the pipeline now that this one is over?
I have one that I'll release a week or two from now, around the 24th, then I'll probably work on a space shooter, something I wanted to code for a long while now.
- Alex
I am working on my fighting game creator its basically just like mugen. Trying to get it fininshed so I can get it out to everyone.
Also working on a driving game.
PSyMastR posted on Dec 14 2006 at 02:45 PM said:Mugen rocked. I could never getting working correctly on XP though Sad that it died out. The linux version was bugged as well, good thing I keep my old Dos Machine.
nickspoon posted on Dec 14 2006 at 03:36 AM said:Because it's quicker, easier and works just as well?Alex. posted on Dec 14 2006 at 01:59 AM said:Why not do something like this instead?GP2X_Coder posted on Dec 13 2006 at 07:57 PM said:the only reason I could think of using a break in a loop is a for loop like when you are searching through an array to find something and when you find it use break to stop
Code:int array[] = {1, 8, 7, 11}; int arrayLength = 4; int index = -1; int k; for(k = 0; k < arrayLength && index == -1; k++) { if(array[k] == SOME_VALUE) index = k; }
- Alex
Plus, there's nothing better to use in switch statements.
As for goto, it's only considered bad practice because it encourages disorganised coding.
int array[] = {1, 8, 7, 11};
int arrayLength = 4;
int index = -1;
int k;
for(k = 0; k < arrayLength; k++) {
if(array[k] == SOME_VALUE) index = k; break;
}
Indeed - what I meant was, it's quicker and easier to do a break;, so it'd be preferable to doing it the long way. Plus, with a break; you don't have to compare index on every iteration, making your loop more efficient.GP2X_Coder posted on Dec 14 2006 at 06:11 PM said:Sorry to bring this up again but using a loop the way Alex did is not quicker at all nickspoon and here is the reason why it's slower and it's faster to use a break because it will terminate the loop and continue with the rest of the code the way Alex did it the code has to go through the loop again and check to see if the conditions are met or not before it continues.
This is the fastest way to do the loop.
Code:int array[] = {1, 8, 7, 11}; int arrayLength = 4; int index = -1; int k; for(k = 0; k < arrayLength; k++) { if(array[k] == SOME_VALUE) index = k; break; }
you eliminte the need to go back into the loop to check and see if k < arrayLength and index == -1 because you already set the index value to k and broke out of the loop and moved on.
Alex do you see why I would do it this way instead.
nickspoon posted on Dec 14 2006 at 01:18 PM said:Indeed - what I meant was, it's quicker and easier to do a break;, so it'd be preferable to doing it the long way. Plus, with a break; you don't have to compare index on every iteration, making your loop more efficient.GP2X_Coder posted on Dec 14 2006 at 06:11 PM said:Sorry to bring this up again but using a loop the way Alex did is not quicker at all nickspoon and here is the reason why it's slower and it's faster to use a break because it will terminate the loop and continue with the rest of the code the way Alex did it the code has to go through the loop again and check to see if the conditions are met or not before it continues.
This is the fastest way to do the loop.
Code:int array[] = {1, 8, 7, 11}; int arrayLength = 4; int index = -1; int k; for(k = 0; k < arrayLength; k++) { if(array[k] == SOME_VALUE) index = k; break; }
you eliminte the need to go back into the loop to check and see if k < arrayLength and index == -1 because you already set the index value to k and broke out of the loop and moved on.
Alex do you see why I would do it this way instead.
Winmugan doesn't work for me (already tried it) and Ive got about 2 gigs of characters lol (went on a binge one time)tim0391 posted on Dec 14 2006 at 12:35 PM said:PSyMastR posted on Dec 14 2006 at 02:45 PM said:Mugen rocked. I could never getting working correctly on XP though Sad that it died out. The linux version was bugged as well, good thing I keep my old Dos Machine.
bit of topic but i just searched google for mugen to see what it was (bit embarrassed when i found out) but i found this site which suppled a program that gives you the game
winmugen
just click on the no limit winwugen link to download
One problem is this program only contains 1 character but you can download more from this site
http://www.mugenguild.com/
Tim
PSyMastR posted on Dec 14 2006 at 06:33 PM said:Winmugan doesn't work for me (already tried it) and Ive got about 2 gigs of characters lol (went on a binge one time)tim0391 posted on Dec 14 2006 at 12:35 PM said:PSyMastR posted on Dec 14 2006 at 02:45 PM said:Mugen rocked. I could never getting working correctly on XP though Sad that it died out. The linux version was bugged as well, good thing I keep my old Dos Machine.
bit of topic but i just searched google for mugen to see what it was (bit embarrassed when i found out) but i found this site which suppled a program that gives you the game
winmugen
just click on the no limit winwugen link to download
One problem is this program only contains 1 character but you can download more from this site
http://www.mugenguild.com/
Tim
fireflly2442 posted on Dec 14 2006 at 03:41 PM said:Has anyone made a homebrew game similar to the Lumines puzzle game for the PSP?
Even I knew that lol.nickspoon posted on Dec 14 2006 at 06:18 PM said:Indeed - what I meant was, it's quicker and easier to do a break;, so it'd be preferable to doing it the long way. Plus, with a break; you don't have to compare index on every iteration, making your loop more efficient.GP2X_Coder posted on Dec 14 2006 at 06:11 PM said:Sorry to bring this up again but using a loop the way Alex did is not quicker at all nickspoon and here is the reason why it's slower and it's faster to use a break because it will terminate the loop and continue with the rest of the code the way Alex did it the code has to go through the loop again and check to see if the conditions are met or not before it continues.
This is the fastest way to do the loop.
Code:int array[] = {1, 8, 7, 11}; int arrayLength = 4; int index = -1; int k; for(k = 0; k < arrayLength; k++) { if(array[k] == SOME_VALUE) index = k; break; }
you eliminte the need to go back into the loop to check and see if k < arrayLength and index == -1 because you already set the index value to k and broke out of the loop and moved on.
Alex do you see why I would do it this way instead.