Jump to content
  • Advertisement
Sign in to follow this  
nicmo

[web] uploading skins for an element

This topic is 3456 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello this is my first post! For a browser based car racing game i need to create a feature that allow players to upload a skin for their helmets. So what would happen is that a player has a default helmet, i assume thats just a normal image and the i would let them upload an image that would skin the helmet so that everyone sees the image when they go to the player information page. I need some help on what to look for, does this process have a name where i can look up tutorials, examples, etc? Does anyone know what to do ? Cheers

Share this post


Link to post
Share on other sites
Advertisement
Provide a file upload form—those are standard in HTML. Add a size limit so your server doesn't crumble under the weight. When your server receives a file, store it in a hidden directory where moderators will come and check (using the moderation back-office) whether the image is acceptable, so you avoid publishing child pornography or similar images. Once the image is accepted, it's moved to a public directory on the server that can be accessed by anyone, and the profile page of your user simply links to the appropriate image from that directory.

Share this post


Link to post
Share on other sites
thanks, thats the normal way to upload images.

what i am after is some kind of overlaping, so that a player does not change the helmet layout for example. i want them to paint whatever they like and then my aplication will merge it or overlap it with my default/blank helmet design.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!