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 FilterCreate 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/)
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. …
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 …
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 …
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 …
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 …
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. …
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, …
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 …
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 …
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. …
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 …
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 …
:$ 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 …
hi, am to create a morabaraba game and i have no idea with coding with c#.
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.
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 …
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 = …
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 …
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 …
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 …
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. …
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 …
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 …
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 …
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 …
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.
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 …
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 …
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
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 …
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 …
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 …
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
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 …
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?
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.
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 …
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.
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 …
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 …
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 …
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 …
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 …
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 …
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 …
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 …
The End.