Problem with my game

Hi there,

Am very novice to Java programming and recently downloaded a applet based java game from the net.

I wanted to tinker around with the code. I downloaded a java dj compiler to extract the source code to read thro the code. After which i wanted to make some changes to this source code and wanted to run it

Unfortunately am not able to run this.

The actual problem

the main java file of this game is called shootingballs

however it has two other class files which support it. gametimer and ball

when i compiled gametimer and ball, i had not problems

however, when i compiled the main java class file whose applet code would be included into the html page, this did not run.

Do i need to check some linking dependencies?

[788 byte] By [raghunandansra] at [2007-11-27 6:50:24]
# 1
I doubt anyone will help you steal other people's code, but the least you could do is tell us what the error is, you know, for future and more scrupulous reference.
RedUnderTheBeda at 2007-7-12 18:24:24 > top of Java-index,Other Topics,Java Game Development...
# 2

There aren't many decompilers that work perfectly. Wherein you can compile the decompiled code and expect it to run as before.

That being said, looking at the complete code for a game is not the fastest way to learn Java. Go get a book.

Or if you already have quite a bit of programming experience, read some tutorials. They'll get you started much quicker, and you won't pick up any bad habits that will plague you in the future.

Cuppo

CuppoJavaa at 2007-7-12 18:24:24 > top of Java-index,Other Topics,Java Game Development...
# 3
and indeed stealing code is very bad. Why should we help pirates and other thiefs?
jwentinga at 2007-7-12 18:24:24 > top of Java-index,Other Topics,Java Game Development...
# 4
> and indeed stealing code is very bad. Why should we> help pirates and other thiefs?as far as we know, he didn't wanna sell it or nething. he just wanted to use it to let him learn
stephensk8sa at 2007-7-12 18:24:24 > top of Java-index,Other Topics,Java Game Development...