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 FilterHello ,,, i'v started learning Game programming with java before 1 week and now am developing a drag and drop game , and am having a trouble with MouseListener and MouseMotionListener / drag and drop methods / i just wrote a simple code i'v seen on web but i had …
hey guys, recently I have been watching how a game is made..But im really interested in making models...model for characters and animating them...I just dont know how..can anyone tell me what I should practice first? Im capable of drawing characters be it anime or not....Also, is there someone here that …
Hi guys I need help on how to create a remake of the popular tetris game for my csharp project. I am wondering how I will be able to design the tetris blocks on my own, I mean can I do it in xna? I tried once to use xna …
[I]FYI - I'm coding in actionscript 3.0 but didn't see an area to post for that language.[/I] I made a simple character and a block. I'm trying to get it so that if the character will touch the box, it wont let him move to imply a wall/collision. I've got …
I've been going through major hell trying to get just one. damn. simple. little. game. working. I can't even complete ping pong! There's almost no game easier than ping pong, and I can't even do it after so much stress trying, and I'm becoming so frustrated over this that I …
Guys I have some questions please help me., 1. if I make a tetris game out of c# will it be difficult to do? 2. Is it possible to finish it in less than a week ? 3. Also what should I use as a game studio? OpenGL, XNA or …
hi, I'm currently building a game and stuck at the paintComponent method. I'm trying to add 3 graphic buttons to the JPanel but the paintComponent does not execute (all I get is gray window) here's my code : public class TwinMoonTowers extends JPanel implements ActionListener{ private class TMTMenu extends MouseAdapter{ …
can you help me to this code... need mcEnemy follow my mcMain... help pls,., this can be appriciated much.... here's the code enemyTime ++; if(enemyTime == enemyLimit){ _root.attachMovie('mcEnemy', 'en'+enemyTotal,_root.getNextHighestDepth()); _root['en'+enemyTotal]._y = int(Math.random()*Stage.width); _root['en'+enemyTotal]._y = -50; _root['en'+enemyTotal].onEnterFrame = function(){ \\ i dont know what is the problem here this._y = mcMain._y …
So im learning SDL to get an idea on game programming for my career as a game developer. I havent done any learning for a couple of months after getting stuck on this problem. So im using a lazyfoo.net tutorial engine. that moves a player and has a collision with …
i have to make a two players snake and ladder game in c++, in which i have to display the board aswell. i donot know should i use set(w) statment and cout my board or should i go for arrays? n if i do it using arrays, how to show …
Hey guys :D I want some opinions on a few queries I have. Some background info: I'm adept at programming in VB, C++ and somewhat less experienced with Java and C#; considerably experienced in 2D graphical design; and I'm studying a minor course in game design and also game development. …
I realize I haven't released anything in a while so I figure I'll just type a basic set of things for you all to use or learn from. All of the following requires XNA Framework, but can be easily ported over to .NET Framework for use with forms applications. The …
Hello everyone. I need a solution for a COMPLETELY FREE game development combo for 2D/3D games and i can't figure out what is best. Does C/C++ (with MS Visual C++ Express) and Direct3D combo do the trick? Are there any licensing issues? Or can u write (and possibly SELL) games …
I'm having difficulty creating random Green Balloons that appear along the Y axis and move from right to left. I've included the just this particuliar function of the game in hopes of narrowing down the possible errors. Thanks for any help. `Inline Code Example Here` // This program simulates a …
hi iam really interested in c++ game programming but i have have no idea how to get started and i have never used c++. i am using C and Java for about 2 years now. could any one let me know where can i learn graphic programming, game programming, where …
I really want to create a game or an app for android and I was wondering if you guys can give me an advice? I'm still learning java; I'm good but I'm not a pro(still in college). Do you think that I should keep working on java tell I'm really …
hey guys, i`m still a marketer for the year to come, then i`m throwing away the tie. I want to invent stuff, help people ... have a job that i have fun doing. so i`m recycling myself into programming and for next semester i need to make a choice to …
I am working on a game making (or really just general program making, but my question applies to games) DLL for opengl. It is almost done but the collision detection is a little bit slow since it has to calculate bounding boxes for each object repeatedly. I was thinking of …
Hello guys, does anybody know how to create a timer in PHP that runs even when the user goes offline. I am working on a project, actually a text based game, that needs a timer that runs continuously even after the user goes offline. The game is something like mafia …
I've got a wall in my 2-D game. I've got everything except the not-allowing-you-into the wall part. I know I can use the intersect method on some Rectangles to know if they intersect, but I need to know where they intersect so that I can kick them out when they …
Hey guys, I need your suggestions of free game script. I really dont know about php programming and Im not programmer. Can you pls review my game site game01.info. I used avarcade but im still looking for free game script. If You know one just let me know.thank's Hope this …
A few friends and I made a bet to see who could single-handedly (we defined that as a team of up to 10 people, all of whom must be personal friends) make the best video game over the course of two years. I am planning on making a first-person horror …
Hi i am flash game developer and will protect my games from decompilers please help me. best regards.
I've already got a game project going, using C++ and SFML. I'm planning on releasing it digitally online using PayPal. Question is, how do I keep the game from being pirated? Someone could easily just make a copy of the game and its files, and they've got two versions of …
Hi folks So I'm developing a small game for a homework question. I have 3 classes. Apart from the main class, my drawing class draws on screen the objects for my game, like so.. [CODE] public void bat(Graphics g) { //draw the bat g.setColor(Color.ORANGE); g.fillRect(batX, batY, breadth, batLength); g.getClipBounds(); } …
Good day, geeky guys. :cool: I have some reactions and questions about DirectX and OpenGL... Suppose (for example only,) I was hired by a big game company to spearhead game developer teams then, I want the game we will produce, to make it versatile in any computer regardless of computer …
Hi guys, I've been a longtime reader here for a while, but this is my first post. I just submitted a game I've been working on for the past month, called Labyrinth of Zarus, to the Pokki HTML 5 game contest. I'm in the running to win a laptop and …
Hello, im asking about making a game and since i dont know any coding at all or anything about making a game i need help. Reply to this or private message me if you have help P.s i dont know any websites that would help me with this problem, please …
Hello everybody, I am still learning c++,I already know about objects, classes, pointers and i can use them. I wanna move to game development, but should I go further in console apps before moving to game dev ? Please help me because i am 14 years old and i would …
So here is what i have done I did the basics of c++ and was quite comfortable with them Now i wanted to start with the allegro gaming library so i downloaded the library and linked it with my compiler i compile a program and it compiles fine but when …
Forgive me if this thread was repost. :( I am a novice in database system for game development. Can Mr./Mrs. (Master) in here give me an example of a saving system for game? or it just use a database?(Like SQL?):idea: Like a feature for "Save the Games" and sometimes the …
Hey guys, I've been working on a game for the past few months and I've decided to read up on game scripting to see how it could help me improve my current game. What I've gathered so far, is that using a scripting language saves the developer time (since compiling …
Hi,all! i want to know which programming language, I should use for game developement.
hi guys, i am doing a game where i have to detect whether my sprite collides with the wall horizontally or vertically, so in that case reverse the velocity of x or the velocity in y or both in some cases. what i have done is that with an array …
Well i have a little problem here is the code [CODE] using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Media; namespace RockRaidersRecreation { /// Manager for Drawing Verts public class WallDrawManager : DrawableGameComponent { Texture2D wallTexture; BasicEffect basicEffect; Vector3 …
Hello I'm trying to get my game to update the screen and draw graphics on its own I kind of made it happen but it still flickers which you can see in this video I made just too showcase this problem [URL="http://www.youtube.com/watch?v=9j_ZDHr1x_8"]http://www.youtube.com/watch?v=9j_ZDHr1x_8[/URL] Now I really don't know what is causing …
I am learning directx from [URL="http://www.directxtutorial.com"]directxtutorial.com[/URL] and when I have compiled one of the samples and run it then close it I get an error message saying "Unhandled exception at 0x010a1883 in test.exe: 0xC0000005: Access violation reading location 0x00000000.". What does this mean? I have checked that I have typed …
I have got this bit of code for a simple game and i need annotate and can someone explain to me the processes which are occuring. import random # set up our maximum and minimum number of blocksMAXBLOCKS=100MINBLOCKS=0 # set up the initial number of blocks in the toweruserBlocks=50 # …
I was trying to move my camera along the red cube .. so i came across the gluLookAt function, but i am not able to get through this function as to what all it requires ... the content on the Documentation didn't quite help. it will be very helpful if …
i want to use a* in finding the minimum steps to make the puzzle unary in color. but i don't know how. I don't even know if it is feasible. A* searches from a starting point to a destination. In this case, the flood-it game, there's no specific destination because …
I haven't tested this yet but it should work. The implementation is fairly simple. I don't have my laptop so I can debug the code at the present time. This basically increments the frame count everytime the game draws itself (allowing us to calculate frames per second considering the draw …
Hello everyone. I can't figure out the best way to make a simple picture loop through the screen in a predefined trajectory (e.g. elliptic). Do i need to use some math or is there a way to like draw a trajectory and bind the pic to it? Thanks in advance.
I've developed a simple class and enum that will make ammunition creation and usage simpler in game development for those who are interested. I will be making a tutorial video on how I made this so that you will fully understand how the code works if you do not. Simply …
I've been trying to better my lesser side of knowledge in the C# programming language by tackling graphics head on. I've learned a little bit, but I'm getting stumped right now because I can't explain 100% what's going on here. I've developed a Pong game to teach myself how to …
Hello Cabalist, I'm here to promote our Cabal Server on our Community, CODESHOUT Network. Here's the following Information of our Cabal Server: Trinity CABAL (2 Servers) #1 Server : BlackSky - High Rate Server Website: blacksky.tcabalonline.com Rate: Exp : 250x Skill : 15000x Craft : 200x Drop : 2 items/monster …
Hey guys, i've been spending some time writing a pokemon clone game in java and was wondering if anyone would like to help me out, it's quite a big project since i'm planning on making it much more than a simple clone, but if you'd like to perhaps help out …
Been struggling with this the past hour, so need some help. I'm trying to light my screen with objects that already have set color values glColor3f... I've included the glColorMaterial and its enable within my lighting function however, it lights the scene with the last set color which is red …
Hi i would like to build a c++ game with SFML graphic library now i see sprites can move using floats ( sprite.move(+x,+y) ) how do i connect between the graph ( configured by a matrix ) and the graphic library? since the graphic library uses floats and set positions …
Hi , i have just started OpenGL. So i am sorry if my question is stupid, but i was trying to move a circle inside a square and was unable to do it . .can you please help me out please ?? [CODE] #include <GL/glut.h> #include <math.h> bool* keyStates = …
Hello :) i am an aerospace engineer that has a dream to become a programmer. and after that i wanna to specialize in game development. my strategy is to learn C# in .NET by doing big projects, and i am doing it ok i guess. suddenly i saw the XNA …
The End.