#### Archived

This topic is now archived and is closed to further replies.

# Mini Challenge

This topic is 5089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Since NeHe hasn''t posted for a while (understandably) I thought I''d try and do something to liven things up a bit by running a mini-competition. My proposal is this: I will write a game skeleton for a simple type of game, with everything working except the rendering. Anyone wishing to enter will then have a short period of time (max. one week, probably a few days) to implement the rendering side of the game in any way they want. At the end I will determine the best looking version and declare the winner. There will be no prize (except bragging rights). Obviously there''s no point in running this if nobody is interested, so if you think you''d like to try this then please post a reply below. If there is enough interest the competition will probably begin either later today or tomorrow. Please also suggest how long you think the competition should run for. Enigma

##### Share on other sites
Im up for it if it only lasts a few days. The only thing that would probably annoy me is if anyone used code that they hadnt written completely to brag that they had made a game.

We could also use this mini challenge to test an idea i had. A while back i posted some artwork on the milkshape boards. I explained what i used the artwork for and some seemed interested. They said they were willing to provide me with models if i wished, so long as i gave them credit in whatever it ended up in. This may be a good way to test this sort of exchange before it gets used in a real nehe contest (it would b cool if we could use this sort of exchange in the ROTK contest). The basic idea is that you post any modeling work in a thread on the milkshape boards, they do the work and get the credit for it in the last scene of your demo.

##### Share on other sites
Might be interesting... Depends on the game skeleton you'll provide. I should have at lest some classes for math(2d/3d vectors) and things like that. Like very simple engine.

You should never let your fears become the boundaries of your dreams.

[edited by - _DarkWIng_ on February 7, 2004 2:43:33 PM]

##### Share on other sites
Cool idea,

I wouldn't be able to enter as usual due to not having any free time

[edited by - skow on February 7, 2004 3:28:02 PM]

##### Share on other sites
I was thinking of something really simple so that anyone who had no modelling skills and was not confident with vector maths could still manage to produce something decent looking by using i.e. texture mapping & creative use of lighting. A more confident programmer, on the other hand, would be able to use a few models (I only really see scope for a couple of models and they''d be pretty specialised) and be able to access enough data to generate more exotic effects.

I want to emphasize that this would be a simple game (think tetris/space invaders type game) and part of the challenge would be to think how to apply different effects to the game.

As an example, if it were a tetris game (and it''s not) then each block might have a position, orientation and velocity. The simplest solution would be to draw a 2d object in the correct position each frame. A more complex version might display a motion-blurred, textured, per-pixel lit, environment-mapped, curvy 3d model.

Enigma

##### Share on other sites
That sounds like alot of fun, id be up to try it

##### Share on other sites
On another board we used to have a simple mini contest like texture objects, bouncing balls, site logo in opengl etc which had a 2 week time frame. We could do that as well.

##### Share on other sites
I''m not going to start the contest just yet because I''m hoping that NeHe might post the Creative contest entries soon (plus I want to add a bit more to the game skeleton). If we don''t hear anything more from NeHe by the middle of the week then I''ll start the contest.

Enigma

##### Share on other sites
What type of game are u planning? Are we going to be able to change other aspects of the game or just the rendering portion?

##### Share on other sites
It''ll be strictly the rendering side. I''m actually thinking about packing everything up into a dll so that people won''t even think about trying to change anything else. As for the type of game, I''m not going to say until the contest starts. Half the fun will be trying to find ways to fit effects into the game, so I don''t want to give people an advantage by stating now what the game will be.

Enigma

##### Share on other sites
So are u up for including the milkshape modelers in this contest? We could also have a few prizes(or recognition) for the best artist ect.

##### Share on other sites
I wonder if we could also get the music community in on this...i''ll be like a net wide contest.

##### Share on other sites
If anyone wants to use models they''ll have to use their own model loading code. Getting the milkshape and music communities involved is a great idea, but I think probably not practical for this contest. For music I would have to add to the framework so that people could sync music, e.t.c. Maybe if this contest is succesful a future one might go that bit further but for now I think it''s probably best to keep things simple.

Enigma

##### Share on other sites
Might save you from writing a game engine...but perhaps a bit too complex...

http://www.nethack.org/

##### Share on other sites
OK, I know I said it would be ready today, but I got a little carried away testing it.... anyway the code is done I just need to look through it to check that everything is ''presentable'' and add some comments to show people where to add the rendering code. Contest will probably open around 3:00pm GMT tomorrow.

llvllatrix: Thanks for the link I''ll take a look when i have time - been a bit busy playing testing the game.

Enigma

lol, np

##### Share on other sites
OK, contest is open. Game skeleton is available here.

Rules are in the zip folder. The game is a breakout clone.

The contest closes at 00:00 Sunday 15th February GMT. By my calculation that will be 7:14pm Saturday 14th February, forum time.

Good luck all,

Enigma

EDIT: typo

[edited by - Enigma on February 12, 2004 10:23:26 AM]

##### Share on other sites
I''ve updated rules.txt. Realised I hadn''t actually said how to submit entries!

Enigma

time zone?

##### Share on other sites
Ah, sorry - thought I''d put that in. GMT. Will update rules.txt!

Thanks,

Enigma

##### Share on other sites
So who''s entering?

(i m btw)

##### Share on other sites
I might work an an entry sunday , if i complete some sort of an entry i''ll post it . Unfortunately i haven''t got time till then .

##### Share on other sites
I thought I would compile it and see what it was like, then decide if I wanted to make an entry. I can''t get it to compile in MSVC .NET, gives 13 build errors. I got the glut lib and header from http://www.xmission.com/~nate/glut.html and I belive I put those files in the correct places. I''m not really savvy enough to find the reason for the problems very quickly. If you want I will post the errors.

##### Share on other sites
Post them anyway, it might be an easy solution to it.

##### Share on other sites
Compiling...Null.cppc:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(23) : error C2039: '' *'' : is not a member of ''Null''        c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(7) : see declaration of ''Null''c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(26) : error C2270: ''$S1'' : modifiers not allowed on nonmember functionsMap.cppc:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(23) : error C2039: '' *'' : is not a member of ''Null'' c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(7) : see declaration of ''Null''c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(26) : error C2270: ''$S1'' : modifiers not allowed on nonmember functionsMap.cpp(61) : warning C4244: ''argument'' : conversion from ''int'' to ''float'', possible loss of dataMap.cpp(61) : warning C4244: ''argument'' : conversion from ''int'' to ''float'', possible loss of dataMap.cpp(75) : error C2679: binary ''='' : no operator found which takes a right-hand operand of type ''const Null'' (or there is no acceptable conversion)Map.cpp(100) : error C2679: binary ''='' : no operator found which takes a right-hand operand of type ''const Null'' (or there is no acceptable conversion)Map.cpp(192) : error C2440: ''return'' : cannot convert from ''const Null'' to ''Brick *''        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be calledMain.cppc:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(23) : error C2039: '' *'' : is not a member of ''Null''        c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(7) : see declaration of ''Null''c:\Documents and Settings\HaVoK\Desktop\mini challenge\minicontest\Null.h(26) : error C2270: ''\$S1'' : modifiers not allowed on nonmember functionsMain.cpp(76) : error C2664: ''time'' : cannot convert parameter 1 from ''const Null'' to ''time_t *''        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be calledBall.cppC:\Program Files\Microsoft Visual Studio .NET\Vc7\include\stdlib.h(251) : error C2381: ''exit'' : redefinition; __declspec(noreturn) differs        C:\Program Files\Microsoft Visual Studio .NET\Vc7\include\gl\glut.h(146) : see declaration of ''exit''