Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Village Bombing  (Read 2277 times)
0 Members and 1 Guest are viewing this topic.
Offline Om Nom Gamer

Senior Newbie


Projects: 1



« Posted 2010-07-27 18:25:27 »

Hey everyone!

Village Bombing is my first game Tongue. You need to shoot rockets at the bombs to prevent these bombs from blowing up your buildings. You just need to click on the bomb and the rocket will automaticly follow it. You will get points for every building that's not destroyed. When your City Hall is destroyed, it's Game Over.
In the next version of the game, you will be able to upgrade the buildings and obtain special rockets Tongue.
Please comment and if you have any tips, feel free to post them Smiley



Offline gouessej
« Reply #1 - Posted 2010-07-27 19:17:56 »

Hi!

It is a good first game. I get this exception sometimes :
Quote
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
   at Main.update(Main.java:496)
   at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
   at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:43)
   at sun.awt.RepaintArea.paint(RepaintArea.java:216)
   at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:688)
   at java.awt.Component.dispatchEventImpl(Component.java:4706)
   at java.awt.Container.dispatchEventImpl(Container.java:2099)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

I looked at the log, it seems that you reload the whole image each time you use it or at least very very often :s

Offline Karmington

Senior Devvie


Medals: 1
Projects: 1


Co-op Freak


« Reply #2 - Posted 2010-07-27 19:35:51 »

some minor crits, thought:

the 'How To'/Tutorial page text is crumbled up badly, looks nasty. Just aesthetic issue.

I like shooting ten missiles in a row if i can, it's more impressive as opposed to missiles refusing to launch if they dont have a target.

The changes of light, atmosphere are cool but could be slower, now they just wipe so fast it feels a bit hectic.

Volume Slider.


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Om Nom Gamer

Senior Newbie


Projects: 1



« Reply #3 - Posted 2010-07-27 20:35:06 »

Thanks for testing everyone Cheesy

@gouessej
I have changed some old Image fetching code Smiley. The houses and the cursor weren't drawn correctly.

@Karmington
the 'How To'/Tutorial page text is crumbled up badly, looks nasty. Just aesthetic issue.
True. I will change that in the next version Wink

I like shooting ten missiles in a row if i can, it's more impressive as opposed to missiles refusing to launch if they dont have a target.

I don't know why I haen't done that already :p. Maybe I just wanted to test some Math. I will implement it in the next version.

The changes of light, atmosphere are cool but could be slower, now they just wipe so fast it feels a bit hectic.
This will also be slowed down. Does the changing of the dayparts also have to be changed?

Volume Slider.
I don't know how to do that with AudioClip. However, I have implemented a mute key (m).

Both of you, thanks for your bugs and critics. Feedback, good or bad, is always welcome! Please keep in mind that I'm only a beginner who wants to learn more Tongue.
Offline SimonH
« Reply #4 - Posted 2010-07-28 01:15:58 »

Erm...
1  
java.lang.ClassFormatError: Incompatible magic value 1013474657 in class file Main

People make games and games make people
Offline Om Nom Gamer

Senior Newbie


Projects: 1



« Reply #5 - Posted 2010-07-28 04:35:13 »

hmmm... Does the error contain more text?
Offline Riven
« League of Dukes »

« JGO Overlord »


Medals: 840
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #6 - Posted 2010-07-28 06:33:54 »

Erm...
1  
java.lang.ClassFormatError: Incompatible magic value 1013474657 in class file Main


You must have a corrupted download (or the uploaded file is corrupted). Every classfile starts with 0xCAFEBABE.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social
Offline gouessej
« Reply #7 - Posted 2010-07-28 10:31:19 »

Thanks for testing everyone Cheesy
You're welcome.

@gouessej
I have changed some old Image fetching code Smiley. The houses and the cursor weren't drawn correctly.
It works better now.

Pages: [1]
  ignore  |  Print  
 
 

 
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!