ID:157548
Feb 16 2010, 6:35 am
|
|
how to make a player walk 1/2 - 1/4 an tile [32 by 32 pixels]
|
In response to Maximus_Alex2003
|
|
I beleive what he is trying to do is change the size of the step you take on the map. Um I tried I couldn't figure it out.
client |
In response to Darkjohn66
|
|
Darkjohn66 wrote:
I beleive what he is trying to do is change the size of the step you take on the map. quite right instead of walking 1 tile i wish to walk 1/2 a tile and such |
In response to Garthor
|
|
Garthor wrote:
pixel_x and pixel_y. I laugh at that minimalist response. No good will come from this. |
In response to Tubutas
|
|
Tubutas wrote:
Garthor wrote: erm what? |
In response to Darkjohn66
|
|
Here is a basic demonstration, it would need editing to check for the worlds minimum and maximum x and y locations. As well as for pixel bumping, and many other things. Sorry if you don't understand it, because of the brackets and such. I'm posting this from my phone.
client/North() Also, it appears what you are trying to do is this. mob/pixel_step_size = 16 |
In response to Ulterior Motives
|
|
Besides the above mentioned pixel movement, you could also mess around with world.icon_size variable. If you set that to 8, you could easily make your atoms move 8 pixels at a time, but the downside is that you would have to make anything that is larger than 8x8 pixels into a multi-tiled atom.
|
In response to Gunbuddy13
|
|
ill do the 8 pixel style on another project but now ill forcus on studying the other style, thanks for your help ^.^
|
Are you trying to say you want to know how to develop Pixel Movement?