Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (603)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (652)
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 2655 times)
0 Members and 1 Guest are viewing this topic.
Offline shareme

Junior Devvie

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 Devvie

« 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 Devvie

« 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 Devvie

« 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.

Offline larry

Junior Devvie

.. 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. for a sneak preview  Shocked

Offline shareme

Junior Devvie

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.

SHC (13 views)
2015-08-01 03:58:20

Jesse (17 views)
2015-07-29 04:35:27

Riven (38 views)
2015-07-27 16:38:00

Riven (20 views)
2015-07-27 15:35:20

Riven (22 views)
2015-07-27 12:26:13

Riven (12 views)
2015-07-27 12:23:39

BurntPizza (32 views)
2015-07-25 00:14:37

BurntPizza (44 views)
2015-07-24 22:06:39

BurntPizza (25 views)
2015-07-24 06:06:53

NoxInc (32 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 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‑
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!