|
||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||
| Some recent topics started on our forums | |
| Programming web games | Hello everyone, I just wanted to ask if anyone knows of a good site where I can learn how to program games in javascript/PHP. I know the basics of both languages, but have only used them for basic webdesign. I want to offer my visitors some... |
| Posted February 22, 2005 10:04:24 AM | |
| SDL problem (big one) | I have a weird problem, I had my application up and running, changed a few things, saw it didn't work, changed back and saw it still didn't work... I really don't see where the error should be. The application compiles fine, but won't display the m... |
| Posted January 13, 2005 4:58:22 PM | |
| Write to error log | Hi all, I just want to know how I can write to "stderr" logfile to help debug my game. Thanks, Joshua P.S. I mean a standard function, not an "open, write, close" file system. |
| Posted January 12, 2005 3:14:02 AM | |
| Icon for .exe | Hi all, I just wanted to ask how I can change the icon for my .exe game file. I don't really like the window, and I know you should be able to change it, but how? I don't need what information you need, so I just give everything: I program in c+... |
| Posted January 10, 2005 5:14:16 AM | |
| RPG event handling | Hi all, I have been thinking a lot of how I would handle events in my RPG, but I can't really figure out how. If I create a world[40][30], and I have 2 merchants, one on world[25][35] and one on world[15][10], do I have to defi... |
| Posted January 9, 2005 5:55:32 AM | |
| Creating a second window using SDL | Hi all, my question is quite simple, how can I create a second window using SDL? I try'd void ShowMenu() { SDL_Surface *menu = SDL_SetVideoMode(200, 150, 32, SDL_HWSURFACE|SDL_DOUBLEBUF); SDL_Delay(1000); } but this... |
| Posted January 9, 2005 9:11:08 AM | |
| Linker Error?! | Hi all, I got this very weird problem. This is my source file: #include "world.h" #include <SDL/SDL_image.h> #define WORLD_W 40 #define WORLD_H 30 bool InitWorld() { SDL_Surface *temp = IMG_Load("map.gif"); ... |
| Posted January 9, 2005 4:48:24 AM | |
| Structure for use in multiple files | Hi all, I have this structure: struct WORLD { SDL_Surface *image; int value; int x, y; }; and I NEED it in more then one source file(.cpp). how can I make 2 instances of this struct without the compiler telli... |
| Posted January 9, 2005 3:31:26 AM | |
| Please critic my coding style | Hi all, I am am starting to program a 2D RPG in SDL, and I just wanted to ask everyone to critic the way I want to do this. at the moment I have 4 files, main.cpp, main.h, world.cpp and world.h(nothing in it atm). Here they are: main.cpp #inclu... |
| Posted January 8, 2005 6:08:45 PM | |
| array of structures | Hi all, I want to make an array of structures, to represent my world. This is my code atm: struct MAP[40][30] { SDL_Surface *background; int value; }; int main() { InitSDL(); MAP map; ... |
| Posted January 8, 2005 3:11:19 AM | |
| View All Topics Started By This User | |
| Some recent replies made on our forums | |
| keyboard input in the console | uh, it has been a while since I have done it, but gametutorials.com had a nice tutorial on it (now it is paying though...). You should use something like "ReadConsoleInput()", although I don't know which parameters it takes anymore. Do a google... |
| Posted January 21, 2005 3:48:51 PM | |
| Problems installing SDL_Image and Sfont | if you are using Dev-C++, the sdl headers get installed in a different way like: <SDL/SDL.h> or <SDL/SDL_image.h> Maybe that is the problem, Joshua |
| Posted January 19, 2005 3:15:39 PM | |
| need advice: from Windows game to Web game | Quote:well, as ASP is a client side "semi-programming" language already, you could even do it completely in ASP (although it could be kinda though :D). But as far as I know, you can always start your exe from your site. I even had a little game insta... |
| Posted January 14, 2005 2:42:03 PM | |
| need advice: from Windows game to Web game | well, as ASP is a client side "semi-programming" language already, you could even do it completely in ASP (although it could be kinda though :D). But as far as I know, you can always start your exe from your site. I even had a little game installed &... |
| Posted January 13, 2005 3:34:46 AM | |
| Write to error log | This is my class: #ifndef LOG_H #define LOG_H #include <iostream> #include <fstream> #include <cstring> using namespace std; class LOG { public: void CreateLog(); void Write(string); ... |
| Posted January 13, 2005 2:45:11 AM | |
| Need Good Win32 api tutorial | I would certainly go for www.gametutorials.com |
| Posted January 13, 2005 2:36:36 AM | |
| Write to error log | I created a class LOG (functions CreateLog(),Write(), CloseLog()) , with an extern instance, like this I can get errors in my whole project. The only Problem I have is that is doesn't want to write to the file yet. I don't have the code with me,... |
| Posted January 12, 2005 10:03:18 AM | |
| RPG event handling | I was thinking of a much more simple method. I want to implement a simple BattleMode() function... Like: //Poll For keyboard events //if a monster hits the player --> BattleMode() //as soon as BattleMode() ends, I come back in the same loop,... |
| Posted January 10, 2005 5:24:12 AM | |
| RPG event handling | nice ideas all of you! :D my idea atm is to make a different event header for each world. and put a check for events in a keyboard input loop. Normally this should work, but I guess I will only see once I try :D If I have any proble... |
| Posted January 9, 2005 10:01:38 AM | |
| Creating a second window using SDL | :( well, I guess my idea will have to wait then... :( for now I will make the menu inside the same window. |
| Posted January 9, 2005 9:25:38 AM | |
| View All Replies Made By This User | |