Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (535)
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  
  experience with performance II: Siemens S55/MC60  (Read 1016 times)
0 Members and 1 Guest are viewing this topic.
Offline Serethos

Junior Member




Java games rock!


« Posted 2004-10-19 11:00:52 »

now the next device gives me a bad headache:
im testing on siemens mc60 and the performance is so inacceptable bad. now i have to find out, wheter theres a bootleneck in my code or if i cant expect more than that.

taking jbenchmark as source the performace of the mc60 shouldnt be much worse than the t610 (which i got to satisfacting results finally =)

hardest problem is the brutal delay of the keys. my game indicates a fps of 2-7 fps but the key often dont react at all.
even in the menu theres a delay of up to 3 seconds to the gui.

does anyone have some tips, experience !?
Offline Abuse

JGO Coder


Medals: 11


falling into the abyss of reality


« Reply #1 - Posted 2004-10-20 20:00:55 »

The S55 isn't all that fast, but the small screen size helps it out abit (less to paint=less work) =D

Don't realy have any tips specific to the s55 except the obvious 16k object size limit.
The key input latency could be caused by your render Thread never yielding correctly to allow even dispatch to run.

If you don't have a yield/sleep/wait, add it.
yield is the ideal solution, sleep is often just as good, and Object.wait is a last resort if the other 2 don't function correctly.

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Serethos

Junior Member




Java games rock!


« Reply #2 - Posted 2004-10-21 07:55:31 »

im using yield() by default ...

but i have some more information.
my game is a little board game with one big bg-image, two sprites for computer/player and now the interesting part:
the stones (game-elements).

my first attemp to write the game was to have a little sprite for each stone (they can be moved). the images is nothing more than a 4x3 non transparent png. there can be up to about 50 stones in a game.
this seems to be too much work for the siemens.
i really thought that i could do it this way, cause the t610 does not have any problems with painting much little things.
next try was to replace the images with drawing-instructions (a rectangle border with a filling color)
=> too much ...

only if i draw them as a simple point or line the performance is good enough to play.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Abuse

JGO Coder


Medals: 11


falling into the abyss of reality


« Reply #3 - Posted 2004-10-21 19:00:56 »

yeah, drawImage calls do have a pretty hefty cost on early siemens phones. (compared to th T610 which is pretty damn quick if you keep within th video mem. limit)

Make Elite IV:Dangerous happen! Pledge your backing at KICKSTARTER here! https://dl.dropbox.com/u/54785909/EliteIVsmaller.png
Offline Serethos

Junior Member




Java games rock!


« Reply #4 - Posted 2004-10-26 15:34:36 »

now the point is nearly reached, where j2me adapting for siemens doesnt make fun anymore:
a new device has arrrived, the CX65, a midp2 compatible device, with more power than the s55.
i was very keen on results for my game and ...
its horrible. same problems, slow reaction of buttons and in long intervals a beep-sound. i noticed this beep on other siemens devices but rather at random time.
and i dunno, why that freaky thing beeps.

tomorrow ill try to replace the images with the siemens-sprite
class in endless hope to get better performance.

btw:
i wanted to use the com.siemens...ui.image class instead of the javax-one. but the drawImage() method (javax) doesnt like the siemens class. so i expected that siemens has an own Graphics class for drawing siemens-images.
but i didnt find any.
how do i draw siemens images !?
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.

Riven (9 views)
2014-07-29 03:53:52

Dwinin (7 views)
2014-07-29 01:59:34

E.R. Fleming (23 views)
2014-07-28 18:07:13

E.R. Fleming (9 views)
2014-07-28 18:06:25

pw (39 views)
2014-07-23 16:59:36

Riven (39 views)
2014-07-23 12:16:32

Riven (26 views)
2014-07-23 12:07:15

Riven (28 views)
2014-07-23 11:56:16

ctomni231 (59 views)
2014-07-17 21:55:21

Zero Volt (51 views)
2014-07-17 14:47:54
HotSpot Options
by dleskov
2014-07-07 18:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 15:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-13 15:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 02:13:37

HotSpot Options
by Roquen
2014-05-15 00:59:54

HotSpot Options
by Roquen
2014-05-06 06:03:10

Escape Analysis
by Roquen
2014-04-29 13:16:43

Experimental Toys
by Roquen
2014-04-28 04:24:22
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!