Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  best tile size for nokia Ngage game?  (Read 1702 times)
0 Members and 1 Guest are viewing this topic.
Offline Gorgorath

Junior Member




Java games rock!


« Posted 2004-03-14 13:58:43 »

Hey all,

I'm quite new to programming for mobile games as a whole. Not to long ago i've decided together with a friend to create a game for nokia NGAGE devices( and beyond ) right now we've come across the problem what is the best tile size? And can tiles be different sizes, for i have never programmed a platform game.

cheers,

G.
Offline davidaprice

Junior Member





« Reply #1 - Posted 2004-03-15 06:11:41 »

If you're creating an N-Gage game using J2ME, you'll be using MIDP 1.0 (and Nokia's UI API for sound and full-screen graphics). MIDP 1.0 doesn't have any specific tile support, just the ability to draw rectangular images. So you're free to make the tiles whatever sizes you like.

N-Gage will also run C++ games written using the Series 60 1.0 APIs. You can get an SDK and emulator from Forum Nokia's Series 60 section.  I've not tried this, but I had a quick look at the documentation and again it seems to just support drawing rectangular (and masked transparent) images.

If you're a serious game developer, you can register as an Authorized N-Gage Developer and get the N-Gage C++ SDK. I've no idea what extra features that contains.
Offline Gorgorath

Junior Member




Java games rock!


« Reply #2 - Posted 2004-03-17 10:25:42 »

thanks for the reply Smiley
But let's say i'll have a 16*16 pixels tile based grid, would it be possible to add 64*32  tiles to it( alligned) or should these be converted to 16 * 16 tiles as well?

G
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline davidaprice

Junior Member





« Reply #3 - Posted 2004-03-18 13:11:43 »

I'm afraid it just depends on how you implement the tile grid. There's no existing tile grid implementation (at least in MIDP 1.0, if that's what you're talking about) which would limit your choices.
Offline shareme

Junior Member




Java games rock!


« Reply #4 - Posted 2004-03-18 23:16:18 »

If you are develpoing with J2me on Ngage you  will need to look at how to use GCF..it allows you to get acces tyo the flash memory and such..

the tutorial article on gcf for accessing file systems and stuff at java.sun.com in the j2me section




Offline wooD

Senior Newbie




J2ME Developer


« Reply #5 - Posted 2004-03-25 21:40:28 »

I've done a couple of 20x20 tile based games.  As was stated before, you have to implement your own tile system, so tile size is up to you.

If you want to draw 32x32 tiles on a 16x16 map, you would have to write to code to deal with the varying tile sizes. I recommend keeping them all the same size whatever you choose.

For speed, I draw my tile area to an offscreen bitmap that is one tile larger than the actual screen. When the user moves to the edge, I draw the old background onto a new offscreen bitmap (offset in the direction they moved), then fill in the edge.  Since there can be a lot of tiles and J2ME is underpowered, you want to limit the amount of tile drawing.

When I render the screen I first draw the offscreen tilemap, then draw all the game elements on top of it. Some might argue that all the elements should be drawn to the offscreen as well, but in that case you would be redrawing all those tiles every time.

Wood

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (21 views)
2014-09-19 03:14:18

Dwinin (35 views)
2014-09-12 09:08:26

Norakomi (62 views)
2014-09-10 13:57:51

TehJavaDev (87 views)
2014-09-10 06:39:09

Tekkerue (42 views)
2014-09-09 02:24:56

mitcheeb (65 views)
2014-09-08 06:06:29

BurntPizza (47 views)
2014-09-07 01:13:42

Longarmx (35 views)
2014-09-07 01:12:14

Longarmx (40 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!