[ J2ME ] 2D platform engine

Started by
7 comments, last by Clawer 16 years, 11 months ago
Hi there, This week I have been working on my 2D engine for CLDC. I haven't tried this MIDlet on a real cellphone yet, so I would be very glad if anyone of you, who is interested, could test the application! To download the game click here, for more info this is my website with some screenshots and details about the engine! The application should ideally run at 32cps.. ( I hope so! ) Thanks in advance!
Advertisement
I tried it on a Nokia 6233 and got a NullPointerException right off the bat.

shmoove
also got null pointer exception dunno why(tested in a Nokia 6111). It worked OK in the emulator, except to the fact that the character can move itself out of the screen and fall. I also cant jump while walking(it seems you did if if else if else... instead of just if if if... while checking the pressed keys). gl
.
Hi and thank you very much for testing the application!

It's pretty hard to figure out how your MIDlet will run
on a real cellphone from the emulator perspective!

I've just uploaded a new version of the engine, fixed
after the bugs report; another try would be so appreciate! :)
Tried it again. No NullPointerException, 43 cps.

One problem: When walking right, the character appears to be floating in mid-air. If I had to guess, I'd say you either have a problem with the graphics, or more likely you are playing around with the sprite's reference pixel and confused horizontal coordinates for vertical.

shmoove
You're telling me there's no gravity effect on the character?
This sounds pretty strange since on my emulator everything is fine.

Anyway, thank you for the test! :)
Ran smoothly on my SE K610 (CPS around 48, whatever that means).
I don't know if it's intended, but it didn't enter fullscreen mode.
There is a gravity effect. But when the character goes right he is not aligned with the floor. I've seen this happen on another game I've tested so this might be a device specific bug.

Here's the sprite walking left. It's "feet" are on the floor.
Free Image Hosting at www.ImageShack.us

Here's the sprite walking right. It is "floating "a few pixels above the floor.
Free Image Hosting at www.ImageShack.us


I hope these pictures are not too blurry.

shmoove
To shmoove:
I have the same thing on my emulator but
with very small values ( 1-2 pxls ) so the character doesn't seem
to fly or walk into the ground!


This is probably caused by device's numeric approximation,
and, first of all, by my code that, at this point, needs to be
improved! :)


To WanMaster:
Thank you for the test! yeah, I didn't use any fullscreen mode.

This topic is closed to new replies.

Advertisement