Jump to content

  • Log In with Google      Sign In   
  • Create Account


VISQI

Member Since 02 May 2010
Offline Last Active Jan 12 2013 09:52 AM

Topics I've Started

How to get in the gaming countries?

07 January 2013 - 11:44 AM

Hello good people
 
I am currently finishing a bachelor of science degree in game development in Malaysia.
My nationality is Syrian, and I basically want to find work as a game programmer.
In Malaysia, there aren't a lot of game companies (mostly flash developers, which I don't really want), and I am already a foreigner here in Malaysia.
 
I know it won't be applicable if I just apply for a job in Canada, USA, or Australia from my current location. They won't spend money to make a visa for a fresh graduate.
 
I was thinking about attending a masters degree in one of those countries as my entry point, and then from there I can search for a job in the industry while attending a masters degree.
 
My question is, Do you think it is reasonable to do that, or is there an easier way to enter the game industry from my position??
 
One last thing, I was hoping you might suggest what masters degree should i go into(math, physics, psychology, .....) because I don't think there are a lot of masters degrees dedicated to game development.
 
Thanks for the help in advance :)

Where to learn UnrealScript?

06 March 2012 - 10:34 AM

Hey
I am still new to UDK(started out yesterday).
I have two questions though. Why use UnrealScript?? Meaning what can be programmed in UDK Ed that doesn't already exist in the toolbars??
And, where can someone learn UnrealScript?? The syntax seems easy, but how can you modify something with UnrealScript??

Which engine to choose?

03 March 2012 - 04:26 AM

Hey
Ok. I have been using pure D3D10 for making my demos for quite sometime(about 2.5 years now). I think it is time for me to get into known engines, instead of using my own framework, because, till now, i can't do any kind of indie projects with anyone because they all use existing engines, and no one uses pure D3D10 anymore....

I have done some research, and i think the top free, mostly used, engines out there are: UDK, Unity3D, C4Engine. Please correct me if i am wrong.

I was looking for an easy-to-use engine, with a lot of functionality ranging from smart AI's to a good variation of Post-Processing effects.
If there are any books to recommend for me to start with the corresponding engine, please refer me to them.

Let the engine wars begin :)

LockRect() in D3D10?

03 March 2012 - 04:09 AM

Hey people
So i had this old piece of code that creates a noise texture by using LockRect(). I was wondering how can i transfer it to D3D10 because i didn't find a LockRect() function in ID3D10Texture2D structure.

here is the code:

V(gd3dDev->CreateTexture(256, 256, 1, 0, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, &mNoiseTexture, 0));
D3DLOCKED_RECT rect;

V(mNoiseTexture->LockRect(0, &rect, 0, 0));

for(int i = 0; i < 256; i++)
for(int j = 0; j < 256; j++)
{
int Random = GetRandomInt()&1000;

uint8_t* Pixels = (uint8_t*)rect.pBits;

uint32_t* CurrentPixel = (uint32_t*)&Pixels[rect.Pitch*i + 4*j];

uint8_t* Components = (uint8_t*)CurrentPixel;

Components[0] = 0;
Components[1] = Random;
Components[2] = 0;
Components[3] = 0;
}

V(mNoiseTexture->UnlockRect(0));

To be fair, i don't really quite understand the different types of uint and how to deal with them, So please be thorough.

FPS movement question

27 February 2012 - 08:11 AM

Hey guys

So basically, how do you move the camera??
I used to just basically use WM_LBUTTONDOWN to invoke SetCapture() and save the current mouse position, and then, in WM_MOUSEMOVE, i just capture the new mouse position and get the difference as dx and dy for the movement.

But i just want to move the camera without the need to press LMB every time(like in a real FPS shooter).

So what is wrong with my current code??


case WM_CREATE:
SetCapture(mMainWnd);
return 0;


case WM_DESTROY:
PostQuitMessage(0);
ReleaseCapture();
return 0;


case WM_MOUSEMOVE:

mOldMousePos = mMousePos;
mMousePos.x = (int)LOWORD(lparam);
mMousePos.y = (int)HIWORD(lparam);

mCameraDx = mMousePos.x - mOldMousePos.x;
mCameraDy = mMousePos.y - mOldMousePos.y;

return 0;

mMousePos is initially initialized as (0,0) and both it and mOldMousePos are ::POINT members.

my current problem with this code is that it is moving SO SLOWLY every two seconds or so. It is not in real-time

PARTNERS