Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 730 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 13 of 15 1 2 11 12 13 14 15
Re: Slightly improved Zelda code [Re: molotov] #38137
05/07/06 14:07
05/07/06 14:07
Joined: Apr 2006
Posts: 76
Philippines
AdrianX Offline
Junior Member
AdrianX  Offline
Junior Member

Joined: Apr 2006
Posts: 76
Philippines
..okay molotov,i'll try that out as soon as possible.
@axys ..holding down the control button or the left mouse button makes the player attack continuously;how can i make it so that the player only attack once even if the attack button is being held down?
..and is it intentional to make the attack animation start at the second or third frame and then cycle through the whole animation again?what i did was to change the line "my.animdist-=20*time" to my.animdist=0; in the function basic attack;the animiation started alright but the animation is too fast..
..and there's a bug (i think): jumping(or falling down) from a very high place and hitting the attack button while on the air will immediately pull the player to the ground where he's supposed to land..
..thanks in advance! ^_^

Re: Slightly improved Zelda code [Re: AdrianX] #38138
05/08/06 10:05
05/08/06 10:05
Joined: Apr 2006
Posts: 76
Philippines
AdrianX Offline
Junior Member
AdrianX  Offline
Junior Member

Joined: Apr 2006
Posts: 76
Philippines
@molotov: it still didn't work..
..still have any ideas on how to make it work?

Re: Slightly improved Zelda code [Re: AdrianX] #38139
05/08/06 15:04
05/08/06 15:04
Joined: Apr 2006
Posts: 329
M
molotov Offline
Senior Member
molotov  Offline
Senior Member
M

Joined: Apr 2006
Posts: 329
Adrian, do you get a error message?, if so, what does it say.

Re: Slightly improved Zelda code [Re: molotov] #38140
05/08/06 23:07
05/08/06 23:07
Joined: Apr 2006
Posts: 76
Philippines
AdrianX Offline
Junior Member
AdrianX  Offline
Junior Member

Joined: Apr 2006
Posts: 76
Philippines
..well,WED still can't recognize the lock_on_object action..it's something like "lock_on_object" action not found or something.
..anyway,you know how to stop the "autofiring" of the attack? (holding down the contol button makes the player attacking continuously.i want to make it so that the player must press the attack button again so to attack instead of just holding it down).

Re: Slightly improved Zelda code [Re: AdrianX] #38141
05/09/06 01:21
05/09/06 01:21
Joined: Jan 2002
Posts: 94
Where ever this is, I 'm lost!
Serlink Offline
Junior Member
Serlink  Offline
Junior Member

Joined: Jan 2002
Posts: 94
Where ever this is, I 'm lost!
Maybe something like this:

while (key_whatever == 1) {wait (1);} // can't use autofire on a sword

Serlink


Friendship starts with two smiles, one on me and one on you.
Serjr 2006
Re: Slightly improved Zelda code [Re: Serlink] #38142
05/16/06 10:33
05/16/06 10:33
Joined: Apr 2006
Posts: 76
Philippines
AdrianX Offline
Junior Member
AdrianX  Offline
Junior Member

Joined: Apr 2006
Posts: 76
Philippines
Quote:

Maybe something like this:

while (key_whatever == 1) {wait (1);} // can't use autofire on a sword

Serlink



..didn't work..or maybe i don't know where to put it..

Re: Slightly improved Zelda code [Re: AdrianX] #38143
05/16/06 15:09
05/16/06 15:09
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
if(key_whatever == 1)
{
while(key_whatever == 1){wait(1);}
...
}

like that


"Yesterday was once today's tomorrow."
Re: Slightly improved Zelda code [Re: Inestical] #38144
05/17/06 07:46
05/17/06 07:46
Joined: Apr 2006
Posts: 76
Philippines
AdrianX Offline
Junior Member
AdrianX  Offline
Junior Member

Joined: Apr 2006
Posts: 76
Philippines
Quote:

if(key_whatever == 1)
{
while(key_whatever == 1){wait(1);}
...
}

like that



..still didn't work.all it did was keeping the player from attacking(freezing the animation) until i release the attack key..

Re: Slightly improved Zelda code [Re: AdrianX] #38145
05/17/06 08:08
05/17/06 08:08
Joined: Nov 2005
Posts: 131
D
darkstein Offline
Member
darkstein  Offline
Member
D

Joined: Nov 2005
Posts: 131
could someone post a new version with al the updates from the forum

Re: Slightly improved Zelda code [Re: darkstein] #38146
05/23/06 08:09
05/23/06 08:09
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline OP
User
DavidLancaster  Offline OP
User

Joined: Nov 2004
Posts: 862
Australia
The code is now on Acknex Unlimited

http://coniroot.de/~pirvu/au/scripts/zeldacode.zip

Page 13 of 15 1 2 11 12 13 14 15

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1