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 gamingthinktank

Create Snake game using KineticJS and HTML5 Canvas [Tutorial Part 1: Snake game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/04/28/tutorial-part-1-the-concept-snake-game-using-html5-canvas-and-kineticjs/) [Tutorial Part 2: Snake Game using HTML5 and KineticJS](http://www.gamingthinktank.com/2013/06/03/tutorial-part-2-snake-game-using-html5-canvas-and-kineticjs/)

Game Development gaming html-css javascript
-1
339
Member Avatar for davy_yg

Hello all, I wonder why I cannot play video games in facebook. Whenever I click the video games, it loads for a long time then done with a blury screen background. Why is it?

Game Development video
Member Avatar for Lp_baez
0
157
Member Avatar for Stachys

Hello, I am a 3rd year Computer Science major and taking a introduction to game design course. The project from this week is defined as follows: 1. Java game 2. Use the jMonkey SDK 3. "use an existing game engine and map to modify and create your own level" 4. …

Game Development google:android-development java
Member Avatar for Stachys
-1
317
Member Avatar for dualresh

Hi there! Im studying web aplication development and I was looking arround the Internet for information about game development in browsers as im interested in that area, however, I didn't found much that could help me advance in this so I decided to ask in this forum in order to …

Member Avatar for Simon180
0
378
Member Avatar for MasterHacker110

I am getting into game programming more and more. I have been learning DirectX11 but it is hard and very low level. I am looking for a game librarie that has these spesifications: Must be in C++ (the library doesn's have to be written in C++. As long as I …

Game Development api audio c++
Member Avatar for gabryprof
0
246
Member Avatar for omarking05

Hey .. im doing a game project with sfml and i countered a small problem ,here is my code : #include <SFML/Graphics.hpp> #include <string> #include <iostream> using namespace std; using namespace sf; int main () { sf::RenderWindow Window; Window.create(sf::VideoMode(490, 485),"My First Sfml Game"); sf::Texture pTexture1; sf::Sprite playerImage; if(!pTexture1.loadFromFile("Data/dots.png")) std::cout<<"error could …

Game Development c++
Member Avatar for Ancient Dragon
0
291
Member Avatar for game06

i have asteroids store in arraylist. i want to check collision between player and asteroids. if player get hit than i want to minus one life and move the asteroid backwards so it look like it bounced in to player. right now this code is check for collision between player …

Game Development java
Member Avatar for bguild
0
221
Member Avatar for Dum_Bass

My problem is that I wish to use a single mouse click (or key press) to "turn on" a set of conditions then I will "turn off" the conditions when a different requirement is met. Alas! Every time I release the mouse button the bool reverts to its initialized state. …

Game Development c++
Member Avatar for Dum_Bass
0
247
Member Avatar for tyler.dahle

Hello, in my game I am wanting to move my character and shoot a projectile simultaneously, but I need the projectile to emit from the character. Thus I am using the same variable for starting positions of character and projectile. When I shoot projectile, it goes from player to wall, …

Game Development c c++
Member Avatar for tyler.dahle
0
196
Member Avatar for game06

note player is a space ship. in player class i have set up collision so that player cant go above window and below. player class public void playerWCollision() { if(y < 0) { y = 0; } else if(y+height > Main.WINDOW_HEIGHT) { y = Main.WINDOW_HEIGHT-height; } } lets say player …

Game Development java
Member Avatar for game06
0
165
Member Avatar for tyler.dahle

void boss_animation() { for (int i = 0; i < 4; i++){ if( ! boss[i].drawable) continue; //Puts image of character on screen based on inputs from struct readimagefile(boss[i].frames[boss[i].currentFrame], boss[i].xCoord, boss[i].yCoord, boss[i].xCoord + boss[i].charWidth, boss[i].yCoord + boss[i].charHeight ); boss[i].currentFrame++; //increments the "frame" by one, thus only animating one image at a …

Game Development c c++
0
145
Member Avatar for ktsangop

Hello everyone! I would like some suggestions on picking a game development technology/language. My requirements are : 1) On line / Web based game only 2) 2d animation only (for the time being). Using mostly sprites and modelling only simple 2d shapes. 3) No need for an advanced physics engine. …

Game Development gaming html-css javascript
Member Avatar for ktsangop
0
381
Member Avatar for Elixir42

Hi, Im using DX9c and learning from Frank Luna's book to try and handle OnLostDevice and OnResetDevice, when switching to fullscreen and back (and alt+tabbing). If I dont draw anything I am able to go from windowed to fullscreen, and back, with no trouble. But adding a draw and flush …

Game Development directx
Member Avatar for Elixir42
0
217
Member Avatar for Johnathon332

hey guys, I am currently having problems with my OpenGL ES 2.0 application. I think I may have done my matrices wrong im not sure, but I cannot see my quad rendered to the screen. I believe it is something to do with the matrices I have set up which …

Game Development c++ graphics:image opengl
0
183
Member Avatar for DarckHalf

:$ Hi every one! I'm new here, just finished my registration! I know a little of c++ and I'm starting a project for a game of the new generation of games... like Gears of Wars or Bioshock but I'm feeling a little lost! And I wanted to ask [B]what is …

Game Development c++ gaming
Member Avatar for roax206
0
748
Member Avatar for phats more

hi, am to create a morabaraba game and i have no idea with coding with c#.

Game Development .net:c#
Member Avatar for Schol-R-LEA
0
283
Member Avatar for techyworld

Hello, i need some help. I 've created a game on html5 using javascript, mysql and php. I want to send it to my iphone(ios). How should i proceed? the game is open with browser.

Member Avatar for deltascrow
0
192
Member Avatar for game06

so i got finally done with make my player move right and left, and 1st level. now i want to make my player shoot bullets. i kind of now logic behind it but i need some help. and please let me know if you have a better method of bullet …

Game Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for game06

i want to set a collision on my tile map using getBounds function. level class int map[][] = { {2, 0, 0} {1, 1, 0} }; 2 = player 1 = ground 0 = sky i want to set collision so player cant go though ground. so he should fall …

Game Development java
Member Avatar for JamesCherrill
0
381
Member Avatar for game06

les say i have a map: //my map is biiger but this is just a ex. int map[][] = {{1, 1, 1 1, 1, 1, 1, 1, 1, 1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}}; int camera_pos_x = 0; int camera_pos_y = 0; int camera_speed = …

Game Development java
Member Avatar for game06
0
274
Member Avatar for tyler.dahle

void runGame(){ readimagefile("PIX\\Landscape.jpg", 0, 0, 800, 800); while(1 == 1){ moveCharacter(); //moveMonster(); } } void moveCharacter(){ int move = 0; int size = imagesize(0, 0, 800, 800); void *background = malloc(size); getimage(0, 0, 800, 800, background); readimagefile("PIX\\Character\\down_still.gif",x9,y9,x9+50,y9+50); thunderClaw(); //specialAttack(); //thunderball(); if(kbhit()){ if(getch()== 'd'){ move = 1; } if(getch()== 'a'){ move …

Game Development c++
Member Avatar for tyler.dahle
0
234
Member Avatar for Bhavya scripted

Hello everyone.I am a programmer between beginner and intermediate.I have experience in c/c++. So,i wanted to jump into the game programming world.First,i wanted to develop games withour graphics to increase my game logic.The latest games i have made is guessing game.Would you guys suggest some easy gaes to write..say..card games.I …

Member Avatar for cproger
0
334
Member Avatar for Dum_Bass

I am trying to create a simple scoring function using sprite collision. I have my sprite ids defined under a seperate header and my class is in order. LEFT_SCORE is animated using a sprite sheet (obviously). int Ball::leftGoal( ) { int leftScore = 1; if (dbSpriteCollision (BALL, 12)) {++leftScore;} dbSetSpriteFrame …

Game Development c++ gaming
Member Avatar for Dum_Bass
0
193
Member Avatar for ripplex

Hi there What are the various GPL's that can be used with C? I am currently learning SDL and I know of another, Allegro. Just trying to fine tune as well as learn more about C, so I am programming games using C.On a bright sunny day, it would definitely …

Game Development c
Member Avatar for gusano79
0
237
Member Avatar for Wattsits

hi daniwebers. its been a while since iv visited. soz. a friend of mine sugested i learn a bit of xna in c# so i could help him with a future project of his. im still a verry basic coder and dont have alot of programing knowledge but i try. …

Game Development .net:c#
Member Avatar for Ketsuekiame
0
169
Member Avatar for happygeek

It's going to be a great Easter for Modern Warfare 2 gamers, and that's official. Robert Bowling, Creative Strategist at Modern Warfare 2 developers Infinity Ward, has [URL="http://twitter.com/fourzerotwo/status/10738022531"]posted confirmation on Twitter[/URL] that for the weekend of April 2nd to 5th there will be double experience points on offer to players …

Game Development gaming
Member Avatar for mamun0101
1
463
Member Avatar for imspikey

I wanted to share this great game development kit called stencyl [stencyl](http://www.stencyl.com) its great for creating 2d games you can publish your game to flash iphone and soon html5 and android is in the way. I am currently developing a game myself using stencyl and going to upload it to …

Game Development adobe:flash gaming google:android
Member Avatar for april88t
1
149
Member Avatar for aVar++

Hello, I have made a CODWAW map but when i compile it, it throws lots of errors at me! I have followed tutoirials exactly and it seems that the program doesnt have access to the files.. But it does and the files arnt read only. Here is what happens in …

Game Development gaming
Member Avatar for aVar++
0
541
Member Avatar for dadquacker

My son is very interested in developing a video game. He is only 10, but I want to encourage his interest and was wondering where is the best place for a 10 year old to start? learning language? understanding computer programing? as you can tell, I am not knowledable in …

Game Development gaming school-education
Member Avatar for ToddRLittleton
0
324
Member Avatar for PixelDown

Can anyone recommend a couple of 'good' and complex games made in Scratch. I just need to get an idea of how creative have people been with Scratch.

Game Development
Member Avatar for johnbritto473
0
180
Member Avatar for A Haunted Army

i've been working on a game project, its a slider platformer and i've been having problem with getting the movement working, the movement is time based instead of being fixed to the frames per secound so the movement is consistent. the movement was working when i was testing out the …

Game Development c++
Member Avatar for A Haunted Army
0
1K
Member Avatar for happygeek

This special edition of the Guinness World Records book will appeal to geeks and nerds the world over. Not just because it is packed full of the kind of trivia that we all thrive on in social situations, but also because that trivia is firmly based in the realm of …

Game Development gaming
Member Avatar for PixelDown
1
427
Member Avatar for robbie.dunham.50

Hi I am new to programing and I want to learn some basic tings. I also want to learn to create basic games. Could anyone reccomend a good book or websiteto get me started? Thanks, Robbie

Game Development c++ gaming
Member Avatar for PixelDown
1
215
Member Avatar for MrEARTHSHAcKER

Hi guys, I haven't been on daniweb for a while, I've started learning scripting in UDK. But still I wish to make smaller games using native languages. So here goes my question: what is the best IDE for programming small games with nice UI? So far, for programming win apps …

Game Development c++ ide
Member Avatar for Doogledude123
1
215
Member Avatar for zvjezdan.veselinovic

Hi everyone. My name is Zvjezdan Veselinovic and I am a student at Rasmussen College over in New Port Richey, Florida studying Game and Simulation Programming. For my student portfolio, I want to create a "tron-like"/ "snake-like" game called Colors and Explosions. I have so far arrow key movement. That …

Game Development c++
Member Avatar for deceptikon
0
524
Member Avatar for kemkoi

Okey, so since I was a little kid I allways would like to make my own game ! and I allways liked to fix gameservers, Teams in games like Clans and Guilds and so on. Now to the point, me and my friend are going to educate us to make …

Game Development c++
Member Avatar for amanahad
0
363
Member Avatar for leozin.sincero

Hi, brothers! I´m trying to open ".canim" files but I can´t! Anyone knows how can I open this type of files? I´m saying this because we can find, as example, this extensions in some games: Shank, Shank 2, etc I googled it and found nothing! Please help.. Bye

Game Development
Member Avatar for leozin.sincero
0
131
Member Avatar for Doogledude123

Hey guys, I need a function that reads a text file and stores the character someway, (I am assuming a 2D Array would be best?) then a function that reads through the characters and if the char is something specific (like "X") then it would draw a square (QUAD) 10wx10h …

Game Development c++ opengl
Member Avatar for Doogledude123
0
407
Member Avatar for Member #958171

Hi, guys, I want to learn how to make big games for Android, like, Temple Run, Rail Rush or something like that. What I must do?

Member Avatar for glenwill101
0
182
Member Avatar for Doogledude123

Im incrementing a value in a while loop, but its only incrementing when my mouse is moving. Any ideas? while (isAlwaysTrue) { value += 1; } Thats basically what Im doing.

Game Development c++ opengl
Member Avatar for Doogledude123
0
1K
Member Avatar for Ritesh_4

Hi, first apologies if I've posted in the wrong forum. I would like to know what are the steps if I want for example to compress a pc game which is originally 13GB to fit in a single 4GB dvd. I've seen many games which are 4GB as compressed files …

Game Development gaming
Member Avatar for Ritesh_4
0
170
Member Avatar for Chuckleluck

Hello, I've been having a lot of trouble with collision detection recently. I'm attempting to make a 2D platformer. All I need is rectangle-on-rectangle collision detection, and then to respond on collision by moving the two rectangles involved in opposite directions. Thanks in advance.

Game Development gaming
Member Avatar for bguild
0
396
Member Avatar for ms061210

My problem is that I have an option page which contains the button to control the background music on and off. it works fine. But when I exit the option page then go back to option page again and play the music again, there will be two sound playing and …

Member Avatar for Phaelax
0
348
Member Avatar for wavyrebellion

Hi I have to implement a game where the user has to move one object to a given goal using the arrow keys. I have to use sprites for my moving object and for your goal. Use an image as background. When the sprite touches the goal it must display …

Game Development
Member Avatar for Phaelax
0
186
Member Avatar for hwoarang69

i am creating a rect in paint method. and i am trying to move it to its right by 1 px in loop. but the problem is its not going inside the run method. any idea why? import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import javax.swing.JApplet; public class main extends JApplet …

Game Development java
Member Avatar for zeroliken
0
186
Member Avatar for hwoarang69

how to fix animation flickering import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import javax.swing.JApplet; public class main extends JApplet implements Runnable { //player information variable int x = 10; int y = 50; int width = 30; int height = 30; int dx = 1; //########################################################################################################### /*** init method ***/ public …

Game Development java:swing
Member Avatar for zeroliken
0
172
Member Avatar for Kniggles

HelloWorld Start(); *// every line of codes ends with A ";" *//\/\\ from ";" you can xmap your game to the best "YOU WIN" screen.jpg you can make be it of a T-shirt you maybe selling a compleated levalin a game, a holiday vacation, a Free beer token or even …

Game Development gaming
-1
303
Member Avatar for McLaren

I found great tool to make shapes. But the example how to load the shape for javascript. He wrote >Note: the following code snippets are extracted from the loader-libgdx-demo project. They are written in Java, and target the LibGDX game framework. However, they should be easy to understand, and easy …

Game Development javascript json
Member Avatar for McLaren
0
240
Member Avatar for FUTURECompEng

I am going to be honest here, I am completley lost on trying to figure this out. I am trying to create a sudoku solver using sat4j for a 9x9 puzzle. I am trying to read a partially filled board and, by using a Satisability solver it finds a legal …

Game Development gaming java
0
223
Member Avatar for petzoldt01

Not sure if this is quite the place for my question, but I dunno why you couldn't handle it ;) Really just looking for some opinions/answers on develop/design workflows for small/medium projects using AdobeCS5. This week I discovered many of the magics between Illustrator/Flash, such as arranging symbols on an …

Game Development adobe:actionscript adobe:flash
0
340

The End.