Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
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  
  CroAsteroids on www.javagamesfactory.org  (Read 7340 times)
0 Members and 1 Guest are viewing this topic.
Offline nardev

Senior Newbie





« Posted 2005-11-11 08:46:31 »

I have just uploaded a functional version of CroAsteroids. If anyone has a minute or two to kill to check it out and post a comment here it would be real appreciated. The game is on www.javagamesfactory.org, name is CroAsteroids. Link: http://www.javagamesfactory.org/views/view-game?name=CroAsteroids. Thanks in advance!

go LWJGL!!!

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline hvor2

Junior Devvie




Beyond mind, there is an awareness...


« Reply #1 - Posted 2005-11-11 09:39:44 »

The movement is pretty smooth an I liked it. There is a big lack of sounds though. Idea is pretty original and interesting and I liked the backgroung image.
P.S. I noticed that my shots change color and don't know if that is intentional?
If you add more levels with more backgrounds and growingly heavier equations , it could raise your gameplay.
Keep it up!

Offline nardev

Senior Newbie





« Reply #2 - Posted 2005-11-11 10:59:29 »

The movement is pretty smooth an I liked it. There is a big lack of sounds though. Idea is pretty original and interesting and I liked the backgroung image.
P.S. I noticed that my shots change color and don't know if that is intentional?
If you add more levels with more backgrounds and growingly heavier equations , it could raise your gameplay.
Keep it up!

thanks for the info. I am planning to add levels and different math equations, although it will get complicated. The shots are still undecided for.. I need to put some kind of offect around them but have not decided what yet. At the moment it's a sphere with a particle effect. Something like a burning bullet. I need to play with colors, textures. I would also like to add a timer going against the player in each level and a score list. How do they do that with webstart? If all the files are downloaded to the local machine where can you write the scores to so that other players would see them? I don't understand that part.

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 119
Projects: 15


★★★★★


« Reply #3 - Posted 2005-11-11 13:48:06 »

looks like a good game but i get the following error

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
   at java.lang.Runtime.loadLibrary0(Runtime.java:822)
   at java.lang.System.loadLibrary(System.java:992)
   at org.lwjgl.Sys$1.run(Sys.java:67)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.lwjgl.Sys.<clinit>(Sys.java:65)
   at org.lwjgl.opengl.Display.<clinit>(Display.java:104)
   at CroAsteroids1.lib.Asteroids.createWindow(Asteroids.java:251)
   at CroAsteroids1.lib.Asteroids.init(Asteroids.java:267)
   at CroAsteroids1.lib.Asteroids.run(Asteroids.java:113)
   at CroAsteroids1.lib.Asteroids.main(Asteroids.java:107)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at com.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
   at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
   at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
   at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
   at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
   at com.sun.javaws.Launcher.run(Launcher.java:165)
   at java.lang.Thread.run(Thread.java:595)
#### Java Web Start Error:
#### null
Offline nardev

Senior Newbie





« Reply #4 - Posted 2005-11-11 15:55:16 »

First of all thanks for checking it out kapta.

Secondly, there might be two solutions to this error:

1. Either you need to erase the cached version of CroAsteroids of your computer. Reasons?! Who needs reasons when you've got heroin.

2. I need to put up dll's for linux as hvor suggested. Which is something I will do immediately.

Again thanks for the feedback. Appreciated!

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline nardev

Senior Newbie





« Reply #5 - Posted 2005-11-12 13:47:49 »

at the moment i am having problems setting which jar is at the top of the list in the .jnlp file (which jar holds the runner class) so if you get an error that looks like this:

Could not find main-class CroAsteroids1.lib.Asteroids in http://www.javagamesfactory.org/attachments/game/CroAsteroids/alpha%2F4%2Flwjgl.jar

sorry...otherwise post it here so i can fix whatever i can.

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline nardev

Senior Newbie





« Reply #6 - Posted 2005-11-12 14:18:49 »

thank the lord the main jar is at the top of the list  Grin...things should not be this uncertain with computers...

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline nardev

Senior Newbie





« Reply #7 - Posted 2005-11-12 18:24:11 »

I am still having problems with textures. Locally it runs ok, and the asteroids have ok textures. But when i upload it they get loaded without an error, however they are blak. On the other hand the cursor pointing at the position and operators have a little red going accross them which is a part of the texture. The texture is sphere mapped, but the white is not showing. I am going crazy here...

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline Vorax

Senior Devvie


Projects: 1


System shutting down in 5..4..3...


« Reply #8 - Posted 2005-11-12 18:44:34 »

The game looks neat but it has a rather serious memory leak.  It's eating 10-12 MB every second or so on my machine (viewed in Task manager between Mem Usage and VM Size).

Offline nardev

Senior Newbie





« Reply #9 - Posted 2005-11-12 19:53:51 »

Shiiiiznit...thank you for the info. I've never dealt with these kinds of errors...i'm getting all excited...Grin
The game is not complicated so i shouldn't have problems discovering the leak....right... Undecided

it's really nice to get some response!
Thanks again Vorax  Smiley

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline nardev

Senior Newbie





« Reply #10 - Posted 2005-11-13 11:00:25 »

The game looks neat but it has a rather serious memory leak.  It's eating 10-12 MB every second or so on my machine (viewed in Task manager between Mem Usage and VM Size).

I found the leak. Horrible...

i had this in a loop when drawing models:
ByteBuffer buffer = ByteBuffer.allocateDirect(16).order(ByteOrder.nativeOrder());

i placed it as a class variable so it is called once and then i buffer.clear(); it.
I wonder what th edifference is between allocate and allocateDirect?

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline anarchotron

Junior Devvie




...precious bodily fluids.


« Reply #11 - Posted 2005-11-13 20:35:40 »

Pretty cool gameplay, and gorgeous looking too.  Your background images are pretty large though, might want to save them out in a smaller format or smaller size.
Offline nardev

Senior Newbie





« Reply #12 - Posted 2005-11-14 14:08:53 »

Yes indeed...i see some of the games here are under 4 MB and are much more complex than mine. Technopolies and Monstrumo for example. I'll have to do that, i just hope the picture ends up looking just as nice. It's a big part of the game design...

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline anarchotron

Junior Devvie




...precious bodily fluids.


« Reply #13 - Posted 2005-11-14 16:36:05 »

Well I used photoshop to re-save one of the 400k+ ones (the first one you see) at 75% or so quality and the file was about 1/4 the original size and had no differences that I could discenern with my eye looking at it full size.  Also, the backgrounds are 1024x768, yet I don't see any way to run the game at anything other than 800x600.  So there's no point in having the backgrounds larger than your max game res either.
Offline hvor2

Junior Devvie




Beyond mind, there is an awareness...


« Reply #14 - Posted 2005-11-14 17:32:02 »

I also noticed that you are working with bitmaps for number textures. I totaly agree with anarchotron - switch them all into jpgs to get smaller game jar.

Offline nardev

Senior Newbie





« Reply #15 - Posted 2005-11-14 17:45:37 »

will do...thanks boyz...poisoning our precious bodily fluids with extra bytes! Arrr....

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline Alan_W

JGO Knight


Medals: 8
Projects: 3


Java tames rock!


« Reply #16 - Posted 2005-11-15 21:45:48 »

Worked fine for a bit, then started to get garbage collections every second or so.  Maybe look through your main loop and try to reduce the number of objects that are created and discarded.

Also I need to look for and read the game instructions  Wink

Alan

Time flies like a bird. Fruit flies like a banana.
Offline nardev

Senior Newbie





« Reply #17 - Posted 2005-11-16 12:24:10 »

I've been trying to upload a new version on JGF but i am having problems. The automated JNLP creator is not working the way it should so the jar having the main class is not on top of the list of JARS and it has to be (one of the webestart rules). I've tried deleting and uploading everything again and again but it wont work. It's so frustrating.

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline hvor2

Junior Devvie




Beyond mind, there is an awareness...


« Reply #18 - Posted 2005-11-16 12:34:17 »

I wrote to blahblahblah on that problem (I realised it, too). Hopefully  he will fix it soon. I know how frustrating it can be  Wink.

Offline nardev

Senior Newbie





« Reply #19 - Posted 2005-11-21 12:18:56 »

The new homepage of CroAsteroids where you can find the latest version is:

http://vedsta5.freeserverhost.com/

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline g666

Junior Devvie





« Reply #20 - Posted 2005-11-22 20:29:25 »

I think this game would be more nice to look at if the ship only rolled when it is turning (to a maximum point of rotation) rather than all the time.

desperately seeking sanity
Offline nardev

Senior Newbie





« Reply #21 - Posted 2005-11-22 22:15:33 »

Sorry...do you mean it should only rotate while you are holding down the turn keys? So if i turned for a half a sec it would rotate for lets say 30 degrees around itself and stay like that as soon as i release the turn button? I don't understand the 'maximum point of rotation'. Maybe you mean as soon as you press a turn button it turns for 360 around itself? If you catch some time please elaborate for my sake Wink


I think this game would be more nice to look at if the ship only rolled when it is turning (to a maximum point of rotation) rather than all the time.

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Offline g666

Junior Devvie





« Reply #22 - Posted 2005-11-23 21:24:46 »

Sorry...do you mean it should only rotate while you are holding down the turn keys? So if i turned for a half a sec it would rotate for lets say 30 degrees around itself and stay like that as soon as i release the turn button? I don't understand the 'maximum point of rotation'. Maybe you mean as soon as you press a turn button it turns for 360 around itself? If you catch some time please elaborate for my sake Wink


I think this game would be more nice to look at if the ship only rolled when it is turning (to a maximum point of rotation) rather than all the time.


I mean that when you press the arrow key the ship should rotate in that direction (aswell as turning) until it reaches a limit, then when you release that key, the ship would return to the original rotation. You could make it linked to the moement somehow, so that say, it only rotates when you have the thrust on.

hope i made sense Tongue

desperately seeking sanity
Offline nardev

Senior Newbie





« Reply #23 - Posted 2005-11-24 08:26:56 »

yes you did. I will look into that to see if it looks and feels better. Maybe a combination of that and something else would do too. I'l play around though. Thanks for the feedback! Appreciated! Smiley

<a href="http://vedsta5.freeserverhost.com/">CroAsteroids</a> - Shoot asteroids while doing math equations.
Pages: [1]
  ignore  |  Print  
 
 

 
Ecumene (146 views)
2017-09-30 02:57:34

theagentd (213 views)
2017-09-26 18:23:31

cybrmynd (295 views)
2017-08-02 12:28:51

cybrmynd (284 views)
2017-08-02 12:19:43

cybrmynd (294 views)
2017-08-02 12:18:09

Sralse (287 views)
2017-07-25 17:13:48

Archive (966 views)
2017-04-27 17:45:51

buddyBro (1092 views)
2017-04-05 03:38:00

CopyableCougar4 (1663 views)
2017-03-24 15:39:42

theagentd (1425 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!