mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-07 00:56:51 -05:00
* Add basic movement * Calculate step length based on tick time between updates, teleport to target if within one step. * Smooth camera, hero movement removed float to int conversions in Render and IsoToScreen functions * Render hero in the center of the screen (assuming 800x600 resolution) * Revert changing Render() parameters type * Render hero in the tile loop hero will naturally render in front of the walls of the current tile but behind the walls of the tile below * Smoother steps near target coordinates remove jitter from trying to get one step away from target on both axis |
||
---|---|---|
.. | ||
d2scene | ||
character_equipment.go | ||
engine.go | ||
game_state.go | ||
hero_objects.go | ||
hero.go | ||
inventory_item_armor.go | ||
iventory_item_weapon.go | ||
npc.go |