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 Filter
Member Avatar for
Member Avatar for Mariano_1

Hey I'm coding Tron which is basically a two player snake game, I'm a noob when it come to pygame and python and need help with the collision logic and would love it if you could help me. (the comments are just ideas I had for the loops for the …

Game Development gaming python
0
299
Member Avatar for Member #1127230

Hi, everyone. I want to create a RISK-style game in C++ with decent graphics, of course. I would like to create a map with countries as buttons [I know that this is possible in java through extensions but I want to do this in c++] Could anyone please help me …

Game Development c++ gaming
Member Avatar for Member #1127230
0
218
Member Avatar for rhys_2

Hi, i have been making a maze game in pygame. I have made every level and have them all in different folders so i can find them easily. I have been trying to make a menu for the game where you are able to pick any level and play it. …

Game Development python:pygame
0
159
Member Avatar for יוחאי

on my university I got an assignment to build a program on OpenGl that read from a given txt file a coordinates of some lines and draw them to the screen. i thank everyone that might help me, I know a little bit programming on C but I'm a little …

Game Development c opengl
Member Avatar for rubberman
0
291
Member Avatar for MWAMBA
Member Avatar for Tildesare
0
366
Member Avatar for daniel955

Hi I am a beginner in game programming and would like to make a rocketmania clone using opengl, the display and interaction part is done. I also have a classes named gameboard and tiles with their properties. but I am having problems on game logic, where the fuel flows into …

Game Development algorithm-pseudocode opengl
Member Avatar for Nisa_1
0
589
Member Avatar for Nether_1

Okay so I'm writing a code for a game and the way its currently programmed is the main menu is contained within a large function that references another function, and so on. Not too complicated. But (as you'll see with the code below) I have all the essential variables set …

Game Development gaming python
Member Avatar for Gribouillis
0
399
Member Avatar for Nisa_1

I want to make game that looks like Rocket Mania, it almost done but something was wrong with the TriggerExit. and now i and my team was stuck and dont know how to continue this game. Maybe same of you guys please help us to make this game out?

Game Development python
Member Avatar for Nisa_1
0
340
Member Avatar for Marius_3

void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …

Game Development c++ gaming opengl
Member Avatar for Member #1111627
0
271
Member Avatar for Marius_3

