flickering actors

Learn how to make certain types of games and use gameEditor.

flickering actors

Postby AliceXIII » Fri Jul 20, 2012 4:05 pm

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...
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: flickering actors

Postby Hblade » Fri Jul 20, 2012 6:23 pm

sweet xD Excellent job :) what about collision though, and view moving :)

But sweet idea.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: flickering actors

Postby AliceXIII » Fri Jul 20, 2012 9:31 pm

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!
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: flickering actors

Postby Hblade » Sat Jul 21, 2012 3:17 pm

I see what you mean ^-^
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: flickering actors

Postby AliceXIII » Sat Jul 21, 2012 3:20 pm

=] little tricks with GE haha

i also made status bar tutorial after i saw yours :D
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: flickering actors

Postby Jagmaster » Sun Jul 22, 2012 3:56 am

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.
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: flickering actors

Postby skydereign » Sun Jul 22, 2012 8:48 am

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: flickering actors

Postby AliceXIII » Sun Jul 22, 2012 1:41 pm

hmm when i tested !transp it flickered at the same rate and gave the same effect unless my eyes aren't keen :D
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score

Re: flickering actors

Postby Jagmaster » Sun Jul 22, 2012 3:37 pm

@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
User avatar
Jagmaster
 
Posts: 875
Joined: Sun May 08, 2011 4:14 pm
Location: Not where you think.
Score: 82 Give a positive score

Re: flickering actors

Postby AliceXIII » Sun Jul 22, 2012 3:51 pm

:D haha
"Taking a breath of fresh air."
User avatar
AliceXIII
 
Posts: 325
Joined: Fri Sep 17, 2010 2:36 am
Location: victoria, texas
Score: 37 Give a positive score


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest