[web] uploading skins for an element

Started by
3 comments, last by nicmo 15 years, 3 months ago
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
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.
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.
What do you mean by browser-based game exactly?

Flash? Silverlight? &#106avascript? PHP/ASP/whatever?

- Jason Astle-Adams

php/mysql/&#106avascript

This topic is closed to new replies.

Advertisement