Well, right now i'm following a tutorial on game making for c++, but is this really the best programming language for video games? Also i'd like to know if can recommend me a book ( i've seen some book on amazon but i don't really know wich one to choose ), or tutorial about this, cause since i'm just 15, there's no teacher ( yet ) to talk with about this kind of things ( Consider that i'm a really noob sooo... ) Well thanks and thats all

Member Avatar
Member Avatar
+0 forum 38

Hi Guys, Im currantly having a problem with simulating balls bouncing of each other in a 2d space, everything is working and all, but it just doesant seem natural for me... If we had any math wizzes here now is your time please:) my circles are painted inside of rectangles..... This is what is the code im using to find the new x and y coordinates of the circles. specifically this piece here... //Pythagerum theorem, a^2 + b^2 = c^2, to figure out the distance between the two circles' centers. int distance = (int) Math.sqrt(((currantXa - currantXb) * (currantXa - …

Member Avatar
Member Avatar
+0 forum 14

Hi Guys Its me again, wasnt sure if i should start a new thread so i just did :) I completly redid the code Now im having a problem with the renderer again. It called called in the timer of the controller class... but it doesant get called? Also my window wont close when i press x?? Also, my netbeans ide is saying Im leaking this in the contructer of the window class when i add the keylistener? What does this mean?? **My main class** package ballgame; import java.awt.event.ActionEvent; import javax.swing.Timer; /** * * @author jonathan */ public class Controller …

Member Avatar
Member Avatar
+0 forum 5

