test player-relative paths
This commit is contained in:
		| @@ -1529,6 +1529,37 @@ diamond_bounce = path.new{ | |||||||
|  }, |  }, | ||||||
| } | } | ||||||
|  |  | ||||||
|  | swoop = segment.new { | ||||||
|  |  dests = { | ||||||
|  |   destination.new{ | ||||||
|  |    accel_frac = 0 | ||||||
|  |   }, destination.new{ | ||||||
|  |    x_off_frac = -0.75, | ||||||
|  |    anchor_frac = 0.25, | ||||||
|  |   }, destination.new { | ||||||
|  |    x_off_frac = -0.375, | ||||||
|  |    anchor_frac = 0.625, | ||||||
|  |   }, destination.new { | ||||||
|  |    y_off_frac = -0.125, | ||||||
|  |    anchor_frac = 1, | ||||||
|  |   }, destination.new { | ||||||
|  |    x_off_frac = 0.375, | ||||||
|  |    anchor_frac = 0.625, | ||||||
|  |   }, | ||||||
|  |  }, | ||||||
|  | } | ||||||
|  |  | ||||||
|  | swoop_loop = path.new { | ||||||
|  |  segs = { | ||||||
|  |   diamond_loop, | ||||||
|  |   swoop, | ||||||
|  |   park, | ||||||
|  |   diamond_loop.mirror, | ||||||
|  |   swoop.mirror, | ||||||
|  |   park, | ||||||
|  |  } | ||||||
|  | } | ||||||
|  |  | ||||||
| ship_mook = mknew(ship_f.new{ | ship_mook = mknew(ship_f.new{ | ||||||
|  sprite=103 |  sprite=103 | ||||||
| }) | }) | ||||||
| @@ -1551,7 +1582,7 @@ ship_skirmisher = mknew(ship_f.new{ | |||||||
|  fire_off_y = 7, |  fire_off_y = 7, | ||||||
|  xmin = -8, |  xmin = -8, | ||||||
|  xmax = 112, |  xmax = 112, | ||||||
|  path = diamond_loop, |  path = swoop_loop, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| function ship_skirmisher:reset_bounds() | function ship_skirmisher:reset_bounds() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user