Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 21 May 2012
Offline Last Active Jun 03 2015 04:02 AM

#5212797 Review of class rendering code using marmalade c++

Posted by on 24 February 2015 - 04:42 PM

Hi All,

I'm trying to clone space invader of atari and I have problem with bounding rect calculations.. the rect is not correctly bounded.. maybe I have problem with the transformations 

void Barrier::Render()
	if (mBarrierImage)
		CIwFMat2D Transform;
		// Build transform

	CIwFVec2 pos = Transform.t;
	BoundingRect.x = Position.x;
	BoundingRect.y = Position.y;
	BoundingRect.w = (float)mBarrierImage->GetWidth();
	BoundingRect.h = (float)mBarrierImage->GetHeight();
	Iw2DSetColour(0xff0000ff); // Set red
	Iw2DDrawRect(CIwFVec2(pos.x, pos.y), CIwFVec2(mBarrierImage->GetWidth(), mBarrierImage->GetHeight())); // Draw red outline


#5208729 Any cool books out there on Game Programming tips

Posted by on 04 February 2015 - 04:01 PM

Get Game Coding complete  and Game Engine Architecture. 

#5205345 Awareness AI

Posted by on 19 January 2015 - 12:42 PM

What is an optimization problem? In which parts of CS courses that you learn those stuff ?

#5181762 Fear of replacement

Posted by on 20 September 2014 - 01:45 PM

Thanks for your input. Yes I need a job advice.  Maybe I'm so sensitive, but he was so aggressive when I did write to lines of code that caused bugs :(...

#5181734 Fear of replacement

Posted by on 20 September 2014 - 11:47 AM

Hi All,


I can't imagine that I landed into the industry 7 months ago, I'm an EE 27 Egyptian, migrated to Austria,.. just working right now in a company that is doing 3d sports games, I managed to get a new title to be published and put my name there, I solved lots of bugs and I did contribute.. the team is really strong, we are only 5 people, including two one server side, and other who is gui programmer and very psycho, inpatient, irritating all of us.


Unfortunately, I did some of the stuff with him, but 3 days ago I did couple of mistakes, which let him go mad and escalated it in front of everyone :(, just two bugs,  where I put an additional break and another in loading a dictionary... At the end of the published title, I found a big for him that is found, that was exploding the database, and I stayed two days to know why it happens, did a lot of debugging on device with no debuggers,..etc and the manager appreciated that, but I never escalated that.


I also found a big for that is done by someone who was at rockstar, and nividia, the same bug he did too, and didn't harm the game last year.. but I found it for him.... but nobody found it


yesterday found also a bug with null pointer, with another experienced guy, and considered as a senior... I'm not employed as a senior btw.. 


Now after the above incident of that guy escalating it, the manager is treating me very differently, and they looking for CVs and interviewing others..


I'm now very depressed and very anxious about if they are gonna replace me.. or maybe add to the team another one, am not sure and very worried and that destroys my weekend :(


#5122556 Writing a software renderer

Posted by on 10 January 2014 - 02:46 AM

Hi All,


I have managed to draw pixels, lines, triangles, then solid triangles, and I copied and pasted a code for texturing a triangle, I would like also to someone guide me on how to do it and understand it fully. 


What are the next steps,  is it possible to draw a cube in 2D and write a camera, world transformations right now and ignoring the Z ? 

For example, I would like to load a .plg model and ignore the .z ? 

#5096121 Good book or online tutorial to learn modern OpenGL

Posted by on 23 September 2013 - 06:07 AM

OpenGL Programming Guide the red book.

OR Interactive modern computer graphics very beginner