|
|
Re: Slightly improved Zelda code
[Re: koen]
#38067
11/27/05 00:57
11/27/05 00:57
|
Joined: Nov 2004
Posts: 862 Australia
DavidLancaster
OP
User
|
OP
User
Joined: Nov 2004
Posts: 862
Australia
|
Quote:
Sorry AccessPhenomenon, i cannot test ur code for this error:
var temp2[6]; 103:5 Error(): Twice defined temp2
my.animdist=0 498:0 Error(50): Parameter unknown animdist Parameter
ent_cycle(@2,myanimdist) 572:0 Error(50): Parameter unknown animdist Parameter
my.animdist+9*time 573:0 Error(50): Parameter unknown animdist Parameter
i'm not a writer and i cannot resolve the problem....
Do you have the following line at the top of the code:
DEFINE animdist,skill20;
Is the variable temp2 being defined more than once?
|
|
|
Re: Slightly improved Zelda code
[Re: Nadester]
#38069
12/01/05 06:11
12/01/05 06:11
|
Joined: Nov 2004
Posts: 862 Australia
DavidLancaster
OP
User
|
OP
User
Joined: Nov 2004
Posts: 862
Australia
|
Quote:
Quote:
When my player lands, after a jump, she sinks thru the terrain just down to her ankles. An eighth of a second later, A6 pushes her up so her feet touch the ground.
The same problem is in the Access Phenomenon demo.
Hooah! I just fixed this now, stopped the player from bobbing. After the move instruction, I did another trace to the ground and simply added this instruction:
IF (result < 0) { my.z -= result; my.skill13 = 0; z_force = 0; jump_z = 0; }
skill13, z_force, and jump_z all being the velocity/force vectors that just needed stopping
|
|
|
Re: Slightly improved Zelda code
[Re: Iglarion]
#38071
12/05/05 09:54
12/05/05 09:54
|
Joined: May 2005
Posts: 97
gedimaster
Junior Member
|
Junior Member
Joined: May 2005
Posts: 97
|
hi,
can someone send me the .zip file? the link is dead and i'd really like to test out the camera script. i'm using a6 pro.
thanks a lot!
Imagination comes before creation.
|
|
|
Re: Slightly improved Zelda code
[Re: koen]
#38076
12/06/05 01:41
12/06/05 01:41
|
Joined: Nov 2004
Posts: 862 Australia
DavidLancaster
OP
User
|
OP
User
Joined: Nov 2004
Posts: 862
Australia
|
Here's the download: www.accessphenomenon.com/zelda.zipIf you read this, this demo has a better camera than the code I've actually posted in this thread. The camera in this demo is the same as the Axys camera, it will not clip! Download this file and enjoy the camera
Last edited by AxysPhenomenon; 12/06/05 03:20.
|
|
|
|
|
|