adjust jump + gravity
This commit is contained in:
		
							parent
							
								
									80490976bb
								
							
						
					
					
						commit
						db63ef5755
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -34,8 +34,8 @@ do
 | 
			
		|||
end
 | 
			
		||||
 | 
			
		||||
function sol(x,y) return solids[mget(x//8,y//8)] end
 | 
			
		||||
g = .3
 | 
			
		||||
j = -4
 | 
			
		||||
g = .15
 | 
			
		||||
j = -3.1
 | 
			
		||||
 | 
			
		||||
anis={
 | 
			
		||||
	idle={257,257,258,258,259,259,260,260},
 | 
			
		||||
| 
						 | 
				
			
			@ -182,7 +182,7 @@ do -- Player
 | 
			
		|||
		end
 | 
			
		||||
		if btnp(4) and self.vy == 0 then
 | 
			
		||||
			sfx(2,54,15,1)
 | 
			
		||||
			self.vy = j	
 | 
			
		||||
			self.vy = j
 | 
			
		||||
		end
 | 
			
		||||
	end
 | 
			
		||||
	
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue