Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

image transparency

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While making games in j2me lot of images are required.
The main problem is that j2me doesnot support transparency
so the games look very bad.Is there any way i can make these images transperent.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there, I don't think there is any way of making images transparent, at least in the current standard. From what I've heard, you can't even do old tricks like XORing to create transparent images. The only way around it is to include the background as part of the image, or to find a way to use the primitives to create your image. The latest issue of Game Developer (gdmag.com) had an article that talked about the image transparency problem and how it was addressed.
On similar note, the drawLine() routine on the Motorola i50sx doesn't seem to work properly in certain instances. Guess they got their Bresenham's implementation incorrect (if that's what they are using)?
reply
    Bookmark Topic Watch Topic
  • New Topic