thx guys got it working.
Type: Posts; User: Ti22
thx guys got it working.
Executing an exe at runtime
Basically i am creating a D3d App and I want the code to run this configuration (choose resolution, windowed or fullscreen, etc...)
then this config.exe will save...
Hey guys,
I am trying to create a program that initializes Direct 3d i used Victor Saar's Tutorial from here
http://www.riaz.de/tutorials/d3d.html
however he initializes the window in...
I've draw a rectangle behind for the sprite
however it still uses the origin (one point) of the rectangle to test the collision detection.
how do i create the bounding box using the origin? just draw a rectangle?
the origin is just a point in space.
http://www.ti-x.net/images/collision%20prob.jpg
hey guys, i've got htis problem i've been workin on for the whole of today without success
basically the bitmap is not colliding where it is,...
ok we fixed that now i am getting this problem
LiftSystem error LNK2019: unresolved external symbol _main referenced in function _mainCRTStartup
LiftSystem fatal error LNK1120: 1 unresolved...
OK I am creating an instance of class 1 Lift Lift1 in another class and I am trying to access its public function using
Lift1.blah;
however its saying Undeclared Identifier.
hey can u try it again?
the link should work now.
Thx
hmm,
can I send you my code? will that be ok? its for my coursework and the code already does everything the coursework needs but this bug is very annoying.
I'll PM you with the zip file, pls...
no same results it works like before
when i start the program up i can use the pop up menu but only limited amount of times and everytime its different how many times i can use it
but every...
ok i tried it, same result, still can use it limited times, it seems like after a certain number of times windows stops sending the message or soemthing like that
i am not sure.
here is my winmain
int WINAPI WinMain (HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
MSG msg;
hmm I've ran into another problem, its pretty minor though
after a certain number of clicks my pop up menu won't work anymore
any idea how to fix this?
cool thx
its working like a charm now :D.
Thx.
Hey guys I just ran into a problem not sure how to fix this.
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
case ID_COUCHCOLOR_RED:
k I got the menu working and everything
here is my code so far
case WM_COMMAND:
{
switch(LOWORD(wParam))
{
nvm guys
I got it to work :D
Hi,
I've managed to get the pop up menu in my program
however now I have to set commands to make it do things when I click on them.
here is my code
you need like OpenGL n stuff to do that kinda thing and even with OpenGL you can only really open bmps
other file formats are possible but you need to code them in which means you need to study...
Hi,
I am using windows API to draw an OPEN GL scene like the nehe tutorials and how do I create pop up menus I want to create pop up menus to make it able to change color of object in my world.
...
Hi how would I go about creating a popup menu when I click the right mouse button I know I have to use the windows message but what are the commands for the popupmenu submenus and stuff like that.
...
YAY I figured it out :D
I was just observing the behavior of those buttons and came to a conclusion that I just need to change the directions to -direction in the formula used to control the W and...
ok i got the camera and the mouse to work but i have another problem hehehehe
now the wasd button won't work with properly, the camera won't move in the direction it is headed, it pans in the x...
Hi guys first lets start with some code
GLfloat position_x = -camera_x;
GLfloat position_z = -camera_z;
GLfloat world_rotate = 360.0f - y_rotate;
glRotatef(x_z_rotate, 1.0f, 0.0f,...