Compare commits
	
		
			2 Commits
		
	
	
		
			ef59dc3f6a
			...
			trans_prid
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e88ae87333 | |||
| 741042379e | 
							
								
								
									
										20
									
								
								vacation.p8
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								vacation.p8
									
									
									
									
									
								
							| @@ -417,8 +417,8 @@ mknew(fuzzy, function(x) | ||||
|  local p = (x.p or fuzzy.p) & 0xffff | ||||
|  x.mass = 0 | ||||
|  while p ~= 0 do | ||||
|   x.mass += p & 1 | ||||
|   p = (p >>> 1) & 0xffff | ||||
|   x.mass += p & 0x8000 | ||||
|   p = p << 1 | ||||
|  end | ||||
| end) | ||||
|  | ||||
| @@ -427,7 +427,7 @@ function fuzzy:update() | ||||
|  if (self.n < self.interval) return | ||||
|  self.n = 0 | ||||
|  for i=1,self.tries do | ||||
|   local b = 1 << rnd(16) | ||||
|   local b = 1 << rnd(15) | ||||
|   if b & self.p == 0 then | ||||
|    if i == self.tries or not self.weight or self.mass <= self.weight then | ||||
|     self.mass += 1 | ||||
| @@ -1017,17 +1017,17 @@ end | ||||
|  | ||||
| function start_game() | ||||
|  seq = sequencer.new{ | ||||
| --  { | ||||
| --   f = arcade_level.new, | ||||
| --   params = {{ | ||||
| --    max_score=2, | ||||
| --   }} | ||||
| --  }, | ||||
|   { | ||||
|    f = arcade_level.new, | ||||
|    params = {{ | ||||
|     max_score=2, | ||||
|    }} | ||||
|   }, | ||||
|   { | ||||
|    f = function() | ||||
|     pal() | ||||
|     clear_alt_pal_bits() | ||||
|     return view.of{bg.new(), fuzzy_stripey.new{interval=7, tries=5}} | ||||
|     return view.of{bg.new{c=6}, fuzzy_stripey.new{interval=7, colors={12, 7, 14}, weight=8}} | ||||
|    end, | ||||
|   }, | ||||
|  } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user