Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
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  
  Making a side scroller  (Read 4344 times)
0 Members and 1 Guest are viewing this topic.
Offline 2eXtreme

Innocent Bystander





« Posted 2009-12-23 19:59:55 »

Hi Guys,

I've been programming in Java for a few years now, but I've never made a proper game. In the past, I've used the Swing library, threads (rather than timers) and G2D objects. The main graphical application I've coded is a simulation of swarm intelligence - I had to represent a large number of agents on screen. The end program sometimes had up to 1000 agents on screen, and the whole thing ran pretty slowly.

My current intention is to create a fast little side scroller with some nice little physics thrown in for good measure. I've noticed a few people posting about the Slick library, and from that I've come across Phys2D as well. Does anyone have any suggestions on any better libraries to use?

If anyone could point me in the direction of some decent tutorials on using these libraries, that would be great

Cheers,
2eX
Offline h3ckboy

JGO Coder


Medals: 5



« Reply #1 - Posted 2009-12-23 20:08:38 »

wel, for starters your int he wrong section but that is perfectly fine.

eyah slick is a good library to use, it is great for begginers, and it is very easy to get the hang of.
Offline kappa
« League of Dukes »

JGO Kernel


Medals: 75
Projects: 15


★★★★★


« Reply #2 - Posted 2009-12-23 20:45:20 »

Does anyone have any suggestions on any better libraries to use?

IMO Slick2D is currently the best library to use to make fast 2d java games, especially side scrollers.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cero
« Reply #3 - Posted 2009-12-24 00:35:47 »

Quote
slick is a good library to use, it is great for begginers, and it is very easy to get the hang of.

Most people here think so, I just wanted to point out that there are people, like me, that would disagree.
Disagree about it being easy to get into, not about being good.

But I have no alternatives for you, since I write everything on my own.
And my engine is not (yet) ready for public use.

My suggestion would be read everything there is about Slick, or get into Java2D.

Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #4 - Posted 2009-12-24 04:41:43 »

If you want just a "little side scroller with little physics", I think you can do it perfectly just using java 2d . Check out Virus Effect on the showcase section (which is defintely not "little")

Surely it would be  easier to use a funky library like Slick2d, but I think before you start using it, you should understand how a game should be designed, i.e. the loops, the renders, etc, because slick does it all for you. But if you just want your game finished, well then go for Slick2D .

I'm not saying slick2d is bad, I'm just saying that if you never designed a game before, you'll learn a lot more doing it by yourself than using a great library that does it all for you. And I'm sure you will make a better use of the library if you have an idea of what is happening behind the scenes .

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.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (25 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (43 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

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

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

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
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!