Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - readerboy7

Pages: 1 2
Ask a Question / stop behavior if killed?
« on: March 25, 2012, 09:54:17 pm »
i have a series of behaviors. one scene behavior creates object a every 0.6 seconds. my actor behavior switches the scene  if the object is not destroyed within 5 seconds (theoretically). however, the scene switches after 5 seconds even when the actor died. can you help?
here is the actor behavior:
when created
do after 5 seconds
if self is alive
fade out

if mouse was pressed on self
incriment attriburte by 1
kill self

scene behavior:
when created
do every 0.6 seconds
create objects at x: random int between 0 and scene width, y: random int between 0 and scene height.

can someone please help?

Ask a Question / collide with actor actortype
« on: December 05, 2011, 11:36:58 pm »
is there a way to do something like
if actor collided with actor [actor type] at more than speed of [attribute]
with code blocks?
if without code blocks, please also tell me how to switch animation in actionscript.
thank you.

Resolved Questions / basic code help shrink [solved]
« on: December 04, 2011, 09:21:06 pm »
i want to know how to have the top of the actor at the mouse without putting the size of the actor back to 100%. thank you.
edit: never mind. i worked it out


try it.
seisure mode is better than normal if it doesn't hive you any seisures. it hasn't happened... yet

Ask a Question / mixing text colors
« on: October 14, 2011, 01:57:57 am »
in stencyl, how do i write: 1, 2, 3 ect? isit even possible without code blocks?

Ask a Question / blank screen
« on: October 12, 2011, 07:28:27 pm »
i made a game and finished it but it has one problem: when i tried to upload it on stencyl or test it using flash it displays a blank screen. you can see it here or play it on stencylforge called idle.

Ask a Question / drag actor
« on: October 12, 2011, 12:49:18 pm »
i want to be able to drag actors. any idea on the behavior?

Ask a Question / random color
« on: October 11, 2011, 03:11:27 pm »
i want a random color where red is 0, green is random number between 1 and 20, blue is a random number between 200 and 255. i know this is possible with code, but i don't know the code.

Ask a Question / i need a behavior for level select
« on: October 01, 2011, 01:14:33 pm »
just look at the title.

Ask a Question / if random number between is not any number between
« on: September 24, 2011, 02:06:22 am »
i want to make a behavior where if a random number is not any number between 2 other numbers, something happens. can you please help?

Ask a Question / use this background if
« on: September 23, 2011, 02:25:40 pm »
i want to make a behavior where a certain backround is used if a button is pressed.
i have this so far:
behavior one: if mouse was pressed on self send 1 to behavior background
behavior two: if mouse was pressed on self send 2 to behavior background
background: if this hears 1
                   if this hears 2

Resolved Questions / disable sound when on different scene. [solved]
« on: September 23, 2011, 12:21:27 am »
i have a sound that plays on a certain scene. however, when i leave the scene, the music doesn't stop and the music plays from 2 different points when i enter the scene again. this compounds every time i enter the scene again. can someone tell me how to stop the music once i leave the scene or tell me how to stop the music from compounding?
this is my current behavior:
when created: loop music [attribute]

Ask a Question / if actor is not on screen
« on: September 19, 2011, 10:51:48 pm »
i want to make a behavior where if none of a certain actor is on screen, switch screen. i tried:
 if not nose hairs is on screen
fade out for 1 secs, then switch to scene 1 and fade in for 1 secs.
but it didn't work. any help?

Windows / Mac / Flash / HTML5 / another game
« on: September 18, 2011, 11:09:54 pm »

Ask a Question / decrease the size of the object
« on: September 17, 2011, 02:04:24 am »
i need to make a behavior: if [something happens] multiply width and height of object and collision by 0.90

Pages: 1 2