Color Matching Game

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
NoisyPerlin
Posts: 11
Joined: Sat Sep 03, 2005 2:52 pm

Color Matching Game

Post by NoisyPerlin »

Hi, all. I did a simple color matching game to give myself an introduction to Irrlicht. I also did a post-mortem where I wrote down some game design lessons learned from the game. Both the source code and the post-mortem can be found at http://fractalspace.com/irrlicht/colormatch.zip. I hope it proves helpful to people who are just starting with Irrlicht.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Nice work !!! :)

Inspired by this game I also created a little clone from an old game...
I called it IrrTris (guess what's the game... ;) ) !!!

Download: http://people.freenet.de/abusoft

CU, Acki
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

Ok you both lose points for not having a working binary.

However you both gain 3 points for the fact that it's open source.

@color match
c:\documents and settings\admin\desktop\colormatch\main.cpp(212) : error C2374: 'i' : redefinition; multiple initialization

error at least in the msvc6 version however you gain a point for having multiple project files. and you also gain a point for making a msvc6 project file since thats what i use.

Score so far 4 point color match 3 points irrtris
However since it's a tetris clone it gets a point since I'll play it.

So it's a tie!

I havent tried compiling irrtris yet so overall my rating system is shot to hell.

But adding the 0.12 irrlicht dll myself didn't make the binary run...

I give these projects both a deserved 4 out of 10 but a 2d game can't expect a better rating unless it's a hacker game of course :P

Thanks and be sure to purchase the home game. 8)
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

You had problems with the game/source !?!?!
Well, I uploadet the full playable IrrTris game, now...
You can now play IrrTris without having Irrlicht installed !!! ;)

It's on the same site:
http://people.freenet.de/abusoft

CU, Acki
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

I got color match compiled by fixing the error.

still working on irrtris though I'll try your working version... i just realised why it wouldn't run i was using the wrong dll however I'm having problems compiling it myself but i think i know why.
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

After moving the irrlicht.dll to the bin folder it worked perfectly. too perfectly. My wife, who loves tetris complained I was taking too long. :lol:
Oh, and I beat your score. :)
http://g2.3dcentral.net/main.php?g2_vie ... itemId=171

Now to go try out the color game.

Thanks for lots of fun.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
NoisyPerlin
Posts: 11
Joined: Sat Sep 03, 2005 2:52 pm

Post by NoisyPerlin »

Acki wrote:Inspired by this game I also created a little clone from an old game...
I called it IrrTris (guess what's the game... Wink ) !!!
Nice 'Tris game, Acki. Very clean code, too.
Midnight wrote:So it's a tie!
Aw, man! 1 point away from the Midnight Seal of Approval!
Midnight wrote:I got color match compiled by fixing the error.
Oh, ok, I know what the problem is. Weirdly enough, it's Microsoft's fault rather than mine (So there! :wink: ). For some reason, in VC6, the scope of the iterative variable of a for-loop extends outside of the loop, even though according to ANSI C++ standards a for-loop's variables should not be visible outside of the loop. This is fixed in VS2003, so I forgot that you can't use duplicate for loop variables in the same scope under VC6. That used to drive me nuts back when I was using VC6 as my main compiler.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

@Mike: I'm glad your wife likes the game !!! ;)

Well, Tetris is the game, I codet several times on diferent systems...
Mainly if I'm learning a new programming language...

Ahh, and my highscore is 9600 now !!! :P
I think the magic border are 10000 points...
I'm wondering who'll get more than 10000 points !?!?! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Guest

Post by Guest »

Binary of colourmatch game would be nice as I have a custom Irrlicht (with lots of stuff removed) so can't build it without re-downloading standard irrlicht, install, setup in VC etc.

thnx
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

9600??? :o
I'll have to let my wife have the computer for the day. :lol:

The only problem I had with it was when I pressed the down arrow, I got 6-10 extra objects.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
NoisyPerlin
Posts: 11
Joined: Sat Sep 03, 2005 2:52 pm

Post by NoisyPerlin »

Anonymous wrote:Binary of colourmatch game would be nice as I have a custom Irrlicht (with lots of stuff removed) so can't build it without re-downloading standard irrlicht, install, setup in VC etc.

thnx

Ok, here's a copy of the bin and data files.
fractalspace.com/irrlicht/colormatchbin.zip

I didn't include them initially since I pretty much made this game more as practice than as something to play on a regular basis.[/url]
Guest

Post by Guest »

thanks. yeah sure it wasnt made to be played much but its good to see it running. anything I can see running with irrlicht is good. :)

thanks again
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

I was wondering if the scoreboard worked... I'll smoke ya. 8)
Guest

Post by Guest »

god, this game sucked.
Millers Drillers

Post by Millers Drillers »

^^^That was Millers Drillers^^^
Post Reply