How do I Create over two sprite UID image point

Get help using Construct 2

Post » Fri Nov 20, 2015 2:01 am

How do I Create or spawn a sprite objet over two sprite UID image point
eg
textName uid = 0 with xy position at 64, 992

textName uid = 1 with xy position at 256, 896

sprite uid = 2 current position is any where off screen


what i want i do
system => var 1 equal var2 =2 => system => create Sprite at textName uid = 0 (imagepoint 0) to textName uid = 1 (imagepoint 0)
B
9
S
2
Posts: 66
Reputation: 717

Post » Fri Nov 20, 2015 12:30 pm

I'm not sure I understand..
Do you want the sprite to stretch, scale, rotate to overlap both imagepoints?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Nov 20, 2015 5:28 pm

yes LittleStain Stretch...
for now i just fake it, make invisible on start when i need it to stretch from point A to B i make it visible over them. this way i think it use up memory but if i spawn it when i need it i'll use less memory

next way can do it to stretch over one
system => create obj Sprite on layout 0 (textName.X , textName.Y + 10)

i just cant come up with how to say create it from textName uid = 0 to textName uid = 1


(lol.X , lol.Y , dwl.X , dwl.Y) this is how to state two different sprite
how to reference the UID property in this case.



>>>newbie still asking for discount<<<
B
9
S
2
Posts: 66
Reputation: 717

Post » Fri Nov 20, 2015 5:48 pm

One way would be to pick the second instance by uid, set some local variables to the x and y..

then have the first instance spawn or create and stretch to the x and y in the local variables..

A lot depends on how you have things set up..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, the_Shit_hawk and 11 guests