My Game Source code

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
younes_kh
Posts: 13
Joined: Wed Jun 24, 2009 8:50 am
Location: Palestine-gaza will be free

My Game Source code

Post 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)
Last edited by younes_kh on Fri May 14, 2010 8:59 am, edited 1 time in total.
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post by Eigen »

What possessed you to put everything in headers?!
3DModelerMan
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Post by 3DModelerMan »

The inlined functions of DOOOOOM!! :lol:
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModel ... tor#tipjar
LosNir
Posts: 43
Joined: Wed Dec 19, 2007 6:38 pm
Location: Israel
Contact:

Post by LosNir »

Code: Select all

if(isChick) Driver->draw2DImage(texture,post,rec2,0,video::SColor(255,255,255,255), true);
EPIC! Only chicks allowed.
ArakisTheKitsune
Posts: 73
Joined: Sat Jun 27, 2009 6:52 am

Post 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?
Knowledge is power, understanding is wisdom.
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post 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.
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post 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.
younes_kh
Posts: 13
Joined: Wed Jun 24, 2009 8:50 am
Location: Palestine-gaza will be free

Post 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
LosNir
Posts: 43
Joined: Wed Dec 19, 2007 6:38 pm
Location: Israel
Contact:

Post by LosNir »

[admin edit]
whatever this was meant for, don't even think of it again.
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

^ Nice troll.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Post by Nadro »

LosNir should be warned.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

good job younes_kh. i bet you learned a lot from this project. looking forward to your future game projects. 8)
younes_kh
Posts: 13
Joined: Wed Jun 24, 2009 8:50 am
Location: Palestine-gaza will be free

Post by younes_kh »

LosNir should be warned.
Nadro .why ? :lol: :lol:
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Uhm, well, because of posting off-topic with wrong attitude or something like that.
LosNir
Posts: 43
Joined: Wed Dec 19, 2007 6:38 pm
Location: Israel
Contact:

Post 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?
Post Reply