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  
  First J2me game  (Read 2308 times)
0 Members and 1 Guest are viewing this topic.
Offline shareme

Junior Member




Java games rock!


« Posted 2003-06-17 14:37:52 »

I finish my first MIDP 1.0 game this week and will be posting screen shots to my weblog..

I took a different route to porting to devices..

Devices like Nokia, Siemens and etc I take my MIDP 1.0 core code + closed apsi tha tmde it into 2.0 to prot to those devices...

On SonyEricsson its jsut changing image dimensions..

How is everyone else handling the mess of porting cdoe from one vendor to another?

oh and wlecome back fourm!

Offline JasonB

Junior Member





« Reply #1 - Posted 2003-06-17 21:06:37 »

I was working on an experimental animation system (/engine) recently where  I was using a kind-of vector driven system, which recalculated everything based upon the screen size (and that's everything, including fps delay, pixel movement, and sprite shapes)... bresenham's line algorithm rocks the world baby, yeah!!!  Ahem.  Sorry... got carried away there.

In any case, it proved to be a lot more difficult a task than I'd anticipated -- and I'm still not convinced it's the way to go for games.  Not that it doesn't work quite well -- it does.  On the P800 it looks awesome.  On a GX10, quite good.  And on the monochrome Nokia 8310i (I think that's the model, but I can't remember), it looks like absolute shite... as you would expect.
But it's a lot of work to rejig your sprites into arrays of vector coords, and I haven't looked into the actual memory usage doing things this way... like I said, experimental.
Offline daybyter

Senior Newbie




Java games rock!


« Reply #2 - Posted 2003-06-19 06:53:47 »

You do all this on the fly, when you have checked screensize after appstart? I'd guess this will get way too slow. I was working with fixed screensizes here and a preprocessor system. so I can generate code for different screensizes at compile time.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JasonB

Junior Member





« Reply #3 - Posted 2003-06-19 17:58:25 »

Yes everything was pre-calculated on app start.  Startup performance was fine for my purposes, but yeah that was another reason I wasn't convinced about it being a good idea.  Go from 3 or 4 sprites in a simple animation, up to a couple of level maps, and 6-10 sprites needed for a game and startup time would probably degrade significantly.  However I never actually tested that, so I don't know.  1 second would be acceptable... 5 seconds not.

Your preprocessor sounds like a good idea though...
Offline daybyter

Senior Newbie




Java games rock!


« Reply #4 - Posted 2003-06-20 03:53:37 »

Are you working on a commercial project? Any chance for a collaboration?
Offline JasonB

Junior Member





« Reply #5 - Posted 2003-06-20 06:56:40 »

Not a commercial product, but a commercial demo.  It's not going anywhere at the moment, so unfortunately I've got no chance for collaboration.  Sorry.
Offline mik

Senior Newbie




Java games rock everywhere!


« Reply #6 - Posted 2003-06-20 07:11:12 »

Yap Vector graphics is a cool way when you have direct access to pixeldatas like on MIDP2.0, Nokia, Siemens, GX10 and some Moto. But on pure MIDP1 it is a little harder and slower. Bresenham isn't the fastern a midpoint algo does best for speed.

My Engine MEE uses a wrapping system with Interfaces, and with a good optimizer and obfucator, these interfaces are replaced by classes for each targetted phones, using Ant.

Mik
Offline larry

Junior Member




.. son of jor-el, kneel before zod ...


« Reply #7 - Posted 2003-06-20 11:30:22 »

looking forward to seeing your stuff.

Id imagine it would be nice to compile different versions for specific clients based on a config file? calculating vectors and graphics runtime sounds a bit hardcore.

Offline mik

Senior Newbie




Java games rock everywhere!


« Reply #8 - Posted 2003-06-20 11:49:06 »

Ya vector is hardcore or quit complexe to implements, I have tested some methods using flash or svg format not so smooth.

miklabs.com/wip for a sneak preview  Shocked

Mik
Offline shareme

Junior Member




Java games rock!


« Reply #9 - Posted 2003-06-24 22:09:22 »

hmm vectors...

I picked up Eberly's 3D Game Engine Design book to research that method and some others..

But I do not think I will fully tackle until MIDP 2.0

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 (24 views)
2014-09-19 03:14:18

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

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

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

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

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

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

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

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

Longarmx (40 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!