Sign in to follow this  
Clawer

[ J2ME ] 2D platform engine

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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! :)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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! :)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this