Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
3 Endorsements
Ranked #485
Ranked #2K
~10.8K People Reached
Favorite Tags
Member Avatar for aman rathi

Is there any method in java to generate random number (integer, byte or float). please tell me if any i need it in my program. if possible please give full example. thanks.

Member Avatar for stultuske
1
1K
Member Avatar for thanatos1

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 …

Member Avatar for lauried.shepherd
0
161
Member Avatar for thanatos1

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

Member Avatar for JamesCherrill
0
700
Member Avatar for vinnitro

I am not getting this program since i beginner to applet programming import javax.swing.*; import java.awt.*; import java.awt.event.*; /*<applet code=Login height=500 width=300></applet>*/ public class Login extends JApplet implements ActionListener { JLabel jl1,jl2,jl3,jl4,jl5; JTextField jt; JPasswordField jp1,jp2; JButton jb; public void init() { Container c=getContentPane(); c.setLayout(new FlowLayout()); jl1=new JLabel("Username : "); …

Member Avatar for vinnitro
0
5K
Member Avatar for thanatos1

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 …

Member Avatar for NormR1
0
262
Member Avatar for adil_bashir

hello everyone.. i have studied the beginning java, can you please suggest me any small project that will brush up my concepts.

Member Avatar for stultuske
0
143
Member Avatar for thanatos1

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 …

Member Avatar for peter_budo
0
144
Member Avatar for Panathinaikos22

Hello, i started learn litle "Game-Developing", i download Tiled QT to create game map, but my question is, (Game will be in java) How i make my character go to specifically positions, i mean, in map are some walls and playrs must not go above the image... An idea is …

Member Avatar for thanatos1
0
121
Member Avatar for thanatos1

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 …

0
111
Member Avatar for wallet123

HI im a student and our professor asked us to convert a number into word: example: input= "1" output="one" i need to have numbers from 1-10,001 so my program will end up very long if i only use if else statement i know that there are other methods other than …

Member Avatar for wallet123
0
690
Member Avatar for thanatos1

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 …

Member Avatar for JamesCherrill
0
182
Member Avatar for hsmroz

can any one help me wright the code for any simple java games, choose one from the selection below plsss (using jav -Base Conversions -Lotto 649 -Mastermind -Hangman -Deal or no -Deal -Who Wants to be a Millionaire -Card Games -Theatre Seating -Morse Code Instant/Fortune Teller -Pay Stubs -Educational Game …

Member Avatar for Ezzaral
-1
723
Member Avatar for Blackiey

Interface: [CODE]import java.awt.Rectangle; public interface Doubler { public void makeDouble(Rectangle newRectangle); }[/CODE] [CODE]import java.awt.Rectangle; public class RectangleDoubler implements Doubler { private double x, y, width, height; RectangleDoubler() { x = 0.0; y = 0.0; width = 0.0; height = 0.0; }//end of default constructor public void makeDouble(Rectangle newRectangle) { x …

Member Avatar for thanatos1
0
248
Member Avatar for thanatos1

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 …

0
76
Member Avatar for thanatos1

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

Member Avatar for mike_2000_17
0
246
Member Avatar for thanatos1

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 …

Member Avatar for NormR1
0
119
Member Avatar for thanatos1

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 …

Member Avatar for thanatos1
0
357
Member Avatar for thanatos1

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

Member Avatar for DdoubleD
0
179
Member Avatar for thanatos1

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 …

Member Avatar for sknake
0
192
Member Avatar for thanatos1

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 …

Member Avatar for ddanbe
0
143