Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Rain help

EnergyClock

JCF Member

Joined: Jun 2005

Posts: 49

EnergyClock is doing well so far

Jun 25, 2005, 01:22 PM
EnergyClock is offline
Reply With Quote
Rain help

I'm making a level with rain in the foreground. It moves in the right direction, but in the game when I run toward it, itloes down and when and when a I run in the same direction as it, it speeds up.
__________________
Strawberry Clock is king of the portal.
98% of teens have tried smoking pot and drinking. If you're one of the 2% who hasn't, copy this and put it in your Signature.
snzspeed

JCF Member

Joined: Sep 2003

Posts: 1,377

snzspeed is a forum legendsnzspeed is a forum legendsnzspeed is a forum legend

Jun 25, 2005, 01:34 PM
snzspeed is offline
Reply With Quote
x-Speed: 1
y-Speed: 1

gg.
__________________
JelZe GoldRabbit

JCF Member

Joined: Mar 2001

Posts: 620

JelZe GoldRabbit is doing well so far

Jun 25, 2005, 02:18 PM
JelZe GoldRabbit is offline
Reply With Quote
Quote:
Originally Posted by EnergyClock
I'm making a level with rain in the foreground. It moves in the right direction, but in the game when I run toward it, itloes down and when and when a I run in the same direction as it, it speeds up.
That's the trouble with automatic scrolling layers: they're static, meaning that the actual layer doesn't move when you move, they only move automatically; that's how that illusion you described is created. It's unavoidable, and can't be fixed.

There is a way around it thankfully. All you need to do is make an animation of the rain falling, and put it in the level normally. That way you won't need an automatic scrolling layer.

- JelZe GoldRabbit =:3
EnergyClock

JCF Member

Joined: Jun 2005

Posts: 49

EnergyClock is doing well so far

Jun 25, 2005, 03:28 PM
EnergyClock is offline
Reply With Quote
Quote:
Originally Posted by JelZe GoldRabbit
That's the trouble with automatic scrolling layers: they're static, meaning that the actual layer doesn't move when you move, they only move automatically; that's how that illusion you described is created. It's unavoidable, and can't be fixed.

There is a way around it thankfully. All you need to do is make an animation of the rain falling, and put it in the level normally. That way you won't need an automatic scrolling layer.

- JelZe GoldRabbit =:3
Thanks, but the animation is a little choppy that way, but it's hard to notice either way with the fog I added
__________________
Strawberry Clock is king of the portal.
98% of teens have tried smoking pot and drinking. If you're one of the 2% who hasn't, copy this and put it in your Signature.
ShadeJackrabbit

JCF Member

Joined: Apr 2005

Posts: 1,342

ShadeJackrabbit is doing well so far

Jun 26, 2005, 08:10 AM
ShadeJackrabbit is offline
Reply With Quote
In 1.23 I can do rain which is not static. You move right and it moves left faster. You move left and it moves right faster. Fall, and you go faster than the rain. Jump, and you are slower than the rain.
__________________

Stop talking sense, this is an internet argument. ~Doubble Dutch
JelZe GoldRabbit

JCF Member

Joined: Mar 2001

Posts: 620

JelZe GoldRabbit is doing well so far

Jun 26, 2005, 11:45 AM
JelZe GoldRabbit is offline
Reply With Quote
Quote:
Originally Posted by ZAPPER
In 1.23 I can do rain which is not static. You move right and it moves left faster. You move left and it moves right faster. Fall, and you go faster than the rain. Jump, and you are slower than the rain.
That's nice, but what you're saying is useless unless you tell us how

- JelZe GoldRabbit =:3
EvilMike

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Jun 26, 2005, 03:35 PM
EvilMike is offline
Reply With Quote
Quote:
Originally Posted by ZAPPER
In 1.23 I can do rain which is not static. You move right and it moves left faster. You move left and it moves right faster. Fall, and you go faster than the rain. Jump, and you are slower than the rain.

It just looks like that. In reality the speed of the layer is not changing at all, and just looks like that because of an optical illusion. To avoid that, just make the automatic speed of the layer really fast. The illusion will still occur, but it will be harder to notice.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 06:46 AM.