Scroll

Forum for J2ME mobile games related topics including programming doubts, books and other resources for J2ME game development

Scroll

Postby Kup » Thu Nov 08, 2007 5:01 pm

Hi

i was wondering if it is possible to make a scroll in a gameCanvas? example if i've got a map that i wish to explore without changing screen. is it possible?


thanks ;)
Kup
 
Posts: 32
Joined: Wed Sep 26, 2007 3:35 pm
Location: Portugal

Re: Scroll

Postby DevelopmentTeam » Mon Nov 12, 2007 9:01 am

There is no in-built method for scrollbar but you still can bring it in 2 different ways.

1) Draw everything in a image of larger size, and then show the specific portion of it as the user presses navigation keys.

2) Draw the specific portion of the content you need to show. Like if you are using text in lines.
User avatar
DevelopmentTeam
Site Admin
 
Posts: 661
Joined: Tue Aug 15, 2006 8:39 am
Location: India

Re: Scroll

Postby Kup » Mon Nov 12, 2007 10:00 am

ok thanks ;)
Kup
 
Posts: 32
Joined: Wed Sep 26, 2007 3:35 pm
Location: Portugal

Re: Scroll

Postby DevelopmentTeam » Mon Nov 12, 2007 10:30 am

I remember we already had a detail thread discussing on developing scrollbar in J2me. Let me find it and link it here...
User avatar
DevelopmentTeam
Site Admin
 
Posts: 661
Joined: Tue Aug 15, 2006 8:39 am
Location: India


Return to J2ME Games

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron