Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (762)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (847)
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] 3 4 ... 8
  ignore  |  Print  
  Mercury: The Simple 2D Game Library | >> BETA coming soon <<  (Read 152438 times)
0 Members and 1 Guest are viewing this topic.
Offline nerb
« Reply #30 - Posted 2013-10-05 16:18:22 »

G'day Wesley,

It may not be suitable or practical depending on your situation and may be overkill, but there is another option if your OS is completely munted (and assuming that your HDD is still serviceable). You could purchase and external USB hard-drive enclosure, remove and plug your HDD into it and connect it to another PC. You should then be able to recover your files from the hard-drive as you would an external hard-drive or USB stick.

If you search around on ebay you should be able to find plenty of cheap Chinese HDD enclosures that will do the trick.

Cheers,
nerb.
Offline kpars
« Reply #31 - Posted 2013-10-05 19:58:24 »

Off-Topic, but when you re-install Ubuntu, I would recommend getting the XFCE desktop environment. So great for software development.

- Jev
Offline Agro
« Reply #32 - Posted 2013-10-05 20:02:04 »

Just put the disk in and delete all your partitions. xfce is just another window manager but i used unity, was good stuff

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Opiop
« Reply #33 - Posted 2013-10-05 20:40:20 »

Windows wont work if you install Ubuntu again. You'll need to install Ubuntu and then windows so you can use Window's OS manager thingy that I just forgot the name of. At least I think thats how it works...
Offline Agro
« Reply #34 - Posted 2013-10-05 20:44:42 »

what im doing now is i have windows 7 installed and im using dual boot to load up mint. that way you can have both.

Offline Agro
« Reply #35 - Posted 2013-10-05 20:51:51 »

So reinstall windows since its filesystem stuff is icky and then install ubuntu: https://help.ubuntu.com/community/WindowsDualBoot

Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #36 - Posted 2013-10-05 22:25:25 »

Windows wont work if you install Ubuntu again. You'll need to install Ubuntu and then windows so you can use Window's OS manager thingy that I just forgot the name of. At least I think thats how it works...

Or you could use GRUB, and not have to worry about Microsoft crap until you actually boot into Windows.

And anyway, does the problem neccessarily require a reinstall?

Offline Troncoso

JGO Coder


Medals: 20



« Reply #37 - Posted 2013-10-05 22:52:02 »

I definitely see you messing up your master boot record...when neither OS will boot, that'll be why, and it'll be a good place to start researching how to fix it.
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 167
Projects: 5
Exp: 6 years



« Reply #38 - Posted 2013-10-06 00:41:47 »

Uhh...ever tried virtualization Grin
Offline SHC
« Reply #39 - Posted 2013-10-06 02:08:44 »

@wesley.laferriere
If you have access to windows, installing Ext2Fsd driver enables you to see linux hard disks from windows.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Opiop
« Reply #40 - Posted 2013-10-19 20:40:04 »

Eh, I would test it out but I don't feel like downloading tiny sound... Maybe later I'll take a look at it and tell you what I think! I downloaded the actually library though.
Offline Agro
« Reply #41 - Posted 2013-10-21 03:21:57 »

why dont you use the newer javadoc version? this is the old one

Offline SHC
« Reply #42 - Posted 2013-10-21 12:22:27 »

Better use JavaDoc 7

Offline saucymeatman
« Reply #43 - Posted 2013-10-25 16:28:57 »

Hey wes,
Check your email!
Offline Opiop
« Reply #44 - Posted 2013-10-25 19:53:45 »

Hey wes,
Check your email!
You really couldn't of just sent him a message?
Offline Opiop
« Reply #45 - Posted 2013-10-25 23:11:34 »

A camera is a must with practically any good graphics library.
Offline Opiop
« Reply #46 - Posted 2013-10-26 19:05:31 »

Scaling, positioning, rotation control over all the low level features like the matrices. Frustum culling and hmmm... I'll think of other stuff!
Offline Opiop
« Reply #47 - Posted 2013-10-27 03:04:51 »

Well, I tried to play your game but I received this error:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.libr
ary.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.lwjgl.Sys$1.run(Sys.java:73)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
        at org.lwjgl.Sys.loadLibrary(Sys.java:95)
        at org.lwjgl.Sys.<clinit>(Sys.java:112)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
        at com.wessles.MERCury.Core.initDisplay(Core.java:64)
        at com.wessles.MERCury.Runner.boot(Runner.java:40)
        at com.wessles.MERCury.Core.<init>(Core.java:39)
        at com.wessles.MERCury.Core.<init>(Core.java:35)
        at com.wessles.MERCury.Core.<init>(Core.java:31)
        at com.wessles.MERCury.Core.<init>(Core.java:27)
        at com.wessles.MERCury.demos.jump.Jump.<init>(Jump.java:27)
        at com.wessles.MERCury.demos.jump.Jump.main(Jump.java:86)

That's unfortunate as I wanted to see what your library is capable of :/

Edit:
Did you only compile your game for Linux? The error is just saying it can't find the natives. I'm running windows, so that's why.
Offline Opiop
« Reply #48 - Posted 2013-10-27 03:21:39 »

