Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
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  
  Yet another scroller  (Read 3353 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.

http://home.chello.no/~ttollefs/game/scroller/scroller.html

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 Member




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


http://t-machine.org


« 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(GameEngine.java:485)
       at GameEngine.renderGameOffscreen(GameEngine.java:853)
       at GameEngine.update(GameEngine.java:801)
       at sun.awt.RepaintArea.paint(RepaintArea.java:169)
       at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:405)
       at java.awt.Component.dispatchEventImpl(Component.java:3678)
       at java.awt.Container.dispatchEventImpl(Container.java:1627)
       at java.awt.Component.dispatchEvent(Component.java:3477)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
       at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


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

JGO Coder


Medals: 1


http://t-machine.org


« 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 Member




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

java.net.NoRouteToHostException: No route to host: connect

java.lang.NullPointerException

     at Level.loadLevel(Level.java:55)

     at GameEngine.setLevel(GameEngine.java:1163)

     at Level1.handleDoor(Level1.java:24)

     at SpaceStationII.handleDoor(SpaceStationII.java:424)

     at GameEngine.playerInFrontOfDoor(GameEngine.java:994)

     at SpaceStationII.keyHandler(SpaceStationII.java:285)

     at SpaceStationII.gameCycle(SpaceStationII.java:90)

     at FPSThread.run(FPSThread.java:18)



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).

http://student.iu.hio.no/~s113388/SpaceStationII.jnlp

No fullscreen yet.
Offline zparticle

Senior Member




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


http://t-machine.org


« 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: 56
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.

[ TriangularPixels.com - 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.

BurntPizza (21 views)
2014-09-19 03:14:18

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

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

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

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

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

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

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

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

Longarmx (36 views)
2014-09-07 01:10:19
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!