Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (525)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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  
  StarballX v0.19 (gage based)  (Read 4539 times)
0 Members and 1 Guest are viewing this topic.
Offline zulo

Junior Devvie




Java games rock!


« Posted 2003-08-18 18:44:52 »

hey

I uploaded a test version of my game today, so If anyone wants to try it go ahead..

http://afweb.hit.no/~u022304/StarBallXv0.19.zip

you need java 1.4.2 to run it
Offline darcone

Junior Devvie




Size matters


« Reply #1 - Posted 2003-08-18 20:11:01 »

I wasn´t able to run the .jar .. dunno if it´s my java or anything
Offline Markus_Persson

JGO Wizard


Medals: 16
Projects: 19


Mojang Specifications


« Reply #2 - Posted 2003-08-18 20:19:14 »

same here. It just hangs and gobbles cpu for a while. =/

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

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #3 - Posted 2003-08-18 20:54:17 »

jar didnt do anything so I un-jar'd it and tried from console...

got error:

New Acceleration Threshold: 0
Acceleration for translucent images is enabled.

WIDTH: 34 Height: 30

****************
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC                = 0x182d9e6d
SIGNAL            = -1073741819
FUNCTION NAME     = (N/A)
OFFSET            = 0xFFFFFFFF
LIBRARY NAME      = (N/A)
Please check ERROR REPORT FILE for further information, if there is any.
Good bye.

Sacramento Volleyball
"Whitty phrase goes here."
Offline zulo

Junior Devvie




Java games rock!


« Reply #4 - Posted 2003-08-19 08:33:42 »

ok thanks for testing.

I have uploaded it again, I think something was wrong with the last zip file.

http://afweb.hit.no/~u022304/sbxtest.zip

This is what I do to run it:
-Unzip
-open a console and change to the bin directory.
-run the game with "java -jar StarBallX.jar"

By some strange reason when starting it the first time it always stops with a white screen then hangs. If that happens just type ctrl+c to end it.
Then when you try again it works (have no idea why it works the second time)

Hope it works now Smiley
Offline zparticle

Senior Devvie




Thick As A Brick


« Reply #5 - Posted 2003-08-19 12:57:54 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
C:\temp\sbx\bin>java -jar StarBallX.jar
New Acceleration Threshold: 0
Acceleration for translucent images is enabled.
WIDTH: 34 Height: 30WIDTH: 34 Height: 30WIDTH: 34 Height: 34WIDTH: 34 Height: 34WIDTH: 56 Height: 50WIDTH: 56 Height: 50
C:\temp\sbx\bin>java -jar StarBallX.jar
WIDTH: 34 Height: 30WIDTH: 34 Height: 30New Acceleration Threshold: 0
Acceleration for translucent images is enabled.
WIDTH: 34 Height: 34WIDTH: 34 Height: 34WIDTH: 56 Height: 50WIDTH: 56 Height: 50
C:\temp\sbx\bin>java -jar StarBallX.jar
WIDTH: 34 Height: 30WIDTH: 34 Height: 30New Acceleration Threshold: 0
Acceleration for translucent images is enabled.
WIDTH: 34 Height: 34WIDTH: 34 Height: 34WIDTH: 56 Height: 50WIDTH: 56 Height: 50


Doesn't do anything. Sad

Offline Slimer

Junior Newbie




"Very funny Scotty... Now beam down my clothes."


« Reply #6 - Posted 2003-08-19 19:55:06 »

I'm afraid I get the same... It spits out the following and nothing else.

C:\Temp\starball\bin>java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

C:\Temp\starball\bin>java -jar StarBallX.jar
WIDTH: 34 Height: 30WIDTH: 34 Height: 30New Acceleration Threshold: 0
Acceleration for translucent images is enabled.
WIDTH: 34 Height: 34WIDTH: 34 Height: 34WIDTH: 56 Height: 50WIDTH: 56 Height: 50
C:\Temp\starball\bin>

--------------------------------
http://www.alienfactory.co.uk
--------------------------------
Offline zulo

Junior Devvie




Java games rock!


« Reply #7 - Posted 2003-08-21 11:57:43 »

ok now it should work..had some trouble making a jar, because i didnt know i had to unpack gage2d and timer.jar in the main jar file.

So, wanna try it again? dl is smaller now because i removed two png files that was 400kb.

http://afweb.hit.no/~u022304/sbx019.jar

on my computer it stops at a white screen the first time i run it, but if i try to run it again it works..no idea why.

btw. should I be using mediatracker in a game like this?
Offline troggan

Junior Devvie




no guts no glory


« Reply #8 - Posted 2003-08-21 12:14:36 »

look here http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=2D;action=display;num=1058363828;start=3#3 Smiley

