P0jahn
|
 |
«
Posted
2013-08-14 00:22:47 » |
|
Forewords:Pojahn's Game Engine is an open source API developed by Pojahn Moradi which allows you to create Super Meat Boy-style maps without much hassle. This release contains P0jahns Game Engine 1.0 and Map Pack #1 which includes seven stages. Usage:Open P0jahns Game Engine.jar to launch the game. If you dont want to use the default controller, create a new one. When you are satisfied with your controller, press Load Stage. Select one of the jar files located in the stage directory and hit Ok. Now comes another window which is completely optional. This is if you want to to view a replay rather than playing the stage. The Default Controller:Left: Left Arrow Right: Right Arrow Down(unused): Down Arrow Up(jump): Space Pause: Esc Suicide: Q Special1: Non-Num 1 Special2: Non-Num 2 Special3: Non-Num 3 Future:The next release by me will be another map pack; Map Pack #2. Later, a new version of P0jahns Game Engine will be released allowing you to play multiplayer(offline) as well as full documentation and usage of the engine. Furthermore, if this engine gets popular, online play will be implemented. Finally, if we get people complaining about not being able to create maps due to lack of java knowledge, some sort of XML parser may be engendered. Media:Download:
|
|
|
|
wessles
|
 |
«
Reply #1 - Posted
2013-08-14 00:26:22 » |
|
SOOO Excited to try! Pics have me sold! But... 1 2 3 4 5 6 7 8 9 10 11 12 13
| Exception in thread "main" java.lang.UnsupportedClassVersionError: ui/MainClass : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) Could not find the main class: ui.MainClass. Program will exit. |
I run linux, and this usually happens to some jars. I don't know what it is, but this is just so you know.
|
|
|
|
BurntPizza
|
 |
«
Reply #2 - Posted
2013-08-14 00:28:51 » |
|
SOOO Excited to try! Pics have me sold! But... 1
| Exception in thread "main" java.lang.UnsupportedClassVersionError: ui/MainClass : Unsupported major.minor version 51.0 |
I run linux, and this usually happens to some jars. I don't know what it is, but this is just so you know. It means your java version is incompatible with his jar. Do you have the latest version (Java 7)?
|
|
|
|
Games published by our own members! Check 'em out!
|
|
P0jahn
|
 |
«
Reply #3 - Posted
2013-08-14 00:33:51 » |
|
Yeah, I think your java is outdated. If it was the native files that was the problems(that the only differences between the rar files), it would crash when loading a stage instead of main class.
|
|
|
|
wessles
|
 |
«
Reply #4 - Posted
2013-08-14 00:34:48 » |
|
Weird that other jars would run... They were J7 as well. But alas, Ill reinstall J7.
|
|
|
|
P0jahn
|
 |
«
Reply #5 - Posted
2013-08-14 00:39:17 » |
|
|
|
|
|
|
wessles
|
 |
«
Reply #7 - Posted
2013-08-14 00:48:35 » |
|
Nope. I just reinstalled it, checked, and found that 51 corresponds to J7 (which I got and reinstalled), and it still did not work. What do I do?
|
|
|
|
P0jahn
|
 |
«
Reply #8 - Posted
2013-08-14 01:01:00 » |
|
Also, P0jahn, what version did you compile for? I dont now :/ I edited Pojahns Game Engine.jar for Windows by replacing all the windows related DLL files with the Linux's .SO files. My class files are compiled on my pc for my os(windows). But afaik, it does not matter what the class files are compiled to(or if such thing even exists), its the jvm that matters. Have I missed something?
|
|
|
|
wessles
|
 |
«
Reply #9 - Posted
2013-08-14 01:12:20 » |
|
Just use mediafire. I do not want to use their installer and get trolled with ads.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
|
BurntPizza
|
 |
«
Reply #11 - Posted
2013-08-14 01:19:29 » |
|
Also, P0jahn, what version did you compile for? I dont now :/ I edited Pojahns Game Engine.jar for Windows by replacing all the windows related DLL files with the Linux's .SO files. My class files are compiled on my pc for my os(windows). But afaik, it does not matter what the class files are compiled to(or if such thing even exists), its the jvm that matters. Have I missed something? Cross-version compilingGoogle for more.
|
|
|
|
Troncoso
|
 |
«
Reply #12 - Posted
2013-08-14 01:21:56 » |
|
How are you installing Java anyway? If you are using Linux, then generally, you'll have to set the new version as default before it'll actually use it.
update-alternatives --config java
|
|
|
|
wessles
|
 |
«
Reply #13 - Posted
2013-08-14 01:25:16 » |
|
Wow. It worked. But there are no loads for me to go to!
|
|
|
|
P0jahn
|
 |
«
Reply #14 - Posted
2013-08-14 01:50:41 » |
|
Exactly what worked? And what do you mean by "loads"?
|
|
|
|
wessles
|
 |
«
Reply #15 - Posted
2013-08-14 02:15:15 » |
|
sorry, Stages. I downloaded your map pack, and it did not work. Apparently, rars don't work. But I just cannot get rars to work, so no opening it...
|
|
|
|
Jimmt
|
 |
