Something is messing up. I did not do anything for five minutes, I am finally dead now. It was very laggy.
I notice I am not even #1, is it normal that it is that crowded? ;)
http://i48.tinypic.com/33nc3tc.jpg
http://i47.tinypic.com/2uz6mf9.jpg
http://i46.tinypic.com/292scx3.jpg
I have exactly this elephant in my game, but it looks bad when it is bigger.
Oh and by the way, looks like I did not make that clear, sorry!
"I can't solve my problem with the scaling" did not mean that I have a problem with the scaling. It actually meant that I have a problem and wanted to solve it with scaling the images of the actor to a square. But as I said, that did not look well.
Then I saw the method drawImage(), so the next idea was, I give the actors an empty image (a square) and draw the other image above that. But that just did not work...
Why do I want that square? With a square it would be easier to let the actor know if there is a wall or something right next to it.
I have moving AI too, but i decided that one cell has 51 * 51 pixels and not just one. And it looks like that the method getOneObjectAtOffset(dx,dy,class) does not try to find the class from the middle of the picture + dx/dy, because if it would, every class should work with the same values, but they do not.
But I think I am fine, I always have some problems that I can not solve. Then I try to find another way to do exactly the same with often 20 times as much source code. As long as it works then, it is good.
Thank you but I can't solve my problem with the scaling because the actor's look bad when they are scaled different. I did not notice it here because they are small enough :)
Need to find another way and I will probably, like always, pick the most time consuming one.
2013/2/22
Pot Luck SuDoku
2013/2/8
gladiator=arcade=
2013/2/8
Bomberman Mini
2013/2/8
Bomberman Mini
2013/2/8
Bomberman
2013/2/7
Bomberman
2013/2/6
Bomberman
2013/1/30
MapWorld SuperClass
2013/1/30
MapWorld SuperClass