(http://www.wannawork.de) - Will work for food
(http://tvbrowser.org) - Java EPG
Offline zulo

Junior Devvie




Java games rock!


« Reply #9 - Posted 2003-08-21 14:27:30 »

ok ill try to use imageio instead of mediatracker..
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline troggan

Junior Devvie




no guts no glory


« Reply #10 - Posted 2003-08-21 15:22:39 »

I see the menu, but if i want to play the game, it crashes with that message :

WIDTH: 34 Height: 30WIDTH: 34 Height: 30WIDTH: 34 Height: 34WIDTH: 34 Height: 34
WIDTH: 56 Height: 50WIDTH: 56 Height: 50

troggan

(http://www.wannawork.de) - Will work for food
(http://tvbrowser.org) - Java EPG
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #11 - Posted 2003-08-21 17:18:13 »

Same here.
Also, the screen appears in the upper left corner of an otherwise white screen.

Erik

Offline Slimer

Junior Newbie




"Very funny Scotty... Now beam down my clothes."


« Reply #12 - Posted 2003-08-22 05:45:37 »

Same again here too :  Sad

C:\Temp\starball>java -jar Sbx019.jar

...GameState.intro....
...GameState.intro....
...GameState.meny....
New Acceleration Threshold: 0
...GameState.meny....
Acceleration for translucent images is enabled.
...GameState.meny....
...GameState.meny....
WIDTH: 34 Height: 30WIDTH: 34 Height: 30WIDTH: 34 Height: 34WIDTH: 34 Height: 34WIDTH: 56 Height: 50WIDTH: 56 Height: 50

C:\Temp\starball>

I never saw the Intro, just a flickery white screen - that may be to do with screen resolution / screen depth / frequency etc. Do you check if the desired screen setting is available?

The main menu (StarBall - Play - Quit) appeared alright though.

--------------------------------
http://www.alienfactory.co.uk
--------------------------------
Offline zulo

Junior Devvie




Java games rock!


« Reply #13 - Posted 2003-08-22 09:59:20 »

the flickering screen happens while it waits for the
intro image to load(not using imageio yet),and i dont refill the screen so thats probably why.

the fullscreen settings i use are from the gage2d shooter example. I have set the resolution to be 640x480x60.

maybe these errors could be because of the acceleration values i set? (buggy?)

do you think I should use the gage src in my project instead of the precompiled? maybe its buggy because i use java 1.4.2 and gage was compiled with 1.4.1_02(i think)



Offline jbanes

JGO Coder


Projects: 1


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


« Reply #14 - Posted 2003-08-22 12:29:14 »

Zulo,

Whatever the problem is, its in your code. It's not the packaging, it's not the source. It's something you have that noone else does. (For example, libraries hidden away in your ext directory.) How about you mail me with the source and I'll see about helping you get going.

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

Junior Devvie




Java games rock!


« Reply #15 - Posted 2003-08-22 12:42:06 »

thank you!
I sent you the source in mail.
Offline darcone

Junior Devvie




Size matters


« Reply #16 - Posted 2003-08-22 14:18:30 »

And please to a executable .jar or web start so that we dont have to unzip it and all. Or at least include a .bat file so that we dont have to go into console etc.
Offline jbanes

JGO Coder


Projects: 1


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


« Reply #17 - Posted 2003-08-22 14:18:42 »

Quote
thank you!
I sent you the source in mail.


And I've sent you the answer. Smiley

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

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #18 - Posted 2003-08-22 17:05:51 »

Quote
Or at least include a .bat


Hey darcone, you don't ask a java developer for a .bat  Grin

Offline zulo

Junior Devvie




Java games rock!


« Reply #19 - Posted 2003-08-23 09:23:58 »

Jbanes fixed it easy Smiley hehee

And i should know how to catch Exceptions properly from now on..

And ill make it webstart the next time.
Offline zulo

Junior Devvie




Java games rock!


« Reply #20 - Posted 2003-08-28 20:10:47 »

hey

starballx v0.21 is ready for a test, its working now. (id be really shocked if it doesnt work on any other computer this time)

I tried to make it webstart but the university webspace is not available right now, so I had to put it somewhere else and they didnt support jnlp.

So you must download the jar if you want to test it. It still happens that it wont start until the third time you try it. the other times it halts at a white screen.

its located here:
http://starballx.port5.com/sbx021.jar
Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #21 - Posted 2003-08-29 04:56:52 »

I can roll the ball off the cliff and then it locks up. Does it do anything else?

Sacramento Volleyball
"Whitty phrase goes here."
Offline zulo

Junior Devvie




Java games rock!


« Reply #22 - Posted 2003-08-29 08:31:08 »

Thanks for taking the time to try it.

theres no limit to where you can go so when you get outside the map the game crashes.

The only thing you can do is jump,walk left and right and jump the monster so it dies. This is just a basic test for the game, this is what i got so far. The game detects when you hit the monster but you dont die yet, you can jump the monster and kill it but you have to hit right on top of it. But now that I know it works on other computers i can continue with making more sprite types,different enemies and more logic. Think i need better graphics too but thats the last thing i wanna do.
Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #23 - Posted 2003-08-29 20:35:06 »

what are the controls? I didnt see them in your post. Forgive my ignorance! I can only move left and right. Up and down dont do anything.

Sacramento Volleyball
"Whitty phrase goes here."
8: Undefined index: online
File: /home/jgo/public_html/Themes/default/Display.template.php (main sub template - eval?)
Line: 161