«
Reply #16 - Posted
2013-08-14 05:44:31 » |
|
|
|
|
|
P0jahn
|
 |
«
Reply #17 - Posted
2013-08-14 12:10:35 » |
|
To avoid downloading winrar, I have updated the links so that they are now zip files.
|
|
|
|
SHC
|
 |
«
Reply #18 - Posted
2013-08-15 03:32:23 » |
|
@wesley.laferriere If you are on ubuntu, you can install RAR addin for Archiver. 1
| sudo apt-get install unrar |
It requires you to setup the repository which is probably added already.
|
|
|
|
gouessej
|
 |
«
Reply #19 - Posted
2013-08-15 10:18:26 » |
|
Wow. It worked. But there are no loads for me to go to!
You can use OpenJDK 1.7. I think OpenJDK 1.6 is still used by default under some distros (Ubuntu 12.04?) but not mine (Mageia Linux 2).
|
|
|
|
wessles
|
 |
«
Reply #20 - Posted
2013-08-15 19:34:22 » |
|
Oh, It opens now. I just tried to download the map pack, but it was SOOO big! It crashed my computer it took so long! And please... USE MEDIA FIRE!!! Seriously! It makes 0 sense to use google drive! Just use mediafire! It is faster, less laggy, and all around has more storage (I think)!
|
|
|
|
Opiop
|
 |
«
Reply #21 - Posted
2013-08-15 20:29:29 » |
|
Seriously your computer cant handle downloading 173 MB of data? It has a problem then. Also, Google drive is just as viable an option as any other file hosting site like dropbox. In fact, dropbox is better for indie games because you can get a free account with direct links and fast downloads. Mediafire is starting to get meh. Most of the time the site glitches out and I have to spend 2 minutes constantly refreshing the download page before it finally starts downloading.
|
|
|
|
wessles
|
 |
«
Reply #22 - Posted
2013-08-15 21:03:31 » |
|
Really  ? I have never, and I mean never, had a problem with Mediafire! Only with dropbox! Also, I beg to differ on direct links. You can just right click on the Download button, copy url, and then make a link! I did it here, in the download section. Hover over it, and it shows it links to mediafire, and still direct download! Also, my computer downloads many many things really fast. When I get games, it usually takes 10 seconds. And those seem to be bigger! But whatever. Just not google drive. Google's servers are just slow sometimes (not to say that they are not doing the best job at search engines in the world!). I would even go for dropbox, just not google drive. Also, google drive is not as good. See here
|
|
|
|
P0jahn
|
 |
«
Reply #23 - Posted
2013-08-15 21:36:16 » |
|
Google Drive seems safe(i e my files wont be auto-removed after a while) and its really fast. I always exceed 5mb/s when downloading from it. Anyway, alternative links added(media fire).
|
|
|
|
wessles
|
 |
«
Reply #24 - Posted
2013-08-15 22:08:24 » |
|
Thanks. That went faster. When I unzipped it, I put the two folders (res, and stages) in the stages folder. For replays, I just put in hello world into the text box and pressed open. It gave me a dialogue box about scores, then java just stopped. 1 2 3 4 5 6 7 8 9
| java.lang.NullPointerException at game.essentials.Utilities.getFiles(Utilities.java:444) at game.essentials.Utilities.loadDataImages(Utilities.java:223) at climb.ClimbMe.init(ClimbMe.java:47) at game.core.Engine.init(Engine.java:234) at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390) at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314) at game.essentials.GameLauncher.launchGame(GameLauncher.java:35) at ui.StartFrame$1$1.run(StartFrame.java:104) |
|
|
|
|
P0jahn
|
 |
«
Reply #25 - Posted
2013-08-15 22:34:15 » |
|
The game tried to load the images for the main character but the files was not found so it crashed. You should not put the map pack content in the stage folder. Extract them into the games root directory(Pojahns Game Engine). For replay, press cancel, dont open anything.
|
|
|
|
wessles
|
 |
«
Reply #26 - Posted
2013-08-15 22:40:06 » |
|
Thanks! It works now! Anyways, I played it, and it is pretty good! I love the music. Just one problem. The character disappears sometimes, and turns invisible. He mostly flickers, but sometimes, I cannot even see him! Solid game anyways though. Bravo! I apoligize for the long time getting it set up!
|
|
|
|
P0jahn
|
 |
«
Reply #27 - Posted
2013-08-15 23:19:07 » |
|
Thanks! Glad you liked it.  Thats an odd problem you got. I have tried it on multiple computers(all Windows) and never experienced such bug. The problem may be lie within your computer or by LWJGL. I dont know and its impossible for me to tell. Try updating your graphic drivers.
|
|
|
|
P0jahn
|
 |
«
Reply #28 - Posted
2013-08-24 23:59:28 » |
|
Added three videos. Did anyone else try it? Please comment!
1. What did you like/hate? 2. Would you ever develop at least one stage if you thought the API was simple enough?
|
|
|
|
|