thanks,perfect thanks, just one more thing if for example is another type of object is not a ball, for example .... is a star, adapted to the points of the star? I ask this because if does not fit the collisions would not work well, no?
It is true. The collisions are set for circle or rectangle.
instead of trimming your images it is sometimes better to "select all" in photoshop on the layer with the object you want, copy, create a new file, and photoshop will make it at the size of the object inside the selected copy so when you paste into the new file, the size of the file will be exactly correct for the size of the object. If you have created a file with no background layer, you can then save to PNG and have the correct alpha
Comments
when its uploaded take the url and them stick it in code like this
<.img src="YOUR-IMAGE-URL.gif"/.> (remove the full stops)
________________________________
【ツ】iPhone Icon Pack【ツ】
Free high score demo here (simple) and here (advanced)
instead of trimming your images it is sometimes better to "select all" in photoshop on the layer with the object you want, copy, create a new file, and photoshop will make it at the size of the object inside the selected copy so when you paste into the new file, the size of the file will be exactly correct for the size of the object. If you have created a file with no background layer, you can then save to PNG and have the correct alpha
________________________________
【ツ】iPhone Icon Pack【ツ】
Free high score demo here (simple) and here (advanced)