Jump to content

  • Log In with Google      Sign In   
  • Create Account


yoni0505

Member Since 09 Dec 2010
Offline Last Active Nov 16 2013 10:14 AM
-----

Topics I've Started

Need some consultation

16 April 2011 - 09:32 AM

I'm thinking about making some game that I thought about few years back.
I want to make isometric(?) 3D squad level combat game.

1. So I learned about making 3D models, I picked "Blender" for my modeling software, and I'm not sure which 3D model format I should use.
The 3D models I plan to use doesn't need much more then animation with bones, so I'm wondering which format support these things?

2. After researching for few days I'm thinking about using C++ with SFML and OpenGL. I'm wondering, is it a good choice?

3. Should I use a game engine?
My focus right now isn't about learning to create games from scratch, but to achieve my goal and create the game.
What game engines offers? I've tried to read about some of them and I haven't found what they offer. Does they offer things like SFML do?

Help would be appreciated!

Question about OpenGL

16 December 2010 - 05:46 AM

I started to learn OpenGL from an old set of tutorials.
While I was browsing the reference pages at OpenGL's website, I noticed some of the functions only exists at the OpenGL 2.1 reference, and aren't listed at the new 4.1 reference.
For example glBegin() and glEnd() .

So I'm wondering if those, and other functions were replaced at the newer versions of OpenGL, and if so, should I find tutorials for the recent OpenGL version(4.1)?

statically linking specific .DLL ?

14 December 2010 - 08:55 AM

Is it possible to statically link a specific .DLL file?
I'm using SDL and I have to include the SDL.dll file so I have to pick "multi-threaded DLL".

I don't want to include the msvcr100.dll with my program, I already saw a SDL program which got the SDL.dll and (Multi-threaded DLL) but doesn't depend on msvcr100.dll .

I guess there is some way to statically link specific .dll, yet google didn't reveal me the answer...

I tried to link msvcrt.lib but it didn't work... :(

So is it possible? [wink]

couple of questions

13 December 2010 - 03:55 AM

1.
if I got it right, GLUT and SDL are used with openGL in similar way/propose.
Which is better to use and what each one capable of doing?

2.
I understand that openGL only used for graphics and for input and such you have to use another library.
I've saw there is openAL and openIL. Are they good?

Skipping functions?

13 December 2010 - 12:23 AM

Hi.

I'm having a weird problem, I'm building a simple game to gain some skill and one of my functions is sort of ignored.

I'm using MSVC++ 2010.

It used to work before I added and modified some unrelated functions in the code.
I tried to put a breakpoint at the functions line, and when I debug I get a empty red breakpoint with a "!" sign that says:
"The breakpoint will not currently be hit. No executable code is associated with this line. Possible causes include: preprocessor directives or compiler/linker optimizations."

I checked the line that calls the function using a breakpoint and it does stop.

the function that doesn't work:
(global scope)

//check for specific input
void checkInput(SDL_KeyboardEvent *key) {
switch(key->keysym.sym) {
case SDLK_UP:
isTileFree(0,-1);
break;
case SDLK_DOWN:
isTileFree(0,1);
break;
case SDLK_LEFT:
isTileFree(-1,0);
break;
case SDLK_RIGHT:
isTileFree(1,0);
break;
}
}



and the line that called the function is placed at "main" :

//main loop
while(running) {
//check input
while(SDL_PollEvent(&event)) {
switch(event.type) {
case SDL_KEYDOWN:
checkInput(&event.key);
break;
case SDL_QUIT:
running = 0;
break;
}
}
//update the screen
updateDisplay();

//dalay program
SDL_Delay(5);
}



I'm really confused cause it used to work before.

PARTNERS