752 Topics

Member Avatar for
Member Avatar for claywin

Hello, I have been programming for a little while, but I wouldn't consider myself very novice yet. Yesterday I started a project but ran into difficulties with getting the position of the object (apply_surface(0,0,Ss,screen,&clip[0]); to change based on the key input because they are in different headers and stuff, so …

Member Avatar for Labdabeta
0
167
Member Avatar for speakon

Hello! I am starting a small text based game, I have created my set and get methods for my player class: import java.util.*; public class player extends main{ /* * Player attributes: * Name * Weight * Morale * Money */ //PLAYER ATTRIBUTES private String name; private int weight; private …

Member Avatar for trishtren
0
285
Member Avatar for khuzdaar

I have studied functions, pointers, recursive(I suck at it though), file handling(slightly), loops and a bit of data structures. My final project of my semester is due very soon. I chose othello. Before I was able to succesfully make hangman. Now, this is my first time that I am trying …

Member Avatar for faraz ahmad
0
1K
Member Avatar for abelLazm
Member Avatar for DeanMSands3
0
260
Member Avatar for coffecat

So i wanted to write a Hangman game and i started it, as im newbie programmer it took me several days to track all the bugs etc. Meanwhile i want to get good habits on designing and i read that Getters and Setters arent the best way to go for …

Member Avatar for Schol-R-LEA
0
315
Member Avatar for malsmit2014

I am not totaly sure my code for my revealLetter is correct....I can't quite convert letter string into an char array so i just left it as hiddenWord == letter in the code.... package program.p02; public class WordHider { private String hiddenWord; private String partiallyFoundWord; private int NUMBER_MISSES = 5; …

Member Avatar for stultuske
0
207
Member Avatar for malsmit2014

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)); …

Member Avatar for JamesCherrill
0
187
Member Avatar for tiffanynguyen08

I want to make a trivia game in python. Let's say I have a set of 25 questions, how do I choose 10 random questions from that set without repeats?

Member Avatar for vegaseat
0
4K
Member Avatar for koolhawk

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")); …

Member Avatar for NormR1
0
206
Member Avatar for baby_c

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. …

Member Avatar for sternone
0
265
Member Avatar for VengefulToast

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 …

Member Avatar for Rashakil Fol
0
264
Member Avatar for hwoarang69

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) { …

0
111
Member Avatar for HTMLperson5

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 …

Member Avatar for Gribouillis
0
4K
Member Avatar for javaa

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 …

Member Avatar for javaa
0
217
Member Avatar for Clinton Portis
Member Avatar for Nick Evan
0
159
Member Avatar for crapgarden

[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 …

Member Avatar for mrnutty
0
185
Member Avatar for king03

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 …

Member Avatar for seslie
0
119
Member Avatar for namdaemun

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{ …

0
113
Member Avatar for bigsand

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.

0
149
Member Avatar for katiecathey

I need help with creating the room class and dungeon class, i keep going back and forth and now I am just confusing myself. DUNGEON ADVENTURE PROGRAM PURPOSE: The purpose of this is assignment is for you to practice working with two dimensional arrays as well as to continue developing …

Member Avatar for JamesCherrill
0
702
Member Avatar for Constantine08

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!

0
139
Member Avatar for niceyout

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 …

Member Avatar for niceyout
0
156
Member Avatar for rfrapp

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 …

-1
104
Member Avatar for markbautista19

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 …

Member Avatar for JasonHippy
0
130
Member Avatar for jackmaverick1

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, …

Member Avatar for jackmaverick1
0
196
Member Avatar for BThomps

I'm a tutor that is helping one of my students with a simple guessing game program. It's supposed to be similar to the board game Mastermind. This program should prompt the user to enter 5 distinct digits, and it should return the how many digits are correct and how many …

Member Avatar for BThomps
0
232
Member Avatar for nuclear

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)

Member Avatar for mike_2000_17
0
196
Member Avatar for witchDoc

Hello everyone. I need a solution for a COMPLETELY FREE game development combo for 2D/3D games and i can't figure out what is best. Does C/C++ (with MS Visual C++ Express) and Direct3D combo do the trick? Are there any licensing issues? Or can u write (and possibly SELL) games …

Member Avatar for Akill10
0
187
Member Avatar for 3nrichedd

hello, I am lik 98% done with this assignment where the user enters a number, and then it will output if you guessed the right number, or if you have any matching digits, so for example, the if the random number is 24 and the user inputs 20 it should …

Member Avatar for poojavb
0
222
Member Avatar for Stevo812

Hi everybody. I am new to this site and am sure you guys could help me. I am currently writing a pool game using eclipse and need to create an array of objects.I have two balls placed individually onto the screen but I'm not certain how to write an array …

Member Avatar for Stevo812
0
1K

The End.