Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (516)
Games in Android Showcase (122)
games submitted by our members
Games in WIP (577)
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  
  Slick2D Book.  (Read 5612 times)
0 Members and 1 Guest are viewing this topic.
Offline mcurry
« Posted 2012-04-14 18:04:38 »

So I wrote a book on the Slick2D API, I figured some of you guys might find it quite interesting.

It's on Amazon here for $15 but if you can't afford it, I'd be happy to send you a digital copy if you PM me. The one on Amazon is basically paying for the paper. I do plan to release it on the kindle, if that's for you guys, but yeah, just thought I'd put it out there for you guys.
Offline davedes
« Reply #1 - Posted 2012-04-14 18:17:14 »

Wow, cool. Maybe you can post a few sample pages to give us an idea?

I hope you keep the digital version updated with the library, though, as it's undergoing some changes right now. For example, the following (very commonly seen) code creates a memory leak:
//two textures are created here
img = new Image(256, 256);
Graphics g = img.getGraphics();

//only destroys one texture

I've introduced a (temporary) workaround in the development branch until we can fully resolve the issue.

Slick's API might also lead to some bad practices (e.g. like creating new FBOs during rendering, or making non-power-of-two images, or using frequent calls to Image.draw instead of drawEmbedded). Hopefully you've addressed those things in your book?

Offline mcurry
« Reply #2 - Posted 2012-04-14 18:21:45 »

Oh it's much more simple than that, essentially how to construct a Basic StateBasedGame. Rendering images, collision detection, moving a rendered sprite around the map, really simple stuff. It's definitely for people that just want to create a simple game.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline badlogicgames
« Reply #3 - Posted 2012-04-14 19:20:18 »

Nice, am i right in assuming that you self-published? - musings on Android and Java game development
Offline mcurry
« Reply #4 - Posted 2012-04-15 21:50:25 »

I published it for free with, I get around $2 per copy sold, so it's really nothing amazing, I'm just trying to raise money for University, so the more copies I sell, the better. If any of you guys have bought it, thank you so much, I know that since I posted this, two copies have sold. So thank you all.
Offline v0rtex

Senior Newbie

« Reply #5 - Posted 2012-04-22 18:54:55 »

I am unable to purchase the book on amazon due to credit card issues with amazon.
The book seems perfect for a beginner such as myself to Slick2D. Is there any chance you could give me an electronic copy? I can donate to you if necessary Smiley
Offline badlogicgames
« Reply #6 - Posted 2012-04-22 21:41:35 »

2$ at 15$ a pop is not that bad comparatively. Bigger publishers take an even bigger cut, and i speak from experience...

I'd highly suggest considering publishing on Amazon directly. Much bigger cut (60%ish iirc). No need to kill trees either, though having a printed copy of ones book is kinda satisfying Smiley - musings on Android and Java game development
Offline mcurry
« Reply #7 - Posted 2012-04-25 15:18:00 »

Thanks, I will look into that. A fair amount of people have actually been very generous and donated, thank you to all of them.
Offline Vladiedoo
« Reply #8 - Posted 2012-06-18 23:12:17 »

Page numbers in the book would be nice x).
Offline kevglass

JGO Kernel

Medals: 191
Projects: 24
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #9 - Posted 2012-06-19 06:46:44 »

Wow, so cool. so cool. so cool!



Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mcurry
« Reply #10 - Posted 2012-06-21 23:40:36 »

Page numbers in the book would be nice x).

Hm, never thought of that. If I ever get around to updating this book, I will put page numbers in.
Offline ra4king

JGO Kernel

Medals: 353
Projects: 3
Exp: 5 years

I'm the King!

« Reply #11 - Posted 2012-06-22 00:41:25 »

Kevglass is the creator of Slick2D btw....just pointing out.... Smiley

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.

TehJavaDev (31 views)
2014-10-27 03:28:38

TehJavaDev (26 views)
2014-10-27 03:27:51

DarkCart (40 views)
2014-10-26 19:37:11

Luminem (21 views)
2014-10-26 10:17:50

Luminem (26 views)
2014-10-26 10:14:04

theagentd (32 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (57 views)
2014-10-16 15:22:06

Norakomi (46 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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 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!