Mythruna

General Category => General Discussion => Topic started by: Michael on July 14, 2014, 08:17:19 PM



Title: Platform Game: Test it!
Post by: Michael on July 14, 2014, 08:17:19 PM
Hey everyone! I just wanted to give an update on what I've been doing. I've been trying to figure out what I love about programming, and where I want to go with it. I have been programming in Java since I've found Mythruna (ALMOST 2 YEARS THIS AUGUST!) and I've been programming for 2.5 years overall (I started with HTML/CSS, count those as programming languages if you want to or not.)

Well, as I said I've been exploring. By exploring, I mean which language do I like best? I've tried .NET, and I explored into Visual Basic.NET with XNA. I enjoyed the frame rate and everything, but here was the downfall:
  • I hate the syntax!
  • It's limited to WINDOWS!!! D: (Sorry Sean)

Now, since I've been using Java, I never used an engine. The thing was that I thought it would be best to know how to do it all. Yes, it sounded great at first. In the end, I kept being told, "Yes, it's good to know how to do it, but why rediscover what's already provided for you?" Another comment is I could literally waste years rediscovering the discovered.

Thus, I've known about LWJGL, and OpenGL for quite some time, so why not touch on that? There are two key libraries that I found to be top-line/most popular. The choices were: LibGDX, Slick2D.

I chose Slick2D.

Now, to get into interesting parts, my favorite parts about engines is the FPS boost I get. I built two similar games in VB.NET and in Java with Slick2D. FPS difference, VB.NET/XNA won, because of the DirectX in it.

I believe I could achieve the same things with LWJGL/OpenGL, I just have to set it up myself. ;)

UPDATE:
I decided to switch over to LibGDX instead of Slick2D. I find it to be much, much better. :)

Now for some testing, I want you people out there on this forums to tell me what you think. I am providing two jars for you. To give you a notice, I will be downloading the natives and storing it somewhere special for it to be used later for other games you may try. To be honest, I don't know how the paths of Mac or Linux work, so I'm not sure if they'll work on those.

The path if you're curious will be: "C:/EcrosoGames/Resources/GamesEX/Java/natives/" and all of your natives will be in there.


Also, to let you know, you can view the update videos via YouTube by clicking on the Video Demonstration

NOTE: Java 8 Needed!

Controls
Move Left: A or Left
Move Right: D or Right
Jump: W or Up
Shoot Bullet: Left Click

0.0.3 Notes:
  • Added Dummies!
  • Added Particles!
  • Added Projectiles/Bullets!
  • Converted to LibGDX (no resource download needed!)
  • Changed the sprites a little bit
  • Added Entity Collision! TODO: Push Entities

Download: http://www.mediafire.com/download/2skweyfy4z4k99p/PlatformGame_0.0.3.jar
Video Demonstration: https://www.youtube.com/watch?v=2Xar4znIvB8
[/list]

0.0.2 Notes:
  • Added a scrolling background
Download: http://www.mediafire.com/download/wqg5qms518s2chd/PlatformGame(2).jar

0.0.1 Notes:
  • Only a player in a map.
  • Physics/Gravity works
First Jar (Platformer): http://www.mediafire.com/download/ywb111p4pprb4ct/PlatformGame.jar
Second Jar (Platformer) UNLOCKED: http://www.mediafire.com/download/oh7uvdn5yfif4ij/PlatformGame_UNLOCKED.jar

Also, to let you know, UNLOCKED means that I didn't set the target framerate to 60.

What I want
I want to know how it works for you!

  • Does it tear?
  • What's your FPS?
  • Does it even start?

Just any particular questions that will question if the game is even working, or if something is incorrect.


Title: Re: Java:Slick/LWJGL Test it out.
Post by: Rayblon on July 16, 2014, 03:44:26 PM
440 fps just about the entire time. No visible issues with physics or graphics from what I can tell.


Title: Re: Platform Game: Test it!
Post by: Michael on August 06, 2014, 11:16:30 AM
Post updated with version 0.0.3 With extra, and edited information, so give it an overview if you'd like. Any feedback, or even constructive criticism would be nice. ;)


Title: Re: Platform Game: Test it!
Post by: Gambit on August 08, 2014, 07:09:33 PM
Awesome, gotta test this out once  I get to a computer.