Page 1 of 1

flickering actors

PostPosted: Fri Jul 20, 2012 4:05 pm
by AliceXIII
I have found that i can use this in the draw actor code and it'll cause the actor to blink or flicker with one line of code
Code: Select all
xscreen=-xscreen;


could use it on a timer event to get differn't flicker ratios..

don't now whether this has been done or whether it's a good idea to use :?: just messin around and found it out...

Re: flickering actors

PostPosted: Fri Jul 20, 2012 6:23 pm
by Hblade
sweet xD Excellent job :) what about collision though, and view moving :)

But sweet idea.

Re: flickering actors

PostPosted: Fri Jul 20, 2012 9:31 pm
by AliceXIII
Easy, since you ask here's a tutorial on that to :D

flicker.ged


not really a tutorial but it's easy to see whats going on in it..

it sucks with moving actors as it only lets you move on a single axis collisions work all the same with physical response though!

if used with stationary objects it would work perfect though!

Re: flickering actors

PostPosted: Sat Jul 21, 2012 3:17 pm
by Hblade
I see what you mean ^-^

Re: flickering actors

PostPosted: Sat Jul 21, 2012 3:20 pm
by AliceXIII
=] little tricks with GE haha

i also made status bar tutorial after i saw yours :D

Re: flickering actors

PostPosted: Sun Jul 22, 2012 3:56 am
by Jagmaster
Pretty interesting way of doing it, I love it when these things get discovered by accident. :D But wait, I thought xscreen and yscreen were read only variables? These can be changed to manipulate position instead of x and y? If so, that would solve a lot of parenting issues.

I usually just use transp=!transp; for flicker as that doesn't mess with movement. It doesn't look as crisp as the xscreen method for some odd reason.

Re: flickering actors

PostPosted: Sun Jul 22, 2012 8:48 am
by skydereign
Jagmaster wrote:These can be changed to manipulate position instead of x and y? If so, that would solve a lot of parenting issues.

Yes xscreen and yscreen can be changed. And yes, it bypasses a lot of parenting position issues.

Re: flickering actors

PostPosted: Sun Jul 22, 2012 1:41 pm
by AliceXIII
hmm when i tested !transp it flickered at the same rate and gave the same effect unless my eyes aren't keen :D

Re: flickering actors

PostPosted: Sun Jul 22, 2012 3:37 pm
by Jagmaster
@Sky: Thanks for the explanation, I'll be experimenting with those two vars to see what I can do with them.

@Alice: Now that I think of it, it's prolly just my older monitor, which you can see transparent actors at 100% transparency (hence causing it to blur a little). It doesn't do that on my newer computers though. xD

Re: flickering actors

PostPosted: Sun Jul 22, 2012 3:51 pm
by AliceXIII
:D haha