Win a copy of Pragmatic AI this week in the Artificial Intelligence 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Create a card....  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I currently doing a handphone game on Monopoly. Anyone know how to draw a card out with the top portion blue and the lower portion white and witht the text hello. If anyone can help, kindly email me. Or reply here.
p/s:Thanx for any help.
 
ranger
Sheriff
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well with the "detail" of a Monopoly card, you will probably want to use the Canvas and the Graphics Objects. These will give you the most flexibility.
You can draw a box, fill it with your color. then put your text in there all with the Graphics Object.
Or you can create an Image that is the box background, and place text there.
Or even maybe a TiledLayer to put in that place
I think that there are other possible solutions, but my instinct would go with the Graphics object to draw.
Hope that helps you with some ideas.
Mark
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!