AnAl Animation in side-scrolling game

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: AnAl Animation in side-scrolling game

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: AnAl Animation in side-scrolling game

Post 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.
User avatar
Deluxo
Prole
Posts: 6
Joined: Tue Jul 20, 2010 2:33 pm

Re: AnAl Animation in side-scrolling game

Post 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?
User avatar
Luiji
Party member
Posts: 396
Joined: Mon May 17, 2010 6:59 pm

Re: AnAl Animation in side-scrolling game

Post 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
Good bye.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: AnAl Animation in side-scrolling game

Post 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.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: AnAl Animation in side-scrolling game

Post 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.
When I write def I mean function.
User avatar
Deluxo
Prole
Posts: 6
Joined: Tue Jul 20, 2010 2:33 pm

Re: AnAl Animation in side-scrolling game

Post by Deluxo »

Why people ignores my last post... :(
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: AnAl Animation in side-scrolling game

Post by Robin »

Well, if you're going ahead with this side scroller, why not? It's your project.
Help us help you: attach a .love.
User avatar
Deluxo
Prole
Posts: 6
Joined: Tue Jul 20, 2010 2:33 pm

Re: AnAl Animation in side-scrolling game

Post 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.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: AnAl Animation in side-scrolling game

Post 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.
When I write def I mean function.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests