Paralax Scrolling BG + Sprite Animations

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by ninwa » Sun Nov 14, 2010 6:10 pm

TechnoCat wrote:
ninwa wrote:It shouldn't, really. It's velocity is 100-200px/sec on the x-axis and likewise on the y-axis. The character runs at 200px a second so you should be able to keep right up with it, plus there's "friction" so it decelerates pretty quickly. Are you experiencing otherwise? :(
I see the crate off to the right when it starts, but to get to it. I have to run for a long time as it slowly crawls towards my player.
That's really strange. Which version of LOVE are you using?

User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by TechnoCat » Sun Nov 14, 2010 6:11 pm

Shouldn't matter in this case I would think, but 0.7.0 on Windows 7.

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by Robin » Sun Nov 14, 2010 6:12 pm

zac352 wrote:I have a question about spritebatches... How do you use them?
Do you just do love.graphics.draw(batch,x,y)?

Yes, SpriteBatch is a Drawable, and those can be drawn on the screen with love.graphics.draw.
Help us help you: attach a .love.

User avatar
zac352
Party member
Posts: 496
Joined: Sat Aug 28, 2010 8:13 pm
Location: In your head.
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by zac352 » Sun Nov 14, 2010 6:25 pm

Robin wrote:
zac352 wrote:I have a question about spritebatches... How do you use them?
Do you just do love.graphics.draw(batch,x,y)?

Yes, SpriteBatch is a Drawable, and those can be drawn on the screen with love.graphics.draw.
So, does that draw all of the sprites in it at the same time? I'm confused.
Hello, I am not dead.

User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by ninwa » Mon Nov 15, 2010 1:38 am

TechnoCat wrote:Shouldn't matter in this case I would think, but 0.7.0 on Windows 7.
Same here, this is how it looks on my machine. Is it different for you?

User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Denver, CO
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by TechnoCat » Mon Nov 15, 2010 1:39 am

Much different.
If I recorded a video it would show me walking towards the box for like 5 minutes as it moves towards me incredibly slowly.

User avatar
VideroBoy
Party member
Posts: 102
Joined: Wed Mar 31, 2010 6:12 pm
Location: Canada

Re: Paralax Scrolling BG + Sprite Animations

Post by VideroBoy » Mon Nov 15, 2010 5:02 am

Maybe, for the next version, consider making the player's shadow an oval. Perspective and all that.

Also, to sorta echo what kikito first noticed, the whole "gliding to walk" thing is a little confusing.

User avatar
ninwa
Party member
Posts: 118
Joined: Tue Oct 12, 2010 1:21 am
Location: Metro Detroit
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by ninwa » Mon Nov 15, 2010 5:29 am

VideroBoy wrote:Maybe, for the next version, consider making the player's shadow an oval. Perspective and all that.

Also, to sorta echo what kikito first noticed, the whole "gliding to walk" thing is a little confusing.
I agree, but unfortunately I'm not an artist and the spriteset didn't have a "running" animation. The gliding looks great in the air but is definitely awkward on the ground.

User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Paralax Scrolling BG + Sprite Animations

Post by Robin » Mon Nov 15, 2010 7:17 am

ninwa wrote:I agree, but unfortunately I'm not an artist and the spriteset didn't have a "running" animation. The gliding looks great in the air but is definitely awkward on the ground.
You could have game play where you would have to jump to move. ;)
Help us help you: attach a .love.

User avatar
Ryne
Party member
Posts: 444
Joined: Fri Jan 29, 2010 11:10 am

Re: Paralax Scrolling BG + Sprite Animations

Post by Ryne » Mon Nov 15, 2010 7:45 am

ninwa wrote: PS: Ryne, you should make me some enemy sprites! It took me forever to even get a pre-made sprite cut-up how I wanted it! :(
Sure I'll make you some sprites, With the amount of help I've been getting around here It's the least I can do. WHEN I can do the however, I'm not sure. I will undoubtedly be in the mood within the next week and I'll try to draw some up for you. It would be easier if you sent me the current sprites, so I can create new ones in the exact size and frame rate, to save you programming time. :)

Ps: Mine looks exactly like yours ninwa. Perfectly fine.

Windows 7 32bit
Love 6.2
@rynesaur

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests