Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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  
  GrassVeins  (Read 3281 times)
0 Members and 1 Guest are viewing this topic.
Offline benny!

Senior Newbie




in this place forever!


« Posted 2008-07-06 08:02:50 »

Hi,

not a game - just a little effect as an applet.
Source is also available - so maybe someone find it useful:

http://labs.weltenkonstrukteur.de/grassveins

Requires Java RTE1.6.

Greetings,
benny!

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline zammbi

JGO Coder


Medals: 4



« Reply #1 - Posted 2008-07-06 09:26:06 »

Hehe that's cool.

Current project - Rename and Sort
Offline CommanderKeith
« Reply #2 - Posted 2008-07-06 11:08:32 »

I got this error on java 6 update 10, windows XP:


Exception in thread "thread applet-GrassVeins-1" java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file de/quippy/javamod/main/gui/PlayThread
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at EasyModPlay.doStartPlaying(EasyModPlay.java:110)
   at GrassVeins.init(GrassVeins.java:56)
   at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

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

Senior Newbie




in this place forever!


« Reply #3 - Posted 2008-07-06 11:24:43 »

@zammbi:
Thanks. Glad you like it.

@CommanderKeith:
Thanks for reporting. Strangely, I got this error before several
times. But after clearing my cache and restarting browser I never
got this error again ? I also browsed google concerning this error -
but didnt come to a solution.

Hmmm ... that's really strange - anyone can give a hint ?

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline bienator

Senior Devvie




OutOfCoffeeException


« Reply #4 - Posted 2008-07-06 12:31:46 »

pretty cool!

(maybe you could provide it as screen saver https://jdic.dev.java.net/documentation/incubator/screensaver/ Wink)

Offline DzzD
« Reply #5 - Posted 2008-07-06 13:28:05 »

screen saver is a good idea,  maybe let the music be parametrizable

Offline benny!

Senior Newbie




in this place forever!


« Reply #6 - Posted 2008-07-06 16:50:12 »

Thanks for the nice words - glad you like it.

@bienator:
Wow ... what a cool link. Never heard about that screensaver project
before. Really interesting. Thanks a lot for sharing!

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #7 - Posted 2008-07-07 18:28:15 »

Got this in Opera running java 1.6.0_05-b13:
Exception in thread "Thread-47" java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO
   at GrassVeins.reinit(GrassVeins.java:77)
   at GrassVeins.init(GrassVeins.java:48)
   at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:438)
   at com.opera.AppletPanel.run(AppletPanel.java:334)
   at java.lang.Thread.run(Unknown Source)

Runs fine in IE. Nice effect.

Offline benny!

Senior Newbie




in this place forever!


« Reply #8 - Posted 2008-07-07 19:15:21 »

Got this in Opera running java 1.6.0_05-b13:
Exception in thread "Thread-47" java.lang.NoClassDefFoundError: Could not initialize class javax.imageio.ImageIO
   at GrassVeins.reinit(GrassVeins.java:77)
   at GrassVeins.init(GrassVeins.java:48)
   at com.opera.AppletPanel.runHandlerThread(AppletPanel.java:438)
   at com.opera.AppletPanel.run(AppletPanel.java:334)
   at java.lang.Thread.run(Unknown Source)

Runs fine in IE. Nice effect.

Thanks for reporting. Strange ? If it runs on IE - does this mean that it is an error
in Opera ? Anyone can help ?

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline zammbi

JGO Coder


Medals: 4



« Reply #9 - Posted 2008-07-14 09:27:19 »

I got this error when loading it:
java.lang.ClassFormatError: Incompatible magic value 1008813135 in class file de/quippy/javamod/main/gui/PlayThreadEventListener
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at sun.applet.AppletClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$000(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at sun.applet.AppletClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.applet.AppletClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   at GrassVeins.init(GrassVeins.java:55)
   at sun.applet.AppletPanel.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

and now I just keep getting this when I refresh:

java.lang.ClassFormatError: EasyModPlay
   at GrassVeins.init(GrassVeins.java:55)
   at sun.applet.AppletPanel.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Current project - Rename and Sort
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline benny!

Senior Newbie




in this place forever!


« Reply #10 - Posted 2008-07-14 10:12:11 »

@zammbi:

Thanks for the error reporting. This is really strange.
Seems that javamod causes that error.

Could you try this applet please:

http://labs.weltenkonstrukteur.de/sketchycube

I used another player in here (MicroMod replay routine).

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline zammbi

JGO Coder


Medals: 4



« Reply #11 - Posted 2008-07-14 10:54:11 »

Yep works well, though so did this one at first  Huh

Current project - Rename and Sort
Offline benny!

Senior Newbie




in this place forever!


« Reply #12 - Posted 2008-07-14 12:02:05 »

None-reproducable error - I hate them  Angry
Thanks anyway for testing and reporting!

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
Offline zammbi

JGO Coder


Medals: 4



« Reply #13 - Posted 2008-07-14 12:16:20 »

Just cleared my cache and reloaded it, now works fine  persecutioncomplex

Current project - Rename and Sort
Offline CommanderKeith
« Reply #14 - Posted 2008-08-01 02:31:20 »

Hi Benny,

Do you think this program of yours could be used to make textures of unlimited size which look similar to these? :

http://www.cgtextures.com/textures.php?t=browse&q=124

I’m looking for a way to get cool-looking terrain for my top-down view game. I don’t want to use pre-made textures because I can’t get them to look good when tiled since the edges are so obvious. I was thinking that I could use your code to make a big image which is rendered when the level is loaded.

There are more textures on this site, which was linked to by a JGO’er: http://www.cgtextures.com/

Cheers,
Keith

Offline benny!

Senior Newbie




in this place forever!


« Reply #15 - Posted 2008-08-01 04:49:40 »

@CommanderKeith:

Hmm .. interesting questions. When looking at the following picture,
e.g. :

http://www.cgtextures.com/texview.php?id=11696&s=S&PHPSESSID=ad3da04375c058dd75335f734f60113c

I could imagine that it would be possible. You could play with the
following:

1.) Create a noise pattern with "sandy" colors. Then you might
end up with something similar to the above image.

2.) Then use my Vein code to simulate the "cracks" in the earth
using black color. If you modifiy this a bit with random starting
position etc. - this might end up in an interesting texture.


Feel free to try it and post some examples if you are done. Interesting
idea.

Good luck  Wink

[ BLOG - LABS - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]
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.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (76 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (114 views)
2014-11-26 15:22:04

toopeicgaming1999 (102 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
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

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
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!