Page 2 of 2

Re: AnAl Animation in side-scrolling game

Posted: Thu Jul 22, 2010 6:16 pm
by Jasoco
I look forward to seeing what 0.7.0 brings. Will it have any extreme "Must redo my entire project" changes like 0.6.0 did? Or is the syntax pretty well set now? It took me months to get around to just getting up to 0.6.0 because of all the huge changes in how stuff was done. Even though they were for the better and it was worth it.

Re: AnAl Animation in side-scrolling game

Posted: Thu Jul 22, 2010 6:19 pm
by bartbes
Stop the off-topic talk here, Luiji!

On-topic:
The changes will be way less, you can always take a look at the changelog when in doubt (link always points to the current version), the only thing I see there is the font origin.

Re: AnAl Animation in side-scrolling game

Posted: Thu Jul 22, 2010 8:17 pm
by Deluxo
Yeah well thats pretty much it for this topic i think. Maybe we should create another one called "Side-Scrolling (platform) game development" or smth. like it. There we could layout our ideas and art, games and script to other lovers. What do people think about it?

Re: AnAl Animation in side-scrolling game

Posted: Thu Jul 22, 2010 8:58 pm
by Luiji
bartbes wrote:Stop the off-topic talk here, Luiji!

On-topic:
The changes will be way less, you can always take a look at the changelog when in doubt (link always points to the current version), the only thing I see there is the font origin.
Sorry. I've never had this problem on any other forum. Something about this place just makes me want to go off-topic...

Working on it, though. I've been trying hard to stay on-topic.

DON'T RESPOND TO THIS, IT DOESN'T HELP ME STAY ON-TOPIC, IT JUST MAKES ME GO FURTHER OFF.
That's a note to you, Jasaco. : P

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 12:34 am
by bmelts
0.7.0's API hasn't had anything removed from it, as far as I remember; the only difference you'll have to deal with is the change in font origin from lower- to upper-left. Otherwise, everything should work fine.

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 6:31 am
by kikito
I've been preparing for the font-origin change since 0.5.0

Hopefully it will be a matter of removing a single line.

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 8:09 am
by Deluxo
Why people ignores my last post... :(

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 9:04 am
by Robin
Well, if you're going ahead with this side scroller, why not? It's your project.

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 9:12 am
by Deluxo
I just think that Im not alone here who wants to create sidescroller. It would be helpful for everyone + that would be a great informative topic.

Re: AnAl Animation in side-scrolling game

Posted: Fri Jul 23, 2010 10:55 am
by kikito
Best way of dealing with scrolling is using love.graphics.translate imho. Thigs get a bit tricky if you want to use the mouse + love.graphics.translate, but a appart from that they work great.


For physics, well, box2d is tedious to use. Box2d tries to be "reasonably realistic" while platformers are not; once you dig up a bit, you discover that they have lots of "special cases". To name a few:
  • When the player is "over a cliff" but he still doesn't fall
  • jumping on a platform "from below"
  • jumping "down" from a platform
  • jumping from a slope (up or perpendicularly from the slope?)
  • movement on irregular terrain (box2d objects tend to "separate themselves" from irregular terrain very easily)
  • getting hit by something (movement)
  • ladders
  • moving platforms
  • detecting "I'm on the ground/I'm on the air"
All these and some others I didn't think about need to be made "exceptions" on box2d. In exchange of that, you get collision detection, gravity, and force simulation.

Note that some of them would be also exceptions on your own system; but since it would be yours you wouldn't have to learn or "fight" another system.

Also, use a map editor.