ID:168806
 
does anyone know how to increase the speed of icons? i know how to decrease their speed, via movement delay, but i cant seem to increase their speed.
Xeon2000 wrote:
does anyone know how to increase the speed of icons? i know how to decrease their speed, via movement delay, but i cant seem to increase their speed.

I'm pretty sure you're not able to increase the speed of the frame-rate for your icon. Only thing I could suggest is manipulating the image itself to create the illusion that it's moving fast.

~Sinyc.
In response to Sinyc
wouldnt you be able to increase the speed of an icon using the same principles as this? but instead of delaying movement. This is how i slow down the icons, maybe theres a way to speed them up using this?






mob/var
speeding = 0
rundelay = 0 //Set this to different settings to control how slow or fast the mob walks.

client/Move()
if(mob.speeding <= 0)
mob.speeding = 1
..()
sleep(mob.rundelay)
mob.speeding = 0
else
return
In response to Xeon2000
Xeon2000 wrote:
wouldnt you be able to increase the speed of an icon using the same principles as this? but instead of delaying movement. This is how i slow down the icons, maybe theres a way to speed them up using this?






mob/var
speeding = 0
rundelay = 0 //Set this to different settings to control how slow or fast the mob walks.

client/Move()
if(mob.speeding <= 0)
mob.speeding = 1
..()
sleep(mob.rundelay)
mob.speeding = 0
else
return

1. Use DM tags.
2. When you take the basis of Kunark's MovementDelay, make sure to give him credit.
3. That's for movement, not icons. It slows down the movement, yet the icon speed stays the same.
-Sin()
In response to Sinoflife
Well, perhaps you can give the illusion as someone said and give the icons a sort of.... fast movement by adjusting the 2nd and 4th frames, maybe even you can give it a full run by adjusting all 4 frames?
In response to Xeon2000
I believe he's talking about the rate that an animation flicks through in an icon. Not how fast you can move. =)
In response to Sinyc
If you leave the delay at one and adjust the frames properly it will seem to be moving faster. :P
In response to Cheetoz
Cheetoz wrote:
If you leave the delay at one and adjust the frames properly it will seem to be moving faster.

Exactly what I mean when I say "manipulate" the animation itself to create the illusion that your icon is moving faster. =)
In response to Cheetoz
well im sure it is possible, take clandbgt2 for instance, when you turn ssj, your movement speed increases, and its no illusion. dragonball unstoppable power, when you teleport you move at great speed, and again its not an illusion.
In response to Xeon2000
a simple method would be to make a 'slowed down' icon speed rate to be your new 'normal' animation rate. so, for example you can set variables for re-use in your icon speed(s): (using pseudo-code since i don't have DM coding in my head at the moment)

normal_rate = original_speed_rate - 10 (or whatever method you would use to reduce the rate)

slow_rate = normal_rate - 10 (something slower than the current 'new' normal rate created above)

fast_rate = normal_rate + 10 (something faster than the current 'new' normal rate)

of course your 'fastest' rate could never be really higher than the original 'normal' rate (before you created the new normal rate), so it's a good idea to set the middle-ground (or normal rate) reasonable slow, yet not too slow so that slower rates look unreasonable.

so when you use a faster rate, you are creating the illusion of faster animation, when in reality you are just making it less slower than your newly modified 'normal' rate.

hopefully that gives you an idea, or atleast helps someone else with more DM knowledge provide a bit more useful code for this idea. looking back, even i am a bit confused at my own wording, but it sounds sound- in principle.
In response to Xeon2000
...Haven't you noticed that Clan DBGT 2 has a movement delay? And as a player you couldn't notice they are walking very slow, yet possibly a "programmer"... that is something you should know. I mean if you want something like they have then just do this.



client/Move()
sleep(mob.walkity)
..()
mob/var
walkity = 5
mob/verb
Tamper()
switch(usr.walkity)
if(5)
usr.walkity = 4
usr << "[usr.walkity]"
if(4)
usr.walkity = 3
usr << "[usr.walkity]"
if(3)
usr.walkity = 2
usr << "[usr.walkity]"
if(2)
usr.walkity = 1
usr << "[usr.walkity]"
if(1)
usr.walkity = 5
usr << "[usr.walkity]"
That is just to show you an example.
In response to Cheetoz
__>
mob/var{walkity=5;walking}
mob/Move()
if(walking)return
walking=1
slewep(walkity)
walking=0
return ..()
mob/verb/tamper()
walkity--
if(!walkity)walkity=5
src<<walkity
In response to Ol' Yeller
OMG! You bum! Why must you follow behind me and torment me. :(