Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

farmdve

Member Since 01 Apr 2012
Offline Last Active Dec 21 2012 11:21 PM
-----

Posts I've Made

In Topic: Orthogonal projection of 2D map.

19 December 2012 - 02:13 PM

I tried flipping the image with GIMP and pasting the flipped images on to the sprite sheet. But something is wrong. When the object moves right, the movement is jerky. When it moves left, it's smooth.

In Topic: Orthogonal projection of 2D map.

18 December 2012 - 04:31 PM

Considering there are a lot of open source 2D games, and artists sharing their work, I've yet(whole week) to find tiles/sprites that are drawn the way I explained above. I am not an artist, I am not blessed with much accuracy and trust me, I can barely draw a 2D head, let alone whole tiles and sprites the way I want them to.

The character sprites I've found so far seem to have an animation for moving right, but not left.

In Topic: Orthogonal projection of 2D map.

17 December 2012 - 08:13 AM

Would you mind pointing me to such a tutorial?

In Topic: Orthogonal projection of 2D map.

16 December 2012 - 06:24 PM

Well, these http://i.imgur.com/ZZ5fx.jpg http://i.imgur.com/EfZY3.jpg http://i.imgur.com/9zTuH.png

The textures are not the same, but to me it looks like the map or something is being viewed under an angle. Hopefully those clear it up.
But I have no idea if the textures or the code or both need to be changed. It would also be nice if I can be pointed to to a code example, if it's not too much to ask :)

In Topic: Question about use of JNI

16 December 2012 - 11:13 AM

Just so you guys know, but Android has a per-process limit of 16-24 megabytes of RAM usage. Try not to get over that limit. If you are going to call JNI functions often and allocate/free memory on each call, you'd need to keep JNI initialized as malloc-ing and free-ing is expensive, I found that out the hard way.

And if you need to update Java from the JNI side, you'd need to free the local reference.

PARTNERS