Resizing plasma.

For questions about using Classic.

Post » Sat Oct 16, 2010 6:09 pm

I have a black screen with a plasma fire in the middle. Some gaming is going to take place around the fire and as you progress the flame should slowly grow from very tiny to pretty huge.

Question is: What is the best way of making the flame grow. I've tried just changeing the width/height, and it looks right, but it seems like the source is resizing in a different way then the box, so eventually it moves out of the box.

I don't understand the plasma object fully yet, so if there's some other method of making the fire bigger feel free to suggest them.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Oct 16, 2010 7:30 pm

You could try increasing the X and Y speed of the plasma. Can't really say without seeing what you're going for, though :?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sat Oct 16, 2010 9:58 pm

I'm basically going for a larger fire. Increasing the speed only stretches it on the length if I'm not mistaking. But maybe that combined with changing the transparency. Well, I'll try some more, but if anyone understands how to work around the weird resizing let me know.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Sat Oct 16, 2010 11:22 pm

well, it depend where you placed the [color=#FF0000:21lqf098]Hotspot[/color:21lqf098],

if the hotspot is placed at 0,0 the resizing wil take effect from 0,0 but if you have a 128x12 sprite,i suggst you to place the [color=#FF0000:21lqf098]Hotspot[/color:21lqf098] in the middle so that the resising start from the middle like
64,0.

Good Luck :D

hope it helped.
B
3
S
2
G
2
Posts: 136
Reputation: 1,347

Post » Sat Oct 16, 2010 11:49 pm

But we're not talking about a sprite here... the hotspot for the box of the plasma object can't be moved, and how the source is resized doesn't seem to depend on the hotspot.
B
8
S
2
G
5
Posts: 744
Reputation: 3,288


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests