Hello
Guest
, please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
ZFGC
>
Resources
>
Coding
>
Need some help for 'LoZ : Tale of the Past'
« previous
next »
Pages: [
1
]
Go Down
Print
Author
Topic: Need some help for 'LoZ : Tale of the Past' (Read 1129 times)
0 Members and 1 Guest are viewing this topic.
AncientLink
Need some help for 'LoZ : Tale of the Past'
«
on:
January 01, 2007, 07:59:12 pm »
Hi.
Im really stuck with this so if anyone could send a code telling me how to achieve this would be highly appreciated. Its probably easy to you coders out there but to me it isnt so simple... I want a code so that when the hero step on long grass, a puddle or deep water he either has grass/water around his feet or swims. I really cant figure this out. Any solutions? My movement code is just something like:
if keyboard_check(vk_down) then {y+=6 sprite_index=LinkRunS global.dir='S'}
If anyone can help i'll give credit
Thanks.
Logged
ZoSo
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #1 on:
January 01, 2007, 08:06:16 pm »
Reputation: +0/-0
Offline
Gender:
Posts: 448
Make a variable for both when he steps in tall grass,shallow water,deep water,ect. Make an object for the tall grass,shallow water ect. Then when link comes in contact with the obj set the variable to true. Then if the variable is set to true, draw the grass/water around his feet.
Logged
AncientLink
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #2 on:
January 01, 2007, 08:52:15 pm »
Ill try that thanks ZoSo
Logged
Obsequious Eye
King of Glass
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #3 on:
January 03, 2007, 04:44:03 am »
Yes, I am mocking you
Reputation: +0/-0
Offline
Posts: 298
just make sure you don't set it to a colision event, otherwise, the variable will stay true. Try using a step event and place_meeting(x,y,object) and !place_meeting(x,y,objectt) (or just else...)
Logged
I'm watching you...
Kylink
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #4 on:
January 03, 2007, 09:03:57 pm »
Don't Worry Sir, I'm From The Internet.
Reputation: +0/-0
Offline
Gender:
Posts: 2339
yah i was having that problem with my game too, it wasn't the problem of the effect appearing, its that i couldn't make it dissapear.
Logged
Grimace is the demiurge, the creator. From him all things in McDonaldland have sprung. He is not a sin, he's not a menu item, he's just Grimace. He exists. He rolls his lidless eyes and flaps his lipless mouth, formless and terrible, a protean idiot thing from the depths of pre-history.
paloupa
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #5 on:
January 05, 2007, 06:17:19 pm »
yea, i had that problem too...
But i heard that screen screen_redraw() works with that.
Logged
cb43569
Re: Need some help for 'LoZ : Tale of the Past'
«
Reply #6 on:
January 05, 2007, 06:33:06 pm »
Reputation: +0/-0
Offline
Gender:
Posts: 2890
Hmm, that movement code of yours, I used to use something like that, I think you should change, because you'll have a LOT of glitches otherwise
. Search for Goodnight's movement engine, it's great.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
ZFGC
>
Resources
>
Coding
>
Need some help for 'LoZ : Tale of the Past'
Contact Us
|
Legal
|
Advertise Here
2013 © ZFGC, All Rights Reserved