Dragon Mage

Started by fireside, December 08, 2010, 11:27:15 PM

Previous topic - Next topic

fireside

Dragon Mage

I've started a new project because this one has a name now.  It's also a new link.
This has some new graphics and context sensitive movement.  There are still things to do to do but at least the context sensitive movement mostly works except for defend.  The monsters die, but the players don't yet.  There's no health bar.  I need more spells and and I'll probably just use one attack for the dragon to make the game run faster so there will only be choices for spells.
click here->Fireside 7 Games<-

paulscode

It's coming along nicely.  I got a random ArrayIndexOutOfBoundsException while playing (it didn't crash the game or anything, just showed up in the console.  Here is a chunk of the output around when the exception occurred:
loop number 0   12,0
loop number 1   11,0
loop number 2   10,0
loop number 3   9,0
testPathShort is true
entering chooseEnemy
hit =  5.565666579945678
player hit  0
near found
leaving changeplayer
attack clicked
hit =  22.096750349835162
Change player distance =3
leaving changeplayer
attack clicked
hit =  23.72917188413617
enemies turn
leaving changeplayer
leaving changeplayer
Exception in thread "AWT-EventQueue-1" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)
at org.me.hello.WebPlayer.checkForObject(WebPlayer.java:1088)
at org.me.hello.WebPlayer.mouseMoved(WebPlayer.java:550)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
girl pos = 9,0map 3
eye pos = 13,1map 4
start 13,1
end 9,0
loop number 0   12,0
loop number 1   11,0
loop number 2   10,0
loop number 3   9,0
testPathShort is true
entering chooseEnemy
hit =  20.8883898288259
player hit  0
near found
leaving changeplayer

fireside

OK thanks.  I thought I got that, but apparently not.  ;D
click here->Fireside 7 Games<-

EgonOlsen

Albeit it's actually "only" a new name for that "strategy game", i decided to add it to the projects page as a new project.

fireside

OK, thanks.  It is sort of new since there was such a long hiatus, and the code has needed to be reworked along with graphics. I put a link back but it won't mean much until I get far enough to post it on my index page as a playable game. 
click here->Fireside 7 Games<-

fireside

#5
Update.  There are more monsters(same). The dragon dies but the girl doesn't yet.  Some test sounds done with AudioClip.  Everything has a 4 space range.  There's a health spell along with weaken.  The choice for the dragon attack was eliminated and it breathes fire if it's one space away from an enemy.  Comments and crits are welcome.   A monster won't attack if it's behind a tree, in case anyone is wondering about that.  I'll probably make modifications to that.
click here->Fireside 7 Games<-