Page 2 of 5

Re: Paralax Scrolling BG + Sprite Animations

Posted: Sun Nov 14, 2010 6:10 pm
by ninwa
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?

Re: Paralax Scrolling BG + Sprite Animations

Posted: Sun Nov 14, 2010 6:11 pm
by TechnoCat
Shouldn't matter in this case I would think, but 0.7.0 on Windows 7.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Sun Nov 14, 2010 6:12 pm
by Robin
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.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Sun Nov 14, 2010 6:25 pm
by zac352
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.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 1:38 am
by ninwa
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?

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 1:39 am
by TechnoCat
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.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 5:02 am
by VideroBoy
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.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 5:29 am
by ninwa
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.

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 7:17 am
by Robin
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. ;)

Re: Paralax Scrolling BG + Sprite Animations

Posted: Mon Nov 15, 2010 7:45 am
by Ryne
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