Page 1 of 3

My Game Source code

Posted: Wed May 12, 2010 3:57 pm
by younes_kh
hello my friends

this is my game code which i work at it many months
i hope it useful for you :P

http://www.mediafire.com/?2iy2yjnynzm

you can download game from this topic
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36975

8) 8) 8)

Posted: Wed May 12, 2010 4:33 pm
by Eigen
What possessed you to put everything in headers?!

Posted: Wed May 12, 2010 10:21 pm
by 3DModelerMan
The inlined functions of DOOOOOM!! :lol:

Posted: Wed May 12, 2010 10:58 pm
by LosNir

Code: Select all

if(isChick) Driver->draw2DImage(texture,post,rec2,0,video::SColor(255,255,255,255), true);
EPIC! Only chicks allowed.

Posted: Thu May 13, 2010 2:58 am
by ArakisTheKitsune
LosNir wrote:

Code: Select all

if(isChick) Driver->draw2DImage(texture,post,rec2,0,video::SColor(255,255,255,255), true);
EPIC! Only chicks allowed.
+

Code: Select all

core::rect<float>Winlocation;
EPIC win! since this variable contains win location :mrgreen:

Btw not bad but messy, there is at least one serious memory leak and as Eigen stated, what possessed you to put everything in headers?

Posted: Thu May 13, 2010 7:47 am
by Midnight
Irrlites make releasing source such a friendly experience don't they?

@Arakis - IP rights are power, knowledge and wisdom are obsolete party tricks.

Posted: Thu May 13, 2010 10:09 am
by Eigen
Releasing source code is a good idea, if it's readable, structured and commented in ENGLISH, doesn't have typos in code (class names as EvenReciver, variables, function names) so it's actually useful-for/usable-by others. And the fact, that it's all just headers ...

I'm not trying to bash younes_kh's initiative. He's done a great job with his game and I'm sure has learned a lot from this project. It's just that a certain level of quality is expected when you release your source code to the public.

Posted: Thu May 13, 2010 1:12 pm
by younes_kh
I am sorry for poor comment and variables names because i not good at English and not have time to do that . i will try to that at close time

for header file I have aother version of code that division file to cpp and h
but i thing header file is easy to understand

Posted: Thu May 13, 2010 1:34 pm
by LosNir
[admin edit]
whatever this was meant for, don't even think of it again.

Posted: Thu May 13, 2010 2:55 pm
by slavik262
^ Nice troll.

Posted: Thu May 13, 2010 4:41 pm
by Nadro
LosNir should be warned.

Posted: Thu May 13, 2010 5:27 pm
by Virion
good job younes_kh. i bet you learned a lot from this project. looking forward to your future game projects. 8)

Posted: Thu May 13, 2010 6:58 pm
by younes_kh
LosNir should be warned.
Nadro .why ? :lol: :lol:

Posted: Thu May 13, 2010 7:01 pm
by hybrid
Uhm, well, because of posting off-topic with wrong attitude or something like that.

Posted: Fri May 14, 2010 10:20 am
by LosNir
Give me a break, wrong attitude? You're giving him legitimization for doing such stuff.

Have you ever played his game?

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=36975
Content-wise it's ... well a palestinian team doing a game that is about killing Israelis is probably as much of a bad cliche as you can get.
Quote from CuteAlien.

I have nothing against Palestinian's and I think it's a nice code overall, but Irrlicht forum shouldn't provide this "platform" of sharing Islamic ideologies and killing Israeli's. This forum should lack politics, ideologies and religions, it should be pure educational source for developing and learning new stuff.

I bet if someone had posted here a racist game killing black people, would you not censor it? Why is killing Israeli's is legitimate here?

I'm not trying to advocate, by saying whether it is ok or not, but this kind of content shouldn't be here.

Think of it.

@slavik262 - Next time before calling someone a troll, actually read his post, and do your "home-work", alright?