Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (483)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (550)
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  
  Genesis Engine  (Read 2294 times)
0 Members and 1 Guest are viewing this topic.
Offline zngga
« Posted 2013-10-10 05:38:23 »


Introducing, my 2D game engine!
TA, DAAAAA!  Grin

Graphics provided by LWJGL
Sound provided by TinySound
TTF support
custom texture loader (slickUtil is over rated, jk)
simple GUI framework

This engine isn't much, and I can't think of a single other person who would want to use it, not with all the other great options out there. I just feel that most libraries are too bloated, and get in the way of how I like to program. So this is my own little home brew.

If your board, or intrigued, and feel like ravaging through completely undocumented code, the project is hosted on BitBucket.

When you run the engine an example GUI will come up. Which is the product of me building and testing the UI package.

If you find any bugs, or notice something that I am doing ass backwards, let me know.

Some things I would like help with, if anyone has the time to teach me:
-batching
-shaders

My code never has bugs... it just develops unexpected features!
Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #1 - Posted 2013-10-12 14:57:24 »

All for minimalistic engines here... I actually might use this...
Does it feature
 ShockedBLAST PROCESSING POWER?! Shocked

I agree though. A lot of engines just come with a bunch of things I don't use. I'll try this out when I have some time!

EDIT:
Oh, and here is an amazing tutorial on shaders.

Offline zngga
« Reply #2 - Posted 2013-10-12 15:25:40 »

Thanks for the commendation wesley.

The engine currently draws everything in immediate mode, but I eventually want to add batching and support for shaders.
Thanks for the link, I will check it out later.

My code never has bugs... it just develops unexpected features!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline davedes
« Reply #3 - Posted 2013-10-12 15:54:18 »

The lwjgl-basics API also includes some examples of sprite batching that you might want to check out. It uses vertex arrays, which isn't ideal, but it shouldn't be too hard to switch that over to VBOs.

This tutorial also covers some sprite batching concepts. It's specific to LibGDX, but the same concepts apply in LWJGL.
https://github.com/mattdesl/lwjgl-basics/wiki/LibGDX-Meshes

Offline gouessej
« Reply #4 - Posted 2013-10-13 16:06:24 »

Hi

As you already use LWJGL, why not using its OpenAL binding instead of TinySound?

Offline zngga
« Reply #5 - Posted 2013-10-13 17:20:07 »

Hi

As you already use LWJGL, why not using its OpenAL binding instead of TinySound?

Because I am an idiot, that's why!
Thanks for bringing it to my attention
And because TinySound is about at easy to use as it comes.

My code never has bugs... it just develops unexpected features!
Offline gouessej
« Reply #6 - Posted 2013-10-13 22:19:41 »

Because I am an idiot, that's why!
I didn't mean that but TinySound relies on JavaSound which caused me a lot of troubles in the past, that's why I switched to Paul Lamb Sound System (which supports both JavaSound and OpenAL). Moreover, JavaSound isn't supported under Android byt maybe your engine will target only desktop environments. Of course, using a nice high level sound library is easier than using plain OpenAL.

Offline zngga
« Reply #7 - Posted 2013-10-16 04:37:37 »

No worries mate. The truth is it completely slipped my mind that LWJGL bound OpenAL. I am working on implementing it now actually. A lot of changes have been made already come to think of it. I have been making a game using the Engine, to see what needs to be changed and added, more on that later. (probably a significant amount of time later.)

My code never has bugs... it just develops unexpected features!
Offline StumpyStrust
« Reply #8 - Posted 2013-10-16 08:13:30 »

Pauls lib crashed on my consistently and could not load most of my sounds no matter how I saved them in audacity. When it crashed it was not soft but hard. Almost bsoding me. I tested it on multiple computers and got the same thing. So when someone asks about sound, I say TinySound. It is not the best but it just works. Ultimately, implementing your own would be best. I would love to see what you get.

Offline zngga
« Reply #9 - Posted 2013-10-19 20:11:03 »

New versions have been added to the repo.

A batching update is coming soon, but for now I committed a bunch of bug fixes and code improvements.
Get version 0.0.3 here

My code never has bugs... it just develops unexpected features!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Profile picture isn't relevant.


« Reply #10 - Posted 2013-10-19 20:24:36 »

CRAP That post came up the SECOND I finished updating my engine...  Shocked
What bugs did you fix specifically?

Offline zngga
« Reply #11 - Posted 2013-10-19 21:53:59 »

CRAP That post came up the SECOND I finished updating my engine...  Shocked
What bugs did you fix specifically?

I try to include a general overview of the fixes, additions, and removals in the commit message but specifically:

+progress actor
+vsync option to engine creation
+get selection index and text for scroll boxes and radio buttons
+flag to set scroll box elements to behave as checkboxes (stay selected) or buttons (clicked)
+set value method to slides
+remove scene method to theaters
*positioning of scroll box elements (y position was overlapping)
key: (+) added, (-) removed, (*) fixed

My code never has bugs... it just develops unexpected features!
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.

CopyableCougar4 (18 views)
2014-08-22 19:31:30

atombrot (28 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (63 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (38 views)
2014-08-06 19:49:38
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!