Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (489)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (555)
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  
  Is it easy to make games through pure java?  (Read 1608 times)
0 Members and 1 Guest are viewing this topic.
Offline LordD
« Posted 2014-02-09 15:12:28 »

Is it easy to make games through pure java? and is it good to make a game in pure java or just use a game library?


Not an native english speaker  Tongue  sorry for my bad english.
Offline trollwarrior1
« Reply #1 - Posted 2014-02-09 15:16:50 »

It doesn't matter what you use to make games. Start making games. If you see that your games just don't have enough performance, then use Libdgx/Lwjgl.
Offline LordD
« Reply #2 - Posted 2014-02-09 15:28:01 »

Umm what do you suggest me to use libgdx or pure java?

Not an native english speaker  Tongue  sorry for my bad english.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline trollwarrior1
« Reply #3 - Posted 2014-02-09 15:29:30 »

Did you make ANY game before?
Offline LordD
« Reply #4 - Posted 2014-02-09 15:33:54 »

Umm no  Sad that's why i am asking what should i use i have already tested all of them and i really liked pure java but i don't really see a lot of games developed in pure java most of them are in libGDX and some lwgjl.

Not an native english speaker  Tongue  sorry for my bad english.
Offline Screem
« Reply #5 - Posted 2014-02-09 15:55:23 »

You don't see a lot of games made with Java2D because people usually use it for their first few games to learn how to make games, and thus don't release them.

Java2D is easy to use, but very limiting. You can't do half the things OpenGL will let you (for example, shaders), and it's speed may hinder you from rendering too many sprites or having nice particle effects.

Start with Java2D to learn the fundamentals of game development. Once you feel you're ready, move onto libGDX/LWJGL. libGDX is much easier than LWJGL, as it abstracts most of OpenGL for you through easy-to-use classes. LWJGL is basically pure OpenGL with event handing and window utilities. If you want to use LWJGL, you'll have to learn about OpenGL first. The Arcsynthesis tutorials with ra4king's port of them to LWJGL will help.

Good luck! Cheesy

Offline Longarmx
« Reply #6 - Posted 2014-02-09 16:02:17 »

To add onto what Screem said, I would suggest leaning about OpenGL regardless of whether you use LWJGL or libGDX. Learn how to make games with Java2D... make games with LibGDX/LWJGL.

Offline LordD
« Reply #7 - Posted 2014-02-09 16:27:15 »

Thank you guys by the way do you guys suggest from me to order this book?
http://www.packtpub.com/learning-libgdx-game-development/book


Not an native english speaker  Tongue  sorry for my bad english.
Offline Troubleshoots

JGO Knight


Medals: 36
Exp: 7-9 months


Damn maths.


« Reply #8 - Posted 2014-02-09 16:47:50 »

Thank you guys by the way do you guys suggest from me to order this book?
http://www.packtpub.com/learning-libgdx-game-development/book

I've never read it, however the LibGDX wiki should tell you all you need to know.
Whether or not you have a good understanding of the Java language, I recommend starting off learning the basics (e.g collision detection and response, the game loop, etc.) using Swing and AWT. When you understand the basics then you can move on to OpenGL/LibGDX. I found it easier to use LibGDX after learning OpenGL, though some people would say otherwise.

Why are all OpenGL tutorials written in Brainf**k?
Offline LordD
« Reply #9 - Posted 2014-02-09 17:07:04 »

Thanks guys for all your replies so i will start with java2d and after learning it i will move to libGDX so thanks guys again for you replies it helped me a lot Smiley

Not an native english speaker  Tongue  sorry for my bad english.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline huchevsky

Senior Newbie


Medals: 1
Exp: 1 year



« Reply #10 - Posted 2014-02-09 22:12:37 »

Thank you guys by the way do you guys suggest from me to order this book?
http://www.packtpub.com/learning-libgdx-game-development/book

It's an great book. It involves some basic stuff to make game with libGDX. Collision, box2d, main menu creating, asset dealing...
Read it and got some useful information for me. So when you will start with libGDX, buy it.. You won't regret it. Smiley

About topic:
I started with pure Java2D. Watched some tutorials, learned how everything works. Then i started with lwjgl and slick2d, but i read some articles, that slick2d is dead project. Tried to search something similar and then i found libGDX. It's very stable and easy to understandable. So i suggest you to start with Java2D and then when you feel ready, go with libGDX.
Offline gouessej
« Reply #11 - Posted 2014-02-09 22:49:22 »

If you're curious, I remind you that LibGDX doesn't hide everything from OpenGL which is used under the hood and it remains not too complicated, you can still study OpenGL later. Moreover, LibGDX has several backends, at least one of them supports Android unlike plain standard Java2D.

Offline LordD
« Reply #12 - Posted 2014-02-10 12:23:41 »

Hello guys i have one more question is there an good tutorial on java2d or an documentation about it?

Not an native english speaker  Tongue  sorry for my bad english.
Offline jonjava
« Reply #13 - Posted 2014-02-10 12:55:53 »

Do this:

1. Figure out how to load an image into your program. (Google)
2. Figure out how to draw that image onto the screen. (Google)

Boom! You're done.

Remember, though, that just drawing things on screen doesn't make a game. Check out this thread on game loops: http://www.java-gaming.org/index.php?topic=24220.0

Offline Varkas
« Reply #14 - Posted 2014-02-10 13:47:59 »

Umm no  Sad that's why i am asking what should i use i have already tested all of them and i really liked pure java but i don't really see a lot of games developed in pure java most of them are in libGDX and some lwgjl.

Usually the hard part is the game part, and not the technology. I know for a newby it looks right the other way round, but you'll see that later.

You can use pure Java, and oyu can use a librbary. It depends on the sort of game you want to make. I have used 10 years pure java, lately I use LWJGL. Both work, depending on what you want to do.


if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline yokiyoki

Junior Member


Exp: 1 month or less


"It is fun to learn new things"


« Reply #15 - Posted 2014-02-14 09:19:01 »

I am only using JAVA

and now I am making my first game.

Online princec

JGO Kernel


Medals: 368
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #16 - Posted 2014-02-14 09:37:49 »

I found OpenGL much easier than Java2D. YMMV but that's why I got into games programming in the first place.

Cas Smiley

Offline Davideis
« Reply #17 - Posted 2014-02-14 09:49:50 »

I am using pure java but I don't plan to have fancy graphics in my game, its just different screens with buttons and text boxes.
Offline Andre Lopes
« Reply #18 - Posted 2014-02-14 13:22:53 »

I am using pure java but I don't plan to have fancy graphics in my game, its just different screens with buttons and text boxes.

Killer Game Java Programming.

Should help you start

http://fivedots.coe.psu.ac.th/~ad/jg/

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.

Nickropheliac (12 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

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

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

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

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

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

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

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

BurntPizza (47 views)
2014-08-09 21:09:32
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!