can you comment the code you gave me so I can understand and learn from it?
Error help on building symbol tables
#16
Posted 23 October 2016 - 12:23 AM
#17
Posted 23 October 2016 - 02:00 AM
#18
Posted 23 October 2016 - 02:17 PM
ok thankyou
Edit: Lejes
I Have been comparing it to the game boy speed of link
and it seems even at 0.1 hes a little too fast is there a way to put it on a timer so it can go to really slow speeds?
Edited by Shadowblitz16, 23 October 2016 - 02:31 PM.
#19
Posted 23 October 2016 - 03:22 PM
#20
Posted 23 October 2016 - 07:15 PM
@Lejes sorry my bad
I'm saying it has a bug in it where you can't slow down link past 1.0
Edited by Shadowblitz16, 23 October 2016 - 07:15 PM.
#21
Posted 23 October 2016 - 07:25 PM
#22
Posted 23 October 2016 - 07:44 PM
have you tested it?
if you make it use a value like 0.005 it will be the same as 0.05 or 0.5
#23
Posted 23 October 2016 - 08:24 PM
#24
Posted 23 October 2016 - 08:40 PM
hmm weird I had to remove the waitframe() command at the end of my global active script
but now I see what bugs you were talking about
I'm going to list some bugs here I found
-Link twitches when he is moving diagonally when slower then 1.5
-Link has hard time opening chests when slower then 1.5
-Link can't stab the wall when slower then 1.5
-Link has hard time scrolling when slower then 1.5
-Link can move in any state when faster then 1.5
Edited by Shadowblitz16, 23 October 2016 - 09:19 PM.
#25
Posted 01 November 2016 - 09:55 AM
@Lejes
ok so I decided to go with a much simpler script, one that just delays Link's directional input.
however I can't seem to get ZC collisions to work with it, for example push blocks don't move when Link is next to them
I suspect it has something to do with internal collisions actually checking a step of 1.5 instead of X and Y
is there a way to fix something like this?
here is my code
int delay = 0; void Link_Update() { if ( delay <= 0 ) { delay = 1; } else { delay -= 1; Link->InputUp = false; Link->PressUp = false; Link->InputDown = false; Link->PressDown = false; Link->InputLeft = false; Link->PressLeft = false; Link->InputRight = false; Link->PressRight = false; }
it is much less simpler then the one I was working on before and the one you linked me.
I would use the one you linked but it has many bugs and I don't have the ability to fix them
Edit: ok so I can't get the exact speed with this script so nevermind
can you fix the one you gave me and upload it to the database?
I'm sure someone else could use it too.
Edited by Shadowblitz16, 01 November 2016 - 10:00 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users