Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 5737 times)
0 Members and 1 Guest are viewing this topic.
Offline mcurry

Junior Devvie


Medals: 1
Projects: 1



« 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:
1  
2  
3  
4  
5  
6  
7  
//two textures are created here
img = new Image(256, 256);
Graphics g = img.getGraphics();
g.flush();

//only destroys one texture
img.destroy();


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

Junior Devvie


Medals: 1
Projects: 1



« 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

« JGO Bitwise Duke »


Medals: 74
Projects: 2



« Reply #3 - Posted 2012-04-14 19:20:18 »

Nice, am i right in assuming that you self-published?

http://www.badlogicgames.com - musings on Android and Java game development
Offline mcurry

Junior Devvie


Medals: 1
Projects: 1



« Reply #4 - Posted 2012-04-15 21:50:25 »

I published it for free with createspace.com, 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
Thanks,
v0rtex
Offline badlogicgames

« JGO Bitwise Duke »


Medals: 74
Projects: 2



« 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

http://www.badlogicgames.com - musings on Android and Java game development
Offline mcurry

Junior Devvie


Medals: 1
Projects: 1



« 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 Spiffy Duke »


Medals: 212
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!

Cheers,

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mcurry

Junior Devvie


Medals: 1
Projects: 1



« 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: 356
Projects: 3
Exp: 5 years


I'm the King!


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

@mcurry
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.

rwatson462 (37 views)
2014-12-15 09:26:44

Mr.CodeIt (31 views)
2014-12-14 19:50:38

BurntPizza (62 views)
2014-12-09 22:41:13

BurntPizza (99 views)
2014-12-08 04:46:31

JscottyBieshaar (60 views)
2014-12-05 12:39:02

SHC (74 views)
2014-12-03 16:27:13

CopyableCougar4 (77 views)
2014-11-29 21:32:03

toopeicgaming1999 (138 views)
2014-11-26 15:22:04

toopeicgaming1999 (127 views)
2014-11-26 15:20:36

toopeicgaming1999 (38 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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