Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (138)
games submitted by our members
Games in WIP (594)
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  
  Yet another scroller  (Read 3450 times)
0 Members and 1 Guest are viewing this topic.
Offline 2DGamer

Senior Newbie

Java games rock!

« Posted 2004-08-06 17:13:02 »

Hullo all,

Thought I'd get some feedback on my first scroller. It has reached the "story and better graphics to be added later" phase (which is were I tend to abandon a project Wink ), and the tile collision detection needs a little tweaking.

Anywho ... I'd be interested to know how it runs on other machines (choppy etc).  I had a buddy of
mine test it and apparently everything froze when he picked up either the weapon or the medkit, but I think
that has more to do with an antiquated JRE on his end. (I hope)
Offline jbanes

JGO Coder

Projects: 1

"Java Games? Incredible! Mr. Incredible, that is!"

« Reply #1 - Posted 2004-08-06 17:21:18 »

How about a fullscreen Webstart application version? Pleeease?  Grin Grin Grin

Other than that it's kind of cool. Is there any way off the level, or is it pretty much constrained to what we see?

Java Game Console Project
Last Journal Entry: 12/17/04
Offline zparticle

Senior Devvie

Thick As A Brick

« Reply #2 - Posted 2004-08-06 17:41:40 »

Looks cool, I'm waiting for someone to come out with a Commander Keen like game again.

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

JGO Coder

Medals: 1

« Reply #3 - Posted 2004-08-06 18:05:15 »

Picked up weapon OK, but ... it was REALLY slow on a 1Ghz machine (like, approx 5 fps). Apart from very very jerky due to low FPS, looked great.

Couple of bugs:

1. When you have a dialog up, it's really hard to get rid of. In the end, I just had to hit every key on the keyboard to get the buggers to disappear.

