Pixel Movement

by Forum_account
Pixel Movement
A pixel movement library for isometric and top-down maps.
ID:715418
 
So just transferring my post from ID:714629, I don't believe that I'm overriding any proc. I just overrided the client's north/south/west/east but I don't believe those are responsible because I took them out but nothing happened. So yeah....
Include this code in your project:

world/New()
..()
PIXEL_MOVEMENT_DEBUG = 1

This will cause the library to display a debugging statpanel. Look at the last value in this statpanel (the one called "keys pressed"). When you press a key, does it show up on the statpanel?
Yes it does show up on the statpanel! But there is no movement.
If there's any code in your project related to movement, post it here.

Are you overriding the mob's move(), pixel_move(), action(), movement(), or set_pos() procs? If so, you may be missing a call to ..().

You may also want to open up the library and make sure no demos are included.
client
North()
if(!(src.mob.iscreated) || src.mob.isdead || src.mob.neardeath)
return 0
else return..()
South()
if(!(src.mob.iscreated) || src.mob.isdead || src.mob.neardeath)
return 0
else return..()
East()
if(!(src.mob.iscreated) || src.mob.isdead || src.mob.neardeath)
return 0
else return..()
West()
if(!(src.mob.iscreated) || src.mob.isdead || src.mob.neardeath)
return 0
else return..()
Northwest()
src.mob.dir = NORTHWEST
return 0
Northeast()
src.mob.dir = NORTHEAST
return 0
Southwest()
src.mob.dir = SOUTHWEST
return 0
Southeast()
src.mob.dir = SOUTHEAST
return 0
Move(newloc, newdir)
if(src.mob.controlling)
return mob.controlling.Move(newloc, newdir)
else
return..()
mob
Bump(atom/M)
if(ismob(M))
var/mob/N = M
if(src.key)
if(N.key)
src.loc=N.loc
else
return..()
else
return..()
if(isturf(M))
if(istype(M ,/turf/Door/EnterRoom1/) || istype(M ,/turf/Door/EnterRoom2/))
var/turf/Door/K = M
if(K.ref)
if(src.client)
var/turf/T = locate(K.ref)
if(!T)
return
fade.Map(src, 255, 32, 16)
sleep(20)
src.loc = get_step(T,T.dir);src.dir = T.dir
fade.Map(src, 0, 32, 16)
return
else
return..()
else
return..()

mob
Move()
if(src.textboxed) return
else return..()

These are my codes for movement.
With the Pixel Movement library you don't need to use procs like mob/Move() or client/North(), it defines its own movement procs. The demos provide examples of how these procs can be used. If you just want to use BYOND's default pixel movement, you don't need the Pixel Movement library.
Well, those are my codes for movement,however, even if I take them out, nothing happens.
Try unincluding the library and compiling your code. This will give you errors on every line that references something from the library. Look at the code that has errors to check for things that might cause it to not work.