.
This commit is contained in:
		
							parent
							
								
									14a725ba90
								
							
						
					
					
						commit
						29a353c66a
					
				
					 2 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								assets/body2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								assets/body2.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 92 KiB | 
|  | @ -17,7 +17,7 @@ class Render { | ||||||
| 
 | 
 | ||||||
| 	RenderPlayer(player) { | 	RenderPlayer(player) { | ||||||
| 		const img = new Image(); | 		const img = new Image(); | ||||||
| 		img.src = "./assets/body.png"; | 		img.src = "./assets/body2.png"; | ||||||
| 	    this.ctx.save(); | 	    this.ctx.save(); | ||||||
| 	    this.ctx.translate(player.x, player.y); | 	    this.ctx.translate(player.x, player.y); | ||||||
| 	    this.ctx.rotate(player.angle); | 	    this.ctx.rotate(player.angle); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue