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

A little confusion with gravity effects

Jimbob

JCF Member

Joined: Jun 2006

Posts: 658

Jimbob is doing well so far

Jan 12, 2008, 12:49 PM
Jimbob is offline
Reply With Quote
Question A little confusion with gravity effects

I just saw a cool warp that inverts gravity in the third example level for Violet's new tileset conversion. I'm just wondering... how do you make these cool gravity effects?
__________________
Pack: Legacies
-
Level 1: Fairytale Fantasy Land - 140x140
15.4% - ||||||||||
Diamondus Night FP - y_light.xm
-
Level 2: Barricade Beach - 110x110
6% - ||||||||||
Beach+ Tropical - tropical_beach.s3m
-
Level 3: Starlight City - 140x140
5.387% - ||||||||||
Big Landscape Evening - aws_anew.xm
-
Level 4: Nightly Nature Walk - 180x180
4.641% - ||||||||||
IC - SluggionP - alc_run.xm

Last edited by Jimbob; Jan 12, 2008 at 01:21 PM.
Birdie Birdie's Avatar

JCF Member

Joined: Mar 2005

Posts: 1,796

Birdie is doing well so far

Jan 12, 2008, 12:52 PM
Birdie is offline
Reply With Quote
They're just illusions; there is a layer with the 'floor' or 'ceiling' or whatever you want to call it, and it has it's x speed set to 1, but it's y speed set at -1, so when you jump, gravity appears to go in the opposite direction.
__________________
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,042

Violet CLM has disabled reputation

Jan 12, 2008, 01:06 PM
Violet CLM is offline
Reply With Quote
Exactly. An alternate layer (5, 6, 7, whatever) is given all the same properties as Layer 4, except for a Y speed of -1 and (I suggest) Tile Height. Create the visual appearance of the antigravity area in that layer, either from scratch or by copying it in from layer 4. Then reconstruct the mask of the area in layer 4 as best you can using invisible tiles, except the whole thing is upsidedown - I suggest copying from the antrigrav layer, line by line, except in reverse vertical order, and then converting to invisible by hand. For a foreground, employ layer 1 or 2 and give it the same settings as the first antigrav layer. Finally, lots of trial and error.
(Note however that very few tilesets have antigrav support as detailed as CrysilisV, which is why it was specially showcased at all; most of the time the best you'll get is your head partway into the ceiling like in Mike's first episode.)
__________________
Jimbob

JCF Member

Joined: Jun 2006

Posts: 658

Jimbob is doing well so far

Jan 12, 2008, 01:29 PM
Jimbob is offline
Reply With Quote
But the question is, how do you do it with warps?
__________________
Pack: Legacies
-
Level 1: Fairytale Fantasy Land - 140x140
15.4% - ||||||||||
Diamondus Night FP - y_light.xm
-
Level 2: Barricade Beach - 110x110
6% - ||||||||||
Beach+ Tropical - tropical_beach.s3m
-
Level 3: Starlight City - 140x140
5.387% - ||||||||||
Big Landscape Evening - aws_anew.xm
-
Level 4: Nightly Nature Walk - 180x180
4.641% - ||||||||||
IC - SluggionP - alc_run.xm
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,813

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Jan 12, 2008, 01:39 PM
cooba is offline
Reply With Quote
...place the Warp Target into the area with the effect.
Jimbob

JCF Member

Joined: Jun 2006

Posts: 658

Jimbob is doing well so far

Jan 12, 2008, 03:39 PM
Jimbob is offline
Reply With Quote
Well thank you guys for the help. I just might try to make a level like that sometime
__________________
Pack: Legacies
-
Level 1: Fairytale Fantasy Land - 140x140
15.4% - ||||||||||
Diamondus Night FP - y_light.xm
-
Level 2: Barricade Beach - 110x110
6% - ||||||||||
Beach+ Tropical - tropical_beach.s3m
-
Level 3: Starlight City - 140x140
5.387% - ||||||||||
Big Landscape Evening - aws_anew.xm
-
Level 4: Nightly Nature Walk - 180x180
4.641% - ||||||||||
IC - SluggionP - alc_run.xm
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,042

Violet CLM has disabled reputation

Jan 12, 2008, 04:52 PM
Violet CLM is offline
Reply With Quote
(It's cooler without warps, like Mike managed...)
Jimbob

JCF Member

Joined: Jun 2006

Posts: 658

Jimbob is doing well so far

Jan 12, 2008, 05:41 PM
Jimbob is offline
Reply With Quote
I know
__________________
Pack: Legacies
-
Level 1: Fairytale Fantasy Land - 140x140
15.4% - ||||||||||
Diamondus Night FP - y_light.xm
-
Level 2: Barricade Beach - 110x110
6% - ||||||||||
Beach+ Tropical - tropical_beach.s3m
-
Level 3: Starlight City - 140x140
5.387% - ||||||||||
Big Landscape Evening - aws_anew.xm
-
Level 4: Nightly Nature Walk - 180x180
4.641% - ||||||||||
IC - SluggionP - alc_run.xm
EvilMike EvilMike's Avatar

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

Jan 12, 2008, 10:01 PM
EvilMike is offline
Reply With Quote
Quote:
Originally Posted by Unknown Rabbit View Post
(It's cooler without warps, like Mike managed...)
I actually did use a warp, at least to begin the effect. To return to normal gravity there was no warp, but was a lot of visual trickery hidden in an area where the player would normally run through quickly, so it was easy to pull off.
__________________
Download my JJ2 Episodes! (5 episodes)

Visit My JJ2 Blog (HOLD YOUR HORSES I'M WORKING ON IT SHEESH)
Reply

Tags
jcs trickery

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 10:30 AM.