24 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for Vin vin

I am making a ping pong game using JavaFX, but before I am going to make that, I like to test the KeyEvents. I made a simple ping pong game about 2 years ago, but I like to improve my game. And was pretty bad controlls back when I made …

Member Avatar for Vin vin
0
2K
Member Avatar for scheppy

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

Member Avatar for scheppy
0
3K
Member Avatar for scheppy

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 …

Member Avatar for scheppy
0
456
Member Avatar for scheppy

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 …

Member Avatar for scheppy
0
1K
Member Avatar for P3rryD

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 for WaltP
0
174
Member Avatar for Robert955

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 …

0
129
Member Avatar for tomtaila

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 …

Member Avatar for NormR1
0
512
Member Avatar for VengefulToast

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 …

Member Avatar for bluehangook629
0
251
Member Avatar for vivosmith

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 …

0
152
Member Avatar for jdm3

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 …

Member Avatar for jdm3
0
826
Member Avatar for vjames

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 …

0
243
Member Avatar for electricBunny

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 …

Member Avatar for electricBunny
0
167
Member Avatar for DOT6

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 …

Member Avatar for Narue
0
238
Member Avatar for Enzo85

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 …

0
126
Member Avatar for shinbojack

Hello all...first-time poster here, and I was wondering if any of you fine folk can help me out with what is surely a simple task, but something very confusing for someone just starting off with Java. In a nutshell, I am creating a simple mobile game where a user is …

Member Avatar for shinbojack
0
151
Member Avatar for networkZombie

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

Member Avatar for alexchen
0
3K
Member Avatar for samccarn

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 …

0
167
Member Avatar for Rikard

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 …

Member Avatar for Rikard
0
204
Member Avatar for Buolbear4444

So, I'm writing a roguelike game in C++. But, its complaining about a class I made called "Player" in the file "player.h" in the file "monster". When I input into monster this function: [CODE] void attackplayer(Player& hero, bool checkup, bool checkdown, bool checkleft, bool checkright) { if (checkup == true …

Member Avatar for Buolbear4444
0
174
Member Avatar for pato wlmc

Well, first of all i already know some things about c++ programming, but i'm really aiming to video game programming. Until today, i used to compile my codes on WxDevC++, but isn't really that good, and people keeps telling me that Microsoft visual studio is good for game developing. But …

Member Avatar for thelamb
0
223
Member Avatar for tinanewtonart

So for this assignment we have to inherit from the base class 'Game' I think I have with my version named 'ChildGame' I would like help with checking the syntax of my function calls from main() [CODE] /*************************************************************************************** Programmer: C.Backlund Program: TicTacToe_1.cpp Purpose: A tic tac toe game Date Created: …

Member Avatar for tinanewtonart
0
1K
Member Avatar for umers56

i neez help manz. here is what i have so far: ------------------------------------ Dim x As Integer Private Sub cmdexit_Click() 'this will end the program End End Sub Private Sub picmario_KeyPress(KeyAscii As Integer) 'this will allow the user to use various keys to 'move mario 'this will move the mario up …

Member Avatar for umers56
0
176
Member Avatar for tinanewtonart

In this program we are going to simulate a simple card game. The rules are that the player selects a card out of a deck of 52 cards. The computer picks a random card out of the deck. The person with the highest card face number wins. In this program …

Member Avatar for kvprajapati
0
6K
Member Avatar for nuB

i know it is a lot to read..... and i have different variables to compare win - the gameboard play itself and an undeclared plr, i did that because i'm not sure what and how it should be used there (so i expected those errors), b4 i added in the …

Member Avatar for nuB
1
281

The End.