Page 1 of 2

Game Physics in Love2D [Book] [V0.2] [WIP]

Posted: Sun Feb 17, 2013 4:37 am
by substitute541
Here's what I was doing.

I want to create a small book (booklet?) about making some simple physics stuff so that people don't have to use love.physics in SO simple games. Here's a zip for downloading (they're in PDF format) :

Download New V 0.2

Download Original V0.3
Download Original V0.2
Download Original V0.1.
I was hoping for some people to share their ideas like how to do grid-type collision testing, and some more advanced physics concept in code. If you wanna share some of your ideas, suggestions, (positive) criticism, pigs with spinning hearts, post here!

Also, I'll put your name on the credits.

Current Cover (new V 0.2):
Image

Changelog

Code: Select all

New

V 0.2: Halfway finished with chapter 1
V 0.1: Initial creation

Original
V 0.3 - Extended a section, added section. Also changed cover page. Added "Extras: " sidebar :D
V 0.2 - Added more sections to Chapter 1, also, removed "A word from the author", since it's BORING. Replaced it with "What this book is for".
V.0.1 - ?pancake?

Re: Basic Game Physics in Love2D [Book] [Not done]

Posted: Sun Feb 17, 2013 6:18 am
by scutheotaku
I really like this idea, and it seems like you're off to a really good start. I think that this sort of thing is something that the LOVE community really needs. Good luck!

Re: Basic Game Physics in Love2D [Book] [Not done]

Posted: Sun Feb 17, 2013 7:54 am
by Taehl
I certainly approve of this. I suck at math, so anything to help me muddle through it would be appreciated. If you want to do a section on how to do tile-based physics, I'd be willing to contribute. I also figured out how to efficiently check line-circle collision, in case you're interested.

What would be immediately helpful to me in my current project is circle-circle collision. Specifically, what to do about their velocities after colliding (ie., they "bounce off" one another, what's the math for that?).

Good luck with the book!

Re: Basic Game Physics in Love2D [Book] [V0.2] [Not done]

Posted: Mon Feb 18, 2013 6:53 am
by substitute541
Out of boredom, I decided to post this..
Image
Source : http://covers.dummies.com/share.php?id=36606

By the way, this isn't the actual cover of the book.

Re: Basic Game Physics in Love2D [Book] [V0.2] [Not done]

Posted: Mon Feb 18, 2013 6:56 am
by scutheotaku
substitute541 wrote:Out of boredom, I decided to add this..
Image
Source : http://covers.dummies.com/share.php?id=36606
haha nice!

Re: Basic Game Physics in Love2D [Book] [V0.3] [Not done yet

Posted: Sat Mar 02, 2013 5:10 pm
by jameshclark
Any interest in an alternate cover?

Image

Re: Basic Game Physics in Love2D [Book] [V0.3] [Not done yet

Posted: Sat Mar 02, 2013 8:17 pm
by Nixola
Image

Re: Basic Game Physics in Love2D [Book] [V0.3] [Not done yet

Posted: Sun Mar 03, 2013 5:49 am
by scutheotaku
I just noticed a minor typo at the beginning of page 9 (page 8 not including the cover page): you wrote "You can the components, angle and magnitude to the table as so", but I think perhaps you meant something like "You can add the components, angle and magnitude to the table as so"

EDIT:
Another minor one. On page 10 (page 9 not including the cover page), right after the first code block of the page, "...we want to add it’s coordinates with the velocity vector components" should be "...we want to add its coordinates with the velocity vector components."

Re: Basic Game Physics in Love2D [Book] [V0.3] [Not done yet

Posted: Sun Mar 03, 2013 11:28 am
by substitute541
I'm rewriting the book to go with the style of another certain programming book (If you're curious, it's an AS3 Programming book called Making Things Move). Also, thanks with the random covers :P.

Re: Game Physics in Love2D [Book] [V0.2] [WIP]

Posted: Tue Mar 26, 2013 1:16 am
by kaufmed
Is the rewrite going to be a complete reworking, or are you going to use some of the stuff that you've already written. I like the approach you are taking. I was going to make a couple of suggestions and mention a couple of mistakes, but I'm not sure they would be moot now.