Currantly trying to make a simple game but i cant get the renderer to repaint. My problem is that i used to make everything in 1 class... much simpler. But now im just not sure anymore. This is what i have so far... it just wont repaint. (Note i have a thread for now that calls the renderer in my gamethread class... the last class posted. ) my main class... package ballgame; import javax.swing.JFrame; /** * * @author jonathan */ public class BallGame { public static Renderer gamePainter; public static BallGame ballGame; public static Dimensions dimensions; public static GameThread gameThread; …

Member Avatar
Member Avatar
+0 forum 9

HI, I recently joined the forums (today) and i would officially like to say hi. [COLOR="Green"]HI[/COLOR] For my question: [COLOR="Red"][B]Are there any books,websites or tutorials that use a moderate vocabulary that teach C++?[/B][/COLOR] Thanks for the help in advance. BTW is there a rules page? _______________________________ Bye

Member Avatar
Member Avatar
+0 forum 2

o/ Im working on a game in XNA 4.0 and ive started on making an actionbar. What I have is a tileEngine and if I remove a block I want it to appear in my actionbar. but after I got it in the first column of my bar and I pick up another block I want it to appear in the column next to the one thats already filled. So I made 10 rectangles for each column in my actionbar. and I made another Rectangles which states the availeble column. if I fill the first column with something, the availeble …

Member Avatar
+0 forum 0

Ok so my university has assigned me the task of creating a brick breaker game for android phones (full spec below). What I would simply like to know is[B] which design pattern I should be using to structure my program?[/B] If I should be using more than one which should I use and for which aspects (i.e. which parts of the program) should I use them in? [I]FULL SPEC: game should • Have functionality to start and stop games on screen (i.e. a splash screen to control game play) • Display the score while playing • Have a Paddle to …

Member Avatar
Member Avatar
+0 forum 5

hey everyone! I am working on a project in which i will be using cocos2d for developing a game for android. I am new to cocos2d. Can anyone tell me how to write a simple Hello World app on cocos2d using Eclipse( for Android ). I have already installed Android SDK and Eclipse. Do i have to install cocos2d also ? please help! regards, Bis!

Member Avatar
+0 forum 0

Hi forum, I am wanting to advance my programming knowledge to the next level: to create games. I have a pretty-good understanding of VB.NET and I am wondering what I could do to make games. I know that most on-the-web games are written in ActionScript with Adobe Flash, but would Visual Basic be good for games also? I am wanting to find some books over programming games from scratch, and I do not know of any good ones out there... The ones I have looked at were not very great. Anyway, thanks for future replies and I hope to receive …

Member Avatar
Member Avatar
+0 forum 4

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 Frames per second. When I mess around with it, that is what it does. Second thing: [CODE]timer = al_create_timer(1.0 / FPS);[/CODE] Does this set the timer based upon the fps? And then does that timer limit how long a certain action can be done for? [CODE]#include <stdio.h> #include <allegro5/allegro.h> …

Member Avatar
+0 forum 0

Hello everyone, I'm working on an assignment that requires a game that drops multiple objects that need to be caught. I'm using multiple classes and the current one is raising a type error. " File "C:/Users/Joe/Documents/School/I-210/Final/game.py", line 118, in main gift = Present() TypeError: __init__() takes at least 2 arguments (1 given)" I've tried googling and finding my error, but according to my textbook and anything I can find, there just must be something here I do not get. If anyone can look and explain what my mistake is I would greatly appreciate it. I've only been working with Python …

Member Avatar
Member Avatar
+0 forum 2

Hi, I'm making a snake game and I got a timer to check everything and repaint the component. How can I achieve a 60 fps without affecting the movement of the snake. I need help to come up with an equation for the speed of the snake. Need to change the delay in SnakeBoard class and the speed in Snake class If there is better implementation let me know. Thanks in advance. Here is the main logic: [CODE] package prototype; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Toolkit; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; …

Member Avatar
+0 forum 0

Hello, I'm new to mobile development and Java. My first project is a tower defence game. I'm using j2me. I figured out how to paint the sprites, made a cursor that moves around and turns green or red depending if you can put a tower there or not. Made a sprite for a monster that follows a fixed path. I managed to adjust the view so that it follows the cursor around and also managed to keep the cursor on the background layer using the collision detection. I also managed to put a menu that opens when fire is pressed …

Member Avatar
Member Avatar
+0 forum 4

Hi, all Any thoughts on why this code runs slow on device but fast on simulator in iphone, I am making a game in cocos2d, and I am moving an object from one place to another , throught CCTouchBegan , CCTouchMoved, CCTouchEneded (ccp function) and after that I take the action on it, can any buddy tell me what is the main issue to solve this problem,

Member Avatar
Member Avatar
+0 forum 5

Hello all, I have been working on a card game for the last month or so and sofar have created the basics ie. cards, deck... The language is ANSI-C and is created in programmers notepad with devkitpro and MLlib. Everything is working greate so far as in I can shuffle the deck deal cards from the deck ect, ect... But the problem im now facing is that I need to search through the AI's hand and see if it can place the correct set of cards on the table which is where im stuck and not sure how to go …

Member Avatar
Member Avatar
+0 forum 3

Hello everyone I am new to this site. I have a university assignment in which I need to program a 2 player pacman game, using C and the Unix operating system. If more than 2 users have typed the command to run the program/s the users must wait in FIFO fashion until the current game ends, and then a new one starts. How can I divide this program into different files? could I have a map file which is shared, and a program file which reads the map file and moves the pacman? how can these be synchronised for a …

Member Avatar
+0 forum 0

[ATTACH=left]19550[/ATTACH]Tap Me, Inc. launched the industry’s first [URL="http://tap.me/wp/how-it-works"]in-game advertising platform[/URL] this week. This platform gives designers the ability to place ads that are in context with the game being played, rather than disrupting it. Gamers will no longer have to get rid of banner ads or pop ups in order to continue or start their games. Ads are incorporated on the screen in a non-obtrusive way. This platform enables brands to engage with gamers in a way that enhances the gaming experience while the game is being played. For example, according to Josh Hernandez, the company's CEO, if a gamer …

Member Avatar
Member Avatar
+0 forum 9

Hey guys, so I have a bit of a problem. I have an idea for a game, and I have all the 3d models and such, but I have no clue how to program. I hired a couple of guys to work for me, but here's the thing. I have no CLUE about anything regarding coding. What do I have to tell them to code? Like, do I give them my story, characters and stuff? Or do I have to do something else? I know it sounds dumb, but what do I give them to work with? If anyone could …

Member Avatar
Member Avatar
+0 forum 4

If anyone is interested in attending/covering GDC on behalf of DaniWeb please contact our editor-in-chief, Eyal Akler at [email]eyal@daniwebmail.com[/email] You must have plenty of experience in Game Development and good reporting / interviewing skills. [url]http://www.gdconf.com/[/url] [ATTACH=left]18963[/ATTACH]

Member Avatar
Member Avatar
+0 forum 7

Hi, I was wondering that how people manage to get a HD resolution game @30fps on a server machine. My calculation shows it needs [B]210Mbps[/B](24 * 30 * 640 * 480) bandwidth for a [B]640x480[/B] resolution [B]@30fps[/B]. Adding audio will increase it further. On [I]Gaikai[/I] website they claim to achieve the same with 5Mbps[URL="http://www.gaikai.com/faq#technical"]http://www.gaikai.com/faq#technical[/URL]. I am totally confused :-/ about the method because everything happens in real time. Kindly help.

Member Avatar
Member Avatar
+0 forum 5

If anyone has a game project that they are working on and wouldn't mind having a helping hand with it, I would really like to be a part of the project. I wouldn't require pay or anything, just a credit if the game ever reaches the market. I'm willing to do pretty much anything (and I mean anything), I'd just like to work with someone, or a team, on one of these game development projects. You know, to like get to know how the work flow actually works, what's needed to make a game, and the processes and effort that …

Member Avatar
Member Avatar
+0 forum 5

[CODE] package myDxBall; import java.applet.*; import java.awt.*; import java.awt.event.*; import java.awt.Shape; import javax.swing.*; import javax.swing.event.*; /* <applet code="myDxball.class" width=670 height=300> </applet> */ public class myDxBall extends Applet implements Runnable,MouseListener,KeyListener{ static Rectbar Recob[] = new Rectbar[45]; Thread th; int x_pos = 5 ; int y_pos = 50; public static int radius = 10; int appletsize_x = 600; int appletsize_y = 300; private Image dbImage; private Graphics dbg; boolean collide; Ball bl; Bar br; Graphics fn; boolean fns=true; public void init(){ /* * DX_BALL GAME * Developer: Mursalin Kabir(মুরসালিন কবির) * North South University,Bangladesh * mail2mursalin@gmail.com * cell:+8801674905511 * http://www.facebook.com/mursalinkabir */ setBackground(Color.BLACK); …

Member Avatar
+0 forum 0

So I'm trying to make my own version of Pokemon simulator and this is what i have so far.. [CODE] /* Pokemon.cpp */ #include <iostream> #include <vector> using namespace std; void battle( int enemyHealth, int Health, int enemyAttack, int Attack, vector <string> &att, vector <string> &enmAtt ); int main() { cout << "Pikachu! I choose you!" << endl; int enemyHealth = 100; int Health = 100; int enemyAttack; int Attack; vector <string> att(4);//your attacks att[0] = "ThunderShock"; att[1] = "ThunderWave"; att[2] = "Agility"; att[3] = "Quick Attack"; cout << endl; cout << "Your attacks:" << endl; cout << endl; //output …

Member Avatar
Member Avatar
+0 forum 2

I have a project for my class in which I'm given 3 pictures, and have to do something "interesting" with them, I've decided to make a maze, one picture will be the background/the maze itself, one will at the exit, kind of like a mouse/cheese sort of thing, and what I want to do is use the third picture as a player character that moves through the maze when arrow keys are pressed. I found a maze code online and have edited it some, but I need to put the background picture on the maze canvas (it extends Canvas), is …

Member Avatar
+0 forum 0

Hallo! I've been having some trouble getting a save/load function to work properly. I'm trying to save object and their properties to a file in binary using fstream. And then being able to load the object from the binary file the next time im running my project. Quick breakdown: I got this class CMapMgr which holds a vector of CMap instances, and each CMap instance holds a vector with CTile instances. So when everything is initiated and running, and when i run this code, how much is saved? [CODE] // mFile is of fstream type and is a private member. …

Member Avatar
Member Avatar
+0 forum 5

[ATTACH=RIGHT]16160[/ATTACH][URL="http://www.gamestop.com"]GameStop[/URL], the world's largest game retailer, has acquired [URL="http://www.kongregate.com/"]Kongregate[/URL], a free online game aggregator that aggregates independent games, as well as producing some of its own, such as the steampunk MMO [URL="http://remnantsofskystone.com/"]Remnants of Skystone[/URL], developed for Kongregate by Flipline Studios. Kongregate's 10 million monthly visitors socialize and compete via its access to over 30,000 games. Players earn badges and levels through playing and can compare scores and achievements. Game developers can test out games by uploading them to the site and sharing in the advertising and micro transaction revenue they generate, while retaining rights to the game. Players can purchase …

Member Avatar
+0 forum 0

Today, gaming industry execs and fans will gather at Epic Games' Headquarters in Cary, N.C. and this time, they're not checking out the giant slide in the lobby. They're supporting Governor Perdue and witness the signing of House Bill 1973 - tax incentives for the digital entertainment industry. [ATTACH=RIGHT]16060[/ATTACH]North Carolina holds one of the highest concentration of game developers and publishers within its borders (14 total), including EA, Epic Games and Red Storm. In a move to encourage existing developers and also those who may want to relocate, North Carolina has introduced some tasty tax incentives. Becoming effective January 1, …

Member Avatar
+0 forum 0

dont know much about programming will study soon but have so many questions...i was recently researching voxels and see some advantages, i noticed that they are like bitmaps but with a third dimension, so wouldnt this be true if all voxels didnt have color wouldnt the file be smaller as opposed to a voxel model with color (like a bitmap)?...so ray tracing, wouldnt a render be quicker if a ray tracer engine didnt compute color values...then used some algorithm the put color back into the image after rendering it?

Member Avatar
Member Avatar
+0 forum 4

[ATTACH=right]15792[/ATTACH]Google has been attempting to break out of their search engine based box for quite some time by presenting challenges to some of the IT world's biggest names such as Microsoft and Apple. Now with the new App Inventor that Google has launched for Android it is giving developers more incentive to use their platform, giving the iPhone's developmental platform a run for its money. Today's launch of the [URL="http://appinventor.googlelabs.com/about/"]Android App Inventor[/URL] came after a year long effort of Google's development team to put users in the driver's seat. This app development tool received wide spread exposure this weekend when …

Member Avatar
Member Avatar
+2 forum 13

A new game development company, [URL="http://www.direwolfdigital.com/"]Dire Wolf Digital,[/URL] has officially announced itself to the world today and could be prepared to make a big splash in the gaming world come 2011. [ATTACH=right]15818[/ATTACH]The company shows some strong potential given their current make-up of seasoned veterans in the gaming and business world including Dire Wolf's founder, Scott Martins who has served as studio head of Sony Online Entertainment's Denver office. Martins also founded Worlds Apart Productions which was later acquired by Sony Online Entertainment's Denver studio. Other key players include Creative Director Paul Dennen whose list of credits include winning a Best …

Member Avatar
+0 forum 0

The End.