2,027 Topics
package program.p02; import java.io.*; import java.util.*; import java.lang.*; public class Dictionary { private String[] dictionary; private static final int NUMBER_OF_WORDS = 81452; private static String FILE_NAME = "dictionarycleaned.txt"; //no arg constructor??? public Dictionary() { Scanner fin = null; //open and test the stream try { fin = new Scanner(new File(FILE_NAME)); …
My laptop has been on it's last stretch for the last half a year or so and I've come to the conclusion that it will cost me more to fix than it will to replace. I've been sitting on actually building a new rig for a while now, as you …
Im creating a Chess game. Im stuck at getting the pieces to move within the rules Aka bishop can only move diagonally. I Create Panels - 64 of them within a lager panel then add JLabels - The pieces - into those panels ` JLabel bb = new JLabel(new ImageIcon("bb.gif")); …
Hi all, FIrst I have to say my experiences with C++ are very low. But since we're given an assignment to develop a simple game in C++ now I have to try it out. But I have the basic idea on OOP and programming. So friends where should I start. …
Hi forum, I was not really sure where to post this topic, but I need help in deciding what to do with my education. As of right now, I am finishing my associate's degree in computer science, and I decided that I wanted to transfer this degree into a game …
for some reason iam not getting the right map. i think the problem is x += 130; y += 130; #include "DarkGDK.h" const int ROWS = 10; const int COLS = 13; int level[ROWS][COLS] = { {1,1,1,1,1,1,1,1,1,1,1,1,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,0,0,0,0,0,0,0,1}, {1,0,0,0,0,1,1,0,0,0,0,0,1}, {1,0,0,0,0,1,1,0,0,0,0,0,1}, {1,1,1,1,1,1,1,1,1,1,1,1,1} }; void DarkGDK(void) { …
I need some ideas for the python text based game i am making, it looks like this so far: from time import sleep import sys #Functions set at start of code def helpme1(): for a in 'Recognised commands are: explore, help, suicide, flee, look, get,open door, run and attack. With …
Hello ,,, 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 …
Social networking site [URL="http://www.friendster.com"]Friendster[/URL] is going to get an overhaul under its new owner [URL="http://www.molglobal.net"]MOL Global[/URL]. Commentators including the [URL="http://www.guardian.co.uk/media/pda/2010/aug/18/socialnetworking-facebook"]Guardian[/URL] in the UK have reported that the site will become a games portal, putting it on less of a head-to-head footing with its main rival, [URL="http://www.facebook.com"]Facebook[/URL]. You could predict that …
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 …
have fun with this game o' keno! post here with your highest winnings
[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 …
hi there guys can you suggest me some games that I can program in c sharp in an object oriented way? just simple programs that can be done for maybe less than a week since I'm just starting to learn it yet. Any idea? Please help me guys I will …
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{ …
I read a memory block of **vertex positions** from an file but they're in this sequance **X Z Y** and the FVF format is D3DFVF_**XYZ** - what vertex format to use and fix this problem or maybe changing the cordiante axe?
I would like to collaborate with experienced developers who are looking for fun ideas to create games on smartphones and tablets. Mobile gaming is experiencing exponential growth and there are many attractive options going forward.
I would like to know how to compile the jBullet demos, found here: http://jbullet.advel.cz/download/jbullet-20101010.zip in the eclipse IDE. It seems like it should be a fairly easy but i may be missing some small simple task. If you do know the answer, please be fairly direct and detailed. Thanks!
hello i am creating a tictictoe game , however i cannot get the program to check if the player has won or not . and produce a you have won message #include<iostream> #include"110ct.h" using namespace std; class TICTACTOE { CursorController*crs; ColourController*cl; int xplayer ; int oplayer; colour Cs; public: void …
Hello, I'm creating a game using SDL, and what I'd like to happen is: if the character jumps on a button, then it'll disappear. However, I cannot find a way of accomplishing this, as all the SDL functions I know of start at runtime and cannot be changed. If I'm …
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 …
I've got a game, and I'm trying to do it right. I've got a spritesheet (which is really just a class that loads images for easy access. It seems to work, but then my tile system starts, and it fails in an interesting way - it loads only the foreground, …
This happens when I play a game,some other times too.annoying.why?
Just wanted to know if we need to texture map the texture on the model with code or is it better to just import a model with textures already on him? (considering its even possible)
Let a sprite move back and forth is not a big problem, but what if you want to let it move around like a square - right - down - left - up and then run this in a loop. Anybody have a solution on how this can be done, …
Hello guys! Im Ron, I would like to ask....what would be a great System Unit or better a laptop that can handle softwares of art?Photoshop, animation, autocad,etc..???I'm thinking of buying PC or laptop that is used for gaming but i will not use it for that...Is that okay? Are Computer …
hi i really interest in C game programming. i looked online for tutorials but they seem confusing. I am using c for one year, but i have no knowledge of game programming. could any one tell me where should i start and what is the best language for game programming. …
Me and my freinds are heading towards a C++ Game Project of Snake-Game in which a Snake is to be made of 6 "*"s and it is controlled with keybord.... We had progressed till here and weare finding difficulty in handaling more than 1 stars plz help #include<iostream.h> #include<conio.h> void …
Hey all, I have been wanting to make a cool game in jave such as a fighting game starting off simple with drwing stick figures :). But i was wondering why there are so many java games created in Japplet why not use swing- i know there are games out …
Could someone direct me to an open-source, 2D sidescrolling game developed in C++? (I'd prefer a Mario-style sidescroller, but almost any would do.) I'd like to look at the source code to see some examples of a working sidescroller collision detection system, and a jump algorithm. Thank you for your …
Hi. I'm making a shooting game and since my code was getting a bit messy and big I decided to divide it into couple of classes and files. I'm confused of how to correctly split these files and classes up though. As I imagine it without really knowing if that …
My comp has the following specs...shouldnt it be able to run pretty much anything?... Intel Core 2 Duo 2.5 ghz CPU 6 gb RAM NVIDIA GEFORCE GTX 260M 1 GB It is manufactured by ASUS so Im assuming it has an ASUS motherboard... It is having serious trouble playing even …
I want to load a 3D model into an opengl scene. For this I've read about the .obj format and how the vertex cord's and etc are stored. I want to parse this file, but have completely no idea what soever how to begin with. After going through couple of …
Is anyone here familiar with RoboCup? Does it belong to gaming or something else? Where can I see an actual program example for it? What kind of langauge does it use? Thx.
So I am guessing there must be some gamers here who use fraps. I have the error [B] Unrecognized frame format[/B]When I put my files in to Sony Vegas. The solution to the problem is solved here: [url]http://frapsforum.com/threads/converting-fraps-footage-to-premiere-vegas-compatable-avi.36/[/url] However it seems a bit too much for me downloading all that, …
Hi guys just wondering if anyone could give me some tips on starting a moveable char function for my maze game. I wish to create a function that allows me to move the player through the maze shown below. I have a few ideas on how to do this however …
Hi I have a problem with dice game. So I have a dice game , but I want to see the picture of the dice every time the player throws the dice not only the number.. I dont know how to make it, do I need to rewrite the random …
I want to make a simple online multiple player cards game using PHP/Ajax. I guess I need socket programming (I want it to be real time). I've worked with sockets before in Java, but not for an online program, just a network game. I searched but I didn't really find …
Hi there! I'm currently working on a school project using a Kinect device. Me and my friend decided that we wanted to create the same 3D effect as [url=http://www.youtube.com/watch?v=Jd3-eiid-Uw]this[/url] guy (Using our Kinect instead of using a Wii). We've made everything work perfectly, and we actually get a really cool …
Hello, I'm writing a small game for a class. The problem is when i run it it starts consuming the computers resources, i bet i've done something very wrong but i just can't find it (haven't even added bouncing back from the paddle to the code, or game over for …
Well i have been playing league of legends for almolst a year now, i'm realy liking it but now i have a problem...i can't play at all here is the problem: i press on the LoL icon what i do is right-click on it and then press run as admin...(if …
For my final project in school, I want to create a platforming game, and I want to create UML for the game before I actually do any coding. However, I'm not sure where to start, as I haven't done much with UML. Any suggestions to help get me started?
For My basic programming are using python. I want to create a game called rocket race where two rockets are racing side by side dodging meteroids. I just need some help knowing where to start. I made the rockets and the meteroids in paint already. So could you give me …
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 …
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 …
I'm trying to finish this assignment for class, but I've got a problem.It seems as though my code will always make the new generation blank, and I'm not sure why. If you could read my code, then I'd greatly appreciate it. Thanks! [CODE] // Life.cpp : Defines the entry point …
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 …
Hi, I am looking for the worlds most realistic open world racing game. My definition of realism is: 1: when youre going 200 miles an hour, and when you crash into a wall youre car is all smashed (need for speed has a huge problem with that). 2: Realistic driving …
I have a : AMD Athlon II X2 260 CPU @ 3.2 GHZ 6gigs of Ram DDR3 GTX 550 TI GPU clock 970MHz Memory Clock 1050MHX and shader 1940MHZ 500W PS 250 GIGS,1TB and 2TB hardrive now my questions is that should i sell my Motherboard and CPU,and get a …
I have a battleship python assignment due in an hour and I can't figure out where the error is in this code. It seems like when player 2 plays sometimes the coordinates saved in Board.remaining_ships can't be deleted because they aren't there. Please please please help Here is the error: …
The End.