@@ 78,9 78,9 @@ impl Renderer for WebRenderer {
context.rotate(player.rotation).map_err(|e: JsValue| e.as_string().unwrap())?; // fwip
let texture_image = document.get_element_by_id("tex-hearty").unwrap().dyn_into::<HtmlImageElement>().unwrap();
- debug!("H {} {}", player.x - 25f64 - client.x, player.y - 25f64 - client.y);
+ debug!("H {} {}", player.x - client.x, player.y - client.y);
//context.draw_image_with_html_image_element_and_dw_and_dh(&texture_image, player.x - 25f64 - client.x, player.y - 25f64 - client.y, 50f64, 50f64).map_err(|e: JsValue| e.as_string().unwrap())?;
- context.draw_image_with_html_image_element_and_dw_and_dh(&texture_image, -25f64, -25f64, 50f64, 50f64).map_err(|e: JsValue| e.as_string().unwrap())?; // sktch
+ context.draw_image_with_html_image_element_and_dw_and_dh(&texture_image, -25f64, -0f64, 50f64, 50f64).map_err(|e: JsValue| e.as_string().unwrap())?; // sktch
//context.rotate(-player.rotation).map_err(|e: JsValue| e.as_string().unwrap())?; // fwoop