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.


Messages - Derelikt

Pages: 1 ... 4 5 6
76
Ask a Question / Re: why is this happening
« on: April 16, 2012, 05:41:58 am »
open pronger and check if it has a collision box, if it does. Go to collision groups under Game Center, and make sure the pronger group is set to collide with tiles. if pronger is "enemy", when you click enemies under collision groups, "tiles" should be in green, not blue.

77
Ask a Question / Re: How to make a character shrink/grow?
« on: April 16, 2012, 05:38:45 am »
I have't tried it yet but, could setting the initial value of a number attribute to a 100 then increment by 1 when "mouse is over" work?.

78
Ask a Question / Re: Sound help needed !
« on: April 16, 2012, 05:27:46 am »
Have you tried using "fade out sound" right before the "loop sound" block?

scene 1

if not(musicplaying)
    loop music A in channel 1

otherwise if (musicplaying)
    fade out sound on channel 1
    loop music A in channel 1

scene 2

if not(musicplaying)
    loop music B in channel 1

otherwise if (musicplaying)
    fade out sound on channel 1
    loop music A in channel 1

Hope this helps.

79
Resolved Questions / Re: Help Setting up a proper Death Animation
« on: April 16, 2012, 05:03:30 am »
Adding to what Psyche suggested, another way is to remove collision boxes for the death animation, so when the player collides with the enemy, the death animation will play with no collision box, preventing from colliding again.

80
Ask a Question / Re: help!
« on: April 16, 2012, 04:57:53 am »
create a number attribute and set it when the scene is created to the number of enemies in the scene. After that you can decrement by 1 everytime an enemy gets killed, then use an IF block to end the scene when enemies=zero. hope this helps.

81
Ask a Question / Re: transparent color actor
« on: April 15, 2012, 08:31:57 pm »
Create another layer behind the default one and send the object to the back layer while the actor is in the front one. I think it would look the way you want.

82
Resolved Questions / Re: Help Setting up a proper Death Animation
« on: April 15, 2012, 08:16:26 pm »
Instead of putting it into a "when self is killed block", use a collision block. Because "when .. is killed" requires killing the actor.

83
Ask a Question / Re: Help with collecting and scoring script
« on: April 15, 2012, 07:39:53 pm »
You could set the default value for the coins attribute to the total coins number under "when created" in each scene, then decrement coins by one every time the player collides with one until it reaches zero, at which point an if statement can end the scene when coins=zero. As for showing it on screen, as Yoshi suggested, draw text block.

Pages: 1 ... 4 5 6