Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Lode Runner remake  (Read 8817 times)
0 Members and 1 Guest are viewing this topic.
Offline ReBirth
« Reply #30 - Posted 2011-06-05 04:13:00 »

Tested win32 version but it said cannot manifest main-class and so on.

Offline m_waddams
« Reply #31 - Posted 2011-06-06 11:03:21 »

Applet version worked fine, though there were no sounds. How do you go to full screen in the applet?
Press 'F'. Unless you mean in the code, then it's the same as in the application version, I just do 'Display.setFullscreen(fullscreen);' (which happens to toggle between true and false). Switching back should work now too. Only problem is I lose the mouse focus, haven't figured out how to get it back. The user will have to click the playing window first... (unless he/she is using a joystick, that doesn't seem to need focus.
I guess I need to mention F1 somewhere, I don't want it to show permanently on the Titlescreen though.

Any idea about the sounds? A new version is available, maybe try that? Loading time is now down to 7 or 8 seconds, and it shows the Titlescreen after 2 Smiley
Offline m_waddams
« Reply #32 - Posted 2011-06-06 11:05:39 »

Tested win32 version but it said cannot manifest main-class and so on.
More info please Smiley
OS, exact error, Java version. Did you use the batch file or java -jar?

And could you try the applet?
Thanks!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline m_waddams
« Reply #33 - Posted 2011-06-06 11:30:45 »

Never thought of testing that... Went to fullscreen OK, but black screen again in the way back, but this time I could at least alt-tab away from it. This could naturally have something to do with it:

1  
2  
java.io.FileNotFoundException: LodeRunner.cfg (Access is denied)
   at java.io.FileOutputStream.open(Native Method)

Hmm, doesn't trouble my system. Is there a way to test if the prog is running as an Applet or Application?

Quote
Hmm, I have that with a wrongly calibrated joystick sometimes, otherwise this is new to me...
Could be. Tried to control it with wheel, but no luck
It asks for calibration now, if it sees it will go haywire Smiley If you still have a 'stuck' key, you probably need to disconnect any controller (except the keyboard and mouse of course).
Offline jojoh

JGO Knight


Medals: 5
Projects: 7


games4j.com


« Reply #34 - Posted 2011-06-06 14:42:20 »

It asks for calibration now, if it sees it will go haywire Smiley If you still have a 'stuck' key, you probably need to disconnect any controller (except the keyboard and mouse of course).
That fixed it Smiley

Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #35 - Posted 2011-06-08 11:18:03 »

Applet version worked here.. with sounds!
Win7 64-bit.

Offline m_waddams
« Reply #36 - Posted 2011-06-08 11:27:31 »

Applet version worked here.. with sounds!
Win7 64-bit.
Cool. I'm just trying to get webstart to work. Lode Runner Retro Webstart
Seems to work for Windows (32). Not sure about Linux though, could someone test? For some reason I can't get it to work, but don't get an error... (it seems to download native_windows.jar?)
Update: Wine had associated itself with webstart Smiley Aarrrggghhh
Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #37 - Posted 2011-06-08 20:34:00 »

Applet version worked here.. with sounds!
Win7 64-bit.
Cool. I'm just trying to get webstart to work. Lode Runner Retro Webstart
Seems to work for Windows (32). Not sure about Linux though, could someone test? For some reason I can't get it to work, but don't get an error... (it seems to download native_windows.jar?)
Update: Wine had associated itself with webstart Smiley Aarrrggghhh

Worked fine on win7 64-bit.
Although there were no problems, I think full-screen for testing these small games are a bit scary. I'd much rather go with windowed so if anything screws up, I have control of stuff. Smiley

Offline ReBirth
« Reply #38 - Posted 2011-06-09 08:13:45 »

Tested win32 version but it said cannot manifest main-class and so on.
More info please Smiley
OS, exact error, Java version. Did you use the batch file or java -jar?

And could you try the applet?
Thanks!

I used jar but it works now by using batch file. Can't get pass lv2 though Cheesy btw nice game!

Offline m_waddams
« Reply #39 - Posted 2011-06-09 08:44:30 »

Can't get pass lv2 though Cheesy btw nice game!
Level 2 Smiley Those are learning levels. The first difficult one should be level 6.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline m_waddams
« Reply #40 - Posted 2011-06-09 08:46:46 »

Although there were no problems, I think full-screen for testing these small games are a bit scary. I'd much rather go with windowed so if anything screws up, I have control of stuff. Smiley
It tries 640 by 480 at 60 Hz, everyone should have that. If not it will start windowed.
Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #41 - Posted 2011-06-09 18:55:21 »

Current wisdom is to use the user's current desktop resolution Smiley

Cas Smiley

Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #42 - Posted 2011-06-09 19:05:36 »

Although there were no problems, I think full-screen for testing these small games are a bit scary. I'd much rather go with windowed so if anything screws up, I have control of stuff. Smiley
It tries 640 by 480 at 60 Hz, everyone should have that. If not it will start windowed.

I didn't mean probems with the fullscreen, but if the application crash or locks up it's not nice to have it fullscreen. Tried that a couple of times with things on this board.

Offline m_waddams
« Reply #43 - Posted 2011-06-10 11:16:11 »

Current wisdom is to use the user's current desktop resolution Smiley

Cas Smiley
You mean a window as big as possible while still maintaining the scale? Or lose the aspect ratio?
Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #44 - Posted 2011-06-10 12:56:16 »

Current wisdom is to use the user's current desktop resolution Smiley

Cas Smiley
You mean a window as big as possible while still maintaining the scale? Or lose the aspect ratio?
Yes, maintain the scale and use black borders if you can't actually increase the UI size.

Cas Smiley

Offline m_waddams
« Reply #45 - Posted 2011-06-15 13:16:04 »

Yes, maintain the scale and use black borders if you can't actually increase the UI size.

Cas Smiley
Some strange behaviour on my dad's laptop. Windows Vista, pretty decent NVidia.
Fullscreen and windowed it positions on the lower left, leaving the rest of the screen/window black...  It doesn't seem to do anything with my 640 by 480 request. It just uses the current resolution, and creates a window/screen that size?

Another question, I'm using MODs for music, but they only stream? Seems to cause hickups. Play is much smoother if I turn the music off. Maybe I should preload the whole stream (if possible)?
Offline Tobse

Senior Newbie





« Reply #46 - Posted 2011-06-23 09:39:59 »

Nice game... I like retro ports -thats why I'am writing one. Runs fine on my winows 7 x32 system.
My tip: 1. Put the main class entry (loderunner.Game) into the Manifest file. Thats easy going when you export a game with Eclipse. 2. Move all natives (linux, mac, win 32/64) next to the jar. That may not you style if there are many files next to our jar, but its a great benefit for your user: They can play it on all supported systems with one download. And the batch file is no more needed for windows and mac, because the system search path for .ddl files it the working directory.
For windows user it would be also nice to have an exe file. You can create one easily out of your jar with Launch4j.
Greets,
Tobse

Offline m_waddams
« Reply #47 - Posted 2011-06-23 10:12:05 »

Nice game...
Thanks Smiley
Quote
For windows user it would be also nice to have an exe file. You can create one easily out of your jar with Launch4j.
Good idea, I'll have a look at this. Update: Works ok, but what is the added value? Maybe if I include the JRE's, but then I still need 2 versions? (32/64 bit).

Some remarks on your game (I didn't actually get to play it yet):
I usually am on a 1024x600 resolution, I like my netbook Smiley Windowed is way too big, can't see the lower half. Fullscreen doesn't work, still gives me the huge window that I can't resize Sad

Lose the CTRL-M's in the shellscript (doesn't work under Linux). Make it executable (chmod +x).
Oh, and please put your files in a directory! I just unzipped, what a mess...

On the positive side, it looks good, I'd like to try it Smiley
Offline Tobse

Senior Newbie





« Reply #48 - Posted 2011-06-23 12:23:47 »

Also thanks for reply. I'm not a linux user. Wat does this mean?:
Quote
Lose the CTRL-M's in the shellscript (doesn't work under Linux)
I have no chance to make the file executable under windows. Maybe I have to pack my app in a linux vm. Has anybody solved this problem?
I tested resizing my game, but it caused some problems with the nifty gui lib. Maybe I will include resizing in the future.

Offline m_waddams
« Reply #49 - Posted 2011-06-23 12:56:36 »

Wat does this mean?:
Quote
Lose the CTRL-M's in the shellscript (doesn't work under Linux)
It means linux users get:
bash: ./xswing.sh: /bin/sh^M: bad interpreter: No such file or directory

Save your unix files with unix line-endings (Just a '\n'. Windows uses '\r\n' ). Usually an editor option.

Quote
I have no chance to make the file executable under windows. Maybe I have to pack my app in a linux vm.
Maybe look at Cygwin, or try a dual boot.

BTW, I added a .EXE version with a nice icon. I included the 32bit JRE, I wonder if 64bit users need a 64bit JRE?
Offline avm1979
« Reply #50 - Posted 2011-07-09 00:29:10 »

Played the applet version on windows XP, 32 bit. Ran just fine for me, with sound and everything.

It was a blast. Really brought me back - even remembered to controls Smiley Very faithful recreation, and very well done. One of those simple games with so few actions you can take that nonetheless translate into surprisingly deep and interesting gameplay. Thank you for making it.

Offline m_waddams
« Reply #51 - Posted 2011-07-09 08:17:17 »

Thanks Smiley

I'm running into problems now Sad I'm trying to add championship levels, but my guards are just too clever. They won't do the stupid things they did in the original. Maybe I'll add some way to 'dumb' 'm down during play. I'm thinking of a bomb, which would shake the screen and make all guards fall down if they're on a bar (that's the main problem, in the original they try to match your vertical position without thinking, so they just go stand in a hole, with no way out...). An other option would be to have a light switch, they may fall in if they can't see Smiley
Offline ECJava

Junior Duke


Medals: 1



« Reply #52 - Posted 2011-07-18 18:53:13 »

there are a few bugs, like i would fall through a block when its still there. this is awesome work though, it brings me back to when the original lode runner was around when it was just black and green screen Cheesy
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #53 - Posted 2011-07-18 20:17:21 »

Works for me on Mac OS X, although I don't like Loderunner too much. Smiley

See my work:
OTC Software
Offline avm1979
« Reply #54 - Posted 2011-07-19 00:14:58 »

Works for me on Mac OS X, although I don't like Loderunner too much. Smiley

Blasphemy!

Although I don't know if I'd like it if it didn't bring me back the way it does. But I confess, I keep coming back here to play it Smiley

Offline m_waddams
« Reply #55 - Posted 2011-07-19 10:54:27 »

there are a few bugs, like i would fall through a block when its still there.
You mean a trap? That's a feature, not a bug Smiley Sometimes (very rare) it's possible a guard falls through a hole you dug... (probably a timing issue)
Pages: 1 [2]
  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!