How do I User Upload Image

Get help using Construct 2

Post » Sun Jul 05, 2015 5:33 am

Hello,
How can I let a user upload an image to move around on the screen?
B
3
Posts: 4
Reputation: 214

Post » Sun Jul 05, 2015 9:09 am

FileChooser+BlankSprite(DragDrop behavior)..Load image from URI
example.capx
Image
B
64
S
23
G
7
Posts: 1,482
Reputation: 10,825

Post » Mon Jul 13, 2015 11:28 pm

FANTASTIC!! Thank you. Thank you and THANK YOU!!!
Is there a way to re-size the image automatically if it's too big?
B
3
Posts: 4
Reputation: 214

Post » Tue Jul 14, 2015 8:15 am

@korbaach great stuff man. I did not knew about FileChooser plugin.
B
78
S
21
G
23
Posts: 513
Reputation: 18,623

Post » Tue Jul 14, 2015 12:58 pm

@underdawg135 ..you can scale down image..

BlankSprite instance variabile "maxWidth"
BlankSprite instance variabile "maxHeight"

On image URL loaded
Image> maxWidth or Image>maxHeight set image to example2.capx

@Cipriux Wednesday, June 25, 2014
Image
B
64
S
23
G
7
Posts: 1,482
Reputation: 10,825


Return to How do I....?

Who is online

Users browsing this forum: vegapomme27 and 10 guests