i had a look thru the API’s and searched on this forum, coultn’t find an answer, so i’ll ask.
how do i draw a square image eg:
getClass().getResource("images/SPiece.gif")
which has no alpha or transparency, at something like 50% transparency (to give it a ghost effect).
it’s not necessary to get high performance from it.
what i’m using now is the usual g.drawImage(img, x, y, null).
using PNG works, but it means having to have 2 image files with the game, and then the alpha level can’t be altered for things like fading…