Our Game Development forum is the place for Q&A-style discussions related to algorithm design, physics and math theory that are directly related to game development, in addition to techniques implementing sound and graphics libraries.
1,218 Recommended Topics
Remove Filteri am writing a code that will rotate the polygon but it seem as if it is not working any help? [code] #include<iostream> #include<Gl/glut.h> #include<cstdlib> using namespace std; GLfloat fPent = 0.0; // for rotating pentagon; GLfloat fSqr = 0.0; // for rotating square; void handleKeyPress(unsigned char key, int x, …
I am practicing lighting and smooth shading. THe problem is that this code only shines the light for front and the right side , but when the objected is rotated, it shines at constant position (the front and right) and not to the side that are on the positioned light. …
I'm creating a game and I need to rotate this object. Ok i'll make my explanation simple, I have Object1 and Object2.. Let's say Object1 is at coordinates 0,0 (x,y) and Object 2 is at coordinates 10,10... Object 1 is currently facing south, Now I need object 1 to be …
hi, I started learning openGl yesterday. I made a simple program that supposed to create a triangle and a square, but its not working properly, any help please? [code] #include<iostream> #include<Gl/glut.h> #include<cstdlib> using namespace std; void handleKeyPress(unsigned char key, int x, int y) { if(key == 26) exit(1); } int …
I want to get into game design, but I'm not sure which programming language I should learn first. I'm going to use resources on the internet, but mostly I'll be teaching myself. I want to be able to design smaller games first and build a portfolio, and I eventually want …
I need to write a program where a user enters a string and this string is converted to 3D text with additional animation such as rotation etc. The text should be drawn using polygons or cubes. Does anyone know of any good tutorials etc. where I could get some help …
[QUOTE=hieuuk;755193]Don't really understand though. How you wrote your game anyways? I'm writing a tutorial about this game using C# but with XNA instead of OpenGL. If you want I could send you the tutorial, I think they should be the same idea.[/QUOTE] I'm having a hard-time getting OpenGL installed on …
i want to program a videogame. I bought c++ for dummies and have read it but from there im lost on what to do. Any help is appreciated.
Hey people! I'v just registered here today and i was wanting to know how to make a text based game "FREE" Is it possible? Can u all help me to start off and know the basics... Please help!
hey everyone. Just a quick question i hope i'm using c# with XNA and currently i have created a game which draws a spaceship on the screen and allows me to move it around using an xbox360 controller. what i'm trying to do is make the sprite of the spaceship …
I prefer to write the backend first because thats how I think and it seems more logical to me, what do you prefer?
Hi there, we are currently deverloping a simple game for school project. As title shows, I'm talking about space invaders game (we use OpenGL & C#). We have actuaally made the game run in the mode that everything is displayed as red or yellow circles (textures are not yet implemented). …
What is the difference between hkeletal animation and procedural animation? I get different answers each time BattlingMaxo
I have no idea how to make somthing like this, and i'm kind of new with file I/O. How would you start somthing like this? O.k. here is what I have to save, I have roughly 56+ variables that need to be counted in this. But what I am having …
Hi, Naina Gill Welcomes you in this thread. Here all experts and newbies are invited. It would be kind of experts that they extract out little time our of their busy schedule and guide those people who want to do something in games programming world. So disciples get ready for …
Hello, I am working on a Tic-Tac-Toe program in C++ which I want to have AI that will either win or draw every time, but will never lose. I think that this is within my grasp, though I am not at all an expert programmer. I would really appreciate if …
Would be really fun if we could maybe have some game programming challenges posted here on a weekly basis. This could help adventuring programmers solve their problems by reading past challenges or even expanding their knowledge by solving these challenges. But we first need to set up a structure. In …
I am trying to program a game and am having trouble with collision detection. I am trying to get the "monsters" to chase the "knight" when the knight gets close. I am using Panda3D to run the game. I have three classes, the Knights Quest, monster, and wasdCamera. I am …
I'm attempting to create a 3D object based only on bitmap images. Is there a tool or technique or anything that can help me accomplish this?
I need to learn more about this before i can even think about starting coding, problem is i can't find a thing on it except a few papers. I am speaking about no keyframes, you just manipulate the bones through algorithms. i need to see some source code on this. …
I know i am, hi im jeremy and im a 3d modeler looking for a coder that's not lazy and is determined to get this game on a roll. We can achieve greatness if we work as a team. And im sure we can come up with an agreement on …
I posted this question in the regular C++ forum and havn't gotten any answers. hoping I will have better luck here, here was the question: [URL="http://www.daniweb.com/forums/thread160790.html"]http://www.daniweb.com/forums/thread160790.html[/URL] I need to load a bitmap from file, and get an array of bits that I cain use. I have used CreateDIBSection() to create …
Hello. A friend of mine have decided to attempt to start a grass roots development of a mmorpg. We are both tired of the same tired and cookie cutter cloned mmorpgs out there that are all the same. It's a daunting task but even if we could get an alpha …
Well, i want to make an RPG (in the future it will become MMORPG). Anyway... I'll use C# and i haven't decided yet what graphical API I will use (DirectX, OpenGL, XNA, ..), but this isn't relative for my problem (an opinion would be good). Well, my doubt is: how …
I am trying to update my roguelike game, 'Get Out!!'. I have one simple question. How do I print an int at an xy coordinate using pdcurses and c++. i only know how to print char and const char[]. Thank you
Okay so I am designing a game (that's why I am in this forum.) I want to know from people with experience what language is the best to code in? I see a lot of sites code in flash; though some of them are on phtml pages. Any info will …
[code] string MAP[11][11]; MAP[0][0]= "|I|"; MAP[0][1]= "|I|"; MAP[0][2]= "|I|"; MAP[0][3]= "|I|"; MAP[0][4]= "|I|"; MAP[0][5]= "|I|"; MAP[0][6]= "|I|"; MAP[0][7]= "|I|"; MAP[0][8]= "|I|"; MAP[0][9]= "|I|"; MAP[0][10]= "|I|"; //1 MAP[1][0]= "|I|"; MAP[1][1]= "|R|";//thing MAP[1][2]= "|T|";//thing MAP[1][3]= "|F|"; MAP[1][4]= "|F|"; MAP[1][5]= "|F|"; MAP[1][6]= "|F|"; MAP[1][7]= "|R|"; MAP[1][8]= "|R|"; MAP[1][9]= "|G|"; MAP[1][10]= "|I|"; [/code] This …
hye everyone, i'm finding someone that could create a mobile game application using java and netbeans as the ide..the mobile game im trying to create is a chinese board game called "go"..I JUST need a simple application..dont need extreme graphics..i need it as soon as possible..i am willing to pay..RM …
This was orignally posted in C++ Foums: Hey, I'm new to this forum. I'm having trouble making a mapping/navigation type program. Kind of like one where you type in "N" and you go north. But more complex, scince i'm creating an rpg. (In command prompt console) I need to have …
hi. i m making a letter lasso game. i have been completed everything in it but i have a problem after shiffting the word when i push the new letter in a empty place. pls any one can help me for this. as soon as possible.
A typically eloquent contribution from my colleague Happygeek tells us a great deal about the [URL="http://www.daniweb.com/blogs/entry3522.html"]games console wars[/URL]. Xbox is outselling the PS3 but they're both being trounced by the Wii. So far so good, but my guess is that the Xbox will still be the long-term loser. And I'll …
I need to create a Space Invaders kind of game and I have a demo I need to copy the main features from. The invaders have to be of at least 3 different types and they change color. So I figured the invaders are 3 child classes from a parent …
1) This is a sample OpenGL program. 2) I got this error when the console window (black screen) shows: freeglut Error: Function <glutDisplayFunc> called without first calling 'glutInit' 3) VC++ 2008, WinXP OS, Win32 consolde app project, all libraries installed. [code] #include <windows.h> #include <gl/glut.h> void display() { // clear …
I am trying to create a Space Invaders sort of game. I am using a linked list for the bullets that the player shoots and in the same list, there is also the enemies. I have a addNewEnemy Function which I run once in the main game loop. This adds …
I want to learn game development, where i can get some tutorials for game development in java. or suggest any other language suitable for game development.
I am planning on making games within the next few years. I have read a book on DirectX 7 (with excellent explanations), and right now I am going to start learning either DirectX 9 or DirectX 10. The advantage of DX 10 is that it is newer and better. However, …
hi,. if anyone related to flash pls contact me. i make a tic -tac-toe game in flash i have phase some pls if anyone related pls contact me.
I just started learning SDL so I can make games in C++, but for some reason my code fails to compile. The code: [CODE=c++] #include "SDL/SDL.h" #include <string> using std::string; int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; const int SCREEN_BPP = 32; SDL_Surface *message = NULL; SDL_Surface *background …
Hi everybody!!! I am a new student of programming. I received a project from my IT Prof. making a snake game. So far i did some of my simpliest snake program. I did it for almost 2 months. Now my problem is to make a level everytime the snake eats …
I need help to get started with this. Any one that knows any examples I can get inspire from? :) Im going to create a game that plays Memory. The user should try to solve a 6x6 matrix by matching words in different cells in a matrix.It should look like …
Is there any thread or resource which can list the books related to game developement? Be it any langauge (C++/Java/Flash/Directx) I tried google but results are satisfactory.Can anyone help with pointers. Thanks in advance.
Hi to all game programmers :icon_cool: I want to implement the following: Short description: [B]A* Star for partitioned space combined with an adaptive partitioning in 3D.[/B] Detailed description: A. Assume that in the 3D space I have an Object (myMovingObject) that I want to it to move from one initial …
Hello all, I am a final year student developing a project on Image processing. I am thinking of using OpenGL for back-end processing. Is there any particular advantage in this choice like improved performance or ease-of-use? Are there any other options also available? I can code only in C/C++ & …
I am doin my bachelors and wanna know wat all is involved in game development so could some of the senior people here please guide me???
My Mafia game. Need some help;D READ ------------------------------------------ Hello. i just got my mafia game Script and i really need some help from some pepole who are Skilled. i uploaded the game and when i click on the link it says Localhost using password No if u can help me …
Im new to C# and im trying to create a simple RPG game. Im trying to show stats like health and exp but I dont know how to draw a line to show them.
i need some ebooks about the game programming. I don't have know any links to download it. I want to use C#. Thanks.
Im in DIRE need of someone that knows PHP and or HTML well...ive begun a text based game which i already have a domain and webhost for and ive also got a script template...but i majorly suck when it comes to putting this stuff together... i am willing to give …
The End.