Sorry, but I have another error, I think you're not handling the actual paths correctly to your resources!
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
java.io.FileNotFoundException: res\backdrop.png (The system cannot find the path
 specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at com.wessles.MERCury.opengl.Texture.loadTexture(Texture.java:99)
        at com.wessles.MERCury.opengl.Texture.loadTexture(Texture.java:75)
        at com.wessles.MERCury.demos.jump.Jump.init(Jump.java:36)
        at com.wessles.MERCury.Runner.boot(Runner.java:43)
        at com.wessles.MERCury.Core.<init>(Core.java:39)
        at com.wessles.MERCury.Core.<init>(Core.java:35)
        at com.wessles.MERCury.Core.<init>(Core.java:31)
        at com.wessles.MERCury.Core.<init>(Core.java:27)
        at com.wessles.MERCury.demos.jump.Jump.<init>(Jump.java:27)
        at com.wessles.MERCury.demos.jump.Jump.main(Jump.java:86)
Exception in thread "main" java.lang.NullPointerException
        at com.wessles.MERCury.demos.jump.Jump.init(Jump.java:47)
        at com.wessles.MERCury.Runner.boot(Runner.java:43)
        at com.wessles.MERCury.Core.<init>(Core.java:39)
        at com.wessles.MERCury.Core.<init>(Core.java:35)
        at com.wessles.MERCury.Core.<init>(Core.java:31)
        at com.wessles.MERCury.Core.<init>(Core.java:27)
        at com.wessles.MERCury.demos.jump.Jump.<init>(Jump.java:27)
        at com.wessles.MERCury.demos.jump.Jump.main(Jump.java:86)


Edit: Oh its fine if the game isn't all that awesome, I just want to see what you can do with your library! I'm currently working on my own for a special project Smiley
Offline Opiop
« Reply #49 - Posted 2013-10-27 03:42:50 »

Did you upload the new one? Because I'm still getting the same error when running it Sad
Offline Opiop
« Reply #50 - Posted 2013-10-27 03:49:49 »

Nope, sorry it just isn't working :/ But I'll let you go now, maybe you can figure it out tomorrow!
Edit:
I took a peek into the jar file, and there is no res folder! The game is trying to access one though.
Offline Opiop
« Reply #51 - Posted 2013-10-27 03:53:16 »

No idea, sorry, but its not working :/ I swear, I even searched for a res folder using winzip in the jar file, but it didn't find one! Are you sure you're exporting correctly in eclipse?
Offline SHC
« Reply #52 - Posted 2013-10-27 03:54:37 »

Then why is it running on mine?  Undecided

Maybe you are having a res folder besides your jar file.

Offline Opiop
« Reply #53 - Posted 2013-10-27 04:29:00 »

Ah yes, it finally works! Wasn't much of a game, but cool enough Cheesy! That background is really trippy!
Offline saucymeatman
« Reply #54 - Posted 2013-11-04 00:41:07 »

Nice update!
MERCury needed a camera, and I love the scaling, wish my engine had that!
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #55 - Posted 2013-11-04 04:09:17 »

1  
2  
// This works for 2d and 3d, just keep scalez at 1 for 2d.
glScalef(scalex, scaley, scalez);


But beware! You must only do this once, because it just multiplies a matrix (I believe). So if you keep on scaling every update frame, it will be REALLY small!

That's what we have
glLoadIdentity()
for.

Also: ALL matrix operations (except obviously resetting/replacing the matrix etc.) multiply the matrix. That's how matrices work.

Offline Simn
« Reply #56 - Posted 2013-11-16 10:22:40 »

Woah, you're getting far!

I browsed through your code and things are looking very sleek (very smart idea with a static resource manager by the way)!

- Simn
Offline saucymeatman
« Reply #57 - Posted 2013-11-17 16:11:24 »

Wow, im impressed. Can believe how much work you put into all those different media sources! I love the tutorials, really helped me understand how to use mercury, and the animation/spritebatching is awsome. (+1)
What are you planning to do next in MERCury, and furthermore, do you have an idea of what the finishgd product will look like?
Offline Opiop
« Reply #58 - Posted 2013-11-18 04:20:31 »

I've got to admit, I'm impressed! You seem to have learned a lot over the past couple of months, and its starting to show in your work, good job!
Offline kpars
« Reply #59 - Posted 2013-11-18 05:58:35 »

Same here, he's progressing faster than I am with my old library. Sad

- Jev
Pages: 1 [2] 3 4 ... 8
  ignore  |  Print  
 
 

 
EgonOlsen (367 views)
2018-06-10 19:43:48

EgonOlsen (374 views)
2018-06-10 19:43:44

EgonOlsen (305 views)
2018-06-10 19:43:20

DesertCoockie (549 views)
2018-05-13 18:23:11

nelsongames (874 views)
2018-04-24 18:15:36

nelsongames (857 views)
2018-04-24 18:14:32

ivj94 (1318 views)
2018-03-24 14:47:39

ivj94 (435 views)
2018-03-24 14:46:31

ivj94 (1100 views)
2018-03-24 14:43:53

Solater (449 views)
2018-03-17 05:04: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!