Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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  
  [Journal]Arthur's Sword (UPDATE: 2010-05-11)  (Read 4040 times)
0 Members and 1 Guest are viewing this topic.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Posted 2010-05-06 13:56:58 »

Here is what I am working for the EGA Tiny Comp.  It is a dungeon crawler inspired by The Sword of Fargoal, an old C64 game I used to play.

Play here: http://99.241.42.135/arthurssword.html





For those not familiar with The Sword of Fargoal, it is real time but the time increments are fixed.  So you only can take maybe 6 or 8 steps per second and the monsters move whether you move or not, but slower than you.  Once I start adding sound it will be a little easier to tell your own and the monster movements.

All comments welcome.

Known issues:
 - gold still shows on map after it is picked up
 - sometimes a monster is not shown in play but it is still there

[Edit]Only one level so far.

Offline ShannonSmith
« Reply #1 - Posted 2010-05-06 14:38:32 »

Looks good, but your characters life bar (if it isn't for debug) would appear to be in violation of the rules.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #2 - Posted 2010-05-06 15:09:06 »

Looks good, but your characters life bar (if it isn't for debug) would appear to be in violation of the rules.


I don't understand why.  Can you explain?

Thanks.

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

Senior Newbie





« Reply #3 - Posted 2010-05-06 16:08:24 »

Your life bar is half a pixel tall, compared to the rest of the screen; either your actual resolution is double the permitted, or you're drawing the life bar as an illegal overlay.
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #4 - Posted 2010-05-06 16:49:09 »

Your life bar is half a pixel tall, compared to the rest of the screen; either your actual resolution is double the permitted, or you're drawing the life bar as an illegal overlay.

The life bar is 1 pixel tall.  The scaling may be causing it to look smaller, but I draw everything at 40x30 and the use Graphics.scale(x,y) to scale it up to the size of the applet space.  I am not sure why it is doing that.  I just use Graphics.drawLine() so it should scale appropriately.  I'll have to look at the scaling and make sure it is correct.

Offline ShannonSmith
« Reply #5 - Posted 2010-05-06 17:19:34 »

It will be because you are drawing the line at the scaled up resolution with a scaled up stroke width. With coordinates 0,0 and a stroke 10 wide the line will extend 5 pixels above the top of screen. It is much better to do all drawing operations on a 40x30 buffer and then draw the scaled buffer to the screen.

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #6 - Posted 2010-05-06 18:13:03 »

It will be because you are drawing the line at the scaled up resolution with a scaled up stroke width. With coordinates 0,0 and a stroke 10 wide the line will extend 5 pixels above the top of screen. It is much better to do all drawing operations on a 40x30 buffer and then draw the scaled buffer to the screen.

Thanks.  I just figured that out.  I will change to a backbuffer image to fix it.

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #7 - Posted 2010-05-06 19:13:12 »

Fixed the health bar problem and the problem with taking things off the map when they are picked up.

Offline dishmoth
« Reply #8 - Posted 2010-05-08 10:21:00 »

I enjoyed playing this.  It's off to a good start.

I did find it quite confusing initially though.  I think the reasons are:

  • The block scrolling makes it difficult to get orientated, especially when blocks suddenly pop into view.  Would it be possible to scroll one pixel at a time instead?
  • The way the turns alternate between player and enemies took some getting used to.  How about using count-down sound effects or some kind of visual cue to indicate how much time is left before the enemies move?
  • I found the text distracting, particularly because it takes up so much of the screen.  Could the text be overlaid on the playing area rather than having its own part of the screen?  I'd think it would still be readable if you used white letters with a (one-pixel wide) black edging for example.

Simon

P.S. The links aren't working this morning.  [Edit] They're working again now.

Offline Wyrframe

Senior Newbie





« Reply #9 - Posted 2010-05-08 15:40:57 »

My only real complaint is that the responsiveness is pretty poor; I have no on-screen indications of whether a keystroke will be responded to, exacerbated by the fact that it only updates once or twice per second. Even when I establish a key-hitting rhythm that seems to give the game enough time to respond, the moment I touch a bat, I have to wait a couple seconds before any key presses work again.

I assume there's no way yet to go down or up the stairs, but in three plays I have yet to take damage from a fight. I think I once saw the health bar go down one or two pixels while I was walking down an empty hallway, but there wasn't a bat in sight, and I got no text saying I had been in a fight, and nothing indicating I had walked into a trap.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #10 - Posted 2010-05-08 22:01:40 »

I enjoyed playing this.  It's off to a good start.

I did find it quite confusing initially though.  I think the reasons are:

  • The block scrolling makes it difficult to get orientated, especially when blocks suddenly pop into view.  Would it be possible to scroll one pixel at a time instead?
  • The way the turns alternate between player and enemies took some getting used to.  How about using count-down sound effects or some kind of visual cue to indicate how much time is left before the enemies move?
  • I found the text distracting, particularly because it takes up so much of the screen.  Could the text be overlaid on the playing area rather than having its own part of the screen?  I'd think it would still be readable if you used white letters with a (one-pixel wide) black edging for example.

Simon

P.S. The links aren't working this morning.  [Edit] They're working again now.

1. The game is meant to be done a step at a time.  Once I add sound effects it should make more sense.
2. Yes there will be sound effects for your walking and for when a monster moves.
3. Do you mean during a fight just pop the text over the field?

I had an alternate boot going for a while so the links were down for a couple of hours.

Thanks for the comments.

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #11 - Posted 2010-05-08 22:03:59 »

My only real complaint is that the responsiveness is pretty poor; I have no on-screen indications of whether a keystroke will be responded to, exacerbated by the fact that it only updates once or twice per second. Even when I establish a key-hitting rhythm that seems to give the game enough time to respond, the moment I touch a bat, I have to wait a couple seconds before any key presses work again.

I assume there's no way yet to go down or up the stairs, but in three plays I have yet to take damage from a fight. I think I once saw the health bar go down one or two pixels while I was walking down an empty hallway, but there wasn't a bat in sight, and I got no text saying I had been in a fight, and nothing indicating I had walked into a trap.

It should make a little more sense once the sounds are added.  There is a definite delay between each step you make, but you can hold down the arrow for continuous movement.  You just run the risk of running into a monster when you don't want to.  The monsters are a little easy right now.  I still have to play around with that.  The stairs don't work yet because there is only one level right now.

Thanks for the comments.

Offline dishmoth
« Reply #12 - Posted 2010-05-09 09:26:09 »

1. The game is meant to be done a step at a time.
Okay, but just to be clear I mean that while the player moves in one-block steps, those steps could be animated more smoothly by scrolling one pixel at a time.  No change to gameplay, just presentation.  But fair enough if that's not the effect you're aiming for.

Quote
3. Do you mean during a fight just pop the text over the field?
Yes, if that works.  The problem is just that the text's rectangular black background makes it look like part of the maze, which is distracting when you first start playing and are trying to figure out what's going on.

Simon

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #13 - Posted 2010-05-11 14:54:39 »

A new version is up.

  • changed the text to have a transparent background
  • made first level monsters a little more difficult
  • quickly made 30 levels(copy of first)
The stairs will now work, but the character doesn't level up and there are no new monsters yet.  The levels also get physically bigger as you descend.

Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #14 - Posted 2010-05-26 09:37:02 »

Hello CaptainJester,

Sorry to see that your site: 216.58 etc.. is not up so I couldn't test it.. Will try at
a later time...

Best regards from

M.E.

M.E.
--------
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #15 - Posted 2010-05-26 19:29:58 »

Hello CaptainJester,

Sorry to see that your site: 216.58 etc.. is not up so I couldn't test it.. Will try at
a later time...

Best regards from

M.E.

Sorry, I had it down over night and most of the day.  It is back up now.

Thanks.

Offline me

Senior Member


Projects: 4


Java games rock!


« Reply #16 - Posted 2010-05-27 06:14:34 »

Hello CaptainJester,

Worked on all of these:
                   Acer Aspire 5740, Windows 7 , Internet Explorer, jdk1.6.0_20
                   Mac Mini, Snow Leopard OS X, Safari, jdk 1.6.0_20
                   Suse 10 (Virtual Machine), firefox 2.0.0.14, jdk 1.6.0_19
                   HP Compaq 6820, Fedora 8, Firefox 2.0.0.10, jdk 1.6.0_04

I have no idea how to walk up/down the stairs.
Will there be some kind of battle system? Or is the object of the game
to pass the enemy as quick as possible?
I liked the mystery of the hidden tiles in both map and game.

Best regards from

M.E.

M.E.
--------
Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #17 - Posted 2010-05-28 19:08:08 »

When you are on the stairs just press the control key to take them.

To fight a creature you just have to occupy the same square as that creature.

The object is to go through the 30 levels and survive to find Arthur's Sword.

I only have about 12 levels finished right now, the rest are just placeholders.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (26 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (71 views)
2014-09-10 06:39:09

Tekkerue (36 views)
2014-09-09 02:24:56

mitcheeb (57 views)
2014-09-08 06:06:29

BurntPizza (41 views)
2014-09-07 01:13:42

Longarmx (27 views)
2014-09-07 01:12:14

Longarmx (34 views)
2014-09-07 01:11:22

Longarmx (33 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!