2. Got this halfway throuhg (didn't crash, just printed the error message on console:)

java.lang.ArrayIndexOutOfBoundsException: 15
       at GameEngine.drawForeground(
       at GameEngine.renderGameOffscreen(
       at GameEngine.update(
       at sun.awt.RepaintArea.paint(
       at sun.awt.motif.MComponentPeer.handleEvent(
       at java.awt.Component.dispatchEventImpl(
       at java.awt.Container.dispatchEventImpl(
       at java.awt.Component.dispatchEvent(
       at java.awt.EventQueue.dispatchEvent(
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(
       at java.awt.EventDispatchThread.pumpEvents(
       at java.awt.EventDispatchThread.pumpEvents(

malloc will be first against the wall when the revolution comes...
Offline blahblahblahh

JGO Coder

Medals: 1

« Reply #4 - Posted 2004-08-06 18:07:07 »

I'd just like to add a big "thank you" for putting in a clear, simple controls-screen in-game! If only everyone did this...

/me cheers

...although it would be nice to have the menus mouse-controlled too!

...and even nicer to redefine keys! some of them are in "stupid" positions on my KB.

/me eagerly awaits webstart version running 10 times as fast

malloc will be first against the wall when the revolution comes...
Offline 2DGamer

Senior Newbie

Java games rock!

« Reply #5 - Posted 2004-08-07 10:54:46 »

Thanks for the feedback. Why the lack of love for the basic applet?  Grin I'll see what I can do to get a webstart application up and running. Never really done that before but I'm sure I can google my way to a  tutorial of some kind. What's the basic advantage? Runs faster?

As far as the level goes there's really no where else to go aside from the two rooms.

Not sure why things slow down when items are picked up. A dialog box pops up then so maybe that's where the problem lies ...

Now about the array out of bounds exception ... well as long as the game didn't crash lets pretend it never happened!   Wink
Suggestions on more user friendly keys are welcomed.

Well, I guess thats it for now. I'm of to Google a little Smiley

*little edit: Thanks for the control screen cheer Smiley I ripped the little key pictures and I'll be sure to mention their rightful owner when I get the credits up and running. (There ... now I'm in the clear of any lawsuits!)
Offline nonnus29

Senior Devvie

Giving Java a second chance after ludumdare fiasco

« Reply #6 - Posted 2004-08-07 16:25:48 »

I know I should buy a new monitor and move into the 21st century, but why is this applet so freaking huge?  Its a bit to big to display in a browser at 800x600.  Also, it would be nice to load all your resources at startup.  My crappy dialup isp dropped my connection while I played and when I entered the other room I got this;

Quote No route to host: connect


     at Level.loadLevel(

     at GameEngine.setLevel(

     at Level1.handleDoor(

     at SpaceStationII.handleDoor(

     at GameEngine.playerInFrontOfDoor(

     at SpaceStationII.keyHandler(

     at SpaceStationII.gameCycle(


Its always goot to do something in those try/catch blocks!

Otherwise, it ran smoothly.  I agree with these guys it could be sped up a bit.  Also, I'm not sold on the green block guy fun factor  Tongue .
Offline 2DGamer

Senior Newbie

Java games rock!

« Reply #7 - Posted 2004-08-07 19:19:40 »

hehe ... the green block guy is only a temp. I can draw VERY basic tiles like ladders/air vents etc, but any sprite animation of the hero would end up as a poorly drawn stick figure Tongue

Thanks for the error message ... I'll see what I can do to prevent it.
Offline 2DGamer

Senior Newbie

Java games rock!

« Reply #8 - Posted 2004-08-09 12:12:58 »

Well, the webstart thing-a-ma-jig is up and running (I hope. It worked here but that never seems to hold true for others Tongue).

No fullscreen yet.
Offline zparticle

Senior Devvie

Thick As A Brick

« Reply #9 - Posted 2004-08-09 12:41:40 »

It works

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

JGO Coder

Medals: 1

« Reply #10 - Posted 2004-08-09 12:45:10 »

yup, works fine on linux.

A few weirdnesses though (didn't mention earlier)

- it is allegedly a "signed applet" according to webstart (JWS's emphasis!).
- it's really disturbing the way that every piece of scenery that appears in front of the player in depth sort is artificially intelligent - they jump either left or right or up and down when you walk around. The toxic waste in the gun room jumps up and down, the blue thing outside that room wiggles left and right. Bizarre Smiley
- there's lots of other niggles with gameplay etc, but I think nothing important until you fix the very very very slow speed problem!

malloc will be first against the wall when the revolution comes...
Offline Orangy Tang

JGO Kernel

Medals: 57
Projects: 11

Monkey for a head

« Reply #11 - Posted 2004-08-09 15:40:46 »

Works quite nicely, and well polished, but it would be good to have a few more levels to play around in. Smiley

Speed seems to be all over the place - sometimes smooth, sometimes sluggish, occasionally speeding up a little. Doesn't seem to have any sort of pattern, I'd guess it might be drawing slowdown. A few other drawing glitches here and there as well - occasionally tiles ending up in totally the wrong place and 'shimmering' objects, could be rounding errors? Or perhaps some odd double buffering problems.

[ - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline 2DGamer

Senior Newbie

Java games rock!

« Reply #12 - Posted 2004-08-09 17:36:40 »

Thanks again for all the feedback .. though this is starting to freak me out a little. The tiles seem to stay in place here! Maybe I should start a new thread in a more appropriate topic and post a little code   (unless none of you mind if this thread runs a little off topic).

About the game slowness ... I have removed all anti aliasing and transparency operations so maybe it'll run a little faster now (At least its not abusing the CPU as much as before ... according to Windows Task Manager  Tongue ) I've updated the link from my previous post.
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.

theagentd (11 views)
2015-01-28 15:33:52

GamerIDGoesHere (24 views)
2015-01-27 01:23:23

GamerIDGoesHere (23 views)
2015-01-27 01:22:15

CopyableCougar4 (29 views)
2015-01-27 00:34:41

CopyableCougar4 (19 views)
2015-01-26 04:47:56

Olo (14 views)
2015-01-25 21:26:00

Olo (17 views)
2015-01-25 18:44:22

Robo11 (32 views)
2015-01-25 06:14:26

basil_ (28 views)
2015-01-17 22:29:32

wxwsk8er (27 views)
2015-01-16 21:42:21
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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‑
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!