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 managed to load the bmp file into my project, but it was giving dull and hazy kind of texture for some images .. any idea as to why this is happening ??
I created a simple game in java. Could someone please link me to a tutorial or give me a basic run through on how to let other users connect and how to save their experience, etc... Peace and love, oldezwe
I know that there is a sticky thread and i know that maybe i repeating things that already mentioned but i am totally confused. I am interested to study about game programming,i don't study i bought a book and i am near to finish it about c++. i goggled and …
hello, i'm willing to learn direct3d but i can't find tutorials for it, youtube has few video tuts but they are very unclear. Do you know any free e-books or sites where i can start learning? Another question is directx better than opengl? from my experience opengl needs a lot …
Okay ...Ive learnt Iterations and If Functions Arrays (1 dim and 2 dim) Structures ...In C++ as of now ...(Im still in school learning) I know that a good game would require "classes"....but i dont currently know how they work... So is there any way I can come up with …
I've made a 3d game simulation with animation and all the controls. But whenever i jump, the player remains up in the air without coming back down. Also the player can simply walk through walls. I'm using " colonel - z " for the player and "universe.dbo" for the environment. …
Help: I am new in game development and i need to know what are the best game engine to use to start my own game. thank you!!
Hello, I am a project on my hand to develop a 2D game like "contra". I have chosen to use C++ as my programming language. Which will be better for my 2d game SMFL, SDL or ClanLib? I have decided to use ClanLib, but is it powerful or flexible as …
Hello, I have chosen a project of developing a 2d action-adventure game with some rpg elements, in-game puzzles. I have considered developing with C++ and OpenGL. I do not have prior knowledge of these language but I had good grasp on C programming language. For C++ and OpenGL, I have …
When I make an OpenGL game on this computer, it runs at normal speed. If I run it on literally any other computer, it goes really fast, making the games unplayable. Does anyone know what might be causing this?
Hello everyone, I'm taking a C++ class in college and the last assignment for the semester is to write a sub hunter game that's worth 25% of my grade so needless to say I have to do a very good job on it. The due date is in 9 days …
Hi, I am trying to figure out allegro, and so far, so good. But I ran into this one snag in this code: [CODE]const float FPS = 60;[/CODE]Does this set FPS? Someone on another forum said no, but it seems like that it is a predefined function that changes the …
[code]public Boolean CollisionCheck(float x1, float y1, float width1, float height1, float x2, float y2, float width2, float height2) { float left1 = x1; float left2 = x2; float right1 = x1 + width1; float right2 = x2 + width2; float top1 = y1; float top2 = y2; float bottom1 = …
Hello, I know the basics of C++, PHP, JavaScript and VB I've read for C++ from rly old books so some things may have changed. Now I've started reading Advamced-2D-Game-Development by Jonathan S. Harbour. He has given a source code of an 2d game engine using DirectX. This is what …
i,m making a 3d pool (billiard) simulation using c++ in opengl for my project. where can i get a proper source to refer as what i found on web were not very useful for me. Any links or sources from you are appreciable.
Hey y'all, so I've created a 2D billiard program that basically just collides 2 balls together and determines their new direction and velocity however I now want to be able to change the colors of the balls after collision by using [CODE]Color.FromArgb(int r, int g, int b)[/CODE]. I would use …
I am working on the tic tac toe problem and i need help with the AI part i got it to work for 1v1 but it needs to be 1vAI I was thinking that easiest was to to program something like "when player clicks this squaure, AI will click anything" …
Hi I'm really struggling in finding an answer to my problem How do I read a folder and then I want to find a file inside that folder read with specific extensions like .obj or .bmp and to do things to those files with those extensions here is my attempt …
I'm beginning game development, and I started by reading Michael Morrison's [I]Beginning Game Programming[/I], which teaches how to develop a game in C++ using the Win32 API. I've had a lot of trouble with things I don't have any experience in (when I shut down my program, the process still …
hi... can anyone light me on an algorithm to solve sudoku...actually i did solve a few sudokus to know how this is done. Eventhough i managed to do the sudokus by paper and pencil, i can't figure out an algorithm to solve it. I googled for algorithms but everything ends …
I have to write a game application that simulates a roulette table. The roulette table has 36 numbers (1 to 36) that are arranged in three columns of 12 rows. The first row has the numbers 1 through 3, the second row contains 4 through 6, and so on. There …
**Note: I'm not sure if this is the appropriate area for this post-- please move if necessary. Hello. I am working on a small Macromedia Flash project, just learning more about Flash and getting acquainted with the Flash interface as well as Actionscript; my question is not in regards to …
I recently started reading Beginning DirectX 10 Game Programming written by Wendy Jones, and I'm about 60 pages in on the chapter about sprites, and I feel like I haven't learned anything, half the code they throw at me I can hardly decipher, and even if I do that, how …
I'm trying to make it where I can draw an square with the values in the global array. I made it work without vertex array before but now I need to save it in array so I can possibly delete a square with just a mouse click. However I can't …
Hello everyone, I'm a java programmer writing a half graphical half text rpg. For the moment I read my data from text files, e.g. Enemies.txt id name hp and so forth. However, I want to make it a little more clear to handle, as in a database format. I can …
Hii friends, I am interested in learning DirectX. Can u plz suggest me which book to follow. I want to develop some games in DirectX. Which book shall i follow?
I'm currently trying to learn OpenGL with the use of GLFW and the Addison Wesley book 'OpenGL Programming guide 7th edition'. Here is one of the first sample programs they present, it is meant to draw a white box. In this example I mixed it with a simple glfw window …
Hi, I'm new here... Please help me fix it, if I posted at the wrong section, this is about Python but also game development... So I'm not sure? :) anyway: I need some guide lines to the way of coding? or the use of things within the code... Here I …
I know C++ and java. My school focuses on Java but it doesn't seem to be very appropriate for game design. I wouldn't even consider Java if it wasn't for Minecraft. I want to make some nice and small indie games. If they go far great, but I also want …
So I'm currently working as part of a team that is building a game engine and I have been considering our current code structure. As a team we decided it would be a good idea to create a plugin architecture that allows additional functionality to be added by other users …
I just decided that I wanted to make one with C++, but I'm not really sure what I should put in it. Any ideas? I don't just want it to be some boring thing where you have to "Press enter to continue" all the time.
Hi! I am just wondering what would be fastest(performance-wise) of Game Maker(with GML) or Python with Pygame?
Hey, I've stumbled upon a small problem with my game. I have 10 wasps that have some AI, just wandering around and whenever a wasp gets close to the queen wasp it starts chasing it. the queen just wanders around aswell. I can also move with my character and if …
I just added a pause button to my game, using most of this code: [URL="http://msdn.microsoft.com/en-us/library/bb195026%28v=xnagamestudio.31%29.aspx"]http://msdn.microsoft.com/en-us/library/bb195026%28v=xnagamestudio.31%29.aspx[/URL] For some reason it changes the Window.Title to "[GameName] - Paused" and even though it's unpaused it still says paused in the title. I never told it to change the title so I guess it …
Hi, Does anyone know how to animate object so it follows a previously drawn spline? I tried by translating all object vertices by Spline_point[i]-Spline_point[i-1] by frames but this doesn't work. Does anyone have a better idea?
Hi guys, I'm quite new to C++, I have just recently gone through 3/4 of SAMS teach yourself C++ in 21 days and I am hoping to start programming my first object-oriented game. I have created a few games in the past (you can check them out on my site …
Running: Windows 7 Home Premium. I am not sure if I am posting this in the correct board, so please move this if I am incorrect in my post placement. I am trying to set Allegro up, for programming a 2D game in C (which is why I chose this …
I'm not sure if this is the right forum or not, but I have been trying to compile some example code from [I]Game Coding Complete 3rd Ed.[/I]. The project uses LuaPlus for scripting and it also makes use of the Boost Library. Both of these seem to have a namespace …
Hi guys, I have to give proposal of my final year project next week. I am interested in game development and very much inspired from games like nfs and counter strike. I know i cannot develop games like them But the thing here is that i dont know any thing …
hi all, i generated some random numbers using functions , i have to check that the generated numbers are 32bit numbers, how can i check ? is any formula to check?please help me!
i've made this little game but the image keeps on flickering. i've read about double buffering online, but i really don't know how to implement the code into my game. here's some of the source code from the constructor and paint method: [code] public Game(){ super("test"); setSize(495,429); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); setVisible(true); try{ …
I tried to use the code on MSDN to create Rawinput but i kept getting this error: RAWINPUTDEVICE was not declared in this scope. I am writing in c++ and direct x and i am using Code Blocks [ICODE] void RawInput(void) { RAWINPUTDEVICE Rid[2]; //keyboard Rid[0] .usUsagePage = 1; Rid[0] …
Hi, I'm learning OpenGL. I assumed this would be the best section to post this thread, because many games are made in OpenGL. There's no place to post this in my other forum, so yeah, I came here. Anyways, here's the problem. I first off do not have glut.h I …
Really quick question (I hope) before I buy Maya I want to know if it has the option of exporting coordinates for triangle vertexes rather than images. If it doesn't, is there software that would allow for modeling while exporting vertexes for 3d triangles?
[youtube]OQIw0p_yvYQ[/youtube] [b]Changes since 0.7:[/b] [list] [*]The automatic camera was improved. The rotation restrictions were modified. The option to disable the restrictions was added. [*]User interface was improved. Preview for layouts and saved games was added. [*]Support for translations was modified and improved. Also we fixed a German version. [*]Added new …
Hi, Is there any way to "clear" work space in Lua similar to the [ICODE]clear [/ICODE]command in Matlab ? Thanks !!
hi, this might take some time ... the goal is a game developer , the problem is where to start . here's the story : i've been looking around on how to get start with developing games specifically for mobiles , i started reading opengl and animating + modeling with …
Alright, well I've already taken Java programming at Auburn University for my first programming class. I'm taking C programming this coming semester. I've been learning C all summer, and now I would like to try making simple games! I have DEV C++ as my compiler, but I'm not sure where …
[ATTACH=RIGHT]21994[/ATTACH]The latest in a series of round table industry events held in the UK, and featuring a panel of experts in the field of commercial software development, has warned that ignoring the popularity of casual and mobile gaming is a big mistake for any successful digital development strategy. Interestingly, it …
Hey what kind of programming language does the original playstation use? And where can I download it and some good tutorials? I just have one lying around and thought that it would be cool to make some games just 4 fun.
The End.