![]() |
setplayershape()
or something similar would be quite useful.
Rather than developing some kind of custom hit detection everytime we need the player's "body" to be larger than normal, it would be great if we could do something like setplayershape(64, 64); One example is cars on Era. The car itself is nonblocking (it's just an animation following the player around), and makes things look very sloppy. If the player's shape were adjusted to the size of the car, we could do all kinds of things.... Along with this it might be nice to include a player.blockAgain(); and player.dontBlock(); as well as a player.width player.height. I believe these were already suggested, but I couldn't find the thread. |
seems like onwall2() can do all you want it too do
|
No, it can't. onwall2 doesn't even come close.
player.setshape(x, y, width, height) would be better, where (0, 0) is the top-left point of the normal player, therefore player.setshape(-1, -1, 2, 2) would cause them to block one tile above and to the left more than usual. |
This would be great.
onwall2 sucks :(, need an onwall3 that accepts an array of positions. ( think image polygons ) |
Quote:
|
Bump because this would be extremely useful and I can't imagine it being that hard to add.
|
What happened to you tank, btw?
|
Something like
PHP Code:
|
| All times are GMT +2. The time now is 04:30 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.