Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
How to make user upload texture or image to the game..

aiming_bullets
Guest
Quote
2018-01-18 09:00:47

I had a option of user profile pic at the top right corner in my game.
i want that when user click on a specific button then a dialog box will open and user can choose his own photo. and then the photo will show at the profile pic overlay as a texture.

please help if anybody can!

Thanks!


niko
Moderator
Quote
2018-01-19 07:53:48

I'd use either a 2D overlay made visibile for the dialog (or a new scene) which then sets a variable based on the image clicked.


aiming_bullets
Guest
Quote
2018-01-19 14:53:57

I think you didn't get me right.

I want to when i click on a 2d overlay then the file explorer will open to choose an image. and after choosing the image. that image will be applied to that 2d overlay as texture.

so that user can choose custom image as texture for that 2d overlay.

i don't want to provide the user to select from preloaded images.

so now how to achieve that??


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact