• 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
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

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)?
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic