- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
20 Posted Topics
Re: [QUOTE=balajisathya88;1623565][code]import java.util.Random; public class random{ public static void main(String args[]){ System.out.println("random number generation"); Random obj= new Random(); //create object for random class int rgen= obj.nextInt(100); //get random number with in the range of 0-100 int rgen1= obj.nextInt(1000);//get random number with in the range of 0-1000 System.out.println(rgen); System.out.println(rgen1); //if u want … | |
Hello guys, I've been working on a game in Java, it doesn't use any third party libraries so everything was made from scratch, I was wondering if anyone was interested in helping me bring it to the next level. The game is going to be essentially a mix of Castlevania/Dark … | |
Hey guys, i've been making a little super mario clone in Java but I need help, you see, if you download it and play it, you will notice it is quite stutter-y, and that really shouldn't be the case since it's such a small program. game link : [Click Here](http://www.filefactory.com/file/4mx7jddejnrr/n/super_mario_clone.zip) … | |
Re: that's not an error, it's a warning. | |
Hello guys, i have a question regarding how to change the origin of a window, particularly a JFrame. I'm essentially running a program called "Fraps" to see the frames per second of my JFrame, with this program, you can display the fps on any 4 corners of the window currently … | |
Re: make me that game called Snake. i expect it on my desk first thing in the morning. | |
Hey guys, I've been working on a game for the past few months and I've decided to read up on game scripting to see how it could help me improve my current game. What I've gathered so far, is that using a scripting language saves the developer time (since compiling … | |
Re: you could create a "map" which is composed by several tiles (32x32 pixel images or whatever) and each tile could have a boolean variable that determines whether or not that particular tile is solid (if solid, nobody can walk on it, for example). either that, or have an array called … | |
Hey guys, i've been spending some time writing a pokemon clone game in java and was wondering if anyone would like to help me out, it's quite a big project since i'm planning on making it much more than a simple clone, but if you'd like to perhaps help out … | |
Re: [QUOTE=JeffGrigg;1732845]Since it is too late for you to turn this in for the assignment...[/QUOTE] goddamn that's some ugly ass code. | |
Hey guys, I'm making a little pokemon game in java and i've come across a problem. The basic algorithm i use for movement is as follows: - if the player has pressed a particular key set the speed(float) accordingly (if key stroke was up, X speed should drop (since i'm … | |
Re: just write a number guessing game, have the program come up with a random number from 0 to 100, and you try to guess which one it is, if your answer is less than the random number, say you're too low, if high say too high, and if right say … | |
Re: Every function declared in an interface is inherently public, so you don't need a explicit visibility modifier, also, if you don't provide a constructor with a visibility modifier the constructor will by default assume the visibility of the class it is declared in, but you should explicitly declare the visibility … | |
Hey guys, i'll try to give you a brief background, then my question. I've been trying to write a copy of a pokemon game that came out in the 90's (blue/red) and i've come across a couple issues when it comes to how to deal with events and how to … | |
I'll try to keep this simple, i have an abstract class called Shape (Shape.h) which has a few pure virtual functions, cool. so I have another class called Circle (Circle.h and Circle.cpp) which extends Shape. here's the code. (In Shape.h) [CODE]#ifndef SHAPE_H #define SHAPE_H #include "Point.h" class Shape { // … | |
hey guys, i've been designing and coding a pokemon-clone game in java for roughly 3 months and i've a huge problem in my hands. how the hell am i supposed to design a "map" in sprites? for example, i've been reading "developing games in java" and it just gives me … | |
Hey guys, i've been trying to clone pokemon in java but i've come across a very weird problem. [CODE]java.lang.VerifyError: (class: attribute/base/health/AbstractBaseHealth, method: <init> signature: ()V) Constructor must call super() or this() at actor.pokemon.AbstractPokemon.<init>(AbstractPokemon.java:44) at actor.pokemon.charmander.AbstractCharmander.<init>(AbstractCharmander.java:16) at actor.pokemon.charmander.ConcreteCharmander.<init>(ConcreteCharmander.java:11) at main.Main.<clinit>(Main.java:17) Could not find the main class: main.Main. Program will exit. Exception … | |
Hey guys, here's my question. In this text rpg i'm making i'm trying to add a "critical strike" chance, so that the player hits more, i got the hitting more part down right, but my problem is that for example, say the player can hit from 1 to 5 HP, … | |
hi guys, i'm wondering how to calculate a probability and make the program respond to the result. for example, in this little text RPG i want the drop rate of certain items to differ after the player has killed an enemy, or the accuracy rate to change based on the … | |
Hi guys, i downloaded visual c# 2008 about a month ago and have been trying stuff out for myself. I'm attempting to make a text based RPG, i made big progress but i'm stuck now. Basically i want to show the player's HP in green whenever he has 51 to … |
The End.