Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (686)
Games in Android Showcase (198)
games submitted by our members
Games in WIP (758)
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 5424 times)
0 Members and 1 Guest are viewing this topic.
Offline 2eXtreme

Innocent Bystander

« Posted 2009-12-23 18: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

Offline h3ckboy

JGO Coder

Medals: 5

« Reply #1 - Posted 2009-12-23 19: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: 112
Projects: 15


« Reply #2 - Posted 2009-12-23 19: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-23 23:35:47 »

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
Global Moderator

JGO Wizard

Medals: 71
Projects: 4
Exp: 8 years

« Reply #4 - Posted 2009-12-24 03: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.

roseslayer (404 views)
2016-08-06 11:43:29

roseslayer (370 views)
2016-08-06 09:43:11

xTheGamerCodes (444 views)
2016-08-04 15:40:59

xTheGamerCodes (438 views)
2016-08-04 15:40:24

orrenravid (789 views)
2016-07-16 03:57:23

theagentd (864 views)
2016-07-11 14:28:54

Hydroque (963 views)
2016-07-06 05:56:57

Hydroque (987 views)
2016-07-03 08:52:54

GrandCastle (800 views)
2016-07-01 09:13:47

GrandCastle (636 views)
2016-07-01 09:09:45
Rendering resources
by Roquen
2016-08-08 05:55:21

Rendering resources
by Roquen
2016-08-08 05:52:42

Rendering resources
by Roquen
2016-08-08 05:50:38

Rendering resources
by Roquen
2016-08-08 05:49:53

Rendering resources
by Roquen
2016-08-08 05:32:39

Making a Dynamic Plugin System
by Hydroque
2016-06-25 00:13:25

Java Data structures
by BinaryMonkL
2016-06-13 21:22:09

Java Data structures
by BinaryMonkL
2016-06-13 21:20:42 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‑
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!