void PatratTexturat(PATRAT patrat, int numar) { switch(numar) { case 1: if(numar==1) glBindTexture(GL_TEXTURE_2D, id_textura[2]); else glBindTexture(GL_TEXTURE_2D,id_textura[3]); break; case 2: if(numar==2) glBindTexture(GL_TEXTURE_2D, id_textura[4]); else glBindTexture(GL_TEXTURE_2D, id_textura[5]); break; case 3: if(numar==3) glBindTexture(GL_TEXTURE_2D, id_textura[6]); else glBindTexture(GL_TEXTURE_2D, id_textura[7]); case 4: if(numar==4) { glBindTexture(GL_TEXTURE_2D, id_textura[8]); } else { glBindTexture(GL_TEXTURE_2D, id_textura[9]); } break; case 5: glBindTexture(GL_TEXTURE_2D,id_textura[10]); break; …

Game Development c++ gaming opengl
Member Avatar for Marius_3
0
269
Member Avatar for Dylan_6

Hi, I am currently in UNI studying Media (Video, Music, Design and also Web Development). As its summer I would love to have a side project. I've been meaning to learn how to create a text based RPG game, I am curious what skills I would need to make a …

Game Development gaming html-css:bootstrap
Member Avatar for rproffitt
0
350
Member Avatar for ardywijaya1997

//thanks to GameAlchemist function createCountDown(timeRemaining) { var startTime = Date.now(); return function() { return timeRemaining - ( Date.now() - startTime ); } } var currentCountDown = createCountDown(30000); // Draw everything var render = function () { var countDownValue = currentCountDown(); returnKillsNeeded(stageNum); ctx.drawImage(startGameImg, 0,0); ctx.font = "24px Helvetica"; ctx.textAlign = 'center' …

Game Development gaming javascript
Member Avatar for AssertNull
-1
373
Member Avatar for ardywijaya1997

I hope you can help me. here is the source code: <html> <head> <script type='text/javascript' src='script.js'></script> <link rel='stylesheet' type='text/css' href='style.css'> <style> canvas { border: 1px solid #d3d3d3; margin-left: auto; margin-right: auto; } </style> </head> <body id="main1" background="Background.jpg" onload="startGame()"> <p id="text1">TIME: </p><div id="timer"></div> <script type="text/javascript"> function countdown (minutes){ var seconds = …

Game Development gaming javascript
Member Avatar for ardywijaya1997
-1
640
Member Avatar for ardywijaya1997

How to add a score and collision detection between fruit and myAvatar? <html> <head> <script type='text/javascript' src='script.js'></script> <link rel='stylesheet' type='text/css' href='style.css'> <style> canvas { border: 1px solid #d3d3d3; margin-left: auto; margin-right: auto; } </style> </head> <body id="main1" background="Background.jpg" onload="startGame()"> <p id="text1">TIME: </p><div id="timer"></div> <script type="text/javascript"> function countdown (minutes){ var seconds …

Game Development gaming javascript
Member Avatar for AssertNull
-2
397
Member Avatar for Apolonian

Hello! I always wanted programming my own games, but i dont know where to start. At school im coding in C, and i read a lot that some people suggest C++, but i dont know. Your ideas? I would like to make a 2d game , which will be also …

Game Development c c++ gaming
Member Avatar for CodingCricket
2
1K
Member Avatar for Batch Devil

I was wondering if it is possible to make [I]an online multi-player game server preferably in batch.[/I] I am hoping to make a PowerPoint game that can be multi-player with the help of batch. Also even answers that do not suit my requirements fully will help, because i am 11 …

Game Development client-server gaming
Member Avatar for Jaxonpoop123
0
2K
Member Avatar for wrestle23

hey is there anyone in here who is good at these staff : coding,html,php,css,javascript and also i need a partner to do this coz wanna create a text based mafia game ......... thanx very much just contact me below thanx........ MSN : [I]<<snip>>[/I]

Game Development html-css javascript php
Member Avatar for JamesCherrill
0
791
Member Avatar for Tycellent

Hey everyone, In addition to... Lazy Foo's Tutorial http://lazyfoo.net/tutorials/SDL/index.php "SDL Game Development" - Shaun Mitchell book are there any other recommended resources (does not have to be SDL) people could suggest? I've already created a console-based text adventure game and am really interested in expanding it into a text-adventure game …

Game Development c++
Member Avatar for wafa_1
0
323
Member Avatar for Richmond_1

When mario collide to the wall .. I want to go back to the flappyMario class and dispose the Game Class .. but dispose won't work .. I really appreciate if someone help me about this problem. Here is my Code import java.awt.Component; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Toolkit; import …

Game Development gaming java:swing
0
182
Member Avatar for Mike_29

I'm developing a game that has a word falling to the bottom of the screen and the user typing that word before it hits the bottom. So you'll be able to type input while the word is falling. Right now I have a timer that waits 5 seconds, prints the …

Game Development c++ gaming multithreading
0
286
Member Avatar for fallout4player

ok so, I'm using unity5 and I have got my terrain and spooky forest. the lighting is ok its just that if I drag the FOG script to the first-person prefab and press play it doesn't work. it does distance fog not real-time moving fog in front of the camera. …

Game Development gaming
Member Avatar for fallout4player
0
311
Member Avatar for CJMW

Okay... So I am an avid programmer. I have been writing applications in C, C++ and C# for almost 10 years now. I'm also a second year computer science student. Like many people I love computer games, more specifically adventure/ rpg games like runescape, elder scrolls etc. I have programmed …

Game Development c++ gaming
Member Avatar for JOSheaIV
0
301
Member Avatar for fallout4player

the game unturned is running with low fps. I have a late 2011 MacBook pro. 2.4ghz cpu i5. intel hd 3000, 512mb. with bloom and light shafts I'm getting about 29fps. when I turn up the detail distance it drops to 6fps. clearly 2.4ghz is fast enough not to do …

Game Development gaming video
Member Avatar for rproffitt
0
448
Member Avatar for sam.tubb.75

I'm very new to the Raycasting algorithim, and was reading a webpage on how it works with CPP code to accompany. I followed what the page described and converted it into Python/Pygame and then ran it, but my result was *very* different. I have a feeling it has something to …

Game Development gaming python
Member Avatar for andybe
0
335
Member Avatar for Malbora

How to create a character for my game? Im trying to develope a game in html5,css3,javascript

Game Development html-css javascript
Member Avatar for rproffitt
0
106
Member Avatar for sirlink99

Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the …

Game Development c++ opengl
0
213
Member Avatar for Ali_56

Hey, still a beginner in Python. I was wondering if anybody could help me out with all this info. Im planning to make an actual game, but first i have to get classes/methods etc. I thought maybe this would be some good classes: Trainer, Pokemon, Moves, Stats, Type, Pokeball, Pokedex …

Game Development gaming python:pygame
Member Avatar for Ali_56
0
8K
Member Avatar for IconiCxPimp

This is my code. I am learning this through the microsoft C# for absolute beginners book. I am on chapter 8 on the final soccer program and have no errors. The only problem I have is when I run it. I get $exception {Index was outside the bounds of the …

Game Development .net:c# data-structure gaming
Member Avatar for IconiCxPimp
0
380
Member Avatar for Oli_1

I was thinking about my upcoming school project focused on Windows 10 universal apps and I ran into very interesting experiment : http://gregtatum.com/poems/stochasticity/1/ I want to work on something very similiar or achieve similar level of animation in universal application writen in Csharp Win2D. I have never worked with any …

Game Development .net:c# microsoft:windows-10-11
Member Avatar for Taywin
0
333
Member Avatar for prgmmgbgnnr

someone should help me with thisss T-T okay the instruction is like this "let your prog picks a combination of vowels and consonants. User will then build as much words as possible from the chosen letters. your prog will check the correctness of the words. give points to each word …

Game Development c c++ gaming
Member Avatar for prgmmgbgnnr
0
266
Member Avatar for jakesee

Hi everyone, I need some help with the lookat matrix... This is my code [CODE] Matrix Matrix::CreateLookAt(Vector3 eye, Vector3 target, Vector3 up) { Vector3 forward = target - eye; forward.normalize(); Vector3 side = Vector3::cross(forward, up); side.normalize(); up = Vector3::cross(side, forward); Matrix m; // Defaults to identity matrix m.m11 = side.x; …

Game Development c++ opengl
Member Avatar for 传志
0
2K
Member Avatar for Codeyjj

Hey guys, I am new to the community so I wanna say thanks in advance for the advice. I am 20 years old and very interested in game developement. My programming background is limited as I have only been practicing for about a year total now and in scattered time …

Game Development c++ java
0
157
Member Avatar for centenond

So i have 2 players on screen and a player send a attack, what i want is that if x,y are different of x,y destPos move only diagonal towards the destination position. if just x is different well move x only, same with y. I know i have to some …

Game Development java
Member Avatar for JamesCherrill
0
141
Member Avatar for Tcll

I've been here before but I'm looking to find a single-pass method to input the LRS `[[0,0,0],[0,0,0],[1,1,1]]` and get a basic 3x4 (at least) matrix in return: [ [1,0,0,0], [0,1,0,0], [0,0,1,0] ] ^ matrix is NOT transposed (I'll never understand why we use column-major) anyone got anything on this?? > …

Member Avatar for Tcll
0
549
Member Avatar for ArpitJ.25

What is the programming language used in games like GTA 5 or Call of duty? and which software do they use to render graphics?

Game Development c++
Member Avatar for bordogamesdev
0
378
Member Avatar for utsavjoshi95

which platform should i use for effective game development?

Game Development
Member Avatar for bordogamesdev
0
137
Member Avatar for HuePig

I'm trying to learn planning, i have a half baked program and I'm stuck. I don't know whats wrong. Well, here's an overview: I have an Agent who have goals and actions, doing an action will make the value of a goal lower. Each Action cost a energy. Actions and …

Game Development python
0
247
Member Avatar for hefaz

Hello all, Help me to understand how they create deal or no deal game in excel? is that converted? or made in excel? that would be very helpfull.

Game Development office-suite
Member Avatar for hefaz
0
178
Member Avatar for HuePig

Hi, I have a projectile and a target. Both objects have: Vector2D velocity and Vector2D position. How do I find the predicted position just using the target's position and velocity, together with the projectile speed?

Member Avatar for HuePig
0
364
Member Avatar for centenond

So im doing a MMO, wich will have a lot of entities, monsters, players etc .. So i want opinions from you experts, wich a aproch should i go for... create the entity when its near the view port so that the game dnt struggle updating each entity or will …

Game Development java
Member Avatar for centenond
0
180
Member Avatar for cherqeza

hello I am new here, I am ineresting which is best programing language to make flash games. thanks

Game Development adobe:actionscript adobe:flash
Member Avatar for bugz313
0
247
Member Avatar for pspwxp fan

Hi, Whats currently the hot tool for developing simple games for the Internet? I'm talking about games like the ones you might see on Miniclip.com, freeaddictinggames.com or newgrounds.com. I want to start developing some games. Also, if you a tool in mind that is not "hot" but one that you …

Game Development html-css
Member Avatar for bugz313
0
193
Member Avatar for TKLightening

Hello well I always wanted to make a videogame i just didnt know how so I read up on some books and kinda learned a little bit but what would be the best programming language for making a game that would do well and not a game that is just …

Game Development javascript python
Member Avatar for TKLightening
0
246
Member Avatar for Tcll

so I've been working with alot of common interfaces and the typical layout for this data seems to follow: - LRS (Loc, Rot, Scale) >( calculated to )> 3x4 transform matrix (Parent Relation) - 3x4 local-bind matrix (Parent relation) - 3x4 inverse-bind matrix (Inverse-World Relation) the most important matrix is …

Game Development matrix-multiplication
Member Avatar for rubberman
0
407
Member Avatar for binaryjc

**BREAKOUT GAME IN OPENGL** code is in C. Use the 's' and 'd' to move the paddle. Bounce the ball off the paddle to keep it from falling off the bottom of the screen. Break all the bricks to win. So far the program is running. but the right brick …

Game Development gaming opengl
Member Avatar for pr@j@kt@
0
2K
Member Avatar for Light_2

unlike most people who ask this question i have quite a good programing background mainly in python HTML CSS .bat bash and Java but i raily made gui games i would like to learn a new language that is both powerful and good at making games in beaing able to …

Game Development gaming python
Member Avatar for Heanre
0
165
Member Avatar for Fenrir370

so i have a class assignment to link all our game files, im trying to load a "lose.swf" after the car crashes. our teacher only gave us this line of code to use and i cant seem to figure out how to get the MovieClip(stage.getChildAt(0)).loadThisScreen("lose.swf"); part to work properly ( …

Game Development adobe:actionscript adobe:flash
0
153
Member Avatar for DavidDD

Hello there! I am making games with C++ and SDL, and I want to make procedurally generated tiles, so I'll get an "infinite" -so to say- game world. Though I have no idea how I would approach this. I have basic knowledge of what I need to know to create …

Game Development c++ gaming
Member Avatar for XEN0
0
161
Member Avatar for Kujinn

Yo, I'm a first year Computer Science college student, I've been thinking of pursuing a career as a Game Programmer. I was wondering since the only languages we are learning at the moment are Java and SQL, how useful is Java for developing games. Should I self-teach other languages like …

Game Development gaming java
Member Avatar for admiri92
0
288
Member Avatar for CJMW

So I'm making a map editor with C# and XNA. I have currently got it setup so there is a windows for with a picture box, which the game is being displayed through. The problem is this, I want (0,0) to be the upper left corner of the picture box, …

Game Development .net:c#
Member Avatar for sfuo
0
2K

The End.