Search:
Type: Posts; User: kake_fisk
Search:
Search took 0.05 seconds.
-
June 12th, 2009, 02:11 PM
I'm not completely with you now.
-
June 11th, 2009, 09:25 AM
How can I get the ID3 Tags from an mp3 file in c++?
-
This is my first game I've made in C++ and I've learnt while making it. (It's not finished)
For now I'll just add extra variables to all objects, but just use them for my necessary one.
In my next...
-
I don't want to access the database. I want to add entries to the highscore.
But if this is hard to achieve. I can just make a weak encryption.
-
Is it possible to execute a php page without opening a browser?
I'm making online highscores with php.
But I want to execute this page from a c++ game without opening any browser.
This will...
-
@Mkumar
You have a couple of windows only header files in your code like windows.h and winbase.h.
I'm pretty sure you can't use these on linux.
I'm not very known with the various header files...
-
So when using public Object, the Monster struct will also get an x and y property?
-
How can I add struct member types at runtime in C++?
Say this is my struct:
struct Object
{
int x;
int y;
} spot = { 20, 40 };
-
Well, actually I just want to make a string that contains the path where the executable is located.
-
Is there any variables in C++ like working_directory or program_directory?
-
Ohh, that's a smart solution.
It worked like a charm. Thanks.
I'm sorry for explaining so bad in the first post.
Thanks to everybody who posted in here.
-
Oh, that's no problem.
The object has a xprevious and yprevious property that updates automatically.
-
http://en.wikipedia.org/wiki/Path_(computing)#Uniform_Naming_Convention :)
-
Well, I still have a problem understanding, sorry.
But I think I can simplify this even more.
I have stored the objects Bounding boxes like this:
GameObject& a = obj_player;
GameObject& b =...
-
There's no problem, I solved it by using unsigned int.
But I just said I didn't want to change to #define HWSURFACE 1 or const int HWSURFACE = 0x00000001.
Thanks for the help, the problem is...
-
Oh, sorry if I posted too little information.
My game is a 2D top down game. It has very simple rectangular sprites.
The blocks are not moving (not really).
I'm just not so good in math and i...
-
Good ideas, but I don't want to change it.
Because It's from "SDL_video.h". It's a header file that comes with SDL. I don't want to go in and change it.
-
How can i check if a rectangle (the player) have collided with a line?
-
Thanks that worked! =D
What is an unsigned int by the way?
-
The code above is unfinished.
I want to add a parameter that either takes values like SDL_HWSURFACE or 0x00000001.
But to do that i need to give the parameter a type. I don't know which type that...
-
I'm making a function for resizing my SDL window.
This is the code:
void window_resize(int width, int height)
{
screen = SDL_SetVideoMode(width, height, SCREEN_BPP, SDL_HWSURFACE);
}
-
February 13th, 2009, 08:35 AM
Try this:
glutReshapeFunc(NULL);
I'm not sure if it will work..
-
February 11th, 2009, 07:32 AM
Hi, i'm quite new to SDL, but i have some problems moving the sprite on keypress.
Here's my code:
#ifdef __cplusplus
#include <cstdlib>
#else
#include <stdlib.h>
#endif
#ifdef...
|
Click Here to Expand Forum to Full Width
|