Author Topic: Mother's Day Card:My first run at high quality graphics :)  (Read 5027 times)

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Well, after piddling around for I think two years, I finally have something in the area of simulation to post on the project forums.

I put this little "thing" together this morning for my mom.
Here's a screen shot. The island mass and house calmly rotate around the y axis.

Her favorite spot in the world would be on a beach, so I thought why not use my favorite graphics engine to put her there? All in crappy textures. ;D



If you want to try it out. Here it is. The main class is Main and I ran it with -Xmx300m
The jar file does not have the main class specified in the manifest so you have to run it in the command line with say

java -cp jpct.jar;lwjgl.jar;MD.jar -Xmx300m Main

assuming jpct,lwjgl,MD and the lwjgl dll are all in the local directory.

http://files.filefront.com/MDjar/;13738529;/fileinfo.html


« Last Edit: May 12, 2009, 02:23:02 am by JavaMan »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Mother's Day Card:My first run at high quality graphics
« Reply #1 on: May 10, 2009, 10:27:33 pm »
It's a bit awkward to get it to run...or in other words: I can't! I wrote a batch file to start it, with the correct jars included and such, but it failed because the Main.class in the jar isn't in the mothersday-package where it is supposed to be. I've corrected this too and now it starts, but my TFT doesn't offer the requested resolution of 1600*1200, so it fails again... :'(

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Mother's Day Card:My first run at high quality graphics
« Reply #2 on: May 10, 2009, 11:09:15 pm »
Quote
but it failed because the Main.class

Hmmm. That's strange. Did you run it like something java -cp jpct.jar;lwjgl.jar;MD.jar -Xmx300m Main2 ?

Quote
resolution of 1600*1200, so it fails again...
Ok, oops. I forgot some people may not be able to do that. I will upload one that tries some other resolutions.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11747
    • View Profile
    • http://www.jpct.net
Re: Mother's Day Card:My first run at high quality graphics
« Reply #3 on: May 10, 2009, 11:16:24 pm »
Quote
but it failed because the Main.class

Hmmm. That's strange. Did you run it like something java -cp jpct.jar;lwjgl.jar;MD.jar -Xmx300m Main2 ?
I've started Main. Should i have used Main2 instead?

Edit: I should have read your post better. Obviously, Main2 is the one. Anyway, i'm still stuck at 1280*1024...
« Last Edit: May 10, 2009, 11:20:39 pm by EgonOlsen »

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Mother's Day Card:My first run at high quality graphics :)
« Reply #4 on: May 11, 2009, 12:03:38 am »
Ok, I uploaded a new version. This one allows you to choose a resolution from a list.

http://files.filefront.com/MDjar/;13738529;/fileinfo.html

Oh, and by the way. I renamed Main2 to Main, so run Main.
« Last Edit: May 11, 2009, 02:30:34 am by JavaMan »

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Re: Mother's Day Card:My first run at high quality graphics :)
« Reply #5 on: May 11, 2009, 09:44:48 pm »
LOL cute! ;D I hope your mom gave you a huge kiss :D

I'll download and see it the soonest possible.

Edit:
It doesn't run. The jar's manifest doesn't specify the booting class...
« Last Edit: May 11, 2009, 09:49:08 pm by C3R14L.K1L4 »

Offline JavaMan

  • long
  • ***
  • Posts: 231
    • View Profile
Re: Mother's Day Card:My first run at high quality graphics :)
« Reply #6 on: May 12, 2009, 02:21:17 am »
Quote
LOL cute! Grin I hope your mom gave you a huge kiss

Hehe, no kiss, but she liked it.

Quote
It doesn't run. The jar's manifest doesn't specify the booting class...
No, it can't be run by double-clicking it in Windows explorer. It has to run from the command line. For instance say MD.jar jpct.jar lwjgl.jar and the lwjgl dll are all in the same directory then I ran it with

java -cp jpct.jar;lwjgl.jar;MD.jar -Xmx300m Main
« Last Edit: May 12, 2009, 02:23:19 am by JavaMan »