Starfleet Arcade: changelog
Every version of the game, newest first: what changed, and the prompts that led to it (typos fixed). Click a version number to play it. Version list
Undo. There are a few things wrong with the new behaviour for some levels.
On some levels where there are many enemies that can be destroyed in quick succession (e.g. Borg Ambush), the screen shake can be distracting, so the ability to turn off screen shake for ships destroyed is needed for some levels.
There are some levels where the screen scrolls (or gives the illusion of scrolling by moving the backdrop and enemies, objects), such as the Wormhole level. When an enemy ship is destroyed there, the explosion takes place stationary relative to the screen position, when the object/enemy was moving down or up the screen. The look I wanted was that the explosion maintains the mov…
So, what I need:
* The ability to switch off screen shake for any level with this new ship explosion animation for ships.
* All levels created before the Jem'Hadar levels to NOT have screen shake on for enemy ships destroyed by default.
* Levels where the movement of ships and backdrops provides the illusion of vertical scrolling: explosions need to continue travelling and not remain stationary on the screen.
* The function fleetBlow is a rubbish name - it indicates a whole fleet. I'd rather it be called shipBlow - something more accurate and easily recalled.
Ship explosions (v990) fixed in three ways, and renamed: (1) the function fleetBlow is now shipBlow (and FLEET_END is SHIP_BLOW, fleetBlowStep/Draw are shipBlowStep/Draw). (2) Screen shake for ships that are destroyed can now be switched off for any stage: SHIP_BLOW.shake has one row for each stage (true/false), and other for any stage that is not listed (new ones). Every stage made before the Jem'Hadar ones (the main asteroid levels, the Borg Ambush and all the older bonus stages) is off; the Jem'Hadar Attack, Battleship and Fleet and the Gravity Wells are on. Nothing else about the shake changed (the Enterprise's own death, hits). (3) In a stage whose picture scrolls (the Asteroid Run and the stages built on it: the Wormhole, the Warp Chase, the Wormhole Race and the others; and the Asteroid Stream) the explosion no longer stays still on the screen: the ship, the fireballs, the sparks, the rings and the tiny pieces keep moving up or down the screen with the scroll (shipBlowScroll). Stages with a fixed play area, or a camera over a bigger one, are as they were. The Wormhole's enemies now go up with the speed they were flying at.
For all bonus levels, main asteroid game levels and all future levels, make all Starfleet/Federation and enemy ships, including Borg spheres, explode using the same fireball animation sequence introduced in the Jem'Hadar Fleet level.
Every ship now explodes the way the Jem'Hadar Fleet's ships do, in every level: the ship stays where it was, fireballs go off in quick succession over every part of it, then it blows apart in the Enterprise's big blast and shatters into tiny pieces of its own picture. How long it lasts and how many fireballs and pieces there are depend on the ship's size, worked out between the Jem'Hadar fighter, battlecruiser and battleship's figures (FLEET_END; a Borg sphere is about a second, a warbird about two). One function does it for everything: fleetBlow(picture, x, y, angle, scale, vx, vy), so a new level's ships only need that call where they are destroyed. Now using it: Borg spheres everywhere (the asteroid levels, the storms, the Borg Corridor, the Last Stand's spheres and the sphere the Enterprise rams), the duel ships (Romulan, Klingon, Ferengi, Vorcha, Keldon, Orion, Cardassian, Jem'Hadar Attack), the Nebula Hunt's raiders, the Wormhole's and the Warp Chase's enemy ships, the Tholian Web's ships, the Last Stand's and the Distress Signal's ships (Starfleet and enemy, and the damaged ship), the rescue starship, the Rift's allied ships and the Borg Cube's wingmen. A ship of about 28 px or more ends with the Enterprise's five-boom rumble; smaller ones with one big boom. Not changed: the Borg cube and what is on it (turrets, drones, its victory blasts), mines, satellites, rocks, the Rift's aliens and the fireflies, which are not ships. Also removed: the Romulan duel's separate random blasts after the warbird went up.
Fix it as v989.
Nebula Hunt: the hostile ships fire at the Enterprise again. Since v903 they closed in and strafed round it but never fired. Cause: v903 added one turn-to-face variable (da) before the battleship/raider split, but the raiders' branch declared its own copy with let, so the one their fire check reads was never set (undefined, so the check 'facing within 0.3 radians' was always false). The raiders' branch now sets the shared variable. The Jem'Hadar Battleship and Fleet were never affected. Expect the level to be harder than it has been for the last 80 versions.
Fix the fps readout and profile the corridor.
Fixed the redacted readout (the frame-rate display) crashing the game on the Jem'Hadar Battleship and Jem'Hadar Fleet rounds. It read the Nebula Hunt's mist count, and those two rounds have a Nebula Hunt record without any mist, so the read failed inside the frame loop and the game froze on its first frame. The mist count is now only shown when there is mist. It only affected games opened with redacted; normal play was never affected.
i think you broke it. now, whenever the enterprise enters a whirlpool, the enterprise disappears from the entry location and teleports to somewhere on the middle right of the whirlpool. what is going on here? fix it
Fixed a bug from v986 that made the Enterprise jump to the middle right of a whirlpool when caught. Cause: in wpCapture the line that sets up a capture is one long line, and the comment I added in v986 (about keeping the entry angle) was put in the middle of it, which turned the rest of the line into a comment: S.pth (the Enterprise's angle round the whirlpool), S.pv, S.assistT and S.pullMul were never set, so the Enterprise was placed at whatever angle S.pth had (none or 0: to the right of the middle) and the pull was not scaled by depth. The syntax check could not see it because a comment is valid. The comment is now at the end of the line and the statements are back. Checked the rest of the Gravity Wells code for a comment in the middle of a line: none. Tested three natural captures (the whirlpool scrolling onto the Enterprise): the Enterprise stays where it entered (at most 1.25 px of movement a frame after the capture), S.pth is right (1.38 rad for an Enterprise below and to the right of the middle) and finite, a tilted entry (1.0 rad) keeps its angle (v986's change works).
when the enterprise escapes a whirlpool and is flung out onto the path of another whirlpool, as it enters the second whirlpool, it looks like the game snaps the enterprise sprite into the vertical upright position. confirm if this is true. if so, don't make it do that, instead, keep the ship angle at which the ship entered the second whirlpool as the starting position within it…
Gravity Wells: an Enterprise flung out of one whirlpool and caught by another while it is tilted no longer snaps upright. Confirmed first: the capture of a non-spinning Enterprise (40% of captures) set its angle to 0 at once (a tilt of 1.0 rad became 0 in the capture's first frame); a spinning one kept its angle but started its spin from rest. Now the angle it comes in at (S.a0, set in wpCapture) is its starting angle in the new whirlpool: a non-spinning one holds it for the first WELL.face.after (1.5 s), and the turn to face the middle then starts from it (shorter way round) instead of from upright; a spinning one starts its spin from it, as before. Anything the game or the player does afterwards (the facing turn, a spin, being freed and turned upright) goes on from there. Tested with a tilt of 1.0 rad in a glide: it stays 1.0 through the capture and the first 1.5 s, then eases to the facing angle with no jump.
when the enterprise is controlled by the game to continue the spin in the original spin direction, slow the spin speed to match the original before the system took over
Gravity Wells: when the game carries on a spin to upright (more than 70 degrees from it), it starts at the speed the Enterprise was spinning at when the game took over and slows from there (the ease-out is timed to start at that speed: duration 2 x the angle / the spin speed, at least WELL.retMin 1.2 rad/s taken as the speed), so there is no change of speed at the takeover. For this a spinning Enterprise now keeps its spin speed all through the glide (before, the spin slowed to a stop by the end of it, so the game's turn started faster than the spin it took over from). Measured, a spin of 3.62 rad/s: the speed just before the takeover 3.62, the first speeds after it 3.62, 3.61, 3.58 (anticlockwise the same, negative), slowing to about 1.1 rad/s near the end of the turn; 4.4 rad took 2.44 s. The shorter-way turn within 70 degrees is as in v984.
i think it needs further refinement. if the spin settle angle is 70 degrees from either side of the vertical upright position, then take the shortest path and let the system/game rotate the enterprise back round even if its reversing the original spin direction (as before). otherwise, continue the spin in the original spin direction until upright and ensure if not already doing…
Gravity Wells: the turn back upright after a fling is refined: (1) if the Enterprise has settled within 70 degrees of upright (WELL.reverseWithin 70), on either side, it takes the shorter way round, even if that goes against the way it was spinning (as before v983); further round than that, it carries on the way it was spinning, however far that is, until it is upright; one that was not spinning takes the shorter way. (2) The turn is an ease-out (the angle goes as (1 - u) squared of the way left: quick at first and slowing to a stop upright) instead of the smooth start and finish of v950, taking at least WELL.turnBack 1.4 s and longer for a long turn (WELL.retRate 2.5 rad/s on average). Tested by setting the settled angle: clockwise spin, 40 degrees: shorter way, back; 100 degrees: forward 4.54 rad in 1.82 s; anticlockwise spin: -40 degrees: shorter way; -100 degrees: carries on anticlockwise 4.54 rad; 100 degrees: anticlockwise 1.75 rad in 1.4 s; the angular speed only falls during the turn (it never speeds up again).
when the enterprise breaks free and is spinning, the game takes over to turn the enterprise back round the right way (front of ship facing top of screen). however, there are times (if not most or all of the time), where it makes no sense to reverse the spin direction to make the ship face the right way, so make the ship continue spinning in the original spin direction until the right way up of the ship is reached.
Gravity Wells: a freed Enterprise that is turning on its axis now keeps turning the way it was turning until it is upright, never reversing: when the fling's glide ends and it turns itself back upright (v950's ease), the turn is worked out in the spin's direction (S.rdir, from the spin it was freed with, or from which way it was turning if it was facing the middle) instead of the shortest way round, which was often against the spin; if it has far to go the turn takes longer (WELL.retRate 2.5 rad/s on average, at least WELL.turnBack 1.4 s), with the same smooth start and finish. Measured with a clockwise spin: it carried on clockwise for 4.2 rad in 1.7 s (angular speed 0 to 3.75 rad/s, never negative); with an anticlockwise one: anticlockwise for 1.1 rad in 1.4 s (never positive). One that was not turning takes the shorter way as before. Also: the capture's geometry (v976) falls back to the whirlpool's present place if its place in the last frame is more than 20 px away (a jump of the view), so a capture right after a jump cannot start from a wild radius.
make the escape velocity and fling distance of the enterprise determined by the size of the whirlpool. keep the colossal whirlpool numbers the same and as a starting point to calculate the smaller sized whirlpools.
Gravity Wells: the speed the Enterprise is flung out at (its escape velocity) and how far it goes are set by the size of the whirlpool: WELL.flingColossal 255 px/s (the Colossal's, unchanged: 204 px in the 2.4 s glide) is the base, and any other size is that times its ring's radius over the Colossal's (wpFlingSpeed), so it flies out the same share of its ring's radius: Medium (ring 64 px) 81 px/s and 65 px; Large (86) 109 px/s and 87 px; Giant (120) 152 px/s and 121 px. The per-size fling numbers are gone from WELL.sizes (before: Medium 190 px/s, Large 205, Giant 230).
make whirlpools of all sizes slightly easier to break free from. then show me a table with the number of hits required to break free
Gravity Wells: whirlpools of every size are about 10% easier to break free from: grip Small 103 (was 114), Medium 205 (228), Large 342 (380), Giant 650 (722), Colossal 846 (940). Hits needed (a torpedo reaching the middle takes 3.6 off for a photon, 12.5 for a quantum, 8 for each of a spread's three; double with the up or down key held; the grip also regrows 6 a second): Small 29 photons or 9 quantum; Medium 57 or 17; Large 95 or 28; Giant 180 or 52; Colossal 234 or 68; with the up or down key held, half those. (The table shown with this version gave the Small whirlpool's numbers as the Medium's and left the Small out; corrected here.)
make the colossal whirlpool a bit easier again
Gravity Wells: about 10% fewer hits to break free of a Colossal whirlpool again: its grip is 940 (was 1050). The other sizes are unchanged.
make it slightly easier to escape the colossal whirlpool (reduce number of hits required)
Gravity Wells: about 10% fewer hits to break free of a Colossal whirlpool: its grip is 1050 (was 1170; v971 took it from 1300). The other sizes are unchanged.
undo
v977 is undone: the carried-in speed fades over 0.12 s again (WELL.catch.tau), there is no cap on how far it carries the Enterprise in, and the scroll no longer slows down as the Enterprise comes into a whirlpool's pull; the rest of v976 (the Enterprise always on the corkscrew, the capture measured from where the whirlpool was at the start of the frame) stays.
make the carried-in speed fade slower so the dive is gentler.
Gravity Wells: the carried-in speed fades more slowly (WELL.catch.tau .2 s; was .12), so the dive is gentler in how it slows, with two changes so that a slower fade does not take the Enterprise too far in (the further a speed carries it, the longer it lasts: a speed of 170 px/s fading over 0.3 s takes it 50 px, nearly to the core of a Large whirlpool): (1) the scroll now slows down as the Enterprise comes into a whirlpool's pull, to 15% of its speed at the capture radius (WELL.catch.slowTo; it eases at 10 a second, and eases up again at 1.1 a second after a fling), so the whirlpool is not closing on the Enterprise at 100 px/s when it is caught (the carried speed is about half what it was); (2) the inward part is kept below the speed that would carry it 0.3 of the capture radius further in (WELL.catch.dive; about 19 px on a Large whirlpool). Measured on a Large whirlpool: the scroll is at 31% when caught; the speed in y goes -101, -60, -59, -55, -52, -46, -42 (a slow fade, no spike; before: -102, -61, -45, -32, -21, -7, +2: a quicker one); the radius falls 63, 44 (0.5 s), 38.5 (1 s), 27 (2 s), 12 (3 s); no outward movement. It also reaches the core sooner than before: a Large whirlpool about 4 s after capture where it took 6 (the dive carries it about 20 px in), a Giant much the same as before. Nothing else changed.
the fix works, for the most part, however, i am noticing that the enterprise moves out (away from centre of whirlpool) slightly, could be about 2-5px before it rejoins the corkscrew path... is this anything related to a previous request to make enterprise join corkscrew path with a 5px inset? or something else? basically, the join of paths still has a noticeable mismatch
Gravity Wells: the join onto the corkscrew has no mismatch now. It was not the 5 px inset (v972): it was the spring of v975, which let the Enterprise carry its speed on towards the middle, dive 15 to 22 px inside the path (it was closing on the whirlpool at 170 to 220 px/s: its own pull speed and the whirlpool scrolling down at about 100 px/s) and then be drawn back out onto the path, overshooting it outward by 2 to 5 px. The spring is gone. The Enterprise is always on the corkscrew itself; what it carries in with (its speed relative to the whirlpool: inwards, and sideways round it) is added to the path's own movement and fades over WELL.catch.tau (.12 s): the inward part moves the path, and the path's start with it (pr and pr0 together, because the spiral's turning goes with how far in it is, and a plain change of radius swung the ship sideways at 3 times the speed), and the sideways part turns the path's angle; so the Enterprise only ever goes inwards (it starts about 20 px deeper on the path, which is where its speed would have taken it). Also fixed: in the frame it is caught the Enterprise was not moved with the whirlpool (which had just moved down 2 px), which showed as a one-frame speed spike (about -170 px/s between -99 and -35): the capture's geometry is now measured from where the whirlpool was at the start of the frame. Measured on a Large whirlpool, 3 approaches: no outward movement at all (the radius only falls: 62, 41 after 40 frames), and the speed in y goes -74, -82, -90, -99, -58, -43, -30, -20, -6, +3 px/s (a smooth fade, the biggest change from one frame to the next about 2500 px/s per second, where it was 5190 before v975 and 17984 in the first version of this fix).
when the enterprise goes into the pull of a whirlpool, there is a visible secondary pull which jerks the enterprise into the corkscrew path. this jump in movement is too jarring. is there a way to smoothen out that transition?
Gravity Wells: a smooth start to the corkscrew. Cause of the jerk: at the moment of capture the Enterprise was fixed to the whirlpool's path, and the whirlpool is scrolling down the screen with the course (about 100 px/s, easing to a stop over 0.3 s), so a ship that had been moving up towards it at about 77 px/s was moved down at 87 px/s in one frame (a change of about 160 px/s); the pull towards the spiral's start (v972) made it worse. Now the ship is not fixed to the path: a spring (critically damped, so no overshoot) draws it onto the path from where it is and the way it was moving (the speed it had is worked out in the frames before, S.evx and S.evy), stiffening over 1.5 s from k0 4 to k1 14 (WELL.catch), so it follows the path closely after the first moment. The path itself, the timing of the corkscrew and the release are unchanged. Measured on a Large whirlpool, the ship's speed in y over the capture: before -77, 87 (a jump), 105, 85, 67...; now -81, -50, -19, 7, 27, 42, 52, 57: smooth, over about 25 frames, with no jump. The biggest change in speed from one frame to the next fell from about 5190 px/s per second to about 1420.
reduce the y-axis shift associated with the swell by half
Gravity Wells: the push away from the middle that goes with the swell when a torpedo explodes there is 1.5 px at most (WELL.bump.push; was 3), half the shift, so the up and down shift on screen is at most 1.5 px.
reduce the scaleup of the enterprise when explosion within whirlpool occurs: 1px
Gravity Wells: the swell of the Enterprise when a torpedo explodes at the middle is 1 px of width (WELL.bump.grow 1: 3.8%; it was the Wormhole bump's 2 px, 7.7%); the times (0.09 s up, 0.38 s back) and the 3 px push are unchanged.
add a few more space bumps but place them strategically just before a whirlpool, so that if enterprise rides over them it will land inside the whirlpool.
make the whirlpool corkscrew path start 5px inside the whirlpool arms start from the outside.
Gravity Wells: (1) ten more space bumps a run (about 70 in all) are put just before whirlpools on purpose (WELL.bumps.before: count 10, gap 4, jitter 28; wpBumpsBuild): each just clear of a whirlpool's dashed ring (4 px beyond it and its own radius), within 28 px of its middle sideways, and placed so that the hop (the Wormhole bump's 0.47 s, in which the course moves on about 55 to 70 px) brings the Enterprise down inside the ring, as the Minefield's bumps do before its mines; the bump is checked clear of every other whirlpool and bump. In a test, hopping one before a Large whirlpool landed it 59 px from the middle (ring 86, capture radius 64) and it was caught 3 s later. (2) The corkscrew starts 5 px inside the outer edge of the whirlpool's arms (WELL.entry: arms 1.1 times the radius, inset 5, boost 5): an Enterprise caught at the capture radius, further out than that, is drawn in to that point 5 times as fast as the corkscrew's own speed, and the corkscrew at its own pace begins there (in a test: 0.87 s to get there on a Large whirlpool, 0.73 s on a Giant; the start-up ramp of 0.8 s still applies).
reduce number of hits required to free enterprise from the colossal whirlpool slightly
Gravity Wells: 10% fewer hits to break free of a Colossal whirlpool: its grip is 1170 (was 1300; WELL.sizes[4].grip). The other sizes are unchanged.
create a small delay between weapons explosion inside the whirlpool and the enterprise scaleup. maybe start with 0.5s delay.
if the enterprise is spinning on its axis within the whirlpool, make the spin rate slowly increase as it nears the whirlpool centre.
Gravity Wells: (1) a delay of 0.5 s (WELL.bump.delay) between a torpedo exploding at the middle and the Enterprise's swell and push (the grip comes off, the whirlpool flashes and the fireball goes off at once; each explosion has its own timer, S.bumpDue, which runs while the Enterprise is caught); measured: explosion at 0.42 s, the swell began at 0.92 s. (2) A spinning Enterprise spins faster as it nears the middle: the target spin rate rises by WELL.spin.boost (1.5) times itself as it goes from the capture radius to the core (2.5 times as fast over the core), and the spin rate follows it at its usual easing; measured on a Giant whirlpool with a 2 rad/s spin: 1.1 rad/s while speeding up from rest, 2.0 at 1.5 s, 2.5 at 2.5 s, 3.1 at 4 s (radius 59 of 97).
when the scaleup animation happens for the enterprise after a weapons explosion within the whirlpool, the y-axis shift seems to still be too big, reduce it by half
Gravity Wells: the shockwave of a torpedo reaching the middle pushes the Enterprise 3 px away from the middle at most (WELL.bump.push; was 6): half the shift, so the up and down shift on screen is at most 3 px.
reduce the escape velocity of the enterprise slightly
Gravity Wells: the speed the Enterprise is flung out at when it breaks free (its 'escape velocity', WELL.sizes[].fling) is about 15% lower: Medium 190 (was 220), Large 205 (240), Giant 230 (270), Colossal 255 (300). The glide is the same 2.4 s, so it travels 15% less far (Medium 152 px, Large 164, Giant 184, Colossal 204 from the middle; before: 176, 192, 216, 240). The Small size has no more whirlpools; its 200 is unchanged.
make the colossal whirlpools have arm sharpness of 20 (based on number setting on the whirlpool lab)
Gravity Wells: the Colossal whirlpool's arm sharpness is 20 on the lab's scale (2.0 in the game: WELL.sizes[4].sharp; the other sizes keep 60, 6.0): broader, softer arms. A size can now have its own sharpness (wpInit uses s.sharp || WELL.look.sharp).
for this level, remove the small whirlpools. create a new giant sized whirlpool 9x9 times the size of the enterprise. place at least 2-3 of these new giant whirlpools on the course, but don't place any other whirlpools nearby if the giant ones are present.
Gravity Wells: (1) no more Small whirlpools (their weight is 0, so the others share their slots: about 51% Medium, 35% Large, 9% Giant); (2) a new COLOSSAL whirlpool, 9 Enterprise lengths wide (288 px, almost the screen's width; the dashed ring is 404 px across, so it is bigger than the screen's height): WELL.sizes[4] (6 arms, a lap every 12 s, grip 1300, 9 s from the capture radius to the core, drain 8 a second, pull 1.5, fling 300). Three of them are put along every course (WELL.colossal: count 3, from 22% to 84% of the course, plus or minus 350 px), each pushed to one side so that a clear lane of at least 110 px is left beside its pull (its pull reaches 222 px from its middle), and no other whirlpool is placed within its ring plus theirs plus 100 px of scroll of it (so nothing else is near it); 20 generated courses: always 3, no violations, every lane at least 100 px. Caught in one, the view reframes it to the middle of the screen (the sideways and the up-and-down limits: the orbit is 168 px across the capture radius, so the top and bottom limits are kept at the screen's middle), and from the capture radius it takes 8.8 s to the core. The lab (redacted) does not have this size.
make the space bumps slightly more visible, maybe 35%
Gravity Wells: the space bumps are drawn at 35% of the Minefield's opacity (WELL.bumps.dim .35; was .2), so about 5.6% a layer.
reduce opacity of space bumps to 20%
Gravity Wells: the space bumps are drawn at 20% of their usual opacity (WELL.bumps.dim .2, times the Minefield's MINE.bumps.alpha .16, so about 3% a layer); the Minefield's own bumps are unchanged.
sprinkle space bumps along the course, do not place them on any whirlpools
Gravity Wells: space bumps (the Minefield's and the Wormhole's: the Enterprise is lifted and swells as it flies over one, which costs a little shield, WORM.bump.landDamage 2, to land) are sprinkled along the course: about 60 a run, one every 170 to 300 px of scroll (WELL.bumps: first 400, gap [170, 300], edge 50, clear 12, tries 30; their size and look are MINE.bumps'), each placed where no whirlpool's dashed ring plus the bump's own radius plus 12 px reaches it (wpBumpsBuild; none is ever on a whirlpool: in 20 generated courses the closest was exactly 12 px clear). A bump is not triggered while the Enterprise is caught in a whirlpool (wpYHold in mineStep).
change the 9px to 6px
Gravity Wells: the shockwave of a torpedo reaching the middle pushes the Enterprise 6 px away from the middle at most (WELL.bump.push; was 9), along the line from the middle to the Enterprise.
also add the up key to help free the enterprise from the pull
Gravity Wells: the UP key helps to break free in the same way as the DOWN key (v960): when firing it always counts as pointing straight out (up to twice the grip off each torpedo), and on its own it wears the grip down by 10 points a second (about 4 a second net of the regrowth). Holding both counts once. The settings are renamed WELL.assist.vert (1) and WELL.assist.vertPassive (10) (were down, downPassive). Measured on a Giant whirlpool: no keys +6 a second, up -4, down -4, both -4; a shot with up held takes 7.25 off, one without 3.63.
make the down key also contribute to freeing the enterprise from the pull of the whirlpool
Gravity Wells: the DOWN key now helps to break free, wherever the Enterprise is: (1) when firing, it always counts as pointing straight out, so each torpedo takes up to twice the grip off (WELL.assist.down 1; before, a key only helped when it pointed away from the middle, and the down key often did not); (2) on its own, even with nothing fired, it wears the grip down by WELL.assist.downPassive (10) points a second (the grip regrows 6 a second, so about 4 a second net). The HUD shows PUSHING OUT while it works. Measured on a Giant whirlpool: no keys +6 a second, down held -4 a second, a shot with down held takes 7.25 off where one without it takes 3.63. The other direction keys work as before (only when pointing away from the middle).
change the pull start from 10px to 20px and adjust the numbers in the above table accordingly from this new distance.
Gravity Wells: the lean now begins WELL.leanExtra = 20 px beyond the dashed ring (it was 13; the ring and the capture radius are unchanged). The same strength at the capture radius is spread over a longer distance, so the pull is gentler at any distance beyond the ring and a little stronger just inside it. Measured (px/s the pull moves a still Enterprise; Small, Medium, Large): 18 px beyond the ring 6, 9, 11; 15 px beyond 11, 13, 16; 10 px beyond 19, 22, 26; 5 px beyond 30, 32, 37; at the ring 39, 42, 48; 3 px inside 48, 51, 58; 10 px inside 66, 69, 79. Holding the key away, the Enterprise escaped from 15 px beyond the ring on all three, and from 4 px inside on Small and Medium (a Giant whirlpool caught it).
reduce the number of hits to whirlpool for enterprise to be free slightly, say 5% less. increase the distance where the whirlpool can start drawing in (pulling in) the enterprise, extend it 10-15px beyond the dashed circular whirlpool border, but don't update the radius of the border itself - the pull should be extended beyond the border, but make it gradual / subtle, where the…
increase the distance where the whirlpool can start drawing in (pulling in) the enterprise, extend it 10-15px beyond the dashed circular whirlpool border, but don't update the radius of the border itself - the pull should be extended beyond the border, but make it gradual / subtle, where the enterprise starts leaning toward the gravitational pull but until it enters inside the border, it can still escape by the player moving the enterprise away from the pull
Gravity Wells: (1) 5% fewer hits to break free: the grip points are 114, 228, 380 and 722 (were 120, 240, 400 and 760) for Small, Medium, Large and Giant. (2) The lean (the pull that starts to draw the Enterprise in) now begins WELL.leanExtra = 13 px beyond the dashed ring (new geometry value leanR = reachR + 13), rising gently from nothing there; the ring, the capture radius and the lean's strength at the capture radius are unchanged, and the slow drift along the spiral further out (pullR) is as before. Measured at the ring and beyond, on Small, Medium and Large: 10 px beyond the ring 10 to 14 px/s, 5 px beyond 20 to 25, at the ring 30 to 36, 3 px inside 41 to 49, 10 px inside 62 to 72 (the Enterprise's own top speed is 60); holding the key away from the whirlpool, the Enterprise escaped from 8 px beyond the ring and from 4 px inside it.
make the enterprise take the shorter way round to face the centre.
reduce distance between enterprise and torpedo before taking corkscrew path to 2px.
Gravity Wells: (1) an Enterprise that is not spinning now turns the shorter way round to face the middle (the whole turns are chosen with Math.round so the turn is never more than half a circle; v956 went the swirl's way, which could be nearly a full circle): in a test it turned 2.4 rad at most, in 1.45 s, at 2.5 rad/s at most, and then followed the corkscrew's angle exactly. (2) A torpedo flies straight out of the Enterprise's nose for only WELL.torp.out = 2 px (was 30) before it is drawn into the corkscrew (the step is now cut short so it moves exactly that far, not a whole step of a fast torpedo): measured, it starts 16 px from the Enterprise's middle and takes the corkscrew at once, in the frame it is fired.
when enterprise scales up on a hit to whirlpool centre, make the scale-up the same size as that when it hits a space bump on the wormhole level. currently the scale-up is too big and hence visually jarring. when enterprise is drawn into whirlpool and it does not spin on its axis/pivot, then after 1.5s rotate the enterprise in the direction of the whirlpool swirl rotation, to fa…
when enterprise is drawn into whirlpool and it does not spin on its axis/pivot, then after 1.5s rotate the enterprise in the direction of the whirlpool swirl rotation, to face the centre of the whirlpool. so this means constantly change the angle of the enterprise so that it faces the centre of the whirlpool as it travels along the invisible corkscrew path.
Gravity Wells: (1) the swell when a torpedo reaches the middle is exactly the Wormhole bump's: WELL.bump now takes grow (2 px of width, so 7.7%; was 7 px, 27%), up (.09 s), down (.38 s) and steps (8) from WORM.bump; the push away from the middle (9 px) is unchanged. Measured: the biggest size is 1.077 times its size at the time. (2) An Enterprise caught in a whirlpool that is not spinning on its axis now turns, 1.5 s after it is caught (WELL.face.after), the way the whirlpool swirls, to face the middle, and then keeps facing it all the way down the corkscrew (its angle follows the corkscrew's angle: the nose points at the middle). The turn goes the swirl's way even when that is the long way round (the whole turns are counted by S.faceK), taking about 0.8 s plus a second for every 2 radians (WELL.face.rate), with a smooth start and finish; one that was already spinning goes on spinning as before. When it is freed the angle eases back upright as in v950. Measured: the turn went up to 2.9 rad/s at most and the nose was on the middle from then on.
check if there is any condition that makes the game not show game over screen once all lives lost in the game. i see the playable area turn black with hud displayed but no message, so it looks like game has crashed
Fixed the GAME OVER screen not appearing (the playable area went black with the HUD and no message: it looked like a crash, and it was one). Cause: in Gravity Wells a torpedo still on its way down a whirlpool's corkscrew when the game-over fade finished (abortBonus sets bonus to null, 1.2 s after the last ship is lost) made wpBulletStep read bonus.wpS of nothing; the error stopped the game loop for good, on the last picture, just before GAME OVER is drawn (at 1.5 s). Reproduced by ending the game with a very slow torpedo in flight. Fixes: (1) wpBulletStep ends a torpedo when the round is gone; (2) abortBonus clears any Gravity Wells torpedoes; (3) a safety net for the whole game: frame() now catches an error in update() or draw() (frameError: logged once per different message in the console and in window.__frameErrors) and carries on with the next frame, so an error can no longer freeze the game on a black screen. Checked the other ways GAME OVER is skipped: none found (it is drawn at the end of draw() once overT passes 1.5 s, or the name entry replaces it when the score gets on the board).
make the torpedo trail shrink with the torpedo too. change 20px distance for torpedo to come out before taking on corkscrew path to 30px
Gravity Wells: (1) the torpedo's trail shrinks with the torpedo: a torpedo drawn at size wk (WELL.torp.minScale .6 at the middle) sheds its trail specks less often (times wk), closer to it (times wk), with less sideways drift (times wk) and shorter-lived (times wk); every other torpedo has wk 1 and is unchanged. (2) A torpedo flies straight out of the Enterprise for 30 px (WELL.torp.out; was 20) before it is drawn into the corkscrew (measured 32.8 px: the 30 and the last step of a fast torpedo). The request said '3pm': taken to mean 30px.
make the whirlpool brightness flash when torpedoes arrive instead. make any torpedo fire come out of enterprise by 20px before being drawn into corkscrew path, and as it travels inward toward centre, scale down the size of the torpedoes to give illusion they are travelling further down away from player's perspective. keep minimum size of torpedoes at the centre visible to playe…
make any torpedo fire come out of enterprise by 20px before being drawn into corkscrew path, and as it travels inward toward centre, scale down the size of the torpedoes to give illusion they are travelling further down away from player's perspective. keep minimum size of torpedoes at the centre visible to player, so not too small that it becomes hard to see or invisible.
Gravity Wells: (1) the whirlpool's brightness flash (WELL.look.lumFlash, 80%, fading back to 50%) now happens when a torpedo arrives at the middle, not when it is fired (firing changes nothing). (2) A torpedo fired by a caught Enterprise first flies straight out of it for WELL.torp.out (20) px along the way the Enterprise faces (a spread torpedo along its own angle), and is only then drawn into the corkscrew from where it is. (3) As it goes inward it is drawn smaller, as if travelling away from us, down to WELL.torp.minScale (.6) of its size at the middle, so it stays easy to see (paintTorpedo takes a size, wk). Measured on a Large whirlpool: the spiral began after 23 px, the size fell 0.99, 0.93, 0.85, 0.73 to 0.60, it reached the middle in 0.73 s, the whirlpool was 0.50 at the moment of firing and 0.79 at the peak on arrival.
when enterprise fires to free itself within whirlpool's pull, don't show phaser fire. if photon torpedoes or quantum torpedoes fired, then make them also get pulled into the invisible corkscrew path, but much faster than the enterprise. they contribute to the freeing of the enterprise from the whirlpool's pull. when they reach the centre, make a small explosion, and make the en…
when enterprise fires, remove the whirlpool brightness transition from 50% to 70%, instead firing makes the whirlpool brightness flash to 80% before fading back to 50%
Gravity Wells: firing to break free works differently. (1) The phaser does not fire while the Enterprise is caught (no beam; wpCaught gates it in the ship's fire code). (2) Photon torpedoes, spread torpedoes and quantum torpedoes fired while caught are pulled down the same invisible corkscrew as the Enterprise, WELL.torp.mul (9) times as fast (a Large whirlpool: about 0.6 s from the Enterprise's nose to the middle; the Enterprise itself takes about 6 s); they are marked when fired (wpShot) and move in wpBulletStep instead of flying straight. The grip is taken off when a torpedo reaches the middle (the same points as before, WELL.shot, with the outward-key help worked out when it was fired), no longer when it is fired. (3) When a torpedo reaches the middle there is a small fireball and ring there, and the Enterprise is shaken like a Wormhole bump: it swells by WELL.bump.grow (7 px of width, about 27%) in 0.08 s and eases back over 0.45 s (the same curve as the Wormhole's bump, wpBumpL), and the shockwave pushes it WELL.bump.push (9 px) further from the middle meanwhile (measured: scale 1.25 and 6 px out at the peak). A torpedo arriving while it is still swollen carries on from how swollen it is. The shield bubble and the explosion size follow the swollen size. (4) Brightness: the 70% rise on each shot is gone; each torpedo fired makes the whirlpool flash to WELL.look.lumFlash (80%) at once and fade back to 50% (a spring); the approach and escape brightness are as in v951.
increase the brightness of the whirlpool as enterprise gets into the pull vicinity to 50%. when enterprise fires to try escape, with every fire, increase whirlpool brightness to 70% before fading back to 50%. if enterprise escapes, then whirlpool brightness reverts to 20%. make each brightness/dimness transition a slight ease in/out effect, no sudden transitions.
Gravity Wells: each whirlpool now changes brightness (it was 20% for all, WELL.look.dim): (1) as the Enterprise comes into its pull it brightens, from 20% at the outer edge of the pull to 50% at the capture radius (WELL.look.lumNear; by distance, smoothed), and stays at 50% while the Enterprise is caught; (2) every shot fired while caught lifts it to 70% (WELL.look.lumShot; it stays there while shots keep coming, kickHold .12 s each) and it fades back to 50% when firing stops; (3) when the Enterprise escapes it goes back to 20% (and stays there while the no-capture time on that whirlpool runs). The changes are a spring (WELL.look.lumK 7: critically damped, so it eases in and out with no sudden steps: the biggest change in one frame in a test was 0.013). Only the whirlpool itself (halo, arms, glow, dust, core) brightens; the rings are as before. Measured: 0.34 to 0.48 while approaching, 0.50 caught, 0.67 after a burst of 40 frames of fire, back to 0.50 in about a second, 0.22 0.7 s after the fling and 0.20 after.
when the enterprise is freed and flung out of the whirlpool but hits either the top or bottom of the screen and it sits at an angle not facing up, then the transition from that angle back to upright is too sudden, and also because the camera view continues to move at a speed too fast for the enterprise to resume an upright position, it jerks the enterprise either up or down too…
Gravity Wells: a smoother recovery after a fling that ends at the top or bottom of the screen. (1) The tilt eases back upright over WELL.turnBack (1.4 s) with a smooth start and finish (a smoothstep from the angle it was left at; it was an exponential that started fast); in a test its turning never went faster than 0.6 rad/s. (2) A fling can no longer carry the Enterprise more than WELL.edgeOver (40 px) above its flying range, nor below it (the old limit was the very edge of the screen), so there is little to recover from; if it is outside the range it is eased back in at no more than WELL.retSpeed (55 px/s), where it used to be pulled back by a fast spring (4 a second) and then clamped. (3) While it is at the top or bottom of its range after a fling, the scroll slows to WELL.edgeHold (30%) and comes back as it leaves the edge (wpEdgeHold), so the view is not racing past it while it turns upright.
vary each whirlpool swirl speed between 20 and 105 (numbers based off the whirlpool lab settings). dim all whirlpools to 20% of current visibility amount
Gravity Wells: (1) each whirlpool has its own swirl speed, picked at random between WELL.look.spin (.2) and WELL.look.spinMax (1.05) (the lab's Swirl speed slider, 20 to 105; it was .2 for all): the turning of its arms and the drift of its dust (w.sw); only the look, the corkscrew is unchanged. (2) The whirlpools are dimmed to 20% of how visible they were (WELL.look.dim .2): the halo, the arms, the glow, the dust and the black core with its rim. The reach ring and the grip meter ring are not dimmed, so the warning and the grip are still easy to see; the bending of the stars is unchanged.
make more medium and large whirlpools appear, less small ones
Gravity Wells: more medium and large whirlpools, fewer small ones: WELL.layout.weights (how likely each size is at the start and at the end of the run) [[1.2, .6, .1, 0], [.15, .8, .9, .7]] becomes [[.35, 1, .5, 0], [.05, 1, 1, .6]]. Over a whole run the expected share is about 10% small, 46% medium, 34% large and 10% giant (it was about 33%, 32%, 22% and 12%); the number of whirlpools is about the same. Checked on 30 generated courses: about 67 whirlpools a run, 10% small, 48% medium, 33% large, 8% giant.
make the whirlpools' pull stronger when the enterprise is further out
Gravity Wells: the pull is stronger further out. The extra pull in the extended range (WELL.drift) is 36 px/s at the capture radius (was 18) and fades out in a straight line towards the outer edge (new WELL.driftCurve 1; it was a square, which was almost nothing in the outer half), and the pull inside the ring now rises less steeply (WELL.curve 1.3; was 2.2), so it is much stronger near the rim of the ring. The strength at the capture radius (WELL.lean 80) is unchanged. On a Large whirlpool, measured while it carries the Enterprise: at the outer edge of the pull 2 px/s, 15 px/s half way across the extra range (was 0.6), 29 px/s at the ring's edge (was 2.5 to 7).
undo. make minimum down-scaled size when it reaches centre 0.9x the original sprite size.
Gravity Wells: v945's faster corkscrew is undone (fall 4, 5.5, 6, 7 s; WELL.plunge 3.5; start-up ramp 0.8 s: the v943 numbers), and the smallest the Enterprise gets over the core is 0.9 of its size (WELL.shrink .1; was .2).
make the travel and any acceleration along the invisible corkscrew path faster
Gravity Wells: the Enterprise travels along the corkscrew faster and accelerates harder: WELL.sizes[].fall 4, 5.5, 6, 7 become 2.8, 3.8, 4.2, 5 (seconds from being caught at the capture radius to the core), WELL.plunge 3.5 becomes 5.5 (the speed at the core is 6.5 times the speed at the capture radius; it was 4.5), and the start-up ramp is 0.4 s (was 0.8). Measured to the core: Small 2.5 s, Medium 3.6, Large 4.1, Giant 5.0; on a Giant whirlpool it covers about 5 px in the first half second and about 25 px in the last. The turning round the whirlpool is faster by the same amount (the corkscrew's angle follows its radius).
is the enterprise when it reaches the centre 3/4 of the original size? it looks smaller. if it is, then make the minimum down-scaled size 0.8 of the original sprite size.
Gravity Wells: the smallest the Enterprise gets over the core is 0.8 of its size (WELL.shrink .2; was .75). Checked first: the size it was drawn at over the core was exactly 0.75 (the shipFrame picture is made at that size), so the shrinking was as set; it just looked smaller because the downscaled picture is smoothed.
make minimum downscale size of enterprise when it reaches centre of whirlpool to 3/4 of original size. reduce time for fireball explosion to 0.3s. double shots enterprise needs to be free of gravity well
Gravity Wells: (1) the smallest the Enterprise gets over the core is three quarters of its size (WELL.shrink .25; was a half). (2) The fireball explosion at the core lasts WELL.coreBoom .3 s (SHIP_DYING.time is .9 in the other rounds): shipDyingStart takes a duration; killShip passes it only when the Enterprise dies over a whirlpool's core (it was 0.3 s to the explosion, then 0.9 s of fireballs; now 0.3 s of fireballs). The 0.3 s from reaching the core to the explosion (WELL.coreTime) is unchanged. (3) Twice the shots to break free: the grip points are doubled (Small 120, Medium 240, Large 400, Giant 760; the weapons and the regeneration are unchanged). Measured on a Medium whirlpool: photons alone no longer free the Enterprise before it reaches the core (95 of 240 grip left).
make the fireball explosion scale with the enterprise's size. reduce time from reaching centre to fireball explosion to 0.3s. reduce final downscale size to 1/2 of original sprite size.
Gravity Wells: (1) the Enterprise's fireball explosion now scales with its drawn size: shipDyingStart takes the size (killShip passes wpDrawScale(); 1 everywhere else, so nothing changes elsewhere); the ship drawn while it burns, the spots of the fireballs, each fireball (shipFireball k), the big blast (shipExplosion takes k: fewer, slower sparks, a smaller flash and ring) and the tiny pieces (debris pieces have a size, k, which the debris drawing now honours, and fly out over a smaller area) all use it. (2) The time from reaching the core to the explosion is WELL.coreTime .3 s (was 1.2). (3) The smallest the Enterprise gets is a half of its size (WELL.shrink .5; was a third). Measured on a Large whirlpool: the core at 5.7 s, the explosion starting 0.28 s later at size 0.5, its pieces at 0.5.
when enterprise is caught in the whirlpool and starts to travel along the corkscrew path, make enterprise sprite size the same as original (don't downscale) so soon, start scaling down when enterprise is near middle centre, then when/if it reaches centre of whirlpool, then the maximum downscaled size of the enterprise sprite should be 1/3. if at this point, after 1.2 secs, the …
Gravity Wells: (1) the Enterprise keeps its full size along the corkscrew and is drawn smaller only near the middle: full size until it is within WELL.shrinkFrom (.5) of the capture radius of the core, then shrinking steadily to a third of its size (WELL.shrink 2/3) over the core (it was a quarter, shrinking from the edge of the pull). On a Large whirlpool it is full size down to about 30 px from the middle, 0.71 at 19 px, 0.49 at 11 px and 0.33 at the core. (2) Reaching the core no longer costs hull and flings it out: it goes to the very middle, at its smallest, and has WELL.coreTime (1.2) seconds to break free (the weapons still work; freeing it flings it out as usual); if it is not free by then it is destroyed with the standard fireball (killShip). WELL.coreDmg is gone; the summary row is now REACHED THE CORE.
as the enterprise spirals towards the centre of the whirlpool along the invisible corkscrew path, can you scale the size of the enterprise sprite down slowly to make it appear as if it is being drawn in further away from player's perspective, such that when the enterprise is over the centre of the whirlpool, it is 1/4 of the original size? when the enterprise is freed or furth…
Gravity Wells: the Enterprise is drawn smaller the nearer it is to the middle of a whirlpool, as if it were being drawn away from us: full size at the outer edge of the whirlpool's pull (pullR), shrinking steadily as it comes in, and a quarter of its size over the middle (WELL.shrink .75 = how much it loses); it grows back as it is freed or flung away, and is full size again outside the pull. The size eases (S.sc, 6 a second) and is drawn in WELL.steps (20) sizes so only a few sets of ship pictures are made (wpDrawScale); the shield bubble shrinks with it, and the hull scorch and fires are hidden while it is smaller (they would not line up). The hit size for shots is not changed. Measured on a Giant whirlpool: 0.57 when caught at the capture radius, 0.45 after 4 s, 0.26 at the core, and 1.0 again 1.5 s after the fling, outside the pull.
make the enterprise travel inwards to the centre of the whirlpool along the invisible corkscrew path faster, and accelerate more as it travels into the centre.
Gravity Wells: the Enterprise now travels in along the corkscrew faster and speeds up much more towards the middle. WELL.sizes[].fall (seconds from being caught at the capture radius to the core) 6, 8, 9, 11 become 4, 5.5, 6, 7; WELL.plunge (how much it accelerates: the speed at the core is 1 + this times the speed at the capture radius) 1.2 becomes 3.5. Measured on a Large whirlpool, the ring it follows shrinks by about 6 px in the first second and about 16 px a second near the end. redacted is unchanged (it still has the slower numbers).
double number whirlpools (keep sizes random). extend the whirlpool's pull radius further (but keep any visual boundaries the same). when enterprise is in this extended range, enterprise should be slowly drawn towards the invisible corkscrew.
Gravity Wells: (1) twice as many whirlpools (the gap between them halved, WELL.layout.gap [150, 260], was [300, 520]; about 65 to 70 on a run instead of about 31; the sizes are still picked at random, the same mix). (2) The pull now reaches further: out to WELL.pullMul (1.7) times the old reach, with the ring, the star bending and the capture radius unchanged. In that extra range the Enterprise is slowly carried along the corkscrew's own spiral (towards the whirlpool and round it, in its direction: WELL.drift 18 px/s at the capture radius times the size's pull, fading to nothing at the outer edge), so it is drawn in towards where the corkscrew will take it. The geometry has a new pullR. A dodging bot that only steers sideways now gets caught about 8 times in a run and loses a ship.
make the whirlpool's pull stronger the closer it is towards the centre. so if enterprise approaches edge of gravity well, then pull is more gentle compared to if enterprise flew over the inner middle of the spiral. and if enterprise directly over the centre of the gravity well, then pull is strongest.
Gravity Wells: the whirlpool's pull now grows towards its middle. (1) Outside the capture radius the pull on the Enterprise (the lean) grows with a steeper curve (WELL.curve 2.2, was 1.5) and is stronger at the capture radius (WELL.lean 80 px/s times the size's pull, was 30; the Enterprise's own top speed is 60): at the rim of the reach it is almost nothing, about 20 px/s half way in, and more than the Enterprise can resist just before the capture radius. (2) The corkscrew goes faster the deeper inside the Enterprise is when it is caught (WELL.depthBoost 1.5: up to 2.5 times the speed over the very middle; S.pullMul in wpCapture), so one caught at the capture radius spirals slowly and one that flew right over the middle is dragged to the core quickly. On a Large whirlpool it takes 7.7 s to the core when caught at 60 px from the middle, 3.2 s at 40 and 1 s at 18 (the sizes' fall numbers are for a capture at the capture radius).
why is it that sometimes when the enterprise is flung out into another gravity well, it flies over it and does not get caught in its pull? fix
Gravity Wells: a flung Enterprise can now be caught by another whirlpool. Two causes of it flying over one: (1) the no-capture time after a release (WELL.flingTime + 1.5 s) applied to every whirlpool, so for about 4 s nothing could catch or lean it; now only the whirlpool it has just left lets go of it (S.noWell, S.noT); (2) whirlpools were only checked while the Enterprise was free, not while it was being flung out or turning back to face forward; now they are checked in every state except while already caught. The lean towards a whirlpool is kept inside the whole screen's height in those states. Also gone: the extra half second without capture when it finishes turning back.
keep right and left speeds 80 px/s. slow enterprise speeds in all directions down further
Gravity Wells: the Enterprise is slower in every direction: WELL.move.speed = 60 px/s up, down, left and right (it was 300 sideways and 80 up and down; the Asteroid Stream's are 90 and 80). Sideways now goes through fixedSpeedX() (bonus.wp) and up and down through streamVel with the same number. The whirlpools' sideways lean (WELL.lean) is scaled down to match, 140 to 30 px/s at the capture radius (times the size's pull), so the Enterprise can still outpace the pull. A dodging bot still finishes the course but now gets caught twice.
enterprise moves way too fast up and down the screen, make it consistent with other vertical scroll levels in the game where enterprise can move up and down. when enterprise is freed and flung out of the whirlpool, the left and right and maybe up and down keys are non-responsive.
Gravity Wells: (1) up and down now move at the Asteroid Stream's speed and easing (STREAM.shipSpeedY, 80 px/s, with streamVel; the v933 version used the sideways speed, 300 px/s, far too fast). (2) After a fling the Enterprise can be steered all along: only a caught Enterprise loses its steering (wpXHold, wpYHold); in the glide the fling's movement is added to whatever the player steers, and the Enterprise can use the whole screen's height until it is eased back inside WELL.move.
not sure whether to call an undo or not. i want the enterprise to be able to move up and down as well as left and right. not just limited to left and right.
Gravity Wells: the Enterprise can now fly up and down as well as left and right (WELL.move: between 100 and 338 px from the top; wpVertical gives the same top speed, acceleration and ease-out glide as the sideways movement, with the Up and Down keys). A whirlpool now leans the Enterprise towards it on both axes. After a fling it stays where it ended (eased back inside the flying range if it was flung out of it) and turns to face forward, instead of sliding back to a fixed row; a new Enterprise after a loss still starts on the usual row (STORM.shipY). WELL.retSpeed is gone.
build the whirlpool level into the game. any suggestions on level name? my suggestions are: whirlpools, gravity wells
NEW bonus round GRAVITY WELLS (WELL_NAME; settings row 'wells', redacted or redacted; starts at OFTEN): a vertical-scroller (the Minefield's course) with space whirlpools in four sizes (1, 2, 3 and 5 Enterprise lengths wide), built from redacted with the user's settings (deep teal, thin sharp arms, lots of dust, stars bent round each one by lensing). Inside a whirlpool's reach the Enterprise is leaned sideways towards it; inside its capture radius it is caught: the scroll eases to a stop (the view reframes the whirlpool if it is near an edge), the Enterprise leaves its row and follows an invisible corkscrew in from the rim to the core on the same logarithmic spiral as the arms (WELL.look.twist), slowly (WELL.sizes[].fall: 6, 8, 9 and 11 s), may spin slowly and steadily on its axis (WELL.spin: 60% of captures), and the shield then hull take damage (20% on capture, then 2 to 6% a second; 15% hull for reaching the core). Photon torpedoes, spread, phaser and quantum torpedoes weaken the whirlpool's grip, shown as a ring round it that shrinks to just outside the capture radius and drains; holding a direction key pointing away from the core while firing weakens it up to twice as fast. At zero the Enterprise is flung off along the corkscrew's tangent, easing out over 2.4 s (still spinning if it was), then slides back to its row. A core hit flings it straight out. Enemy ships zoom down from the top, fire at the Enterprise (caught or not) and leave at the bottom (WELL.raid). The whole round is the WELL block (after drawCrossFore): wpBuild, wpStep, wpRelease, wpDrawWell, wpRaidStep; hooks in startField (14th parameter), mineBuild, mineStep, drawFieldLayers (stars bent by wpLens), the ship's fixed-row movement (wpXHold, wpYHold, wpAiming) and the weapons (wpShot).
make the jem'hadar fighters able to fly over the enterprise and any asteroids, so place them on an interactive layer above if that's appropriate.
Jem'Hadar fighters now fly OVER the Enterprise and the asteroids: they are drawn on a layer of their own above the Enterprise (drawNhFlyers, after the Enterprise is drawn; their shield bubble and hit flash with them), they need no route round the giant asteroids (they head straight for where they are going), nothing pushes them out of a rock, and their beams are not stopped by a rock and they do not need a clear line to fire (they fire from above). Set by fly: true on the class in JF_CLASS: any class can be given it. The battlecruisers and battleships are unchanged.
update the phaser firing locations for the jem'hadar fighters to coordinates 13,0 and 15,0.
Jem'Hadar fighter: its two phaser beams now leave from pixels (13,0) and (15,0) of its 25 x 22 picture (JF_CLASS.fighter.tipsPx; was 12 px out either side of its middle, 5.5 px ahead). Both are right of the picture's middle (column 12), so its beams are 2 px apart and 1 and 3 px right of the ship's centre line. nhBsTips reads a list of pixels like this when a class has one.
when the level starts spread out the groups of 3 jem'hadar fighters. throughout the game, make them travel separately from each group of fighters (maintain a certain distance) so they don't stack on top of each other
Jem'Hadar Fleet: the ships now start spread evenly over the whole world (each ship or group starts at the best of 60 random places: the one furthest from every ship placed so far, outside the rocks and 520 px from the Enterprise). And through the stage each group of fighters keeps its distance from the other groups: inside 320 px (NH_FL.fleet.groupGap) of another group's leader it is steered away from it, harder the closer it gets, so the groups travel apart and do not stack up, even when they are all hunting the Enterprise. The push is firm (up to 4 times the pull of the route, more again inside half the gap), and the fighters now keep 90 px (was 30) from the Enterprise before flying on past it, so the groups do not all pile up on one spot. Tested over 45 s with the Enterprise sitting still and all the groups hunting it: the groups started 350 px apart and their leaders never came closer than 126 px (typically 200 to 290).
create a stage with jem'hadar fighters as enemies. clone the jem'hadar battleship level. but make the play arena size 5x5 of the standard play area. spread the 7 giant asteroids across this larger area. In the future, i may turn these asteroids off or reduce the numbers. keep the nebula backdrop. add two jem'hadar battleships, 5 jem'hadar battlecruisers, and 7 groups of 3 jem'…
keep the nebula backdrop. add two jem'hadar battleships, 5 jem'hadar battlecruisers, and 7 groups of 3 jem'hadar fighters, all 3 flying as a group of 3.
NEW STAGE, the JEM'HADAR FLEET (settings: JEM'HADAR FLEET, default OFTEN like new stages; test page redacted). A clone of the Jem'Hadar Battleship stage (the nebula backdrop, the same hunting AI, route-finding round the rocks, the stop-and-turn and shield bubbles) in a 5 x 5 screen world (NH_FL) with 28 ships: 2 battleships, 5 battlecruisers and 7 groups of 3 fighters that fly together (the leader plans the route; the two wingmen hold their places out to either side and behind it, turn as it turns, and fire on their own; if the leader is shot down the next one takes over; a hit on one makes the whole group turn on the Enterprise; a group sees the Enterprise when any of its three is in view). The seven giant asteroids are spread over the bigger world: NH_FL.giants.count thins them out or takes them away (0 is fine). SHIPS: each class has its own speed (battleship 90% of the Enterprise's top speed as before, battlecruiser 82%, fighter 100% but 80% in formation), turning, size, clearance from rocks (its size + 100 px), cannons, shield bubble, beam rhythm and thickness, damage and points (JF_CLASS): the battlecruiser is the Jem'Hadar Attack's (twin beams from its prongs, bow torpedoes, 3.5 and 4 shield); the fighter has beams only (3.5 shield, thin, from its wing tips) and its own small fireball explosion; the battleship is as it was (14 and 36, stern torpedoes, stop-and-turn). Kills score 500 / 300 / 100 and add 6000 / 1000 / 300 to the end bonus (plus time and shield as usual). 15 minutes on the clock. HUD: ships left by class; health bars only on ships hit lately; the ping shows the nearest ship. The ships push each other apart so they do not stack. For speed the route map uses 24 px squares in this world (16 in the battleship stage), searching ships re-plan about once a second, fighting ones three times a second, and at most two plans a frame. The battleship stage's code now reads each ship's own numbers (e.cl) instead of one shared set, with no change for the battleship.
add the jem'hadar fighter to the game as an enemy (detail 25 x 22 sprite; health 1/4 of the ferengi marauder)
The Jem'Hadar fighter is in the game as an enemy ship (not in a stage yet, like the battleship was at v890): its picture (the 25 x 22 detail sprite from the sprite editor, JEMHADAR_FT / jemhadarFighterImg, not to scale: a real 110 m fighter would be 5 px), its health (TUNING.hp.jemhadarFighter 34, a quarter of the Ferengi Marauder's 135; second one 34; Wormhole one 2), and the damage of its fire (TUNING.received.jemhadarFighterBeam 3.5 and jemhadarFighterTorpedo 4, the battlecruiser's). The health editor has its rows.
is it possible for the explosion to not stay in the same spot at which the enterprise was destroyed, but instead travel slightly in the same direction the enterprise was travelling and based on the speed it was travelling?
The Enterprise's explosion no longer stays where it was destroyed: the ship carries on the way it was going, at 60% of its speed (SHIP_DYING.carry), slowing as it goes (SHIP_DYING.drag 1.2 a second), so the fireballs trail along its path (about 60 px from full speed over the 0.9 s), the big blast goes off where it has got to and the pieces fly on with some of its speed. The rock or sphere it hit does the same with its own speed.
i think the enterprise explosion animation duration is too long. reduce it by half. i'll review again
The Enterprise's destruction (and what it hit) takes half as long: the fireballs run for 0.9 s instead of 1.8 (SHIP_DYING.time), at twice the rate (22 a second) so they still cover every part, then the big blast and the pieces.
with the new enterprise explosion, when it collides with something (e.g. asteroid), it disappears. i want the object the enterprise has collided with to not disappear and instead also have an fireball explosion
When a collision destroys the Enterprise, the asteroid or Borg sphere it hit no longer vanishes: it stays where it is, drawn as it was, and blows up in the same way as the Enterprise (fireballs all over it for 1.8 s, scaled to its size, then a big blast and tiny pieces of its own picture), together with the ship (wreckStart / wreckStep / drawWrecks, next to SHIP_DYING). If the shield takes the hit and the ship survives, the rock or sphere breaks up at once as before. This covers the ordinary levels and the rounds that share their collision code (the storms, the Nebula Hunt, the Firefly Rescue and the like); rounds that handle their own collisions (the Pulsar, the Wormhole, mines and so on) are unchanged. shapeOf(img, ...) is now the shared way of working out a picture's fireball spots and pieces.
for all bonus levels including the main asteroid llevels, make the enterprise explosion animation use the same fireball style animation and make it shatter into tiny pieces like the jem'hadar battleship does when it is destroyed
The Enterprise's destruction, in every level (the asteroid levels and all the bonus rounds: it all goes through killShip): the same fireball style as the Jem'Hadar battleship's. For 1.8 seconds (SHIP_DYING.time) about 11 fireballs a second go off in quick succession over every part of the ship (the first 12 spread as far apart as they can be), each a burst of sparks, a flash, now and then a ring, with one of the existing explosion sounds; the ship stays on screen meanwhile. Then the big blast (the old explosion, now with the loud sound) and the ship shatters into about 40 tiny pieces of its own picture that spin away (it was 5 big chunks). The respawn wait is unchanged (3.5 s), so the new ship still appears after the pieces have gone. Settings in SHIP_DYING.
why is the battleship still getting stuck in asteroids, then have trouble getting out? would increasing the minimum distance between asteroid and battleship help so that it allows for the ship to make a u-turn? if so, then increase minimum distance by another 50px
Jem'Hadar Battleship: it keeps 100 px clear of the giant asteroids (NAV.hard 132, was 82: its hull is about 32 px out from its centre, plus 100), so there is room to turn round beside one. Its patrol goals and its starting place are kept further from the rocks too (190 and 170 px). Tested over a 90 s run: three brief brushes with a rock (21 frames in all) and no long stalls; its average speed is lower, about 75 px/s, because it picks its way more carefully and slows near the border.
double the damage per hit for battleships phasers and torpedoes
Jem'Hadar Battleship: the damage per hit of its beams and torpedoes doubled again: beams 14 shield per hit (was 7), torpedoes 36 (was 18).
show battleship shield animation when hit.
halve the number of powerups available to enterprise
Jem'Hadar Battleship: its shield bubble flashes when it is hit, exactly as the Enterprise's does (the same pulses over the same time, fading as they go; in the Jem'Hadar shield colours, an ellipse 38 x 42 px out from its centre, turned with the ship: NH_BS enemies.bs.shield). Half as many power-ups for the Enterprise on this stage: 11 scattered at the start (was 22), the first after 8 to 12 s (was 4 to 6), then one every 10 to 16 s (was 5 to 8), at most 14 at once (was 28): now the Nebula Hunt's own numbers.
put the beam tip glow back without the sparkles.
make battleship torpedo damage 18 shield per hit
Jem'Hadar Battleship: the glow at the tips of its beams is back, without the white sparkles along them (the sparkle setting now has every: 0, which paintDuelBeams reads as no sparkles but still draws the tip glow); its torpedoes now do 18 shield per hit (was 12).
make the battleship's beams do double damage
make the battleship's torpedoes do triple damage
remove the battleship's white sparkles on the phaser beams, and make the beams a little thicker each
Jem'Hadar Battleship: its beams do double damage (7 shield per hit, was 3.5: TUNING.received.jemhadarBattleshipBeam) and its torpedoes triple (12, was 4: jemhadarBattleshipTorpedo). Its beams lose the white sparkles (and the glow at the cannon tips that came with them) and are 40% thicker (DUELV.beamWidth 1.4, set in startNebulaHunt; paintDuelBeams scales all three layers of the beam by it, and by 1 for every other ship).
make the battleship fire its beams more often when facing the enterprise.
also, make the battleship have sight of the enterprise 150px beyond the players viewable area, this will allow enough time for the battleship to fire its torpedoes and phasers at the enterprise, when it's slightly beyond the viewable play area.
Jem'Hadar Battleship: it fires its beams more often while it faces the Enterprise (the glow takes 0.35 s instead of 0.5 s: bs.charge; the gap between beams is 0.15 to 0.35 s instead of 0.45 to 0.85; after each burst of four the pause is 0.4 to 0.9 s instead of 0.8 to 1.8, so about a beam pair every 0.6 s, roughly twice as often). It also sees 150 px beyond the edge of the player's view (bs.sight), so it hunts and fires at the Enterprise a little before and after the two share a screen, and has time for its torpedoes and phasers when the Enterprise is just off the screen.
why does the battleship shoot phasers when the enterprise is not in front of it, is the code making it shoot at asteroids? the battleship cannot continuously let the enterprise fire from behind. if the enterprise is still following the battleship after 2-3 rounds of rear torpedoes have been fired from the battleship, make the battleship slow to a halt, then turn the ship around…
the battleship cannot continuously let the enterprise fire from behind. if the enterprise is still following the battleship after 2-3 rounds of rear torpedoes have been fired from the battleship, make the battleship slow to a halt, then turn the ship around its pivot point, then fire back at the enterprise
Jem'Hadar Battleship. FIRING: the beams and the bow torpedoes now need the Enterprise itself to be in front of it (within about 14 degrees, measured at the Enterprise, not at where the Enterprise is heading, which used to allow about 20 degrees and a lot of drift while the glow gathered), and when the glow is full it checks again: if the Enterprise has slipped out of the front or a rock is in the way it does not fire at all (before, it fired along whatever way it then faced, which could be at a rock or at nothing). It never aimed at rocks on purpose. THE STOP-AND-TURN: it can no longer shoot astern for ever. If the Enterprise is still on its tail after 2 or 3 volleys of rear torpedoes (bs.pivotAfter), it brakes to a halt, spins round on the spot about its centre (bs.pivot, up to 1.4 radians a second, eased), then fires one burst of four beams at the Enterprise, then flies on as usual (nhBsPivot).
the battleship should know where the enterprise is and actively hunt it down, to shoot at it. if the enterprise moves out of view from the battleship (they no longer share the player's same viewing area together) then the battleship loses the enterprise's exact location and will instead travel around hunting for the enterprise. also increase the minimum distance where the battl…
also increase the minimum distance where the battleship can travel near the asteroids to have a 50px invisible border/gap.
Jem'Hadar Battleship: WHAT IT KNOWS. While it and the Enterprise are in the same screen (the player's view) it knows exactly where the Enterprise is and hunts it down and shoots it. Once it has been out of that view for 1.2 seconds (NH.enemies.bs.keen) it has lost the Enterprise's exact position: it flies to where it last saw it (a little ahead, the way the Enterprise was going), then searches in a widening ring round that spot for 25 seconds, then roams the world for it, at three quarters of its top speed, until they share a view again. A hit from out of view tells it where the Enterprise is for 4 seconds (bs.angry) so it can turn and fire back. At the start it searches the world the same way (it no longer knows where you are from far off). It also keeps 50 px clear of the giant asteroids (its hull is about 32 px out from its centre, so NAV.hard is now 82, was 46): it no longer squeezes through a gap unless the gap is at least about 164 px wide. It also slows to 80% when it is within 30 px of that border, so its turns stay inside it. Tested over 90 s runs: it alternated between hunting (Enterprise in the same view) and searching (out of view), with one short brush against a rock (about a second) per run.
allow the battleship to fire its photon torpedoes from the centre rear when the enterprise is behind it and chasing the battleship. fire a volley between 3 -5 shots at a time, with a reload period before being able to fire again
Jem'Hadar Battleship: it fires photon torpedoes from the centre of its stern when the Enterprise is behind it (within about 43 degrees of straight astern, closer than 480 px, and in sight): a volley of 3 to 5 at a time (the same rhythm and blue torpedoes as the bow ones, aimed at the Enterprise 60% of the time), then an 8 second reload (a little random) before the next volley. Tunables in NH_BS enemies.bs: rear (tube position), rearRange, rearCone, rearVolley, rearAimed, reload.
make the battleship twice as hard to destroy.
make the battleship's top speed 90% of the enterprise's
Jem'Hadar Battleship: twice as hard to destroy (TUNING.hp.jemhadarBattleship 774 to 1548, so four times the Romulan warbird's health; the unused second battleship and the Wormhole one follow: 68), and its top speed is now 90% of the Enterprise's (NH_BS enemies.fightSpeed = .9 x MAXV = 144 px/s, was 120; its patrol speed is unchanged at 75). Its turning circle is a little wider at the higher speed.
on the jem'hadar battleship level: battleship still moves like fish. battleship constantly moves it way into an asteroids and starts shooting at it. why can't the battleship know the locations of the asteroids and just plot a course around them, calculating whether there is enough clearance to squeeze into gaps between them? make the battleship smarter. if the battleship is sho…
Jem'Hadar Battleship stage, smarter flight. ROUTES: it now knows where every giant asteroid is and plans a route round them (the world is mapped in 16 px squares, closed to the ship within 46 px of a rock or 76 px of the edge, so it only goes through a gap between two rocks if it really fits; the route (A*) keeps a good distance from rocks, is straightened where it can be, is re-planned 3 times a second as the rocks drift, and it follows it by aiming 110 px ahead along it: NAV in the code); a rock suddenly right ahead makes it brake and re-plan, and it no longer holds its heading to fire while one is close ahead. It only fires when it can see the Enterprise (no more beams and torpedoes into a rock in between), and it no longer starts nose to nose with a rock. LESS FISH: the turn rate is now braked in good time (it settles on its heading with no swing past it and back); a target close by, to its side or behind it, is inside its turning circle, so instead of circling round it, it flies on past it, then turns back in a wide curve; and it keeps turning the same way if the Enterprise is almost dead behind it. SHOT AT: any hit makes it turn on the Enterprise wherever it is and keep after it for 14 seconds (NH.enemies.bs.angry), swinging round in its usual wide turning circle, and fire back as soon as it faces it (nhEnemyHurt takes a source, so ally ships can be passed in later). Tested over 90 s runs: rock contact fell from about 150 frames to 1, and it no longer crawls along rocks.
make the nebula much dimmer
Jem'Hadar Battleship stage: the nebula backdrop is much dimmer (2 times the game's usual very dim one, instead of 4; NH_BS.nebulaGain, which only this stage uses; 1 = as dim as the game's own).
undo. sorry i meant the jem'hadar battleship level
Undid v909 (the Jem'Hadar Attack's nebula is back to its dim look). The Jem'Hadar Battleship stage now has a nebula backdrop instead: the Jem'Hadar blues, 4 times brighter than the game's usual dim one (NH.nebulaGain, as in the Nebula Hunt), drawn under everything and sliding slowly as the Enterprise moves. It is only a backdrop: no cloud, no visibility loss (NH_BS.nebula).
for the jem'hadar level, add the nebula backdrop
(undone in v910) the Jem'Hadar Attack's nebula was made brighter.
Set the beams to come from the front prongs (14,0) and (17,0)
Jem'Hadar battlecruiser: the twin beams now leave from the tips of its two front prongs, pixels (14,0) and (17,0) of the 32 x 32 sprite (1.5 px either side of its middle, 15.5 px ahead of it; the beams are 3 px apart), instead of the wing-pod tips.
add the new battlecruiser to the game as an enemy.
use this battlecruiser sprite for the jem'hadar attack level, replacing the old one
New Jem'Hadar battlecruiser sprite (32 x 32 px, 640 m, from the sprite editor) is in the game as an enemy and replaces the old one in the Jem'Hadar Attack. Its health is unchanged (373, TUNING.hp.jemhadar). The two beams now leave from the glowing tips of its wing pods (14.5 px either side, 9.5 px ahead of its middle), its shield bubble is 32 px wide, and the old 28 x 32 sprite is gone from the game (it is still in the sprite editor as the 'battleship (28 x 32)').
the battleship should know when it is approaching the hard boundaries of the extended play area, and not continue to head towards it then continue hugging/sliding into it. as it nears the hard boundary, it should turn away from the edge and continue moving. it can traverse near horizontally parallel to the edge for a short while. The battleship needs a more aggressive stance. …
The battleship needs a more aggressive stance. it currently does not turn around and fire when the enterprise is within the same cam view. fix.
Jem'Hadar Battleship stage: it keeps off the hard edges of the world and is far more aggressive. EDGES: as it comes within about two and a half turning circles (about 370 px at full speed) of an edge while heading at it, it swings away from it (inward, keeping along the edge the way it was going), and may then run roughly parallel to the edge for a while, instead of carrying on into it and sliding along it; it ignores the hold-heading-while-firing rule near an edge so it can turn. AGGRESSION: it no longer flies 285 px away after passing the Enterprise; it always turns to face it (aiming 0.8 s ahead of where the Enterprise is going), slows to 60% speed to loop back tightly when the Enterprise is behind it, turns faster (1.0 radians a second, eased by 3), and only veers off if it is about to ram it (inside 70 px) until it is clear of it by 126 px. Numbers in NH_BS (turn, bs.near, bs.lead, bs.turnAccel).
make the battleship fire phasers more often, and don't stop to fire
Jem'Hadar Battleship stage: it fires its phasers more often (bursts of four, a beam about every 1.0 to 1.4 seconds including the half second charge, then a short gap, instead of bursts of three then a pause of 2.5 to 4 seconds; it also starts a shot from further away and from a wider angle) and no longer stops to fire. It keeps its heading steady while it charges and fires (about a second) but flies straight on at full speed, and its beams move along with it so they stay at its cannons.
why is the jem'hadar battleship moving slowly and hugging around the giant asteroids. it's also wriggling side to side like a fish, a common problem with the earlier last stand levels in trying to get the movements of the ships right. fix
Jem'Hadar Battleship stage: smoother, faster flight. It was too slow (40 and 75 px/s against the Enterprise's 160): now 75 patrolling and 120 fighting. It hugged the giant asteroids because it steered away from them in sudden jumps and then straight back; now each giant pushes it outwards and round, the way it was already going, so it flows round a rock in a smooth curve. The fish-like wriggling came from its heading changing its mind every frame (turning towards the Enterprise, then away when it came too close, then towards it again); now its turn rate eases up and down, it only flies away when the Enterprise is within 150 px and keeps going until it is 285 px clear, and its patrol goals count as reached inside its turning circle and are never near a giant. It also fires in bursts of three and then flies on for a few seconds, instead of stopping every second. Numbers in NH_BS (speed, fightSpeed, turn, bs.accel, brake, turnAccel).
the battleship needs to turn by moving forward then turn (it needs to have a large turning circle). it is currently mostly turning in one spot, so looks unnatural. i need the ship to move like the other alliance ship in the last stand level.
Jem'Hadar Battleship stage: it now flies like the Last Stand's ships. It keeps flying forward at its cruising speed and turns slowly (0.6 radians a second at 75 px/s, a turning circle about 125 px in radius), so a turn is a wide curve and never a spin on the spot. In a fight it turns toward the Enterprise, and if the Enterprise is too close it turns away, flies past and comes round for another run; it turns away from giant asteroids ahead of it and from the edge of the world. It still stops to charge and fire its beams, and only fires when it is facing the Enterprise. Tunable in NH_BS (turn, speed, fightSpeed, bs.accel, bs.brake, bs.look).
when the jem'hadar battleship explodes, it needs to show a series of fireball explosions going off in quick succession, covering all parts of the ship, and for the ship to shatter into many little pieces. use any previously used explosion sounds for each explosion.
Jem'Hadar Battleship stage: a proper destruction. When it is destroyed it stays on screen for about 2.6 seconds while about 34 fireballs go off in quick succession over every part of it (each with one of the game's existing explosion sounds: the recorded small explosions and the standard boom, with some flickering), then it blows apart in the Enterprise's big blast (with its death sound) and shatters into about 70 little pieces that spin away. The end-of-stage pause is longer (5.4 s) so it can all play out.
go with option 1, hold still while firing
Jem'Hadar Battleship stage: the battleship holds still and does not turn from the moment it starts charging its cannons until its beams have faded (about 1 second), so the beams always stay at its cannons.
the weapons fire are wrong. use the same behaviours, visual treatment as the jem'hadar attack level sprite. the cannons on either side 17,34,18,34 and 47,34,48,34 fire the blue phasers. the torpedoes come out at the front centre.
Jem'Hadar Battleship stage: its weapons now match the Jem'Hadar Attack. A glow gathers at both cannons (sprite x 17-18 and 47-48, y 34) for half a second, then twin sparkling blue beams fire straight ahead (a beam hits if the Enterprise is within 24 px of its line; giants stop and are chipped by a beam), and blue photon torpedoes in volleys of up to five leave the front centre of the bow, all with the duel's own timing, colours, sparkle and sounds. The old plain bolts are gone, the mist-style glow round it is gone, and it backs away if the Enterprise comes inside its stand-off distance.
the play area is too small. undo so it no longer uses the duel level setup as a variant.
are you able to increase the area to 3x3 of standard size, so it now uses something similar to the nebula hunt setup? only that for this level, no nebula, so disable the visibility. add 7 giant asteroids scattered on this new 3x3 board.
JEM'HADAR BATTLESHIP rebuilt, no longer a variant of the duel stage (the v898 duel version is undone). It now uses the Nebula Hunt's setup: a 3 x 3 screen free world with the camera and the little map, but no nebula or cloud (nothing hides anything), no mines, minerals or damaged starship, 7 giant asteroids scattered over the world, and one Jem'Hadar battleship (twice the Romulan warbird's health) that patrols, hunts the Enterprise and fires twin blue bolts from its cannons and a blue torpedo from its bow every third volley; the giants block its shots and flight. Twice the Nebula Hunt's power-ups. The stage is won by destroying it before the 10:00 clock runs out. Numbers are in NH_BS. On at OFTEN in the Bonus Stages settings; redacted.
add the jem'hadar battleship as an enemy, if not already done so (sorry i can't remember). then create a duel level for it, but this one needs to be a variation of the previous ones. i want one giant asteroid to be on the level play area as way for either to hide and evade each other. when level starts place it anywhere where the enterprise isn't currently located or where an e…
then create a duel level for it, but this one needs to be a variation of the previous ones. i want one giant asteroid to be on the level play area as way for either to hide and evade each other. when level starts place it anywhere where the enterprise isn't currently located or where an enemy ship has been assigned to for game start. may need to double powerups for the enterprise due to the health and damage points for the battleship.
New bonus stage JEM'HADAR BATTLESHIP: the Jem'Hadar Attack against the 1500 m battleship (twice the Romulan warbird's health, blue twin beams and torpedoes), with one giant asteroid placed at the start away from the Enterprise and the battleship's place and flight path, for either side to hide behind (it blocks and is chipped by beams, torpedoes and phasers; the battleship picks places and paths round it and cannot fly through it), and twice the power-ups for the Enterprise. One battleship only. On by default at OFTEN in the Bonus Stages settings; redacted plays it; Jem'Hadar battleship was already in the game as an enemy (v890). Numbers are in DUEL_VARIANTS.jemhadarbs and TUNING (score and bonus: win 6000).
make the pale blue lights have a smaller glow
Deep Space Nine pale blue lights: smaller glow (halo 3.5 instead of 6).
apply a fading pulse for the red light, make it blink even more slowly
Deep Space Nine red core light: now a fading pulse (it swells up and dies away smoothly) once every 4.5 s, instead of switching on and off every 2.6 s.
make the red light blink more slowly. apply the smallest glow to the orange lights. steady, no pulsing
Deep Space Nine lights: the red core light blinks half as often (every 2.6 s), and the two orange lights have the smallest glow and stay steady, with no pulsing.
remove glow from orange lights. reduce the size of glow from the red light.
Deep Space Nine lights: the two orange lights lose their glow (the pixel still pulses slowly), and the red core light's glow is half the size.
make the ds9 lights brighter and more noticeable. for the rim lights (2 whiteish blue), apply a small glow
Deep Space Nine lights are brighter and easier to see: bigger, hotter halos (a bright centre fading out, drawn twice), the two pale blue lights get a small steady glow, the core beacon stays on longer, and the orange lights pulse deeper. Tuned in DS9_LIGHTS.
pylon tips glow, core blinks, rim glows and pulses slowly
Deep Space Nine backdrop (Jem'Hadar Attack) now uses your edited 70 px sprite with its lights animated: the pylon tips glow softly, the core beacon blinks, the outer-ring lights glow and pulse slowly. Set by DS9_LIGHTS (mode, period, min/max, halo) and DS9_BACKDROP (size now scales the sprite to any width; style 'smooth' is still the old still picture).
set ds9 size to 70px
Test backdrop: the Deep Space Nine backdrop on the Jem'Hadar Attack is now 70 px wide (size: 70 in DS9_BACKDROP), close to its true scale beside the ships.
add the jem'hadar battleship to the game as a new enemy. use the romulan warbird's health properties but double the amounts for the jem'hadar battleship
New enemy: the Jem'Hadar battleship (1500 m, 66 x 75 px sprite from the sprite editor) is in the game with the Romulan warbird's health doubled (774 hits for each of two, 34 down the Wormhole) and shown in the health editor. It has no stage yet; damage it deals is copied from the warbird.
switch ds9 sprite back to pixelart on the jem'hadar attack level
Test backdrop: the Deep Space Nine backdrop on the Jem'Hadar Attack is back to the pixel-art style (style: 'pixel' in DS9_BACKDROP).
switch it to the smooth style so I can compare
Test backdrop: the Deep Space Nine backdrop on the Jem'Hadar Attack now uses the smooth style (the picture scaled down) so it can be compared with the pixel-art one; set style back to 'pixel' in DS9_BACKDROP to return.
can you place a 90px wide ds9 image as a backdrop layer on the jem'hadar level, as a test. make it configurable. i may switch sizes for ds9, move it around, or remove it entirely. position it middle of the y-axis and 1/3 from right of screen
Test backdrop: Deep Space Nine is painted onto the Jem'Hadar Attack's background, 90 px wide, halfway down and one third in from the right. It is set by the DS9_BACKDROP block in redacted (enabled, levels, size, style 'pixel' or 'smooth', x, y, alpha), so you can switch sizes (70, 80, 90, 100, 160), move it, or turn it off.
on jem'hadar level, remove space between 'battle' and 'cruisers' - shorten it to 'battlecruisers' as text currently runs in other parts of the HUD.
Jem'Hadar Attack: BATTLE CRUISER is written BATTLECRUISER everywhere the stage shows it (the title, the briefing, the strength bar's name, the messages), so it no longer runs into other parts of the HUD
is dead in space level switch off in the bonus stage settings? if so, make it set to 'often' and make all future new levels set to 'often' by default
Dead In Space was switched OFF by default in the Bonus Stages settings: it now starts at OFTEN, and a browser's saved settings have that one row moved to OFTEN once (the other rows are left as saved). Every new bonus stage's settings row now starts at OFTEN automatically
only give the clear bonus and shield bonus on a real success. update the rule, mission is a success if all crew is rescued and enemy ships destroyed, even if damaged ship explodes from core breach after the rescue is complete.
Nebula Hunt: the clear bonus and the shield bonus are given only on a real success (every crew member rescued and every enemy ship destroyed within the time); a mission whose starship was lost, or that ran out of time, gets only the points for the ships and mines destroyed. A success still counts if the starship blows up from its warp core breach after the rescue was complete
on nebula hunt level, end level summary heading reads 'mission completed' when damaged ship was destroyed. 'mission completed' is only true if both objectives were met: find ship, rescue crew and destroy all enemy ships within [x] mins. so if either is not met then message should read 'mission failed'
Nebula Hunt end screen: the heading reads MISSION COMPLETED only when both objectives were met (every crew member rescued and every enemy ship destroyed within the time); otherwise it reads MISSION FAILED (in red), including when the damaged starship was destroyed or the time ran out (it read MISSION COMPLETED after the starship was destroyed, and TIME EXPIRED on a timeout)
for the jem'hadar duel briefing text, change to: 'A Jem'Hadar battle cruiser has ventured into Federation space. Destroy it before more arrive.'
the Jem'Hadar Attack briefing reads: A Jem'Hadar battle cruiser has ventured into Federation space. Destroy it before more arrive.
shift the jem'hadar shield colour slightly towards purple
the Jem'Hadar battle cruiser's shield bubble is shifted slightly towards purple (#b4b4ff, it was #a8cfff)
add it as a new bonus stage like the Romulan Duel. The weapons fire (phasers and photon torpedoes) for jem'hadar are blue. use the fire animations from the klingon bird of prey. The jem'hadar fire their phasers from the two grey cannons at sprite coordinates x=7 y=14 and x=20 y=14. the photon torpedoes come out from the front of the ship. Jem'Hadar does not possess cloaking tec…
new bonus stage JEM'HADAR ATTACK (the Romulan Duel against a Jem'Hadar battle cruiser): it cannot cloak and moves like the Ferengi Marauder (in plain sight, to a new place after every volley), fires like the Bird of Prey but blue (twin sparkling beams from its two grey cannons, blue photon torpedoes from its bow), 373 hits to destroy and a second arrives; settings row, schedule (from level 11 on Normal) and redacted
update jem'hadar health for first and second to both 373. update health editor
the Jem'Hadar battle cruiser's health is 373 torpedo hits for the first and the second (it was the Romulan warbird's 387)
add the jem'hadar battlecruiser to the game as a new enemy. copy the health properties of the romulan warbird to the jem'hadar battlecruiser. Update the health editor so i can see the properties.
the Jem'Hadar battle cruiser is in the game as a new enemy ship (28 x 32 px, from the sprite editor): it has the Romulan warbird's health (387 hits, a second one the same, 17 down the Wormhole) and shield damage (3.5 beam, 4 torpedo), and shows in the health editor. No level uses it yet
i think i played a session where the same bonus round appeared twice. can you confirm it's possible based on code logic? if confirmed, can you make the game to never play the same bonus level more than once if starting from the normal game start [initiated by [enter] key on home screen]? (unless somehow the player has progressed far into the levels where all bonus levels have b…
a bonus round is never played twice in one game until every bonus round that is switched on has been played: then they may all come round again (before, a round that had just been played was only made less likely, so it could repeat)
apply the same change to the settings key labels
settings key labels: the DOWN key reads REVERSE/BRAKE (the slash is drawn fainter, like the others)
on the home screen, for the [down] key action, update to read 'Reverse/Brake' but colour the slash '/' in the muted grey
home screen: the DOWN key's action reads REVERSE/BRAKE, with the slash in the muted grey (textKeys can now draw a stretch of text in that grey)
for the game redacted, add javascript to prevent the right context menu from appearing
right-click no longer opens the browser's context menu anywhere on the page
on end of level summary, change enemy name for just 'enemy' - as long names like cardassian make the text run into the numbers/values at the end of each row
Nebula Hunt end screen: the first row reads ENEMY SHIPS DESTROYED (not the enemy's name: CARDASSIAN SHIPS DESTROYED ran into the number)
make the starship visible on the minimap once found. bring the 'sensor contact' down so that it sits 3px above the minimap top border. make all enemy ships show a health bar. it is impossible to currently tell how long to shoot for.
Nebula Hunt: (1) the starship on the little map once found is a bold gold mark (5 px with a dark edge and a pulsing ring) that stays until the crew are off, drawn under the Enterprise's dot; (2) the sensor contact wording sits 3 px above the map's top border; (3) every enemy ship has a health bar (28 x 3 px, green, yellow, red) over it when it is lit by firing, has been hit in the last 6 s, or is within 130 px of the Enterprise (so it does not give away a ship still hidden in the cloud): NH.enemies.bar / barShow
v872 (same version, before filing): the enemy health bar is 30 x 4 px with a light edge and brighter colours, because the mist over the world dims it
in the upper HUD, under locate starship, put a permanent 'eliminate [enemy] ships [num/num]'. the 'sensor contact' message wording should go above the minimap, so bring up the visibility wording and bar up 20px. when the message appears at early stages of the game, the map hasn't been revealed yet but sensor contact should still place a rough location of the enemy on the minimap.
Nebula Hunt HUD: (1) 'ELIMINATE <enemy> SHIPS n/6' is a permanent second line under the starship objective (the objective line is only LOCATE STARSHIP / RESCUE CREW and goes once the rescue is over); under them the starship's small line (y66), the round's message (y80), the starship's message (y90) and the transporter hint (y100); (2) the sensor contact wording is over the little map, and the visibility label and bar are 20 px higher; (3) the sensor ping's mark on the map is bolder: a disc as wide as the ping's error (it is only a rough place), a spreading ring and a dot, and it shows whether or not that part of the world has been seen
on end of level summary, wherever there is wording in this format "[num] of [num]" then make the "of [num]" in the same grey text preceding it for the descriptor wording. when level starts with briefing displayed, player can press weapon key and it will shoot, even though enterprise is out of view. disable weapons until enterprise is in view. HUD: keep the countdown but replace…
(1) every end screen: in a value like '5 OF 12' the 'OF 12' is the same grey as the words before it; (2) Nebula Hunt: no weapons (torpedoes, quantum, spread, phaser) or transporter until the Enterprise has flown in and is on screen (it could fire during the briefing); (3) Nebula Hunt HUD: the clock stands alone at the top, with the objective under it in turn: LOCATE STARSHIP, RESCUE CREW (with RESCUED n/n and CORE BREACH in small text under it), then ELIMINATE <enemy> SHIPS n/6 counting up the ships destroyed (the small orange starship line is gone), the messages moved down a notch; (4) the mineral count is at the right, under where the hull bar shows
change 'starship not located' in game HUD to 'locate starship'
Nebula Hunt HUD: the line before the starship is found reads LOCATE STARSHIP (was STARSHIP NOT LOCATED)
make the enemy ships (whatever the selected type is) have the same consistent health as that of other levels
Nebula Hunt: the enemy ships have the same health as in the Distress Signal and their own duels (DSG.enemyHp, i.e. TUNING.hp: Romulan warbird, Ferengi marauder, Cardassian (Keldon) warship), instead of the 45, 32 and 40 they had here
on the briefing, in grey text, change to "Clouds part way as fly through them. They also hide mines and rocks and rare minerals"
Nebula Hunt briefing: the grey line now reads 'CLOUDS PART WAY AS YOU FLY THROUGH THEM. THEY ALSO HIDE MINES AND ROCKS AND RARE MINERALS' (it was about the mist parting, and mines and asteroids lurking unseen with a red light near a mine)
change briefing text "before its warp core breaches in [x]" to "before the [enemy name]s find the ship". change "hostile" to "[enemy name]". where [x] level duration, and [enemy name] is either Romulan, Ferengi or Cardassian, selected at random at start of game. all 6 enemy ships must be of the same enemy type.
Nebula Hunt: all six enemy ships are now the same kind, Romulan, Ferengi or Cardassian, picked at random each time the round starts (R.foe), and the screens call them by that name instead of 'hostile': the briefing reads 'BEFORE THE ROMULANS FIND THE SHIP' and 'DESTROY ALL SIX ROMULAN SHIPS WITHIN 10:00' (the warp core time is no longer in the briefing), the HUD 'ROMULANS 6/6', the messages, the sensor-ping line and the end screen
hide the countdown until the starship is found. end of level summary - change heading to 'mission completed'
Nebula Hunt: the starship's core breach countdown is hidden on the HUD until the starship is found (it still runs; the briefing still says when it breaches); the end screen's heading is MISSION COMPLETED (was HOSTILES DESTROYED)
(follow-up to v860: hide the starship's message over the end screen)
the starship's last message (e.g. WARP CORE BREACH) is no longer drawn over the Nebula Hunt's end screen
(follow-up to v860: the end screen has 8 rows, so they are squeezed closer)
the Nebula Hunt's end screen has 8 rows (the hunt bonus and the shield bonus too), so they are spaced 19 px apart (the 6-row and 7-row layouts are unchanged for other rounds: only 8 or more rows are squeezed), and the starship's last message is cleared over it
(follow-up to v860: the end screen has 7 rows now, so they are spaced closer)
the end screen's rows are spaced closer when there are 7 (the Nebula Hunt now has 7, with the crew rescued), so the total below no longer overlaps the last row
(follow-up to v860: the starship's hull is raised so drifting asteroids don't finish it, and the rescued count waits for the beam)
Nebula Hunt starship: it starts at 60-90% hull (NH.rescue.hull; the ordinary rescue level's is about 7%, which a drifting asteroid would finish), and the HUD's RESCUED count is only the crew that have arrived (not those still on the beam)
Nebula Hunt objectives: locate damaged starfleet ship and rescue crew, destroy all 6 hostiles within [x] minutes. [x] is current assigned time. place a damaged starfleet vessel randomly on the play area. crew: 45-120 (random). damaged ship's warp core breach countdown is 2 mins less than game duration for this level. at start of level, minimap does not show powerups. they only …
Nebula Hunt mission objectives: locate a damaged Starfleet ship and rescue its crew, and destroy all 6 hostiles within the round's time. The ship rescue's damaged starship (RESCUE: hull, fires, the transporter on the transport key, shields down while beaming, crew points) is put at random in the world, under the cloud, with 45-120 crew (NH.rescue); its warp core breaches 2 minutes before the clock runs out (8:00); a distress light pulses through the cloud when the Enterprise is within 300 px and the ship is found at 110 px; the round is won when all hostiles are down and the rescue is over (everyone beamed off, or the ship lost); the HUD shows the breach countdown and the crew, the end screen the crew rescued; the little map no longer shows power-ups until they have been in view, tints the squares of the world the Enterprise has seen, and marks the starship once found; the briefing has the new objectives
make the sparkles brighter. make the circle backgrounds more pastel
Nebula Hunt minerals: brighter sparkles (they never go fully dark now: floor .3; bright ones are brighter, the dim ones brighter too, everything x1.6, and a bright one is drawn twice so it is the brightest pixel around) and a pastel circle behind each (a paler colour: saturation 62%, lightness 80%, a little stronger at .24): NH.ore.icon
(same request as v857: the glow behind the sparkles was swamping the 1 px dots, so it is fainter)
Nebula Hunt minerals: the faint glow behind the sparkles is fainter (.28 -> .16) so the 1 px sparkles read against it, and the sparkles' colour lighter (78 -> 82%): NH.ore.icon
undo, i don't like the gem. try redrawing the sparkles, by reducing number to 3-5 within the available area in the new size, as 1px dots, some brighter, some dimmer, each varying in brightness as part of the overall animation and some disappearing and reappearing, like you do on most of the powerup animations.
Nebula Hunt minerals: the gem icon of v856 is gone; each mineral is 3-5 one-pixel sparkles in a small area (5 px across, a cluster's 3.5), some bright (some white) and some dim, each swelling and fading on its own beat, and 45% of them also vanishing for a while and coming back, with a faint coloured glow and a slow hue shift (NH.ore.icon)
i like the new size, as its similar to a powerup size... however, the number of original stars/glints inside this new smaller size doesn't work, are you able to create a new animated image of star/glints inside this new smaller mineral collectible icon?
Nebula Hunt minerals: a new icon made for their small size, in place of the Prism Rush's sparkle cloud scaled down: a small faceted gem (flat top, lighter crown, two darker lower facets, a bright top edge, 4.5 px high; a cluster's smaller ones 3.4 px) in the Prism Rush's pastel hues that shift slowly, a soft coloured glow, a star that flashes on its upper right every 1.3-3.2 s (a cross with a soft white core) and two tiny twinkles circling it (NH.ore.icon)
make them 1/2 current size
Nebula Hunt minerals half their size again (NH.ore.scale .75 -> .375); the pick-up distances go 23 -> 14 px and 15 -> 10 px (not halved, so they stay possible to hit)
the minerals are too big for this level, scale them down 1/4 size
Nebula Hunt minerals a quarter smaller (NH.ore.scale .75): the glints' spread, their crosses and middle star, the glow and the pick-up distances (30 -> 23 px, 20 -> 15 px) all scale with it
(same request as v852: the minerals looked washed out against the nebula, so their colour and glow are strengthened)
Nebula Hunt minerals: the bright nebula washed the Prism Rush's pastel colours out, so they are drawn here with a stronger coloured glow (.22 -> .5, 1.5 -> 1.9 times the spread), full saturation and darker glints (lightness 74 -> 62): NH.ore.look
they look too pixellated/aliased... the previous levels ones looked more multicoloured (even if subtly), and felt more anti-aliased, which is what i was expecting. check again
Nebula Hunt: the rare minerals are now the Prism Rush's (silkPiece): bigger, iridescent (pink, pastel blue, purple, aqua) with the soft coloured glow, in place of the Mineral Rush's plain white-gold ones; the pick-up distance is 30 px for a single one and 20 px for a cluster's smaller one (NH.ore.pick)
undo. i wanted collectibles like in mineral rush level, not decoration
Nebula Hunt: the decorative gem sparkles of v850 are undone and replaced by collectible rare minerals like the Mineral Rush's: 60 single gold sparkles and 14 clusters of 6-10 smaller ones over the whole play area (NH.ore; the Mineral Rush's own orePiece/drawOre), drawn over the cloud so they can be seen and flown to; fly into one to collect it (+50, a cluster's smaller ones +25, the pick-up ping and burst); the HUD shows MINERALS n/total and the end screen lists them
sprinkle precious minerals sparkles all over the play area, some clustered.
Nebula Hunt: precious minerals - about 400 glints of six gem colours (white-blue, ruby, emerald, sapphire, amber, amethyst) sprinkled over the whole play area: 220 single ones and 24 clusters (veins) of 5-12 in one colour; each twinkles on its own beat and flashes a small cross of light; drawn under the cloud (so they show where it has been parted), with 30% of their light showing through it (NH.gems)
undo to previous mist settings, EXCEPT for the orange mist. keep orange mist, revert all other settings
Nebula Hunt back to its settings from before the Mist Lab import (v848) - its mist layers, veil, 78,000-puff cloud and palette, stealth (moved 20, full .5) and enemy detect 150 - except the mist colour scheme, which stays orange (it was purple)
import this mist setting for the nebula hunt level (a Mist Lab export)
Nebula Hunt settings from the Mist Lab: its own mist layers (MIST.stages.nhunt, orange scheme, dark green veil .22), cloud 44,000 puffs in a new bluer-violet palette (the redacted= override stays), stealth moved 20 -> 52 px and full .5 -> .25 (the Enterprise needs to clear less cloud to count as in open space), enemy detect range 150 -> 110 px
undo everything until the point just before i asked for floodlight
Floodlight removed (undone as asked): the game is back exactly as it was in v841, before the [1] floodlight was added. The floodlight code is kept in v842-v846 in redacted if it is wanted again
dim the light a bit more. can you achieve a dithering effect on light over puffs?
Floodlight: dimmer again (puffs .1 -> .08, cone .26 -> .2, lit objects .42 -> .34), and the light over the puffs and the cone is dithered: the smooth, blurred glow is worked out first and then every pixel of it is either lit or not by a 4 x 4 ordered (Bayer) pattern, so the denser the light the more pixels are lit, like the game's own pixel art (NH.light.dither: on/off, max = the strength that lights every pixel, alpha = how bright a lit pixel is); costs about 3 ms a frame; NH.light.dither.on = false gives the smooth glow back
dim light intensity especially on puffs
Floodlight: dimmer, especially on the puffs: puff glow .2 -> .1 (half), edge boost .8 -> .6, cone .35 -> .26, lit objects .55 -> .42 (NH.light)
soften the edges of the illuminated puffs and extend range of floodlight 2x
Floodlight: its reach doubled, 150 -> 300 px (NH.light.range; d0 60 -> 120 so the fall-off keeps its shape stretched over the longer reach), and the edges of the lit puffs and of the cone are softer: the soft edge of the cone is 14 degrees wide (was 8; NH.light.soft), it starts to fade at 55% of its reach (was 75%; NH.light.fade), and the glow is blurrier (puffs drawn 2.2 times bigger on a coarser picture, more of the blurrier copy); the light's picture is made at 5 px a pixel to keep the cost down
can you diffuse the light when its on a puff? its too intense, and really shows the puff's rounded shapes. so what i'm after is diffusion and/or gaussian blur.
Floodlight: the glow of the lit puffs is diffused so the puffs' round shapes no longer show: each lit puff is drawn 1.7 times bigger onto a small picture (a pixel for every 4 px, NH.light.diffuse), a second copy half as small again is mixed in, and both are scaled up smoothly (a blur); the glow is also fainter (NH.light.puff .3 -> .2, edge 1 -> .8)
i want a new keypress action - pressing [1] on this level will toggle on and off the ship's front floodlight, a new graphical asset. it is a conical light front the enterprise front of the saucer section projecting outward to 150px. mimic real world physics, light diminishes with distance and fog/puffs/mist and scatters onto nearby objects. want nearby edges of puffs/mist to il…
Nebula Hunt (an experiment, may be undone): a floodlight, key [1] switches it on and off: a cone of light from the front of the Enterprise's saucer, 30 degrees each side of straight ahead and 150 px long (NH.light). It weakens with distance (inverse-square) and with the mist: each puff in the cone soaks up light, so it dies in a few tens of px in untouched cloud and reaches far in the cleared lane. It lights the puffs in the cone (the ones pushed aside round the edge of the cleared lane glow more), brightens the asteroids, giants and ships in it, and shows as a faint cone; the HUD shows [1] LIGHT ON / OFF above the visibility meter. It does not change what the enemy sees
remove dark veils by 1/4
Nebula Hunt: a quarter fewer dark veil banks (the dark, 40-60% opaque banks on the very top that dim the Enterprise): 28 -> 21
when you shoot through a giant asteroid, and the explosions leave concave holes, there are thin strips of intact asteroid rock left, hanging or jutting out. is there a way to detect the size and dimensions of these hanging strips and make them explode so the asteroid doesn't look too unnatural with these narrow bits of rock?
Giant asteroids: thin strips of rock left hanging or jutting out by a bite now explode (GIANT.tidy): after each bite the rock is checked for parts narrower than 12 px (the rock is worn away 6 px from every edge and grown back; what does not come back is thin); such parts near the bite, 6 px long or more (or 12 px2), are blown off with a small explosion, up to 3 passes in case that exposes another thin place; short rough tips stay (they are the rough edge); a part cut off from the rest by a bite breaks off too: under 60 px2 as dust, otherwise as ordinary rocks, or as an XL piece if big enough; the XL pieces a giant breaks into are tidied the same way
for every shot to asteroid, show a small fireball explosion animation
a small fireball (the Enterprise explosion's flash, small, with a few sparks: ROCK_HIT, rockHitFx) now shows where every shot hits an asteroid, sized by the asteroid (small 6 px up to a giant 16 px): in the ordinary levels and the Storm, the Minefield family and the Pulsar Sweep's asteroids, the Asteroid Crossing, and on the giant and XL asteroids (torpedoes, phaser beams and enemy shots)
i think there needs to be another size of asteroid, in between large and giant - which i'll call extra-large (XL)... 4 XL pieces when the giant breaks, an XL splits into 2 large
go with your recommendations on all four
Extra-large (XL) asteroids (GIANT.xl): 100 x 50 px (2 x 1 times a large one), made by the same texture recipe at the same density, drifting like the giants (they share the giants' list, so they are solid cover and shots, blasts and phaser beams stop in them). One hit (torpedo, phaser, blast, ram) splits an XL into 2 large rocks side by side (or, if it was damaged, ordinary rocks adding up to what is left); ramming one hurts the Enterprise like a large rock. A giant that has been hurt enough now breaks into 4 XL pieces cut from the real shape that is left (along rough lines, with a dark edge where it was split; a quarter with too little left becomes ordinary rocks that add up to it); the XL and large pieces fly apart slowly (12-24 px/s) and the Enterprise passes through the new pieces for 1.2 s (GIANT.ghost) so that ramming costs one hit; xlSpawn(x, y) puts a fresh XL in a level
before the giant asteroid breaks up into the regular sized chunks, place a big explosion animation (use an existing one from previous level) in the centre of where the pieces split and disperse.
Giant asteroids: before one breaks up, the Enterprise's big explosion (shipExplosion: white-hot flash, ring, sparks, screen shake) goes off at the middle of what is left, with the small explosion 3 sound and (in the Nebula Hunt) a blast wave that pushes the mist; the rock flashes white for GIANT.fuse (0.3 s) and then the pieces fly apart from there
reduce number of shots the giant asteroid pieces get before they split up into the regular sized asteroid chunks. what i'm after is the resulting regular asteroid chunks should be size-wise equivalent to the remaining giant asteroid chunk when it is shot at and then broken up.
Giant asteroids break up sooner and into rocks that add up to what is left: they now break up when under 45% of the rock is left (GIANT.left, was 10%: about 7 torpedo hits instead of about 11); the ordinary rocks that come off a bite, and the ones it breaks into, are as many and as big as add up to the area removed or left (GIANT.area, giantRockSizes) instead of a fixed number of small/medium ones
make the xl asteroid (as a whole) and any broken off parts drift
Giant asteroids drift: slowly (GIANT.drift 4-9 px/s) in a random straight line without turning, turning back at the Nebula Hunt's edges and from each other; the pieces that break off (and the medium rocks when one collapses) carry the giant's drift as well as their own; giantSpawn(x, y, bounds) lets a level give bounds
when the xl asteroid is shot and a cavity or hole/gap is made, can you make the remaining pieces of the asteroid have small jagged look to it, 2-5 px variation in edges adjacent to the hole that was blasted. the look is currently too clean/straight edges.
Giant asteroids: the edge of a bitten hole is now rough, not smooth: a coarse and a fine wobble of up to 2.5 px each (GIANT.jag, up to 5 px together) in and out of the bite's outline, stray bits that would hang on by a pixel fall off, and a dark 1 px edge is drawn round the new hole
i need a new asteroid size, 4x2 times the size of the largest asteroid ... (giant asteroid, chunks break off)
go with your suggested defaults
Giant asteroids (GIANT): a new asteroid 4 x 2 times the largest (200 x 100 px oval) made with the ordinary asteroids' texture recipe at the same density (not scaled up), for ships to hide behind. It does not split: each hit bites a ragged chunk out of it (a few small rocks, sometimes a medium one, fly off) and it collapses into medium rocks when less than 10% is left. It is solid: the Enterprise and hostile ships bounce off it (a hard knock hurts the Enterprise and chips the rock), torpedoes and enemy shots stop in it, a phaser beam in the way ends on it, blasts chip it. Any level can add one with giantSpawn(x, y); the Nebula Hunt has 4 (NH.giants), kept clear of the start, the ships, mines, rocks and power-ups
add 3 more hostile ships
Nebula Hunt: 6 hostile ships (was 3: NH.enemies.n), still picked at random from the Cardassian warship, Romulan warbird and Ferengi marauder; the briefing says how many
scale the mines, power-ups and rocks to match
Nebula Hunt: the mines, rocks and power-ups scaled up for the 4 x 4 world (x16/9, the same density as the 3 x 3 one): mines 45 -> 80, rocks 3/4/5 -> 5/7/9 (large/medium/small), power-ups scattered at the start 6 -> 11 (most at once 8 -> 14)
increase nebula hunt duration to 10 mins (for testing). increase play area to 4x4
Nebula Hunt (for testing): the clock is 10:00 (was 5:00) and the play area is 4 x 4 screens (was 3 x 3); the puff count is raised 44,000 -> 78,000 to keep the cloud as dense (redacted still overrides, up to 90,000); the mines, rocks, power-ups and ships are the same numbers as before
switch the nebula hunt mines to the same rule
Nebula Hunt mines: the same sound rule as the Minefield: the heavy five-boom sound (sfx.die) when the Enterprise sets a mine off and it hurts it, "small explosion 3" at its large size for a mine that is shot
what sound does the mine explosions use on the minefield level?
go with option 2
Minefield mines: the heavy five-boom sound (sfx.die) now plays only when a mine's blast hurts the Enterprise; a mine that goes off away from it (shot, chain reaction, fuse) plays "small explosion 3" at its large size instead
add it to the satellite debris collisions too
the Satellite round's debris collisions (the Enterprise hitting a piece of debris) now play "small explosion 3" scaled by the piece's size too (sfx.rockBoom, ROCK_BOOM)
add the same sound to the asteroid field and wormhole rock shatters
the rock shatters in the Asteroid Run (and Dodge), the Minefield family (Mineral Rush, Pulsar Sweep, Ion Storm and the rest) and the Asteroid Crossing now play "small explosion 3" scaled by rock size too (sfx.rockBoom, ROCK_BOOM), as the other asteroids do since v825
where are the explosion sounds when asteroid explodes or enterprise collides with them?
yes, use small explosion 3 scaled by rock size
asteroids exploding (shot, rammed by the Enterprise, caught in the respawn ring, or hit by the rescue shuttle) now play "small explosion 3" scaled by size (ROCK_BOOM): small rocks higher, quieter and shorter, large ones full and rumbling; it replaces the plain noise burst (sfx.rockBoom)
reduce visibility further
Nebula Hunt: the hostile ships see the Enterprise from even less far: NH.enemies.detect 210 -> 150 px (about 75 px in untouched cloud, 225 px in cleared space, up to about 300 px just after it fires)
reduce visibility range on the enterprise for all enemy ships
Nebula Hunt: the hostile ships see the Enterprise from less far: NH.enemies.detect 300 -> 210 px (so about 105 px in untouched cloud, 315 px in cleared space, and up to about 425 px just after it fires)
show a visibility meter on the HUD
Nebula Hunt: a VISIBILITY meter above the little map (12 segments, green / yellow / red) showing how far the hostile ships can see the Enterprise now: low in untouched cloud, higher in space it has cleared, highest just after it fires
can enemies see enterprise through the mist?
yes, make detection depend on the mist
Nebula Hunt: the mist now hides the Enterprise from the hostile ships: how far they see it (NH.enemies.detect, 300 px) is scaled by how much the cloud around the Enterprise has been disturbed (NH.stealth: x0.5 in untouched cloud up to x1.5 in space it has cleared) and raised x1.35 for 3 s after it fires; they also give up the chase and open fire by the same range (with a floor of their standoff distance); the Mist Lab has sliders for all of it and shows the live range
show me list of layers on this level, and within each layer, how many elements of sub-layers. particularly interested in number of nebula/cloud/mist/puff/veil elements
is it possible to create a standalone in-game testpage that will allow me to adjust these layers and settings to find the optimum config and export settings back to you for integration into the game?
build it for any level's mist from the start
Mist Lab: open any page with redacted (e.g. redacted) for a panel that edits the mist of the stage on screen, live: each layer's on/off, where, kind, blend, count, size, speed, opacity, life, growth and colours, add/copy/move/delete layers, the veil and the wind, and on the Nebula Hunt the interactive cloud (puffs, pushes, blasts) and the backdrop nebula; shows live element counts per layer and the cost; edits are remembered in the browser and EXPORT gives text to hand to Claude. A MIST.stages entry can now carry layers, veilColour, veilAlpha and wind
now add a new upper layer with nebula mist layers in the darker purple colours used in the lower non-interactive layer
Nebula Hunt: a new top layer of nebula mist in the darker purples of the backdrop nebula (NH.nebula): 22 deep banks drawn with normal blending plus 16 thin glowing wisps, over everything in the play area; mist layers can now carry their own colours (colours: [...]) instead of the scheme's
there is a dark yellow brownish horizontal line near the top of the minimap. what is this? bug?
see the screenshot - yellow line near top of minimap. nothing to do with main play area or elements outside of minimap
Nebula Hunt: the sensor ping's ring on the little map was cut off by the map's edge when the nearest hostile was near the top of the world (it showed as a short brownish line); the ping is now kept 170 px in from the edge of the world and its ring is smaller (NH.ping.edge)
make the dark veil banks 40-60% opaque
Nebula Hunt: the dark veil banks of the top mist are 40-60% opaque (was 30-48%)
why doesnt the top layer mist cover the enterprise? it looks like the enterprise is always in full view
go with option 2, dim the enterprise to about 50%
Nebula Hunt: the top mist layer now also has dark banks drawn with normal blending (16 banks, opacity .30-.48), so the Enterprise (and everything else) dims as one drifts over it, to about half at the thickest, while the glowing additive banks stay (MIST.stages.nhunt)
add much more top layer mist, make them more visible (increase opacity a bit)
Nebula Hunt: much more top-layer mist (18 cloud and 12 wisp banks, was 8 and 6) and more opaque (cloud .09-.14, wisp .07-.12; was .06-.10 and .05-.09) (MIST.stages.nhunt)
add a new upper non-interactive layer of more nebula mist (not puffs) that blanket the entire play area
Nebula Hunt: a new top layer of violet nebula mist over everything in the play area (the game's own stage mist: large soft banks that drift slowly, not puffs; it affects nothing), registered as the 'nhunt' stage in MIST.stages with 8 cloud and 6 wisp banks at low opacity
brighten the interactive layer nebula elements
Nebula Hunt: the puffs are brighter (85% of the cloud's usual colours, was 60%; still no pink)
reduce the pink in the nebula puffs. darken the top nebula elements a bit
Nebula Hunt: the puffs have the pink taken out (violet, blue and teal-blue only) and are darker (60% of the cloud's usual colours, was 70%) (NH.cloud.palette)
darken both layers of nebula elements including puffs
Nebula Hunt: both nebula layers darker: the puffs' colours are 70% of the cloud's usual ones (opacity unchanged, so they still hide things) and the backdrop gain is 4 (was 6) (NH.cloud.palette, NH.nebulaGain)
make the nebula backdrop brighter. make the mine explosion shockwave ease out so the puffs slow down gradually rather than end their movement fairly abruptly
Nebula Hunt: the nebula backdrop is brighter (NH.nebulaGain 4 to 6); the blast wave of an explosion now sets the puffs it passes moving and they coast on and slow down smoothly (CLOUD.drag 2.4) instead of stopping as the ring passes them
create new layer underneath the playable/interactive layer - want the normal nebula backdrop that appears in other levels, with the same colour scheme as the new nebula mist/puffs, but slightly darker. that way, when the puffs are moved out of the way, it is not black space with stars underneath
Nebula Hunt: a new layer under everything: the game's ordinary nebula backdrop, made in the cloud's violet/blue/pink colours but darker (NH.nebula, brightened 4x with NH.nebulaGain because the usual nebula is very dim), slides slowly behind as the Enterprise flies; it shows where the cloud has been pushed away instead of black space
when the mines explode, show explosion and a shockwave ring that travels outwards that pushes the nebula mist (puffs). this needs to be animated. currently the transition between mine disappearing (after detonation) and empty space/void from the blast is too sudden. so i want the blast wave from the mine explosion pushing out the surrounding mist/puffs
Nebula Hunt: an exploding mine (and a destroyed ship) sends out an animated blast wave: a fireball that swells and fades, a ring of light travelling outwards (135 px for a mine, 230 px for a ship) that shoves the puffs it passes as it goes, so they pile into a bright shell and the void opens gradually, and a glow thrown on the mist; replaces the instant clearing (NH.shock; cloudStep takes ring pushers)
use the mine sprites from the minefield level
Nebula Hunt: the hidden mines are the Minefield's own mine (the horned grey sphere with its blinking red light, drawn by drawMine), and the light blinks faster as the Enterprise nears, as in the Minefield
try 44000 puffs with smaller size
Nebula Hunt: 44,000 puffs, smaller (9-18 px) and a little more opaque each (.11-.18) so the cloud still hides things (redacted overrides, redacted shows the timing)
what is the url param to access nebula hunt directly?
double amount of puffs for a finer dispersal. i want to see performance impact in browser rendering
Nebula Hunt: 22,000 puffs (was 11,000), each smaller (12-24 px, was 15-30) and a little fainter so the density is the same but the parting is finer; redacted in the address tries another number; new redacted in the address (any level) shows a frame-rate and update/draw time readout, top left
back to the nebula idea: 1. both, but make this a level. and make the effect on other current (and future) levels if asked. 2. hunting a hidden enemy, maybe 3 random enemy ships (select from cardassian, romulan, ferengi), but also crossing it with hidden mines and the odd asteroid. 3. dense enough to hide objects
new bonus round NEBULA HUNT (NH_NAME, redacted, settings row 'nhunt'): a 3x3-screen nebula of 11,000 soft puffs that parts as the Enterprise, torpedoes and ships move through it and closes slowly behind (the reusable CLOUD component: cloudMake / cloudStep / cloudDraw / cloudBlast); three hostile ships (random from Cardassian, Romulan, Ferengi) hide in it and attack when the Enterprise comes within 300 px, lighting up the mist when they fire; 45 hidden mines (a red light blinks when near) and a few asteroids; a sensor ping every 14 s; 5:00 clock; hunt bonus
shorten the trail so rings don't overlap, also make opacity 3%
Rift in Space: the shockwave rings' trails are 25 px long (the rings are 25.85 px apart, so they no longer overlap) at 3% opacity (RIFT.aliens.shock.trail)
back to the rift level. for each shockwave ring from the plasma spirals, make a graduated trail behind it that fades. make it the same colour as the ring but opacity 5%
Rift in Space: each shockwave ring leaves a graduated trail behind it, in the ring's colour at 5% opacity at the ring fading to nothing over 90 px, narrowing toward the alien (RIFT.aliens.shock.trail)
what HUD messages are shown when the second starfleet ships come, and for the klingon fleet?
make the messages last 6 seconds. make a separate message for when klingon ship is destroyed: "A Klingon ship has been lost"
Rift in Space: the messages for the second Starfleet ships, the Klingon ships and a ship being lost stay up for 6 s (RIFT.msgTime); a destroyed Klingon ship has its own message, A KLINGON SHIP HAS BEEN LOST
need a few more powerups throughout the extended playing area
Rift in Space: more power-ups: 8 are scattered over the whole 4x4 world at the start (none near the rift or the Enterprise's start, no extra lives), one appears near the Enterprise every 6-10 s (was 11-17 s), up to 10 waiting at once (was 3) (RIFT.powerups)
make the rift glow/flash brighter when hit. cap the number of plasma spirals to 40 max at any one time. update the rule for second appearance of starfleet reinforcements to 4mins or 85% rift health, whatever is sooner. for klingon reinforcements, 4:30 min or 90% rift health, whatever is sooner
Rift in Space: the rift glows and flashes much brighter for a moment when hit (RIFT.rift.hitBoost 1.6, flash .45 s); at most 40 plasma entities out at once (RIFT.aliens.cap); the second Starfleet reinforcements come at 4:00 or 85% open, whichever is sooner, and the Klingon ones at 4:30 or 90% open (RIFT.auto)
change the top display and wave message from aliens to plasma entities
Rift in Space: the top display reads PLASMA ENTITIES (was ALIENS) and the wave message says plasma entities
on end level summary screen replace 'aliens destroyed' to 'plasma entities destroyed'. on briefing description, change text to 'A rift in space has opened up and hostile plasma entities are coming out. use torpedoes to seal the rift before it fully opens up. quantum torpedoes are more effective'
Rift in Space: the summary row reads PLASMA ENTITIES DESTROYED (was ALIENS DESTROYED); the briefing's description is now "A rift in space has opened up and hostile plasma entities are coming out. Use torpedoes to seal the rift before it fully opens up. Quantum torpedoes are more effective" (and the green hint line says entities)
for this level only, up the starfleet ships' torpedo and phaser fire damage inflicted to your previous values (4 for phaser, 6 for torpedoes). up the screen shake to 3 seconds
Rift in Space: Starfleet ships' torpedoes do 6 damage and their phasers 4 to the spirals again (RIFT.allies.torp.alienDmg, RIFT.allies.phaser.dmg; sealing the rift is still the Enterprise's photon amount); the seal shake lasts 3 s (RIFT.seal.shakeTime)
make all starfleet ships use the same phaser and torpedoes as the enterprise. when the rift closes and makes the screen flash white, make the screen shake for 2 seconds
Rift in Space: Starfleet ships fire the Enterprise's own torpedoes (the same red-orange photon torpedo, speed, range, damage and launch sound) and phaser beams (the same beam, accuracy and damage, with the phaser sound; firePhaser can now be given a target) at the rift and the aliens; Klingon ships keep their own green fire; the screen shakes for 2 s from the moment the white flash begins when the rift is sealed (RIFT.seal.shakeTime)
analyse this sound file (small explosion 3) and reproduce it as a generic explosion that could be reused elsewhere - call it 'small explosion 3'. use it for the rift explosion instead.
new general-purpose sound "small explosion 3" rebuilt from a recording (SMALL_EXPLOSION_3_SND, sfx.smallExplosion3()); Rift in Space plays it as the rift explosion when it is sealed, instead of the boom and noise burst
when rift gets a hit from enterprise, any starfleet or klingon vessel, use the sound in ion storm level when the lightning bolt hits the enterprise. may need to undo
Rift in Space: a torpedo hitting the rift (from the Enterprise, a Starfleet ship or a Klingon ship) plays the Ion Storm's lightning strike sound (sfx.lightningStrike) instead of the shield-hit blip and tone
extend the rift body glow to cover the tendrils. create some speed variance of the starfleet and klingon ships as they circle the rift (they clearly look like they move in unison at the same drift speed)
Rift in Space: the rift's glow now covers the tendrils at the tips (a purple cloud over each tip and a wide faint glow along every crack, moving with it); Starfleet and Klingon ships circle the rift at their own speeds (each between 0.45x and 1.7x the old rate, with its own top speed), speed up and slow down as they go and drift in and out a little (RIFT.allies.vary)
make the tendrils at the ends of the rift move like its lightning. make the purple lines/sparks that come out of the rift along its sides more frequent. before the rift closes, make it surge in brightness and flash the entire screen, make screen shake, before it collapses into nothingness
Rift in Space: the cracks at the tips move like lightning (redrawn with a new crooked path every 0.05-0.17 s and flickering); the purple sparks along the sides come out about 4x as often; when the rift is sealed it surges in brightness for 1.8 s (swelling a little), the whole screen flashes white with a screen shake and a boom, then it collapses into nothing in under a second (RIFT.seal)
when briefing message is displayed, player can fire phasers (maybe other weapons) and the phaser fire is shown in the center of the screen (as if enterprise is there) but in reality for this level, enterprise is warping into view. so this is a bug. the rift - don't like the two purple outlines along the rift. make a graduated layer so that the purple glow that spreads from the …
Rift in Space: weapons (torpedoes, spread, quantum, phaser) and the teleport key no longer work while the Enterprise is hidden, during the briefing and the warp-in (their fire was drawn in the middle of the screen); the rift's two purple outline lines are gone and the glow is now 18 graduated layers that start bright pink against the white band and get wider, fainter and a deeper purple until they fade into the space backdrop
reduce the percentages for which second wave of starfleet ships and klingon reinforcements arrive by 5% each (so they arrive sooner). the look of the rift isn't quite right. make the following visual changes: bright white band in the middle lengthways, the purple/pink background glow spreads from the white central band, so it looks like a purplely glow from the white. try that
Rift in Space: the extra Starfleet ships arrive at 80-85% open (was 85-90%) and the Klingon ships at 90% (was 95%); the rift now has a bright white band down its middle lengthways with the purple/pink glow spreading out from it (purple at the lips, pinker toward the middle; the white core lines on the lips are gone)
make the rift growth 2x faster. send out waves of plasma spirals from the rift more frequently. apply a gaussian blur over the spirals.
Rift in Space: the rift opens 2x faster (0.75% of its width a second); a wave of 5-10 spirals every 15 s (was 30 s, spread over 5 s); a Gaussian blur over the spirals (RIFT.aliens.blur .9 px, drawn on a screen-sized layer that is blurred onto the world)
make the first wave start straight after the 30 seconds. reduce successive wave numbers from 20-30 down to 5-10 and every 30 seconds. increase rift grow rate by 1.5x times
Rift in Space: the first wave starts as soon as the opening 20 spirals are out (30 s); waves are 5-10 spirals every 30 s (spread over 6 s); the rift opens 1.5x faster (0.375% of its width a second)
after the first wave of 20 spirals are out of the rift, for remainder of game send waves of 20-30 plasma spirals out every 20 seconds.
Rift in Space: after the opening 20 spirals, a wave of 20-30 plasma spirals comes out of the rift every 20 s for the rest of the round (the first 20 s after the opening burst ends, each wave spread over 8 s); the old steady trickle and its cap are gone (RIFT.aliens.wave)
replace the starfleet ships' shield bubble with the standard one used by enterprise. reduce starting number of plasma spirals from 50 to 20. increase number of spirals coming out of rift throughout level duration.
Rift in Space: Starfleet ships' shield bubble is now the Enterprise's own (paintBubble, same colours and pulses, sized to the ship); the opening burst is 20 plasma spirals in the first 30 s (was 50) and the rift sends out many more through the rest of the round (every 3.2 s when nearly shut down to every 0.9 s when fully open; up to 8 to 30 alive at once)
show me enterprise shield and hull values compared with starfleet ships on the rift level
give starfleet ships a shield too (and show shield animation when they're hit)
Rift in Space: Starfleet ships have a shield (12 points, back at 0.25 a second after 3 s without a hit; RIFT.allies.shield) that takes shockwave hits before the hull, with a bubble that flares round the ship where it was hit
make 50 plasma spirals come out of the rift in the first 30 seconds. starfleet ships seem to die quite quickly. make them break off from shooting at the rift and attack plasma spirals if they get too close or start shooting at them (plasma spirals shooting at starfleet ships).
Rift in Space: 50 plasma spirals come out evenly through the first 30 s (RIFT.aliens.burst); Starfleet ships break off from the rift and fight an alien that comes within 260 px, is winding up a shockwave at them, or (for 4 s after a hit) is within 420 px (RIFT.allies.fight); ally hull 6 to 12, ally phaser 4 and torpedo 6 damage to aliens; no more than one shockwave starts every 0.6 s across all aliens (RIFT.aliens.shock.all)
make rift opening speed 0.25%. i don't like the animations inside the rift - remove the lines moving side, remove the series of small white glowing circles. keep the purple glow inside.
Rift in Space: opening speed is a steady 0.25% of its width a second (no speed-up); the inside of the rift no longer has the moving side lines or the white glowing circles, only a soft purple glow
make the rift open more slowly too. as rift grows, make it stretch longer, at the ends (length ways) make the tips have crack lines extending further outwards. if rift is 85-90% open, automatically send in more starfleet reinforcements - 5 ships (random selection). if rift is 95% open send in klingon reinforcements - 5 ships, various types (vor'cha, d7, bop). make starting shoc…
Rift in Space: the rift opens more slowly (.004 to .0018 a second), stretches up to 620 px long as it opens (was 380) with jagged cracks fanning out of both tips; at 85-90% open (random) 5 more Starfleet ships arrive by themselves, at 95% 5 Klingon ships (Bird of Prey, D7, Vor'cha: green fire); shockwave rings start from the middle of the alien, much smaller (RIFT.auto, RIFT.rift.tip)
make rift 3x more difficult to close. (more hits required). make plasma spirals come out from rift with sprite scaled down to make it appear as if they are coming out of the bright rift centre more realistically, as they travel out away from the rift, they scale up to their final size. make each plasma spiral 2x more difficult to destroy. make their shockwave rings slightly mor…
Rift in Space: the rift takes 3x the hits to close (photon seal .007 to .0023); aliens have 2x the health (24); aliens leave the rift tiny and grow to full size over their first 150 px (RIFT.aliens.scaleIn); shockwave rings are fainter (alpha .3 to .22) and start no bigger than the alien that fires them
i have a new idea for bonus level, that utilises the rift idea. extended play area 4x4 times the standard fixed area. rift is in the middle of the extended area. enterprise warps into view at start. the rift starts with a narrow slit, but as time goes on, the narrow slit grows wider. aim of level is for enterprise and other ships to seal the rift by firing photon torpedoes and …
1. full width 2. both, but start level with enterprise not having quantum (unless they have it in possession from previous levels) - if starting off from this level, they don't have any. quantum must be collected via powerups to be spawned throughout the level duration. 3. i want the ally ships to appear only once summoned by the player by pressing [enter]. once summoned, it wi…
New bonus round RIFT IN SPACE (RIFT_NAME, redacted, settings row 'rift'): a 4x4-screen world with a rift in the middle that starts as a narrow slit and widens by itself; torpedoes flown into it narrow it (a quantum torpedo 4x a photon one), full width = RIFT BREACH, shut = RIFT SEALED; spiral aliens (12 hp, pink to pink-red at 20%) dart and spin and fire shockwaves of elliptical rings (30% opacity) that push and cost shield; quantum packs come only as power-ups; ENTER calls 3 random Starfleet ships that drop out of warp 20-30 s later and fire at the rift and the aliens; Enterprise drops out of warp at the start; tunables in the RIFT block
move decker below saavik
Scoreboard seed boards: Decker moved below Saavik (order Chekov, Sarek, Saavik, Decker, Cochrane, April; scores re-spread)
move sarek and saavik entries in between decker cochrane
Scoreboard seed boards: Sarek and Saavik moved to between Decker and Cochrane (scores re-spread: Sarek 8,900, Saavik 8,700, Cochrane 8,500)
i want the names on the current scoreboard to be milestone markers. real user/player scores should be shown in a blue colour, so they stand out against the milestone marker names (keep current colour)
Scoreboard: the seeded names are milestone markers (usual colours); real players' scores show in blue (SCORES.playerCol). redacted marks each row m=1 (milestone) or m=0. Also fixed the board reading only the first 100 rows (now 200)
add following names to scoreboard: Sarek - in between Decker and April; Saavik - in between Sarek and April. reassign score values again
Scoreboard seed boards: Sarek and Saavik added between Cochrane and April (94 names); the in-between scores respread
update the scoredata json files to add the following names, in sequential order: Locutus - in between Q and Picard; The Emissary - in between Vash and Sisko; Gul Dukat - in between Morn and Janeway; Weyoun - in between Gul Dukat and Janeway; Garak - in between Morn and Gul Dukat; Martok - one above Janeway; Damar - in between Martok and Janeway; Gowron - in between Vash and The…
Scoreboard: 12 new names added to the seed boards (92 names, Q on 3,000,000, scores scaled x1.5); boards now keep the top 200 (redacted KEEP, game fetch/cap) and the highest score accepted is 3,000,000
make the glow start at 80% hull instead
Supernova Escape: the hull-heat glow now starts at 80% hull (OUT.hullHeat.from)
for supernova escape level, when hull health is 60% and lower, make the enterprise glow orangey red gradually to indicate hull is heating up.
Supernova Escape: from 60% hull and below the Enterprise glows orange-red (picture tinted plus a flickering halo), gradually stronger down to 0% (OUT.hullHeat)
yes, go with option 1
Borg Gates: no weapons can be fired once the last gate is passed and the Enterprise is taken over for its dash (torpedoes, spread, quantum, phaser); shots already in flight carry on
add in grey text after [esc] settings ' > ship controls'
Home screen bottom row adds '> SHIP CONTROLS' (grey) after [ESC] SETTINGS
lift them up 2px more
Home screen key lines lifted a further 2 px (HOME_KEYS_LIFT 10)
repeat again but lift up 3px more
Home screen key lines lifted a further 3 px (HOME_KEYS_LIFT 8)
from the [left/right] key info until after the customise keys info, lift everything up 5 px
Home screen: the key lines (TURN line down to CUSTOMISE KEYS) moved up 5 px (HOME_KEYS_LIFT)
can you put [c] and [space] key instructions on one line?
Home screen: the primary and secondary weapon key lines share one line
in grey, add the words 'Customise keys in ' in front of [esc] settings
Home screen bottom row reads CUSTOMISE KEYS IN [ESC] SETTINGS (the added words in grey-blue)
on home screen, add 'or ' in front of ' press [space]...' and replace 'jump to stage ' with 'select starting stage'
colour 'primary weapon - ', 'secondary weapon - ', 'tertiary weapon - ' the grey/blue colour used for the word 'press'
Home screen: stage line reads OR PRESS [key] TO SELECT STARTING STAGE; PRIMARY/SECONDARY/TERTIARY WEAPON - labels in the PRESS grey-blue
add the word weapon after secondary and tertiary on the home screen
Home screen weapon lines read SECONDARY WEAPON and TERTIARY WEAPON
i think the home screen has too many key instructions. disable (turn off) the HOLD instruction line (may want it back later, so don't delete. move the [c] first. - and rename to 'Primary weapon - Photon torpedoes'. [space] comes second but rename to 'secondary - phaser'. next, or 3rd, is the [x] but rename to 'tertiary - torpedo spread' hide teleport and transport. my reasoning…
disable (turn off) the HOLD instruction line (may want it back later, so don't delete.
move the [c] first. - and rename to 'Primary weapon - Photon torpedoes'. [space] comes second but rename to 'secondary - phaser'.
next, or 3rd, is the [x] but rename to 'tertiary - torpedo spread'
hide teleport and transport. my reasoning - teleport can be found in settings, [v] key is exposed on levels with transport.
remove (hide) music and alerts keys
Home screen keys trimmed (HOME_KEYS): weapons listed primary [fire] PHOTON TORPEDOES, secondary [phaser], tertiary [spread] TORPEDO SPREAD, one per line; HOLD strafe line, TELEPORT, TRANSPORT, MUSIC and ALERTS hidden (set the flags true to restore)
yes, change the heading to 'safe passage created'
Firefly Rescue: the success heading (end-of-level summary and the finale banner) now reads 'Safe passage created'
update briefing text: Plasma fireforms have drifted into a minefield. the mines are targetting these 'fireflies'. destroy all 50 mines within [duration]"
on the end level summary heading, does it make sense to change text to 'safe passage created'?
Firefly Rescue briefing: the first line now reads "Plasma lifeforms have drifted into a minefield. The mines are targeting these 'fireflies'"
for firefly rescue, can you make different travelling speeds for the swarm as they gather around the enterprise and then travel up the screen?
Firefly Rescue finale: every firefly has its own pace (45% to 170% of the base speeds) while gathering round the Enterprise and floating up the screen, so the swarm spreads out instead of moving as one (FW.finale.speedVar)
reduce duration of level to 2mins
Firefly Rescue: the level is 2 minutes long instead of 4 (FW.duration = 120)
there is an issue where very slow moving asteroids are within the respawn circle, so the wait for respawn becomes highly annoying and will deter players from wanting to continue.
my suggestion is to show respawn amber/orange circle, any asteroids inside, make them explode.
while the amber respawn ring is showing, any asteroid inside it explodes (one every 0.15 s, no points, no pieces) so the Enterprise is no longer kept waiting by slow rocks; every level (RESPAWN_RING.blast, 0 = off)
make the mine's proximity radius (dashed red line) a brighter red
Firefly Rescue: the mine's dashed red proximity circle is a brighter red (lighter colour and about twice the opacity)
when a mine fires on a firefly, the explosion is too pixellated. can you do something to make it unpixellated ? do something like what you did for the white glow on the mine body?
Firefly Rescue: a firefly shot by a mine now bursts as a smooth blast circle in its own colour that grows and fades, then shatters into tiny soft glowing pieces (no more hard-edged discs or 1-pixel squares)
as each firefly fades, ensure they disappear off the minimap
Firefly Rescue: at the end the fireflies' dots on the minimap fade out together with the fireflies and are gone when they are
delay the fading of the swarm so that they are able to move further up the extended playing area by 10 more seconds.
Firefly Rescue finale: the swarm stays fully lit 10 s longer while it floats up (it starts to fade 10.65 s into the float, was 0.65 s), so it climbs about 500 px further; the float is 16.5 s and the fade still lasts 5.85 s (FW.finale away, fadeAfter replaces fadeFrom); the ending is about 26 s after the last mine
when the level ends with the swarm moving up the screen, the minimap isn't clipped so it shows fireflies outside of the minimap.
Firefly Rescue: the minimap's contents (fireflies, asteroids, mines, power-ups, the view box and the Enterprise) are clipped to the map, so the fireflies floating up out of the area at the end no longer show above it
remove smoke puffs from explosions
Firefly Rescue mine explosions: no smoke puffs (FW.mines.smoke false; true brings them back); the other rounds that use the same golden fireball (the Borg Cube, the Borg Corridor) are unchanged
now make the mine explosions use an existing fireball explosion
Firefly Rescue mine explosions now use the existing golden fireball (the Borg Cube destruction's explosion, CUBE.shatter.explosion, through borgExplosion, without the green Borg sparks or flying chunks): a hard burst of sparks slowed by drag that cool from yellow to orange, red and dark embers, smoke, a flash and a ring; size .7 when a mine is shot down and 1 when it blows on the Enterprise (FW.mines.explosion)
yes, build the glow with a fade
Firefly Rescue mine hit flash: instead of a hard white disc on the rim, a soft white radial glow (additive, over the whole mine including the cannons) that eases out over 0.22 s (FW.mines.flash), so the edges are no longer boxy
shade and tint the mine so it looks more 3d, less two dimensional
Firefly Rescue mine shaded to look round and three-dimensional: light from the upper left (as elsewhere in the game); a soft dome of light with cool blue shadows over the body, a lit upper-left edge and dark lower-right edge, a bevel inside the rim and a small bright highlight; each cannon is shaded as a round shaft (brighter when it points toward the light, a lit edge on the side toward the light and a shaded edge on the other, so the shading changes as the mine rocks and turns)
make the mine cannons and body a bit lighter than that
Firefly Rescue mine body and cannons a bit lighter (body rim #363c4d, inner disc #1e2330, outline #12151d; cannon shaft #333949, underside #262b38, collar #20242f, muzzle #161921, tip #4a5268; the cannons stay just darker than the rim)
make the mine cannons a bit lighter than that
Firefly Rescue mine cannons a bit lighter (shaft #272c39, underside #1d212c, collar #191c26, muzzle #10131a, tip #3a4154), still just darker than the body rim
make the mine cannons darker than the body
Firefly Rescue mine cannons darker than the body (shaft #20242f, underside #171a23, collar #13161e, muzzle #0b0d13, tip #2f3544; the body's rim is #2a2f3d)
make the mine's light smaller, and the body's rim encasing it a little thicker
Firefly Rescue mine: the red light is smaller (glow radius 10 -> 6, core 1.6 -> 1.2) and the grey rim round it is a pixel thicker (the dark disc inside it r-4 -> r-5)
make the mine cannon shafts a darker grey
Firefly Rescue mine cannon shafts a darker grey (shaft #505970, underside #2b3140, collar #1f2330, muzzle tip #3a4254)
remove the spikes from the mine. don't remove the code, just disable it as i may want it back
Firefly Rescue mines: the spikes are switched off (FW.mines.spikes false); the drawing code is kept, set it to true to bring them back
draw a respawning radius
Firefly Rescue: the amber dashed respawn ring (70 px radius, RESPAWN_CLEAR) is drawn round the spot where the destroyed Enterprise will return, as in the ordinary levels; the spot (fwRespawnSpot) is the nearest place to where it was lost that has 70 px clear of asteroids and is well clear of every mine, the view moves to it while it waits, the return waits for the clear space round that spot (not the middle of the screen), and the ring turns green for a second after it returns
make the swarm fade even more slowly. add a 3 sec delay from after they fade to end of level message
Firefly Rescue finale: the swarm fades out much more slowly (starts fading after 10% of the float instead of 45%, float 5.5 -> 6.5 s, so the fade takes about 5.9 s) and the summary now waits 3 s after they have faded (FW.finale hold); the whole ending is about 16 s after the last mine
scatter some asteroids of different sizes on the whole extended playing area as obstacles
Firefly Rescue: 70 asteroids scattered over the whole 3x3 area as obstacles (14 large, 24 medium, 32 small; FW.rocks), drifting slowly (4-16 px/s) and wrapping round the world, kept clear of the Enterprise's start, the mines and each other; torpedoes break them as in an ordinary level (large into two medium, medium into two small), hitting one costs the storm's shield amounts (12 / 20 / 35) and destroys it; they show as grey dots on the minimap
make the firefly swarm float up slightly slower.
double amount of fireflies
Firefly Rescue: twice as many fireflies (FW.fireflies.count 600 -> 1200; about 0.1 ms to update and 1.4 ms to draw a frame), and the finale float a little slower (accel 20 -> 16, top speed 60 -> 50 px/s)
make the firefly swarm travel further up towards top of screen before fading out of view.
Firefly Rescue finale: the fireflies float further up before they vanish (rise faster, up to 60 px/s, over 5.5 s: about 240 px, two thirds of the screen) and stay fully lit for the first 45% of the float, fading only in the rest (FW.finale floatAccel, floatSpeed, away, fadeFrom)
make the firefly swarm gather even more slowly.
make the minimap border brighter purple
Firefly Rescue: the swarm gathers even more slowly (FW.finale speed 45 -> 28 px/s, pull gentler, circling 14 px/s, gathering time 4.9 -> 6.5 s so more of them arrive); the minimap border is a brighter purple
make the firefly swarm gather around the enterprise more slowly, and when they fly off make them do it more slowly, as if they are floating. if they fly off fast, then it breaks the narrative as to why they are moving slowly within a minefield when they could have flown off at speed together.
Firefly Rescue finale slowed right down so it fits the story: the fireflies gather round the Enterprise at about their usual drifting pace (top speed 45 px/s, was several hundred), circle it gently, then float away upward (accelerating at 12 px/s a second to at most 38 px/s) while fading out over 4.5 s instead of streaming off fast (FW.finale speed, tangent, floatAccel, floatSpeed, away); the round ends about 9.4 s after the last mine
make the phaser cannon shafts and spikes a bit darker still
Firefly Rescue mines: the cannon shafts and spikes a bit darker still (spikes #565e72, shafts #6a748b)
make the mines a bit smaller still.
then make the mine phaser cannon shafts and spikes a slightly darker grey
Firefly Rescue mines a bit smaller (FW.mines.r 7.5 -> 6.5) and the cannon shafts, collars, muzzle tips and spikes a slightly darker grey
close that 1px gap between the phaser cannons, spikes and the mine's circular body
Firefly Rescue mine: no gap between the cannons, the spikes and the body (the body is drawn first and the cannon collars and spike bases now overlap its rim; before, the body's dark outline ring sat between them)
make the firefly swarm around enterprise for 1.5 sec longer before flying off
Firefly Rescue finale: the fireflies swarm round the Enterprise 1.5 s longer (FW.finale.swirl 3.4 -> 4.9 s) before they stream away
scale the mines down to make them smaller.
Firefly Rescue mines scaled down to three quarters (FW.mines.r 10 -> 7.5: the drawing, the hit area and the cannon muzzles all follow it); their warning rings are unchanged
yes that's right, build it into the game
Firefly Rescue mine redesigned (see redacted): the laser dish and the eight spikes are gone; four phaser cannons (collar, shaft, muzzle) every 90 degrees with a short grey spike in each gap between them; the mine rocks gently (about 9 degrees) and, while it charges, turns by up to 45 degrees to bring the nearest cannon to its target; that cannon glows and the laser starts from its muzzle (hit area and blast ring unchanged)
make the mines twice as hard to destroy (increase health).
make them fire on enterprise more.
drop powerups for enterprise and show on minimap.
Firefly Rescue: mines have twice the health (3 -> 6 hits, hp.fwMine), 85% of their shots go at the Enterprise when it is within range (was 50%) and the laser range is 150 px (was 120); power-ups now appear near the Enterprise (FW.powerups: the first after 6-10 s, then every 9-14 s, at most 3 waiting, mostly shields, plus lives, hull repairs when hurt, and weapons) and stay until collected; the map shows them (green shield, blue hull repair, gold life, white weapons) and moved to the bottom right so the weapons' status text at the bottom left does not cover it
make mines fire more often at the enterprise. make the mine perimeter radius twice as large/wide.
Firefly Rescue: mines fire about twice as often (6-10 s, was 12-18), half the shots aimed at the Enterprise when it is within 120 px (8 shield, FW.mines.atShip and laser), the mine's proximity ring and its warning ring twice as wide (trigger 34 -> 68 px, warn 95 -> 190), mine spacing 150 px (relaxed if crowded)
love all your suggestions. go build it
new bonus round FIREFLY RESCUE (FW, redacted, settings row + schedule): a 3x3-screen free-flight world with a camera that follows the Enterprise (flies in from the bottom, stops at the edge), 600 plasma fireflies that wander, pulse and keep away from the Enterprise (wrap at the edges), 50 new laser mines that explode if the Enterprise gets close and fire at random fireflies (shoot one mid-charge to save the firefly), a minimap and edge arrows, 4:00 clock, survival percentage on the summary, a finale where the survivors swarm the Enterprise and stream away; new TUNING rows in redacted
make the nacelle threshold 20% instead
nacelle damage threshold 35% -> 20% hull (ENT_FX.nacelleBelow)
for all levels, when the enterprise takes damage, place fires, sparks and scorch marks on the enterprise saucer section (ellipse / disc) and body (middle vertical section) first, only when hull damage is severe, then place on the nacelles and the red tip (the side sections of the sprite) - nacelle power the ship so i want to imply that a damaged ship can still move/travel.
hull damage on the Enterprise (all levels and Dead In Space) starts on the saucer and body only (ENT_FX.primary: sites 0,1,2,3,7,4 of DIS_SITES); the nacelles and their red tips (sites 5, 6) are used only once the hull is at 35% or less (ENT_FX.nacelleBelow); fires and sparks follow the scorch
make the pipes and machinery explode like that too
Borg Corridor and Gates: pipes, vents and machinery shot away also blow up along their whole length (all pieces of the stage now do)
make the borg corridor level walls explode just like the borg gates level
Borg Corridor: wall pieces (the long walls and the short horizontal bars) now blow up along their whole length when shot away, as in Borg Gates (runBreakObstacle; works along either direction); pipes, vents and machinery keep the old burst
make keypress sound for transporter and number keys for power balance louder
the key beep for the transporter and the power-balance keys (1, 2, 3) is louder (SHIP_SOUNDS powerBeep level 6.6 -> 10, about +3.6 dB)
make it 50%
HUD lives indicator: the 'X' before the spare-ships count is 50% opaque (was 70%)
update the green wording to 'flying through a sealed gate will deplete shields and damage the hull'
Borg Gates briefing green sentence: 'FLYING THROUGH A SEALED GATE WILL DEPLETE SHIELDS AND DAMAGE THE HULL'
update the briefing wording by removing the word 'door'. update the green sentence to 'flying through a sealed gate will damage shields and the hull'
Borg Gates briefing: 'door' removed from the wording (also from the in-game 'GATE SEALED: SHOOT A NODE' message); the green sentence is now 'FLYING THROUGH A SEALED GATE WILL DAMAGE SHIELDS AND THE HULL'
needs more shields, hull repair and life powerups for this level
Borg Gates: its own power-up table (GATE.powerups): the first after 5-8 s, then every 6-11 s (the Corridor's was 8-12 then 12-20), shield weight 3 -> 7 (the hull repair follows it, and only comes when the hull is hurt), extra life .3 -> 1.3; none in the last stretch
make the waves of spheres fire less often.
make enterprise accelerate at end of level 25% more slowly
Borg Gates: the rising waves fire about half as often (GATE.up.fire 1.1-1.9 s between shots, was .55-.95), and the Enterprise accelerates off at the end 25% more slowly (GATE.finale.accel 450 -> 338)
make the waves of spheres that dart up 50% slower. (i know it wouldnt be described as darting up anymore)
Borg Gates: the waves that come up from the bottom are 50% slower (GATE.up.speed 280-360 -> 140-180 px/s)
change level name to 'Borg Gates'.
on end of level summary change heading to 'Gates cleared'
remove 'door ' from 'door nodes destroyed'
Borg Gateways renamed Borg Gates (GATE_NAME), summary heading 'GATES CLEARED' (and the HUD message at the end), 'DOOR NODES DESTROYED' now 'NODES DESTROYED'
make waves of borg spheres dart up from bottom of screen and shoot at enterprise after they are above it. they then dart off the top of the screen
Borg Gateways: waves of Borg spheres (same count and spacing as the Corridor's waves) dart up from the bottom of the screen at 280-360 px/s, every 12-20 s (first after 6-10 s, none in the last stretch), fire at the Enterprise only once they are above it, then leave by the top (GATE.up)
make the enterprise accelerate off at the end of the level slower
Borg Gateways ending: the Enterprise accelerates off the top more slowly (GATE.finale accel 1500 -> 450, starting speed 80 -> 40; about 1.4 s to clear the screen instead of 0.6 s)
just played the level and at the end, i crashed into a gate or just passed it as it was being destroyed, then computer took control of the enterprise, yanked it suddenly to the bottom centre of the screen for the end of level animation to dart off, but after the yank, the enterprise disappeared. So multiple issues, the sudden yank, and ship disappearing after a damage hit (mayb…
So multiple issues, the sudden yank, and ship disappearing after a damage hit (maybe?) -
so i think now that there's no obstacles at the top, the computer does not need to pull the enterprise in any direction, but just initiate the acceleration up animation (not warp), just accelerate off the top of screen. if enterprise has damage hit or is destroyed just before end of level darting off animation, ensure the ship is re-displayed on the screen before starting the animation.
Borg Gateways ending: the Enterprise is no longer pulled to the middle (it darts straight up from where it is; only eased clear of a side wall), and its invulnerability blink is switched off during the finale so it is always visible (a ship just hit or respawned looked as if it had vanished) Also no wall collisions or gate rams once the last gate is passed.
reduce number of gates to 50
Borg Gateways: 50 gates (was 100), clock 7:00 (was 13:00)
as the level comes to end, take control of the enterprise and make dart up and disappear off at the top of screen. make sure it doesn't collide with any remaining objects it has yet to pass. so maybe don't display anymore objects in the last few seconds to provide a clear path. keep the outer left and right side walls that hug the screen edges though.
Borg Gateways ending: 700 px of clear stretch after the last gate (no pipes, turrets, spheres or power-ups there; the side walls stay), and once the last gate is passed the remaining spheres, bolts, turrets and power-ups vanish, the Enterprise is taken over, moves to the middle, darts up off the top of the screen (GATE.finale), then the summary; the time bonus is frozen when the last gate is passed
when enterprise collides with closed gate, the semi transparent green gate background flashes and only then it is apparent that the height is too much. make it no higher than the thickness of the adjacent walls. in fact, after doing that, then reduce the height even further by 2px top and bottom.
Borg Gateways: the white flash of a rammed beam is no taller than the wall is thick, less 2 px top and bottom
make the scroll speed a bit faster. increase distance between walls/gates. make nodes slightly smaller. in between gated walls, place horizontal walls but make them have many gaps large enough for enterprise to pass. if enterprise collides with a closed gate, make the gate flash and fade out, let the enterprise pass but loss significant shield and/or hull health. if enterpris…
increase distance between walls/gates.
make nodes slightly smaller.
in between gated walls, place horizontal walls but make them have many gaps large enough for enterprise to pass.
if enterprise collides with a closed gate, make the gate flash and fade out, let the enterprise pass but loss significant shield and/or hull health.
if enterprise shoot down a horizontal wall segment, make it explode.
Borg Gateways: scroll 135-205 px/s, gate walls 820-1120 px apart (clock 13:00), nodes smaller, plain horizontal walls with 3-5 wide gaps (GATE.fill, 1-2 per hall, 20 hits a piece), flying into a closed gate flashes/fades the beam or explodes the wall piece and the Enterprise goes through losing 45 shield (rest to hull; replaces the crush), wall pieces shot away blow up along their length
increase gates to 100. increase distance between walls/gates. speed up scrolling slightly.
if there are two gates along a wall and one is destroyed/opened, only open that one. currently both gates open when one is destroyed.
Borg Gateways: 100 gates (clock 10:00), walls 620-860 px apart, scroll 115-175 px/s, each gap of a two-gap wall opens on its own (only the shot gap's beam and nodes go), bonus per gate passed 30 (was 100)
make the nodes slightly smaller, and position them into the walls (horizontally middle aligned). reduce the door pulse height (amplitude), so less sharp and tall spikes. make the green semi-transparent door more transparent (opacity 5%). don't make scrolling stop if enterprise trapped between bottom of screen and wall. if that happens, enterprise explodes and loses a life. in t…
reduce the door pulse height (amplitude), so less sharp and tall spikes.
make the green semi-transparent door more transparent (opacity 5%).
don't make scrolling stop if enterprise trapped between bottom of screen and wall. if that happens, enterprise explodes and loses a life.
in the HUD progress bar, replace the green vertical gate position markers with a light blue and shorten its height so that it matches height of the blue progress bar.
Borg Gateways changes: door nodes smaller and set into the wall's middle (phaser aims just under them), beam crackle amplitude 5 -> 2.2 px, the beam's fill at 5% opacity (glow lowered too), the scroll no longer waits: a wall or closed beam reaching the Enterprise crushes it (life lost), HUD gate ticks light blue and bar-height, scroll slowed to 105-160 px/s to give time to open gates
i am thinking of a new bonus level, based on the borg corridor stage and the tholian web stage. the visual will be based on the borg corridor, as the stage is within another borg megastructure. however, the play is based on having to shoot down nodes at the end of horizontally placed walls that emit a electric beam (force field) blocking gaps through these walls for the enterp…
the visual will be based on the borg corridor, as the stage is within another borg megastructure. however, the play is based on having to shoot down nodes at the end of horizontally placed walls that emit a electric beam (force field) blocking gaps through these walls for the enterprise to pass through.
So whereas the borg corridor level had many vertically placed walls to force the enterprise through one of them, this level is similar to the tholian web level where walls are horizontally placed with passageways sealed with green pulsing electric beams.
use the borg corridor assets to construct a vertical scrolling course, with 'door' nodes to shoot down to shut off the beams in order for enterprise to pass through each horizontal wall.
the walls should be destructible but take many hits compared with the door beam nodes.
throughout the level, borg spheres and turrets will attempt to shoot the enterprise.
let's see how you create this level, i'll refine. but also may ask to undo.
new bonus round BORG GATEWAYS (GATE, redacted, settings row + schedule): the Borg Corridor stage built with horizontal walls (startRun(true)); each wall has 1-2 gaps sealed by a green pulsing beam between two door nodes hanging under the wall (either node shot down opens the gate; nodes 5 hits, wall pieces 40); the scroll waits at a sealed wall; 12 gates in 240 s; side-wall turrets/emitters, hall spheres, waves and power-ups as in the Corridor; new TUNING rows in redacted
add red, yellow and green as colours for the sparkles in prism rush
Prism Rush: red, yellow and green added to the colours a mineral can be given (SILK.hues: red 352-8, yellow 46-58, green 105-140 degrees, each as likely as aqua; these swing less in hue, so they stay red, yellow and green, and are a little deeper)
@"cortical_stimulator.mp3"
analyse this sound and reproduce it to use when hull repair animation is taking place. don't make reference to the original filename in the code, instead refer to it as 'hull repair'
the hull repair sound (HULL_REPAIR_SND, rebuilt from a recording with redacted: tones only, a 43 Hz buzz with harmonics and a thin singing part, two bursts in 2.3 s): plays when a hull repair starts and again every 2.3 s while the drones work (sfx.hullRepair)
on the borg corridor level ending summary, what is displayed as the heading if core is destroyed? 'cube destroyed' or 'core destroyed'? change to 'core destroyed' if it isn't already
the Borg Corridor end screen heading is CORE DESTROYED (was CUBE DESTROYED) when the core is destroyed; the Borg Cube battle's own CUBE DESTROYED is unchanged
change the message to "repair drones deployed"
the hull repair message is shortened to REPAIR DRONES DEPLOYED
when hull repair powerup is picked up, also in upper HUD, display message "Repair drones deployed. Repairing hull"
hull repair power-up: while the repair drones work (the whole repair), the message REPAIR DRONES DEPLOYED. REPAIRING HULL shows in the upper HUD under the hull bar, in the drones' light blue, fading in and out with the swarm (POWERUP.hullRepair.swarm.message)
when a hull repair powerup has been picked up, i want a new animation to accompany it. i want a small swarm of dots (like the one i saw from your dyson sphere preview) to appear surrounding the enterprise sprite, in the star trek universe, they are the DOT-7 repair drones/bots that repair the hull. make the swarm animation continue for 5-10 seconds depending on extent of repair…
i want a small swarm of dots (like the one i saw from your dyson sphere preview) to appear surrounding the enterprise sprite, in the star trek universe, they are the DOT-7 repair drones/bots that repair the hull. make the swarm animation continue for 5-10 seconds depending on extent of repairs required (how low the hull health is). during this time, calculate the intervals required for each hull health bar to increment to the next step until the max hull health (i think currently it is 30%) is added. make the swarm dots light blue
hull repair power-up: a swarm of 28 small light-blue dots (the DOT-7 repair drones) circles the Enterprise, now and then darting to a spot on the hull with a spark, for 5 to 10 seconds (more the lower the hull is: POWERUP.hullRepair.swarm.time), and the hull bar goes up a segment at a time at even intervals (the time divided by the number of 5% segments to add) until the whole repair is added; the pick-up chime and flash are as before
add the blast to the web and dead in space targets
torpedo blast also hurts the Tholian Web's nodes and ships and Dead In Space's enemy ships
add the blast to the wormhole, corridor and planet defence targets
torpedo blast also hurts the Wormhole's enemy ships and, in the Borg Corridor, turrets, emitters, the core and the stage pieces that can be shot to bits (measured from the edge of a round target, or from the impact for a stage piece); a torpedo that ends on a Corridor wall or piece now makes its blast too; Planet Defence has no torpedoes (its phaser burst is already an area weapon) so nothing was added there
use galaxy 1 as a backdrop in the pulsar level
go with your suggested defaults
torpedo blast: a photon torpedo that hits something also hurts what is within 10 px of it for 5% of its damage, a quantum torpedo within 25 px for 15% (TUNING.damage.photonBlastR / Pct, quantumBlastR / Pct; measured from the edge of what is hit; phasers have none), with a thin ring showing the radius; hurt: Borg spheres and drones, the Last Stand's spheres and bombs, mines and asteroids in the Minefield family (and the Pulsar Sweep's shelter asteroids), duel ships; not hurt: ordinary asteroids (no health), the Borg cube, friendly ships and the Wormhole, Corridor, Web, Planet Defence and Dead In Space targets (torpBlast)
on pulsar end level summary change heading to 'Pulsar cleared'
Pulsar Sweep: the end screen heading is PULSAR CLEARED (was PASSED ASTEROID FIELD)
apply the same shattering to the mineral rush and minefield
the shattering of v690 (a bigger burst of dust and chips, and small pieces that fly out of a medium or large asteroid, which cannot hurt the ship for half a second) now applies whenever the Enterprise runs into an asteroid in the Minefield and the Mineral Rush, Prism Rush and Ion Storm, not only the Pulsar Sweep (pulsarShatter renamed rockShatter)
why do i not see some explosion of shattering when enterprise collides with a medium and large asteroid on pulsar level? check
Pulsar Sweep: an asteroid the Enterprise runs into, or a shelter asteroid that is shot, now shatters (pulsarShatter): a bigger burst of dust and bright chips and a medium or large one breaks into small pieces that fly outwards (4 from a medium, 6 from a large rammed one, 4 from a shot large one); the pieces from a collision cannot hurt the ship for half a second; small rocks keep their small burst
make enterprise take damage if it collides into asteroids on pulsar sweep level
Pulsar Sweep: hitting a shelter asteroid hurts more and is easier to trigger: it counts as a hit as soon as the Enterprise touches the rock (radius x 0.95 + the ship's, was x 0.9 + 8 px, which let it overlap the picture without being hurt), and it costs a medium rock's shield for the smallest up to a large rock's for the biggest (20 to 35%; was always 20%), then the hull (PULSAR.shelter.hitR)
make the pulsar beams glow
Pulsar Sweep: the beams glow: a wide blurred halo round each beam (three soft layers, up to 9 px blur) over the existing fan, a thin white-hot core, a slight shimmer, a flare where an asteroid stops the beam, and a flare round the Enterprise while it is hit (PULSAR.look.shimmer)
for pulsar sweep level, make it that 10 secs before end timer, asteroids end, allowing space on screen for enterprise to warp (warp entry animation) when level ends. when the warp out animation starts make sure the enterprise is now immune to the pulsar beams.
end of level summary heading should be changed from 'harvest complete' to 'passed asteroid field'
Pulsar Sweep: the asteroids end 10 s before the time is up (the ones still to come are taken out, no shelter asteroids are made, the ones left fall away faster) so there is room for the Enterprise to go into warp (the warp entry) when the time runs out, with the stars rushing past; the Enterprise is immune to the beams from the moment the warp starts; the end screen says PASSED ASTEROID FIELD instead of HARVEST COMPLETE (PULSAR.clear)
for ion storm level, whatever the time duration of the level, can you make it such that the lightning stops and the clouds disperse 10 secs for before end of level?
extend time to 1:30 mins
also on end of level summary, change 'harvest complete' message to 'survived ion storm'
Ion Storm: runs 1:30 (ION.time 90; the other Mineral Rush rounds keep 1:00: oreTime(b)); in the last 10 s (ION.fade) the lightning stops and the cloud thins out, swells and drifts apart, gone by the end; the end screen says SURVIVED ION STORM instead of HARVEST COMPLETE
make the rest of the colours more lighter and more pastel, by the same amount as the rose
Ion Storm: the violet, teal, green, amber and blue palettes lighter and more pastel by the same amount as rose in v684 (cloud tones 30%, sky 22% and glow 20% of the way towards each palette's soft white; bolts unchanged)
make the rose colour palette for ion storm level more lighter, slightly more pastel
Ion Storm: the rose palette lighter and more pastel (cloud tones, sky and glow mixed towards a soft pink-white)
make the ion storm cloud palette slightly lighter. may need to undo
Ion Storm: slightly lighter cloud palettes (the three cloud tones of every colour mixed 16% towards white, the sky wash 10%; bolt and glow colours unchanged)
make the shelter asteroids a bit smaller, and fewer
Pulsar Sweep shelter asteroids smaller (scale 0.8-1.25, was 1-1.6) and fewer (one every 3.4-5.2 s, up to 4 at once; was 2.2-3.6 s, up to 6)
in the pulsar level, enterprise is always caught by the pulsar beam, as asteroids never align in positioning and asteroids too small. maybe add asteroids but make them move slowly down the screen as the screen scrolls?
Pulsar Sweep: shelter asteroids for cover: big (large asteroids scaled 1 to 1.6 times) and slow (they fall at 22-40 px/s, not at the scroll's speed), coming in at the top near the pulsar where one throws a wide shadow, about one every 2-4 s (up to 6), more than half on the line from the pulsar to the Enterprise; they block the beam, can be shot (16 hits) or rammed (a medium rock's damage) (PULSAR.shelter)
@"lightning-strike-386161.mp3"
analyse this sound and reproduce it for the lightning strike sound. rename any filename reference to this file or sound to just 'lightning strike'
the lightning strike sound, rebuilt from a recording (LIGHTNING_STRIKE_SND: noise bands plus a 2.5 ms crackle gain, redacted files): plays when a strike lands in the Ion Storm (sfx.lightningStrike), a quieter, shorter copy for the harmless lightning (sfx.lightningFar); the renderer gained an optional env gain
make the ion storm cloud denser and more dramatic.
also add other colours to be selected at random
Ion Storm: a denser, more dramatic cloud (more and bigger puffs, more solid, a tint of the storm's colour over the sky, bolts light the cloud brighter and further, more cosmetic lightning) and a random colour for each round: violet, teal, green, amber, rose or blue (ION.schemes)
add the ion storm as a bonus stage
new bonus round ION STORM (redacted or redacted, settings row, schedule): the Mineral Rush flown through a violet storm cloud lit from inside by lightning; telegraphed strikes (a glow builds in the cloud, a ring closes in on the Enterprise, follows it then locks) that cost shield then hull if the ship is still in the ring when the bolt lands; quicker and sometimes in pairs later in the round (ION)
start with the pulsar as a bonus stage. not sure how you could turn this into a hazard? make it happen with your idea and we'll see how we could take it further.
new bonus round PULSAR SWEEP (redacted or redacted, settings row, schedule): the Mineral Rush with a pulsar at the top of the screen whose two beams sweep round like a lighthouse; a beam on the Enterprise costs shield (then hull), an asteroid blocks the beam and leaves a safe shadow; denser asteroids for cover; the pulsar spins faster and wanders as the round goes on (PULSAR)
on the last stand level, when a underneath layer satellite is directly under the borg cube and fires, its phaser/laser can be seen on the top (from player's perspective) of the cube, so it is rendering it passing through the cube. this is a bug, satellite fire cannot be fired from directly underneath the borg cube and show through the cube to surface at the top. remove this capability.
Last Stand: a lower-layer satellite directly under the Borg cube can no longer fire (no beam shows through the cube), and a lower-layer beam aimed across the cube now stops at the first cube edge it reaches whatever it is aimed at (before, only a beam whose target was inside the cube was stopped)
@"damagealarm.mp3"
analyse this sound file and reproduce it to be played when the enterprise shield health is zero, and the hull health is 20% or less. repeat every 10 secs.
new hull-critical alarm (DAMAGE_ALARM_SND, rebuilt from damagealarm.mp3 with redacted): plays when the Enterprise's shield is 0 and its hull is 20% or less, at once and then every 10 s while that holds (in place of the critical shield alert; alerts channel, so N mutes it)
when a hull health powerup is picked up, can you make the hull health bar animation increment in a stepped way, like the shield health bar, where each segment lights up, has a short interval then next segment lights again and repeats until health bar is full? use same timings
the hull repair power-up fills the hull bar a segment at a time (the shield power-up's step and pause), the scorch and fires on the ship going down with it
very cool. make the minerals a bit bigger still
Prism Rush minerals bigger still (SILK.size 1.5 -> 2, arm 1.6 -> 2.1, pick-up reach 28 -> 34 px, a little more room between them)
i have idea for new bonus level which will be based on mineral rush bonus level. instead of individual / groups of sparkles currently used to symbolise/denote previous minerals, was thinking if you could create a new visual.... imagine same playing area (scrolling), but instead of plotting each sparkle graphic/animation, you will plot small rectangular floating and gently fla…
imagine same playing area (scrolling), but instead of plotting each sparkle graphic/animation, you will plot small rectangular floating and gently flapping sheets - what i mean is imagine a magic flying carpet, with the carpet undulating, edges flapping, observing real physics), but this sheet has a semi-transparent iridescent look to it (maybe a random choice of pinks, pastel blues, purples). on top of this iridescent film look of the flapping sheet, layer on top the sparkles.
create me this bonus level, and i'll see if i can further refine the look. i may ask for undo too.
new bonus round PRISM RUSH (redacted or redacted, settings row, schedule): the Mineral Rush with bigger rare minerals (wider glints, longer crosses and star, a soft glow, a bigger pick-up reach) in iridescent colours (pink / pastel blue / purple / aqua, hues drifting and cycling across each mineral) in place of gold (SILK)
update data from health editor: { "source": "redacted", "made": "2026-11-05 14:49", "changes": [ { "id": "warbird", "cell": 0, "health": 387, "was": 129, "name": "Romulan warbird", "label": "First" }, { "id": "warbird", "cell": 1, "health": 387, "was": 129, "name": "Romulan warbird", "label": "Second" }, { "id": "klingon", "cell…
{
"source": "redacted",
"made": "2026-11-05 14:49",
"changes": [
{
"id": "warbird",
"cell": 0,
"health": 387,
"was": 129,
"name": "Romulan warbird",
"label": "First"
},
{
"id": "warbird",
"cell": 1,
"health": 387,
"was": 129,
"name": "Romulan warbird",
"label": "Second"
},
{
"id": "klingon",
"cell": 0,
"health": 177,
"was": 59,
"name": "Klingon Bird of Prey",
"label": "First"
},
{
"id": "klingon",
"cell": 1,
"health": 177,
"was": 59,
"name": "Klingon Bird of Prey",
"label": "Second"
},
{
"id": "vorcha",
"cell": 0,
"health": 357,
"was": 119,
"name": "Klingon Vor'cha cruiser",
"label": "First"
},
{
"id": "vorcha",
"cell": 1,
"health": 357,
"was": 119,
"name": "Klingon Vor'cha cruiser",
"label": "Second"
},
{
"id": "ferengi",
"cell": 0,
"health": 135,
"was": 45,
"name": "Ferengi Marauder",
"label": "First"
},
{
"id": "ferengi",
"cell": 1,
"health": 135,
"was": 45,
"name": "Ferengi Marauder",
"label": "Second"
},
{
"id": "keldon",
"cell": 0,
"health": 309,
"was": 103,
"name": "Cardassian (Keldon) warship",
"label": "First"
},
{
"id": "keldon",
"cell": 1,
"health": 261,
"was": 87,
"name": "Cardassian (Keldon) warship",
"label": "Second"
},
{
"id": "orion",
"cell": 0,
"health": 225,
"was": 75,
"name": [rest of this long pasted text left out]
health / damage values edited in redacted (24 changes): warbird First -> health 387 (written 387 * OHS); warbird Second -> health 387 (written 387 * OHS); klingon First -> health 177 (written 177 * OHS); klingon Second -> health 177 (written 177 * OHS); vorcha First -> health 357 (written 357 * OHS); vorcha Second -> health 357 (written 357 * OHS); ferengi First -> health 135 (written 135 * OHS); ferengi Second -> health 135 (written 135 * OHS); keldon First -> health 309 (written 309 * OHS); keldon Second -> health 261 (written 261 * OHS); orion First -> health 225 (written 225 * OHS); orion Second -> health 225 (written 225 * OHS) ...
make the fire on the hull repair icon a bit stronger
the fire on the hull repair icon is a bit stronger (alpha .45 -> .62)
now for the hull repair powerup, place the hull repair icon inside the powerup blue circle/border, centre it. and apply the fire damage animation for the damaged/destroyed earth defence satellites. but change the fire colour to blues.
let me see how that looks in the preview pane
for the hull repair powerup, besides placing the hull repair icon inside the blue circle border, i would like additional animation to be applied to it, a bit like how the shields and photon torpedo spread icons animate (subtly). i would like the same fire animation used currently on the damaged earth defence satellite to be scaled (if appropriate) and inserted/overlaid on top …
i would like the same fire animation used currently on the damaged earth defence satellite to be scaled (if appropriate) and inserted/overlaid on top of the hull repair icon, but inside the enclosing blue border. this animation should have blue colours, rather than the yellows originally used for the satellites.
So in other words, take the fire animation used for satellites, and apply that to sit inside the hull repair powerup. and make the colours blue instead.
the hull repair power-up icon: centred in its blue circle, with subtle animation (breathing blue glow, a turning band of light, twinkling rim sparks) and the satellite fire animation (now one function, satFireFx) scaled down and burning over it in blue; the satellites' own fire is unchanged
update the hull repair icon: { "sprite": "hullrepair", "name": "Hull repair power-up icon", "width": 11, "height": 13, "resized": true, "originalWidth": 13, "originalHeight": 16, "offsetX": -1, "offsetY": -1, "changes": [ { "x": 2, "y": 0, "from": "#ffffff", "to": "#8fa6ba" }, { "x": 3, "y": 0, "from": "#ffffff", "to": "#8fa6ba" }, { "x": 4, "y":…
{
"sprite": "hullrepair",
"name": "Hull repair power-up icon",
"width": 11,
"height": 13,
"resized": true,
"originalWidth": 13,
"originalHeight": 16,
"offsetX": -1,
"offsetY": -1,
"changes": [
{
"x": 2,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 3,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 4,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 5,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 6,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 7,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 8,
"y": 0,
"from": "#ffffff",
"to": "#8fa6ba"
},
{
"x": 1,
"y": 1,
"from": "#ffffff",
"to": "#9eb4c7"
},
{
"x": 2,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 3,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 4,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 5,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 6,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 7,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 8,
"y": 1,
"from": null,
"to": "#c4d6e6"
},
{
"x": 9,
"y": 1,
"from": "#ffffff",
"to": "#9eb4c7"
},
{
"x": 0,
"y": 2,
"from": "#ffffff",
"to": "#9eb4c7"
},
{
"x": 1,
"y": 2,
"from": null,
"to": "#c4d6e6"
},
{
"x": 2,
"y": 2,
"from": null,
"to": "#c4d6e6"
},
{
"x": 3,
"y": 2,
"from": null,
"to": "#c4d6e6"
},
{
"x": 4,
"y": 2,
"from": null, [rest of this long pasted text left out]
the hull repair power-up icon is the new hand-drawn 11x13 sprite from the sprite editor (the lives icon without the blue strips on the nacelles, orange tips)
update the enterprise lives indicator icon: { "sprite": "icon", "name": "Starfleet - USS Enterprise-D Lives Indicator", "width": 11, "height": 14, "resized": true, "originalWidth": 13, "originalHeight": 16, "offsetX": -1, "offsetY": -1, "changes": [ { "x": 3, "y": 1, "from": "#dce9f5", "to": "#c4d6e6" }, { "x": 4, "y": 1, "from": "#dce9f5", "to": "#c4d…
{
"sprite": "icon",
"name": "Starfleet - USS Enterprise-D Lives Indicator",
"width": 11,
"height": 14,
"resized": true,
"originalWidth": 13,
"originalHeight": 16,
"offsetX": -1,
"offsetY": -1,
"changes": [
{
"x": 3,
"y": 1,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 4,
"y": 1,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 5,
"y": 1,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 6,
"y": 1,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 7,
"y": 1,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 0,
"y": 2,
"from": "#6c8499",
"to": "#9eb4c7"
},
{
"x": 2,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 3,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 4,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 5,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 6,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 7,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 8,
"y": 2,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 10,
"y": 2,
"from": "#6c8499",
"to": "#9eb4c7"
},
{
"x": 0,
"y": 3,
"from": "#6c8499",
"to": "#9eb4c7"
},
{
"x": 2,
"y": 3,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 3,
"y": 3,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 4,
"y": 3,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 5,
"y": 3,
"from": "#dce9f5",
"to": "#c4d6e6"
},
{
"x": 6,
"y": 3, [rest of this long pasted text left out]
the Enterprise lives indicator icon is the new 11x14 sprite from the sprite editor (lighter, simpler hull, shorter nacelles)
has the sprite editor been updated to include the hull repair icon? i can't see it
the hull repair icon is now a hand-editable 13x16 pixel sprite (buildHullRepairIcon, in the sprite editor as 'Hull repair power-up icon') instead of being generated from the lives icon
add per-difficulty hull tuning for easy and super easy
hull health per difficulty (HULL.diff): hull damage taken x .75 Easy / 1 Normal / 1 Hard / .5 Super Easy, and a repair power-up mends x1.25 / 1 / 1 / 1.5 as much
defaults for all, go ahead and implement
hull health on every level and bonus round (HULL, hullHit): shields first, the rest x.6 to the hull (100% per ship), rocks on ordinary levels (small 158 pts survivable, medium/large destroy), sphere rams, close explosions, Borg shots (x1.5 in rescue missions) and maze bumps now hurt the hull instead of destroying the ship; hull bar, scorch and fires everywhere (not Dead In Space / Supernova Escape, which keep their own hull); new HULL REPAIR power-up (+30%, white outline of the lives icon, likelier the lower the hull)
make the lower satellites fire a bit more often
Last Stand lower-layer satellites fire more often (cooldown 1.4-2.6 s -> .8-1.6 s, charge .8 -> .7 s)
make the lower layer satellites destructible too.
also, any way of making these lower positioned satellites not shoot a beam over the borg cube? currently i am seeing a beam shoot across/over the borg cube edge, continue over the cube top (from player's perspective) into the centre. if the beam is shooting from below, this shouldn't be possible, and instead the beam should end at the nearest borg cube edge/side.
Last Stand lower-layer satellites can now be destroyed by Borg fire (health bar, shed arms, shatter, fire like the others); their beams stop at the first edge of the Borg cube they reach instead of crossing over it to the middle
add a new parallax layer under the playable interactive layer for the last stand level with more satellites. these should be able to fire onto objects above the layer onto the layer with enemies (borg cube, spheres, mirvs, bombs). being a layer underneath to account for perceived distance, make these satellites smaller in appearance so it looks further away and darken them very…
Last Stand gets a lower parallax layer of 14 smaller, slightly darkened satellites behind the playing layer (LAST.dnSat): they move slower than the view, never sit where Earth is (kept 40px above its edge whenever on screen), and fire up at the Borg with beams that start hair-thin at the nozzle and widen towards the target; the beam and satellite drawing for both layers now shares drawLsBeams
let's park the hull idea and implementation for now.
new request. for the planet rescue levels, the transport location markers on the planet, can you make those also angle and curve to the curvature of the visible portion of the planet?
planet rescue beam-up markers (dot and rippling rings) now lie on the planet's surface: squashed across the radial direction and angled to the curve, like the planet impacts
check if on the last stand level, the earth (planet) impacts are angled around the curvature of the earth, just like the planet defence. ensure it make the same angled impacts
Last Stand Earth impacts: checked against Planet Defence: the angle (turned to sit on Earth's curve) was already the same formula; the squash (z) had a floor of .3 where Planet Defence's is .04, now the same.
ensure all these changes to the earth defence satellites are carried over to the earth defence system level. check if they are common properties or their code is repeated individually within each level
the satellite changes carried over to the Earth Defence System level. Shared drawing already covered (v652-v656): the hub fire and its sparks, the light position, the longer funnel, the nozzle glow (the Earth Defence level keeps its 1.5 s charge). Now also there: lasers narrower (SAT.beam.width 4 -> 1.8), satellites shatter when destroyed and lose arms when hit below half health (SAT.shatter .6 and SAT.shed .35, moved from LAST.defSat so both levels share them). Last Stand only, by design: the upper layer, the guards/field satellites' targeting, enemy fire at them.
make the beam a bit narrower at the nozzle
satellite lasers narrower again at the nozzle (lower layer 5.2/2.5/1 -> 4/1.8/.8 px; upper layer LAST.upSat.beam.w0 2.4 -> 1.7).
create a pulsing glow at the satellite nozzle tip before the beam animation. the beam at the nozzle end is a bit too wide for the nozzle, so narrow it slightly.
satellites: a pulsing glow at the nozzle tip while a shot charges (it pulses faster and brighter as the shot nears; before, the glow was scaled by the Earth Defence level's 1.5 s charge, so the Last Stand's shorter charges showed hardly any); the lasers are narrower where they leave the nozzle (lower layer lines 7/3.4/1.3 -> 5.2/2.5/1 px, upper layer LAST.upSat.beam.w0 3.4 -> 2.4).
make some damaged/destroyed satellite shatter into pieces
some damaged/destroyed satellites break up: a destroyed satellite shatters (LAST.defSat.shatter .6 of them) into its arms and five chunks of hub that tumble away, some burning and throwing sparks, and fade after 14-22 s (instead of the burning wreck); a satellite hit below half health may lose an arm (LAST.defSat.shed .35 a hit): the arm breaks off and that arm can no longer fire. Last Stand satellites, lower and upper layer.
redraw the fire for the satellite so that it looks more natural, use less repeatable assets. and because player is looking top-down, the flames shouldn't be drawn as if player is looking from the side. so maybe flames that look like shimmering, sparks, sudden bright intense surges.
a destroyed satellite's fire redrawn as seen from above (no flame tongues rising from it): a hot shimmering glow over the hub, bright patches wandering over it on their own slow loops, faint heat-shimmer arcs round the edge, flickering embers, and sudden bright surges at uneven times; its sparks now fly out in every direction instead of upward (all satellites, all levels).
need some cosmetic changes to the satellites:
move the blue light along the spike down towards the hub a little, in fact, make it sit right in the middle of the spike. elongate/stretch the cone/funnel/ tip a little more, extend the length by equivalent of 1-2px.
satellite look: the blue light now sits in the middle of the shaft (between the hub's edge and where the funnel starts: 1.5 px nearer the hub), and the funnel at each arm's end is 2 px longer (SAT.sats.tip 2); the muzzle glow and the lasers (all satellites, all levels) come out of the new tip.
make the upper satellites fire more often.
also when a satellite is destroyed, can you fill the entire inner circle of the satellite hub/centre with fire/sparks? currently it looks like only the top part of the circle is lit up, so it looks a bit odd
upper satellites fire more often (LAST.upSat.cool [1.1, 2], was [2, 3.6]); a destroyed satellite's fire now covers the whole hub (glow across the disc and seven flames spread over it, scaled with the satellite's size; also in the Earth Defence level) and its sparks come from all over the hub.
make the upper satellites ease a bit softer. add a few more upper layer satellites
upper satellites ease softer (LAST.upSat.ease 3, was 5) and there are 11 of them (was 8; spaced 460 px of view movement apart, was 520).
for the upper layer satellites, they move in quite a sharp way (not sure how to describe it), can it smoothed out, with easing maybe?
the upper layer of satellites glides: the view they move with eases towards the real view (LAST.upSat.ease 5 a second) instead of following its steps, and they are drawn between pixels (drawSat's q.sub) so their slow movement is not stepped.
need many more lives and shield powerups on this level!
many more shield and extra-life power-ups in the Last Stand (LAST.powerups): one every 2.6-4.6 s (was 4.5-8), the first after 3-5 s, up to 7 about at once (was 4), kinds weighted shield 6, extra life 4, the other three 1 each (was 1 each).
i need an array of satellites higher up on the entire game area, maybe 7-9 dotted all over, they are rendered larger to give illusion it is closer to player's perspective. also they should sit on a new upper layer. they too can be destroyed by enemy fire. but they can fire down to interactive layer below. for this to happen, i need their laser/phaser beams to emanate from their…
an upper layer of 8 Earth Defence satellites in the Last Stand (LAST.upSat), in front of everything: drawn 1.3-1.8x the size of the ones below (k x .8), moving 1.5-2.3x as fast as the view (parallax; each crosses the screen when the view is at its own place, the places spread over the world and 520 px of view movement apart). They fire at the Borg things on the screen below within 380 px: the laser comes out of the nozzle at the arm's tip, wide there, narrowing to the target. Borg shots passing over one on the screen hit it and the spheres can pick it as a target; health SAT.sats.hp.
on the last stand end level summary, can you change the borg cube stat if it survives to a remaining health in percent? if destroyed then no change (show 'destroyed')
Last Stand summary: if the Borg cube survives its row shows 'BORG CUBE HEALTH' with the share of health left in percent (was DRIVEN OFF / ESCAPED); destroyed still shows 'THE BORG CUBE: DESTROYED'.
make the satellites health 12. and add 2 more satellites positioned evenly apart on the same y-axis just above where the borg cube would settle.
satellite health 12 (was 8; the Earth Defence level's too, SAT.sats.hp); 5 guard satellites in the Last Stand, evenly 320 px apart at x 320 / 640 / 960 / 1280 / 1600 on the cube's settling height (were 3).
check if the rendered satellites on the last stand level is the same size as those on the earth defence system level. they look a bit big on the last stand
the Last Stand's Earth Defence satellites drawn (and hit) at the same size as in the Earth Defence System level: LAST.defSat.scale .5 (was .8; SAT.scale is .5).
can you sprinkle the earth defence satellites (from the earth defence system level) onto this whole play area? they target only enemies (anything borg). do not fire on alliance vessels including federation/starfleet vessels. they take the normal damage rules, but only by enemy fire. ensure 3 of them are positioned just above earth's orbit along the same y-axis where the borg cu…
Earth Defence System satellites join the Last Stand (LAST.defSat): 3 guards at the cube's settling height (y 1905, x 330 / 760 / 1600) that shoot the Borg bombs first (the one landing soonest within 900 px), then any Borg thing in reach, and 10 more sprinkled over the world (clear of each other by 270 px and of the cube's way down) that shoot the nearest Borg thing (bombs count as nearer). They fire blue lasers (guards 3 damage, hit 85% every 0.9-1.5 s; the rest 2 damage, hit 60% every 1.8-3 s), never at Starfleet. The Borg shoot at them like at ships (spheres pick them as targets at 1.4x distance; their shots and the cube's torpedoes hit them); health SAT.sats.hp (the 'Satellite (Earth Defence)' row in the health editor); a destroyed one stays as a charred husk. Shown on the map as light-blue dots.
reduce number of mirvs and borg bombs on last stand level
fewer MIRVs and Borg bombs in the Last Stand: the cube's bombs come 16 / 10 s apart (was 11 / 7) and 1-2 at a time (was 2-3; at Earth 2-3, was 3-4); MIRV waves 60 / 38 s apart (was 42 / 26), 1-2 a wave (was 2-3), at most 2 about (was 4), each carrying 2 bombs (was 3); the share of spheres that go bombing Earth .1 (was .18).
update export data from health editor: { "source": "redacted", "made": "2026-11-02 22:25", "changes": [ { "id": "sphere1", "cell": 0, "health": 3, "was": 9, "name": "Borg sphere, normal levels: higher tier", "label": "Easy" }, { "id": "sphere1", "cell": 1, "health": 6, "was": 9, "name": "Borg sphere, normal levels: higher tier", "label": …
{
"source": "redacted",
"made": "2026-11-02 22:25",
"changes": [
{
"id": "sphere1",
"cell": 0,
"health": 3,
"was": 9,
"name": "Borg sphere, normal levels: higher tier",
"label": "Easy"
},
{
"id": "sphere1",
"cell": 1,
"health": 6,
"was": 9,
"name": "Borg sphere, normal levels: higher tier",
"label": "Normal"
},
{
"id": "sphere1",
"cell": 3,
"health": 2,
"was": 9,
"name": "Borg sphere, normal levels: higher tier",
"label": "Super Easy"
},
{
"id": "sphere2",
"cell": 0,
"health": 2,
"was": 8,
"name": "Borg sphere, normal levels: lower tier",
"label": "Easy"
},
{
"id": "sphere2",
"cell": 1,
"health": 3,
"was": 8,
"name": "Borg sphere, normal levels: lower tier",
"label": "Normal"
},
{
"id": "sphere2",
"cell": 2,
"health": 6,
"was": 8,
"name": "Borg sphere, normal levels: lower tier",
"label": "Hard"
},
{
"id": "sphere2",
"cell": 3,
"health": 1,
"was": 8,
"name": "Borg sphere, normal levels: lower tier",
"label": "Super Easy"
},
{
"id": "ambush",
"cell": 0,
"health": 3,
"was": 8,
"name": "Ambush sphere",
"label": ""
},
{
"id": "bonusSphere",
"cell": 0,
"health": 3,
"was": 7,
"name": "Bonus-level sphere (Storm, Stream, Onslaught, Cube, Corridor)",
"label": ""
},
{
"id": "lsSphere",
"cell": 0,
"health": 6,
"was": 12, [rest of this long pasted text left out]
health / damage values edited in redacted (12 changes): sphere1 Easy -> health 3 (written 3 * OHS); sphere1 Normal -> health 6 (written 6 * OHS); sphere1 Super Easy -> health 2 (written 2 * OHS); sphere2 Easy -> health 2 (written 2 * OHS); sphere2 Normal -> health 3 (written 3 * OHS); sphere2 Hard -> health 6 (written 6 * OHS); sphere2 Super Easy -> health 1 (written 1 * OHS); ambush -> health 3 (written 3 * OHS); bonusSphere -> health 3 (written 3 * OHS); lsSphere -> health 6 (written 6 * OHS); lsMirv -> health 3 (written 3 * OHS); lsBomb -> health 3 (written 3 * OHS)
update export data from health editor: { "source": "redacted", "made": "2026-11-02 22:01", "changes": [ { "id": "fed", "cell": 0, "health": 115, "was": 70, "name": "Starfleet ship (Last Stand and Distress allies)", "label": "" }, { "id": "warbird", "cell": 0, "health": 129, "was": 81, "name": "Romulan warbird", "label": "First" }, { …
{
"source": "redacted",
"made": "2026-11-02 22:01",
"changes": [
{
"id": "fed",
"cell": 0,
"health": 115,
"was": 70,
"name": "Starfleet ship (Last Stand and Distress allies)",
"label": ""
},
{
"id": "warbird",
"cell": 0,
"health": 129,
"was": 81,
"name": "Romulan warbird",
"label": "First"
},
{
"id": "warbird",
"cell": 1,
"health": 129,
"was": 81,
"name": "Romulan warbird",
"label": "Second"
},
{
"id": "klingon",
"cell": 0,
"health": 59,
"was": 38,
"name": "Klingon Bird of Prey",
"label": "First"
},
{
"id": "klingon",
"cell": 1,
"health": 59,
"was": 38,
"name": "Klingon Bird of Prey",
"label": "Second"
},
{
"id": "vorcha",
"cell": 0,
"health": 119,
"was": 75,
"name": "Klingon Vor'cha cruiser",
"label": "First"
},
{
"id": "vorcha",
"cell": 1,
"health": 119,
"was": 75,
"name": "Klingon Vor'cha cruiser",
"label": "Second"
},
{
"id": "ferengi",
"cell": 0,
"health": 45,
"was": 29,
"name": "Ferengi Marauder",
"label": "First"
},
{
"id": "ferengi",
"cell": 1,
"health": 45,
"was": 29,
"name": "Ferengi Marauder",
"label": "Second"
},
{
"id": "keldon",
"cell": 0,
"health": 103,
"was": 66,
"name": "Cardassian (Keldon) warship",
"label": "First"
},
{
"id": "keldon",
"cell": 1,
"health": 87,
"was": 56, [rest of this long pasted text left out]
health / damage values edited in redacted (86 changes): fed -> health 115 (written 57.5 * HS); warbird First -> health 129 (written 129 * OHS); warbird Second -> health 129 (written 129 * OHS); klingon First -> health 59 (written 59 * OHS); klingon Second -> health 59 (written 59 * OHS); vorcha First -> health 119 (written 119 * OHS); vorcha Second -> health 119 (written 119 * OHS); ferengi First -> health 45 (written 45 * OHS); ferengi Second -> health 45 (written 45 * OHS); keldon First -> health 103 (written 103 * OHS); keldon Second -> health 87 (written 87 * OHS); orion First -> health 75 (written 75 * OHS) ...
update export data from health editor: { "source": "redacted", "made": "2026-11-02 21:00", "changes": [ { "id": "fed", "cell": 0, "health": 70, "was": 35, "name": "Starfleet ship (Last Stand and Distress allies)", "label": "" }, { "id": "warbird", "cell": 0, "health": 81, "was": 43, "name": "Romulan warbird", "label": "First" }, { …
{
"source": "redacted",
"made": "2026-11-02 21:00",
"changes": [
{
"id": "fed",
"cell": 0,
"health": 70,
"was": 35,
"name": "Starfleet ship (Last Stand and Distress allies)",
"label": ""
},
{
"id": "warbird",
"cell": 0,
"health": 81,
"was": 43,
"name": "Romulan warbird",
"label": "First"
},
{
"id": "warbird",
"cell": 1,
"health": 81,
"was": 43,
"name": "Romulan warbird",
"label": "Second"
},
{
"id": "klingon",
"cell": 0,
"health": 38,
"was": 20,
"name": "Klingon Bird of Prey",
"label": "First"
},
{
"id": "klingon",
"cell": 1,
"health": 38,
"was": 20,
"name": "Klingon Bird of Prey",
"label": "Second"
},
{
"id": "vorcha",
"cell": 0,
"health": 75,
"was": 40,
"name": "Klingon Vor'cha cruiser",
"label": "First"
},
{
"id": "vorcha",
"cell": 1,
"health": 75,
"was": 40,
"name": "Klingon Vor'cha cruiser",
"label": "Second"
},
{
"id": "ferengi",
"cell": 0,
"health": 29,
"was": 15,
"name": "Ferengi Marauder",
"label": "First"
},
{
"id": "ferengi",
"cell": 1,
"health": 29,
"was": 15,
"name": "Ferengi Marauder",
"label": "Second"
},
{
"id": "keldon",
"cell": 0,
"health": 66,
"was": 35,
"name": "Cardassian (Keldon) warship",
"label": "First"
},
{
"id": "keldon",
"cell": 1,
"health": 56,
"was": 30,
"name [rest of this long pasted text left out]
health / damage values edited in redacted (86 changes): fed -> health 70 (written 35 * HS); warbird First -> health 81 (written 81 * OHS); warbird Second -> health 81 (written 81 * OHS); klingon First -> health 38 (written 38 * OHS); klingon Second -> health 38 (written 38 * OHS); vorcha First -> health 75 (written 75 * OHS); vorcha Second -> health 75 (written 75 * OHS); ferengi First -> health 29 (written 29 * OHS); ferengi Second -> health 29 (written 29 * OHS); keldon First -> health 66 (written 66 * OHS); keldon Second -> health 56 (written 56 * OHS); orion First -> health 48 (written 48 * OHS) ...
apply the edits I exported: { "source": "redacted", "made": "2026-11-02 20:29", "changes": [ { "id": "fed", "cell": 0, "health": 35, "was": 64, "name": "Starfleet ship (Last Stand and Distress allies)", "label": "" }, { "id": "warbird", "cell": 0, "health": 43, "was": 112, "name": "Romulan warbird", "label": "First" }, { "id": "war…
{
"source": "redacted",
"made": "2026-11-02 20:29",
"changes": [
{
"id": "fed",
"cell": 0,
"health": 35,
"was": 64,
"name": "Starfleet ship (Last Stand and Distress allies)",
"label": ""
},
{
"id": "warbird",
"cell": 0,
"health": 43,
"was": 112,
"name": "Romulan warbird",
"label": "First"
},
{
"id": "warbird",
"cell": 1,
"health": 43,
"was": 112,
"name": "Romulan warbird",
"label": "Second"
},
{
"id": "klingon",
"cell": 0,
"health": 20,
"was": 112,
"name": "Klingon Bird of Prey",
"label": "First"
},
{
"id": "klingon",
"cell": 1,
"health": 20,
"was": 112,
"name": "Klingon Bird of Prey",
"label": "Second"
},
{
"id": "vorcha",
"cell": 0,
"health": 40,
"was": 160,
"name": "Klingon Vor'cha cruiser",
"label": "First"
},
{
"id": "vorcha",
"cell": 1,
"health": 40,
"was": 160,
"name": "Klingon Vor'cha cruiser",
"label": "Second"
},
{
"id": "ferengi",
"cell": 0,
"health": 15,
"was": 80,
"name": "Ferengi Marauder",
"label": "First"
},
{
"id": "ferengi",
"cell": 1,
"health": 15,
"was": 80,
"name": "Ferengi Marauder",
"label": "Second"
},
{
"id": "keldon",
"cell": 0,
"health": 35,
"was": 100,
"name": "Cardassian (Keldon) warship",
"label": "First"
},
{
"id": "keldon",
"cell": 1,
"health": 30,
"was": 100,
"name": [rest of this long pasted text left out]
health / damage values edited in redacted (35 changes): fed -> health 35 (written 17.5 * HS); warbird First -> health 43 (written 43 * OHS); warbird Second -> health 43 (written 43 * OHS); klingon First -> health 20 (written 20 * OHS); klingon Second -> health 20 (written 20 * OHS); vorcha First -> health 40 (written 40 * OHS); vorcha Second -> health 40 (written 40 * OHS); ferengi First -> health 15 (written 15 * OHS); ferengi Second -> health 15 (written 15 * OHS); keldon First -> health 35 (written 35 * OHS); keldon Second -> health 30 (written 30 * OHS); orion First -> health 25 (written 25 * OHS) ...
now half all the hits required to destroy other ships, include borg vessels, mirvs, bombs, other objects and then re-display updated table
everything that is not Starfleet takes half as many hits: new OHS = 1 (health scale for enemy ships, Borg spheres, MIRVs, bombs, the cubes, the Corridor, mines, asteroids, satellites, Tholian ships and web nodes, minerals; every N * HS health became N * OHS, and the damage-picture divisors (Borg sphere dimming, Dead In Space "DAMAGE TO ENEMY") use OHS too). HS (2) stays for the Starfleet ships (LAST.fleet.hpFed 64) and the Heist's pulse damage. OHS = 2 gives v637's health back.
update weapons damage:
phaser with upgrade - from 1.5 to 2
photon torpedo - from 2 to 3
quantum torpedo - from 4 to 16
weapon damage re-set: phaser 1 (unchanged), phaser with the upgrade 2 (was 1.5; POWERUP.phaserBoost.damageMul 2), photon torpedo 3 (was 2), quantum torpedo 16 (was 4). The damage is now its own numbers in TUNING.damage; HS (2) is only the health scale, so health is as it was and torpedoes and quantum torpedoes kill 1.5 and 4 times as fast. The Starfleet and enemy ships' torpedoes (3), the Starfleet ships' phasers and the cube laser (2.4) follow the settings. Built from v636.
set the scale to 2 so a phaser is 1 hit.
the hit scale is 2 (HS = 2, was 6): a phaser shot is 1 hit (1 damage), a photon torpedo 2, a quantum torpedo 4, the upgraded phaser 1.5; every health number is its torpedo-hit count x 2, so a warbird has 224, a Starfleet ship 64, a Borg sphere on Normal level 14 six, the Borg Cube level's cube 160 and the Last Stand's 4,800. The fights take the same time as before. Built from v635.
yes, share the phaser upgrade with the fleet too
the Starfleet ships' phasers share the Enterprise's phaser upgrade: while the upgrade lasts the Starfleet ships in the Last Stand and the Distress Signal do 4.5 with a phaser (3 without), like the Enterprise (fleetPhaser()); the former enemies fighting for the fleet in the Last Stand and the enemy ships do not. Built from v634.
ensure all starfleet vessels use the same phaser, torpedo and quantum torpedo (if applicable) hit damage as the enterprise, as just revised.
every Starfleet vessel does the Enterprise's damage: their photon torpedoes read TUNING.damage.torpedo (6) and their phasers TUNING.damage.phaser (3) directly, instead of a copy of the number (the Last Stand's and the Distress Signal's ships, which now also share the Borg and enemy ships' torpedo damage setting; the Borg Capture's wingmen already used the Enterprise's shot code). No Starfleet vessel fires quantum torpedoes, so nothing to match there. Built from v633.
Same request as 1.0.632
the phaser upgrade's 4.5 damage reaches the Borg Corridor's wall pieces too (they took a fixed 3 whatever the upgrade); checked as 4.5 against 3 in the Corridor, Asteroid Storm, Minefield, Tholian web, Ferengi duel, Borg Cube, Distress Signal and Dead In Space (9.45 at full weapon power), and 4.5 in the Wormhole and the Last Stand. Built from v632.
make the phaser upgrade also apply in Dead In Space
the phaser upgrade's 1.5x damage (4.5) now also applies in Dead In Space (there the upgrade is on while the weapons are at their most, and that round's power setting multiplies it as well: 4.5 x 2.1 = 9.45 a shot at full power). Built from v631.
for enterprise phaser powerup upgrade, i want the damage to be 4.5 (so 1.5x times of original non-powerup value). can you do this?
the phaser power-up upgrade makes the Enterprise's phaser do 4.5 damage a shot (1.5 times the usual 3; POWERUP.phaserBoost.damageMul), for as long as the upgrade lasts, on every level except Dead In Space (where the 'upgraded' beam only shows the weapons at their most). Built from v630.
i need the damage to be changed again (sorry) - so phaser damage up from 0.5 to 3, photon torpedo up from 1 to 6, quantum torpedo up from 2 to 12. set it across all levels and all ships
weapon damage and every health number multiplied by 6 so the numbers are finer and the fights last as long as they did (HS = 6, one constant: TUNING.damage and TUNING.hp and the other health tables are written as N * HS). Phaser 3 (was 0.5), photon torpedo 6 (was 1), quantum torpedo 12 (was 2); a wall-piece phaser shot 3. Health x6: every duel ship (Romulan 672, Ferengi 480, Keldon 600, ...), Borg spheres and drones, the Borg cube and its emitters, core and tractor beam, the Corridor's core, turrets, emitters, obstacles, bars and walls, Wormhole ships, the Marauder, the Tholian web nodes and ships, the capture tractor sphere, mines, asteroids in the minefield, satellites, the Dead In Space enemy (900), the Last Stand (fleet 192, enemies 6x, spheres, mirvs, bombs, cube torpedo-tractor) and the Distress Signal ships, and the damage ships do to each other (their torpedoes 6, phasers 3, the cube laser 4.8, the Heist's pulses 6 and torpedoes 12). The shield and hull losses (in per cent) are unchanged. Two displays that counted hits taken from the health lost (the Borg sphere's dimming lights, the Wormhole ships') divide by HS; the Dead In Space summary shows the damage to the enemy in torpedo hits. A single phaser shot is one invisible shot of 3 damage (before v630 the phaser bullet code could make several). Built from v629.
all phaser hits (regardless of enemy or ally ship) inflict less damage than torpedo hits. in your reply you stated phaser hits inflict 2 hits whereas torpedo hits inflict 1 hit. I need these swapped over. apply this change across all ships (enemy and ally/federation/starfleet), and across all levels. the levels of damage inflicted in order: phaser (least) photon torpedo - medi…
in your reply you stated phaser hits inflict 2 hits whereas torpedo hits inflict 1 hit. I need these swapped over. apply this change across all ships (enemy and ally/federation/starfleet), and across all levels.
the levels of damage inflicted in order:
phaser (least)
photon torpedo - medium (maybe double that of phasers)
quantum torpedoes (for enterprise) - high - double of photon torpedoes
make sure this rule is applied across all vessels and all game levels/stages. confirm once done.
damage order across the whole game: phaser (least), photon torpedo (twice a phaser), quantum torpedo (twice a photon torpedo). The Enterprise's phaser does 0.5 (was 1; TUNING.damage.phaser, one invisible shot of dmg 0.5), a phaser shot on a Borg Corridor wall piece 0.5 (was 3; it was more than a torpedo), the photon torpedoes (front, spread, rear) 1, the quantum torpedo 2 (as before). The ships' phasers in the Last Stand and the Distress Signal, Starfleet and enemy alike, do 0.5 (were 2, and 1 for a Starfleet ship in the Distress Signal; their torpedoes do 1). The Borg cube's laser does 0.8 to a ship and 0.8 of a Borg hit to the Enterprise (were 4 and 1.2; the cube's torpedo is 1.6). The Distress Signal: an enemy phaser costs the damaged ship 0.5% hull (was 1.4%; a torpedo 1%) and the Enterprise 0.5 of a Borg hit's shield (was 1.2; a torpedo 1). The duels' beams and torpedoes were already beam below torpedo (3-4.5 against 3.5-5 shield) and are unchanged. Built from v628.
reduce third wave to 1
Distress Signal: the third wave (at 1:30) is 1 enemy ship (DSG.wave3.n, was 3), so at most 4 enemy ships appear in all; its message reads 'ANOTHER HOSTILE SHIP IS DROPPING OUT OF WARP'. Built from v627.
only start showing 'additional starfleet vessels are dropping out of warp' when the first computer controlled starfleet vessel is exiting from warp
Distress Signal: 'ADDITIONAL STARFLEET VESSELS ARE DROPPING OUT OF WARP' now appears when the first computer-controlled Starfleet ship starts to come out of warp, not when the Enterprise does. Built from v626.
for all levels/stages if enterprise is outside of transporter range and transporter action key is pressed, show a round perimeter border around the transporter target(s) like the enterprise respawn circle, with marching ants/dashed lines. for transporter range radius, use light blue. this radius / range radius circle fades after 3 secs or if enterprise goes inside the range (circle)
all the rescue levels (ship rescue, planet rescue, the Distress Signal): when the transport key is pressed with the Enterprise outside the transporter's range (RESCUE.range, 180 px) of every place the crew can be beamed from, a dashed light-blue circle of that radius, its dashes marching round and pulsing gently, is drawn round each of those places (the starship, each beam-up point with survivors, the damaged ship), like the respawn circle; it fades after 3 seconds, or within a quarter of a second if the Enterprise gets inside it (RANGE_RING, showTransportRange, drawTransportRange). Built from v625.
shift starting positions up once more by 5px.
keep enemy starting position the same.
Distress Signal start positions: the damaged ship and the Starfleet warp-in places 5 px higher again (damaged.shift -85); the enemy ships keep their screen positions (first.dy -63, more.dy -105). Built from v624.
for level starting positions shift everything (damaged ship, starfleet warp exits) up the y-axis by 40px; the starting position of the enemy keep the y-axis as is, but shift the x-axis location left or right (random) by 120px, and angle it to face the damaged ship;
Distress Signal start positions: the damaged ship and the places the Starfleet ships warp in are 40 px higher on the screen (damaged.shift -80, was -40; the Starfleet places follow it); the enemy ships keep the screen height they had (first.dy -68 and more.dy -110, 40 px less to make up for it); the first enemy ship now starts 120 px to the left or right of the damaged ship (random; first.dx) and faces it (it faced down). Built from v623.
enemy ships are still not flying over the damaged ship, they fly near to it, but then they turn/swerve as if it is a hard object to avoid. i want to give illusion they are flying above the damaged ship and therefore can fly directly over it (but not stop there)
Distress Signal: enemy ships fly straight over the damaged ship, as if above it. There was a second, hidden barrier: a solid-hull push (the damaged ship's radius plus the enemy ship's plus 8 px) shoved every enemy ship sideways out of it, up to about 220 px/s; it is switched off (DSG.ai.enemy.solidOn false; the rule is kept). They are drawn over it already. Built from v622.
don't make enemy ships fly and stop/hover over the damaged ship, swoop past instead. some enemy ships (so far from observations, the romulan ships) haven't flown over and past the damaged ship, instead they get close to it, so no-go radius has been reduced, but they won't fly over and past the damaged ship) - so check the rules.
Distress Signal: the enemy ships swoop over and past the damaged ship instead of stopping or hovering near it. Stopping to fire is only done 190 px or more from it (DSG.ai.enemy.stop.min; with the no-go circle off the old rule let them stop anywhere), and a ship that has drifted in closer goes on. The strike ships fly straight up and down over it (strike.half 28, was a loop 175 px to the side). Attack runs fly on through the target (a goal 280 px beyond it, so a ship no longer slows as it arrives), start only when the target is within 57 degrees of the nose (a warbird with its wide turning circle that started facing away spent the whole run turning round), break away and retry in 2 s if the ship cannot line up inside its turning circle, and may last 9 s (was 5.5). Built from v621.
yes, fix it so ships can't get stuck while turning
Distress Signal: a Starfleet ship can no longer be left stuck facing up without warping. The conditions for a ship to take its turn (in the top third, on the screen, its warp opening in view) are now checked only when it begins its turn, with 45 px to spare (DSG.exit.driftMargin) because it drifts a little as it brakes; once it has begun it goes on to the warp whatever happens, and if the turn takes more than 6 s (DSG.exit.turnMax) it warps anyway. Built from v620.
when starfleet ships move into position for their warp out sequence, make the camera move to a point (even if its right at the top of the playable area) where the warp entry vanishing point is in view.
Distress Signal: when the Starfleet ships take up their places to warp out, the camera moves to where the warp openings they will vanish into are in view (as high as the top of the world allows; DSG.exit.vanishMargin 45 px from the top), keeping the Enterprise on screen while it climbs; the places are chosen no nearer the top of the world than that opening is ahead of each ship (about 126 px), and an ally waits until its own opening is in view before it goes. Built from v619.
make camera move up with enterprise when moving to warp out. stay in that position after it has warped out and ensure other starfleet ships warp out in the same viewable area where camera is positioned
Distress Signal: while the Enterprise flies up to warp out, the camera follows it, keeping it in the middle of the screen (DSG.exit.camFollow), and stays where it was when the Enterprise has gone; the Starfleet ships the player does not fly now warp out only after the Enterprise has gone, in that same view (their places are within 110 x 70 px of the Enterprise's, the Enterprise leaves when it reaches its place). Built from v618.
make the Starfleet allies' phasers do 1 hit of damage too
Distress Signal: the Starfleet allies' phasers do 1 hit of damage to an enemy ship (DSG.phaser.dmgFed; it was 2); the enemy ships' phasers still do 2 to a Starfleet ship. Built from v617.
make enemy health the same as they are on other levels.
make starfleet phaser damage back to 1 hit of damage.
increase speed of enemy ships
Distress Signal: the enemy ships have the health they have in their own levels (Romulan Warbird 112 torpedo hits, Ferengi Marauder 80, Cardassian Warship 100; DSG.enemyHp; they had 36 / 22 / 36), the Enterprise's phaser does 1 hit of damage again (it was 1.5), and the enemy ships are 35% faster (DSG.ai.enemy.speedMul 1.35, top speed raised from 165 to 205; the Starfleet ships' speed is unchanged). Built from v616.
make enemy ships swoop in towards enterprise and damaged ship and fire on them and more often
Distress Signal: the enemy ships go in for attack runs (DSG.swoop): every 7-12 s each picks a target (the Enterprise 50%, the damaged ship 35%, a Starfleet ship 15%), flies straight at it a little faster, firing a torpedo every 0.4-0.7 s and a phaser every 1.1-1.8 s, passes it (they may fly over the damaged ship) and breaks away for 2.4 s, giving up a run after 5.5 s; and they fire more often generally (phasers at the damaged ship every 1.8-3.6 s, torpedoes every 2.5-4.5 s, against Starfleet ships fireMul .5). Built from v615.
make the self-destruct label flash red for the last 3 seconds.
make enemy ships be able to fly over the damaged ship, disable (don't remove config) the no-go radius for enemy ships around the damaged ship.
remove the countdown time from the upper HUD for self destruct message. so no ' in [countdown]'
Distress Signal: (1) the self-destruct label under the damaged ship flashes bright red / dim red for the last 3 seconds (it was amber/red, too alike); (2) the enemy ships' no-go circle round the damaged ship is switched off (DSG.ai.enemy.noGoOn false; noGo 120 kept in the config), so they can fly over it; (3) the HUD line for the self-destruct has no countdown ('SELF-DESTRUCT SEQUENCE INITIATED ON DAMAGED SHIP'; the number is under the ship). Built from v614.
when damaged ship starts self destruct sequence, replace the crew status with 'self-destruct [countdown]' in amber/red (whatever colour that represents urgent/danger)
Distress Signal: during the self-destruct countdown the label under the damaged ship reads 'SELF-DESTRUCT 7' (amber, flashing red for the last 3 seconds) in place of the crew status. Built from v613.
when damaged ship was destroyed by self destruct sequence, and starfleet ships started warping out, the enterprise warped out first, followed by the other 2 starfleet ships, but as they were warping out the camera started panning downwards toward the bottom of the extended playable area. i suspect it was following a ghost location of the enterprise on the minimap as it was stil…
Distress Signal: fixed the camera panning down while the Starfleet ships warp out. After the Enterprise went into warp its hidden ship was still there, the brake key from its turn-to-face-up stage was still held, so it reversed at about 44 px/s and the camera and the minimap marker followed it. Now the hidden ship's keys are cleared and held clear and it stays still, the camera does not follow it, and the minimap does not show it. Built from v612.
on damaged ship crew status, change 'fatalities: ' to 'Lost '
Distress Signal: the damaged ship's crew label reads 'CREW 88 - LOST 7' (was '- FATALITIES: 7'). Built from v611.
for the crew status under the damaged ship, add after the crew number ' - fatalities: [number]' where [number] is number of deaths on board. don't make the enemy ships warp out when damaged ship is destroyed. the only time they warp out is when level timer starts to run out the enemy ships handling of hard play area edges/borders is a problem as they congregate at the hard e…
don't make the enemy ships warp out when damaged ship is destroyed. the only time they warp out is when level timer starts to run out
the enemy ships handling of hard play area edges/borders is a problem as they congregate at the hard edges and seem to slide along them. can u find a way to fix this?
Distress Signal: (1) the crew label under the damaged ship reads 'CREW 88 - FATALITIES: 7' (the number lost on board); (2) the enemy ships now warp out ONLY when the clock starts to run out (22 s left): not when the crew are off, not when the damaged ship is destroyed, not when the last Starfleet ship has gone (D.jumped keeps the clock jumps that end the round from counting); they also no longer fly off when the damaged ship is destroyed; (3) the world's edges: a ship looks ahead along its heading and turns away from an edge in good time (within about 1.3 turning circles), goals are kept clear of the edges, and a ship that does reach the very edge turns hard towards the middle instead of sliding along it (dsgFly); measured: time on the hard edge fell from 2.8% to 0.2%, and within 55 px of an edge from 4.4% to 1.3% (30.5% to 5.3% while hunting the leaving fleet). Built from v610.
when the game starts in the HUD, change 'starfleet vessels have dropped out of warp' to 'Additional starfleet vessels are dropping out of warp'
Distress Signal: the message when the Starfleet ships come out of warp reads 'ADDITIONAL STARFLEET VESSELS ARE DROPPING OUT OF WARP' (was 'STARFLEET VESSELS HAVE DROPPED OUT OF WARP'). Built from v609.
disable the first trigger. keep the enemy ships in play when crew are off. let them still interact and try destroy starfleet ships as they move away to do warp entry
Distress Signal: the enemy ships no longer warp out when the crew are all off. They stay in play and go after the Starfleet ships (the Enterprise too) wherever they are as they climb and leave, no longer held near the damaged ship. They now warp out only when the damaged ship is destroyed, when 22 s are left on the clock, or (new) once the last Starfleet ship has gone. Built from v608.
make all starfleet ships including enterprise face upwards when warping out.
Distress Signal: every Starfleet ship, the Enterprise too, goes into warp facing straight up: when it is a ship's turn to leave it slows and turns to face up (one ship at a time), then the warp begins. Built from v607.
once all crew are rescued (beamed off the damaged ship), i want a new sequence to be added before the remaining starfleet ships warp out. the new sequence should be that after 2 seconds after all crew have been beamed off the damaged ship, HUD message should read: 'Self-destruct sequence initiated on damaged ship: [countdown timer]' where [countdown timer] is a 10 second countd…
Distress Signal: when the last crew member is off, 2 s later the HUD reads 'SELF-DESTRUCT SEQUENCE INITIATED ON DAMAGED SHIP: 10' and counts down to 1 (a beep each second, orange, white flashes in the last 3); the damaged ship then blows up in its big fireball and the HUD reads 'STARSHIP DESTROYED' for 2 s; then the Starfleet ships fly off and warp out (DSG.scuttle; the clock waits meanwhile, and the summary says CREW RESCUED, not DAMAGED SHIP LOST). The Starfleet warp-outs are now 1-3 s apart even when ships had to wait to be in view. Built from v606.
move the computer-controlled starfleet ships so that it is within the same viewing area as the enterprise before warping out
Distress Signal: when the Starfleet ships leave, the computer-controlled ones fly to places near where the Enterprise is going (within 130 px across and 60 px up and down, DSG.exit.spread) and warp out only while they are on the screen, so they leave in the same view as the Enterprise. Built from v605.
don't make the level end immediately after crew is rescued. instead, make all starfleet vessels still alive start moving up to the top 1/3 of the extended playable area, then make each one warp out one by one with a 1-3 second stagger.
Distress Signal: the round no longer ends the moment the last crew member is off. The Enterprise (its helm taken from the player) and every Starfleet ship still alive climb to the top third of the world, then warp out one after another 1-3 s apart (DSG.exit); the enemy ships still warp out as before; when the last Starfleet ship has gone the summary follows after 4 s (a safety: after 45 s they warp out where they are). The damaged ship stays. Built from v604.
Same request as 1.0.603
Distress Signal: the Enterprise's hull bar (the segments) is hidden until the shields reach 0 (or the hull is hurt), then fades in as the HULL text fades up from its faint level; the text is faint (40%) from the start. Built from v603.
start the damaged ship at 70% hull instead
Distress Signal: the damaged ship starts at 70% hull (DSG.damaged.hull; the 30% it has lost shows as scorch and a small fire from the first frame; crew die in proportion to the hull it has left). Built from v602.
whatever the starting damage is for the damaged ship, show the appropriate level of scorch marks and fire(s)
Distress Signal: the damaged ship starts with the damage it is supposed to have already showing (DSG.damaged.startDamage 30%: scorch on its picture and a small fire from the first frame); what it takes after that fills the rest (scorch, more fires, the big fire at 5% hull). The hull bar still starts at 100%. Built from v601.
as the enterprise and damaged ship takes on hull damage, progressively introduce scorch marks and then small fires on the hull.if hull health is at 5% or lower, then hull should show a big fire with sparks
Distress Signal: hull damage shows on the Enterprise and on the damaged ship (built on the Dead In Space's scorch code): every hull point lost adds scorch to the ship's picture, small fires start on the darkest spots at 25%, 45% and 65% of the hull lost (DSG.hull.fx.fire), and at 5% hull or less there is one big fire with a stream of sparks (the damaged ship keeps its starting fires, which still grow, and gains these on top). A new Enterprise is undamaged. Built from v600.
update the starting opacity for hull HUD to 40%
Distress Signal: the hull display's faint starting opacity is 40% (was 20%; DSG.hull.dim now sets it everywhere). Built from v599.
can you make hull HUD opacity 20% when it is at 100%, until shields are zero, then hull HUD opacity becomes more visible/pronounced, so then increase opacity to 100%. if shields get restored, keep hull HUD at opacity 100%. So, hull HUD, initially opacity 20%. once shield health hits 0%, change hull HUD to opacity 100%. make it a a gradual fade in.
Distress Signal: the hull display is faint (20% opacity) while the shields are up; once the shields reach 0 (or the hull is hurt) it fades up to full over about 1.2 s (DSG.hull dim/fade) and stays at full even if the shields come back; a new Enterprise or a new round makes it faint again. Built from v598.
enterprise needs a hull health, when its shields are down either from when it needs to transport, or when shields are depleted from weapons damage.introduce it on this level only first. i am thinking for enterprise hull health, copy the visual for shields HUD display, under it. so it shows Hull 100%, under that, the same segmented horizontal bars. colour for hull HUD is an off-white/slight grey
Distress Signal only: the Enterprise has a hull (entHull, 100%, no recharge), shown under the shield bar as HULL 100% with the same 20-segment bar in off-white. Enemy hits the shield can take still drain the shield; a hit it cannot take (shields off for the transporter, or too low) drains what is left and the rest goes to the hull (60% of the shield damage: a torpedo 12%, a phaser 14.4%); the Enterprise is destroyed only when the hull reaches 0 (before, any such hit destroyed it at once). A new Enterprise has a full hull. Built from v597.
make number of crew to rescue (beam out) between 55-120
Distress Signal: the damaged ship carries 55-120 crew to rescue (was 20-50). Built from v596.
increase length of level to 4mins.
1:30 mins into game make 3 more enemy ships appear within the player's viewable area, dropping out of warp - stagger their appearance using the previously stated stagger times. ensure they do not land on each other so give them 70px of clearance from each other
Distress Signal: the round is 4:00 long (was 2:30). At 1:30 on the clock a third wave of 3 enemy ships drops out of warp IN VIEW (DSG.wave3), one after another 2-4 s apart; each place is chosen as the ship arrives, at least 70 px from every other ship and 140 px from the damaged ship; they face the damaged ship; one orbits (the other way round from the first orbiter) and two strike. The enemy warp-out at the end begins 22 s before the end (was 13) so all six get away. Built from v595.
make the enemy ships fire more
Distress Signal: the enemy ships fire more: phasers at the damaged ship every 2.5-5 s (was 5-10), each doing 1.4% (was 2.4%), plus photon torpedoes at it every 3.5-6 s (1% each; they fired only at Starfleet ships before); their torpedoes and phasers at Starfleet ships come about 1.5 times as often (DSG.harass.fireMul .65). Built from v594.
i think the enemy ships need their own formation, just like the starfleet ships in the last stand stage. so make one enemy ship adopt the orbit formation around the damaged starfleet vessel. the other 2 enemy ships use the strike formation.
Distress Signal: the enemy ships have formations like the Last Stand's Starfleet ships (DSG.form): the first enemy ship ORBITS the damaged ship (a steady circle round it, never tighter than its turning circle allows; now and then it brakes, turns to face the damaged ship, holds still and fires 3-4 phasers, about 5 s, then carries on round), and the two that come later STRIKE (a long loop that runs down one side of the damaged ship and back up the other, clear of the 120 px no-go circle, swinging round at each end and firing as they pass; they do not stop). A ship still breaks off to fight a Starfleet ship that comes near, then returns to its formation. Built from v593.
yes, switch the Borg cube laser and the Last Stand explosions too
Last Stand: the Borg cube's laser now plays the Borg weapon sound (was a near-silent beep); a Starfleet ship lost and the cube's destruction now play the Enterprise's big explosion sound (sfx.die; the cube twice, as a double blast), with a quieter distant boom when out of view. Built from v592.
yes, apply the same fix to the Last Stand
Last Stand: its ships' torpedoes and phasers now use the recorded sounds too (Enterprise torpedo/phaser for Starfleet; Klingon torpedo/disruptor or Romulan torpedo/beam for the former enemies) instead of the near-silent beeps. Built from v591.
enemy ship phaser fire do not produce a sound. in fact i wonder why on this level the sound has been problematic. is this inherited from the last stand level?
Distress Signal: ships' weapon sounds were tiny synthesised beeps (inherited from the Last Stand, nearly silent); torpedoes now play the Enterprise's torpedo sound (Starfleet) or the Romulan torpedo (enemies), phasers the Enterprise's phaser (Starfleet) or the Romulan beam (enemies). Still only for ships in view. Built from v590.
Distress Signal: ships' weapon sounds were tiny synthesised beeps (inherited from the Last Stand, nearly silent); torpedoes now play the Enterprise's torpedo sound (Starfleet) or the Romulan torpedo (enemies), phasers the Enterprise's phaser (Starfleet) or the Romulan beam (enemies). Still only for ships in view; the Last Stand is unchanged. Built from v590.
change 'distress signal received' to 'Responding to distress signal' in the HUD.
Then allow player to press Enter or Space to exit warp, so update HUD text to show the additional key 'enter / space'
Distress Signal: the HUD line reads 'RESPONDING TO DISTRESS SIGNAL' (was 'DISTRESS SIGNAL RECEIVED'), and SPACE as well as ENTER now drops the Enterprise out of warp; the prompt reads 'PRESS [ENTER / SPACE] TO EXIT WARP'. Built from v589.
i am still not hearing ship explosion sounds after destroying 2 enemy ships. the fireball explosion animation plays but not big boom sounds. i also have music turned off so that i can hear if the sound does play thinking the music may drown out the sounds
Distress Signal: a destroyed ship now plays the Enterprise's big explosion sound (sfx.die: five overlapping rumbling booms) instead of the small noise burst (which was too quiet to hear), and one quieter distant boom (boomBurst .3) when it is out of view. Built from v588.
when a ship explodes, does it produce an explosion sound? if not, assign the explosion sound
Distress Signal: a ship destroyed out of view now makes a quiet, muffled distant explosion (before, only ships on or near the screen made a sound). Built from v587.
when any of the ships are destroyed, use the same explosion fireball animation as the enemy ships. this included the damaged ship
Distress Signal: every ship that is destroyed, the Starfleet ships and the damaged ship too, now blows up in the same big fireball as the enemy ships (dsgBlast): the round fireball with rings, the storm of cooling sparks, smoke, the extra blasts and the burning pieces; the damaged ship's is a little bigger. Built from v586.
turn off wobble
Distress Signal: the damaged ship's wobble is off again (DSG.damaged.wobble x and y 0; the same as v583). Built from v585.
set wobble to 1px
Distress Signal: the damaged ship wobbles 1 px each way (DSG.damaged.wobble x and y 1; was .5 in v584). Built from v584.
set wobble to 0.5px. may ask to undo
Distress Signal: the damaged ship wobbles 0.5 px each way (was off in v583, 2.2 px/1.7 px before; DSG.damaged.wobble x and y .5, rot 0). Built from v583.
stop the damaged ship and its hull and crew info from wobbling for this level - the movement is too jerky
Distress Signal: the damaged ship no longer wobbles, so it and its hull and crew readout stay still (DSG.damaged.wobble set to 0; was 2.2 px, 1.7 px and .03 rad). Built from v582.
swap the positions of 'distress signal received' and 'press [enter] to exit warp. also use the standard colour coding for the key and action
Distress Signal: the two lines under the clock are swapped (DISTRESS SIGNAL RECEIVED on the upper, the prompt on the lower), and the prompt uses the usual colours: PRESS [ENTER] TO {EXIT WARP} (the key and the action coloured as everywhere else; DROPPING OUT OF WARP... once ENTER has been pressed). Built from v581.
i have an idea for the sound not starting if key not pressed issue.
when level starts and briefing display disappears, in the top HUD, display message Press [enter ]to exit out of warp. only then the enterprise warp exit sequence starts. but the minimum wait time for warp exit to occur is 5 seconds after briefing display disappears
Distress Signal: the Enterprise no longer drops out of warp by itself: the top of the screen says PRESS [ENTER] TO EXIT WARP once the briefing has gone, and the exit begins when ENTER is pressed and at least 5 s into the round (DSG.fleetIn); the other Starfleet ships and the rest of the enemy follow as before. It also fixes the silent warp exit when no key had been pressed yet: the Enter press is what lets the browser play sound. Built from v580.
when enemy ship is destroyed, make then use the explosion animation (borg cube explosion) with the fireball, not just shatter as they currently do
Distress Signal: an enemy ship that is destroyed now blows up like the Borg cube: a big round fireball with shockwave rings, a storm of sparks cooling from white to dark, smoke, four more blasts across the hull a moment apart, and the hull in pieces that burn on, trailing fire and smoke, instead of just shattering (dsgBlast). Built from v579.
make enemy ships fly a little faster when they are not making a big turn, of a similar speed to the enterprise.
also reduce no-go radius to 120px
allow starfleet ships to be able to fly over the damaged starfleet vessel, but enemies not.
Distress Signal: the enemy ships fly faster when they are not making a big turn (x1.4, up to 165 px/s, about the Enterprise's top speed: DSG.ai.cruise and cap; the big warbird is still slower); their keep-out circle round the damaged ship is 120 px (was 150; standoff 170-230 px); and the Starfleet ships may fly over the damaged ship (only the enemy ships are kept off it). Built from v578.
widen the no-go radius for enemy ships to 150px.
then make the enemy ships sometimes come to a stop and turn towards damaged ship and start firing, before moving off.
Distress Signal: the enemy ships' keep-out circle round the damaged ship is 150 px (was 100; DSG.ai.enemy.noGo; their usual standoff is now 200-260 px to match); and now and then an enemy ship that is harassing the damaged ship comes to a stop, turns on the spot to face it, fires 2-3 phasers 1.3-2 s apart, then turns on the spot to a heading along its curve and moves off (DSG.ai.enemy.stop: the first stop 8-16 s in, then every 16-30 s). Built from v577.
yes, stagger the enemy warp-outs at the end as well
Distress Signal: the enemy ships warp out one after another, 2-4 s apart in random order (DSG.leaveStagger; closer, DSG.leaveFast, when the round has already ended), starting 13 s before the end (DSG.warpOut, was 7) so that all have gone by the time the clock runs out. Built from v576.
stagger the warp exits of the enemy ships (2-4 secs, random)
Distress Signal: the two more enemy ships no longer drop out of warp together: one first, the other 2-4 s later (random, DSG.enemyStagger), the side picked at random. Built from v575.
make it that the enemy ships have a 100px no-go radius around the damaged ship, and any turnings the enemy ship makes doesn't collide into this invisible radius and make a sudden turn, instead a gradual avoidance path is drawn for the enemy ship. also make the enemy ships avoid bumping into each other as well, maybe each should have 70px radius around each other.
Distress Signal: the enemy ships keep out of a 100 px radius round the damaged ship (DSG.ai.enemy.noGo) and 70 px from each other (DSG.ai.enemy.space): they look ahead as far as their turning circle needs and swing round in a curve (dsgAvoid), no sudden turns; their standoff from the damaged ship is 130-190 px (was 110-170). Built from v574.
shift the damaged ship and first enemy ship starting positions up by 40px when the level starts/initiates.
Distress Signal: the damaged ship and the first enemy ship start 40 px higher on the screen (DSG.damaged.shift -40); the two more enemy ships, which come out of warp behind the first, move up with it, and the Starfleet ships still drop out of warp in the same place on the screen (DSG.fleet.dy 120, from 80, to make up for it). Built from v573.
the enterprise still doesn't produce the warp exit sound, as i didn't press a key. when i pressed a key, warp sounds could be heard for the other starfleet ships warping into view. is there no workaround so that whether a key has been pressed or not, the enterprise produces the warp sound?
warp exit sound when the page has had no key press or click yet (a browser does not allow sound until then): a ship coming out of warp now tries to start its sound every frame while it is coming out, so it plays, part-way in, as soon as a key is pressed or the page is clicked, instead of never; and Distress Signal shows a blinking PRESS ANY KEY OR CLICK FOR SOUND under the clock until the sound is on. Built from v572.
widen the turning circle of the computer controlled ships even more.
make the larger romulan warbirds have a even wider turning circle and move a little more slowly. use the extended out of view play area for the turns to be made if necessary.
next is sometimes when the level starts and the starfleet ships warp into view, their warp exit sounds do not play. investigate and fix
Distress Signal: the computer-controlled ships' turning circle is wider (DSG.ai.minRadius 135 px, was 85; ships keep further from the world's edge by a margin that grows with it, so the wide turns use the whole world, out of view too); the big Romulan warbird has a still wider circle (x1.7) and flies a fifth slower (DSG.ai.big). And a fix: a ship's warp sound was only played if the place it came out of warp was in view at that moment, so a Starfleet ship arriving below the view (once the Enterprise had flown off) came in silently; in this round the warp sounds now always play. Built from v571.
make all ships except for enterprise fly and turn more gradually, they can't make sharp angled turns, they currently move like fish. make it that in order for them to turn and change direction they have to move further distances so the angle of turn is smaller at each step, even if they have to travel further to make a u-turn.
Distress Signal: the ships (all but the Enterprise) fly and turn gradually: they never stop and turn in place, a turn is limited by their speed (DSG.ai.minRadius 85 px: a tight turn needs a wide curve, and a U-turn takes a good distance), and they fight by circling their target in wide curves, nose roughly towards it, instead of darting and spinning like fish. Built from v570.
when the play area is first displayed, the damaged ship is facing vertically up towards top of screen, but after the briefing display disappears, it is immediately angled. fix this so that upon the level start it is immediately angled before the briefing display, not after, to reduce the visual jarring. then, the next issue is after the briefing display disappears, the position…
then, the next issue is after the briefing display disappears, the positioning of everything is shifted, so the virtual camera showing the play area is moved. think this was also a problem in the last stand stage, so it had to be fixed/offset.
Distress Signal: the damaged ship is drawn at its tilt (and with its fires) from the very first frame, in the briefing too, instead of upright until the round starts; and the view no longer jumps when the Enterprise drops out of warp (the follow zone at the bottom of the screen is smaller, DSG.cam.zyBot 50, so the Enterprise's arrival place is inside it). Built from v569.
stagger the warp entry of the starfleet ships, enterprise warps into view first, then stagger the remaining two starfleet ships by 2-5 secs (random)
Distress Signal: the Starfleet ships no longer drop out of warp together: the Enterprise first, then one of the other two 2-5 s later (random), then the last 2-5 s after that (DSG.fleet.stagger); and the two more enemy ships now come 3-5 s after the last of them has finished. Built from v568.
when the level starts, and player presses space, the phasers start firing from the position of the damaged ship. the weapons should only fire from the enterprise after it has exited warp
Distress Signal: the Enterprise's torpedoes, spread, phaser and teleport do nothing until it has dropped out of warp (they could be fired from the damaged ship's place during the briefing and the first seconds). Built from v567.
Go with Distress Signal, and answer yes to all five decisions.
new bonus round DISTRESS SIGNAL (redacted, a settings row, in the schedule from level 11/10/8/12): a damaged, burning Starfleet ship (random class, crew 20-50) hangs in the middle of a world three screens across and three high, with a hostile ship (a Romulan, Ferengi or Cardassian one, random) shooting at it; 5 s in, the Enterprise and two Starfleet ships drop out of warp on the other side of it; 3-5 s after that two more enemy ships drop out of warp; the fleet and the enemy fight on their own while the Enterprise beams the crew off (the shields drop for the transporter) within 2:30; enemy ships warp out before the end; the hull and the crew fall as the ship is hit, and the round ends if it is destroyed. Built on the Last Stand's world, camera, warp effects and summary (b.ls with ls.dsg). Built from v566.
for dead in space level, swap the oxygen hud panel with the enemy hud panel on the lower part of the screen, so that enemy sits below weapons hud, and oxygen sits below life support hud. that makes more sense
Dead In Space: the lower gauges are reordered so that ENEMY sits under the WEAPONS panel and OXYGEN under the LIFE SUPPORT panel (HULL stays under SHIELDS); they were OXYGEN under weapons and ENEMY under life support. Built from v565.
for ship rescue and planet rescue missions where activating transporters is required, when the transport key is pressed, apply the key pressed sound that is currently used for the supernova escape stage when it is used to toggle the power redistribution. once the sound has finished playing, then activate the transporter sound
ship rescue and planet rescue: pressing the transport key to start the transporter now plays the key beep (POWER_BEEP_SND, the one for the power keys in Supernova Escape and Dead In Space) first, and the transporter sound starts when the beep has finished (0.34 s later). Built from v564.
are any name entries (not submitted) and potentially bad names saved in localstorage? the bad name is still appearing prefilled
scoreboard name entry: the remembered name now lives under a new storage key, kept only once the host has accepted it, and the old key (which could hold a name the host had refused, saved by v562 and earlier) is deleted at start-up, so no old bad name can come back pre-filled whatever the host does. Built from v563.
update so that if scoreboard name entry is presented, remove any previous bad word that is pre-filled in the input field.
scoreboard name entry: the name filled in from last time is checked with the host (redactedredacted) and, if the host would refuse it, it is taken out of the field and forgotten; and a name is now only remembered for next time once the host has accepted it (a refused one used to be saved and offered again). Built from v562.
on home screen, make enterprise a little smaller, then move everything below it up 10px
home screen: the swaying Enterprise is a little smaller (TITLE_SHIP_SCALE 1, was 1.2) and everything below it (PRESS ENTER, the jump-to-stage line, the control lines, the music row, HI score, difficulty and the world best) is 10 px higher (TITLE_BELOW). Built from v561.
check all code - ensure all games that start at a bonus stage from home screen loses lives. in other words, on bonus stages, make sure when enterprise is destroyed, lives are lost. remaining lives at end of bonus stage gets carried over to next normal level.
only enable no lives lost on bonus levels if the bonus stage is accessed via a url parameter.
confirm each bonus level has that in place
every bonus round now costs a life when the Enterprise is destroyed (the Borg Ambush, Asteroid Storm, Stream, Onslaught, Capture, Planet Defence, Last Stand, Dead In Space and Borg Cube used to be free; the others already cost one); the lives left carry on to the next level. Only a page opened with a redacted= (or redacted=) address makes a bonus round free (deathFree()). The old per-round deathCostsLife settings are no longer read. Built from v560.
on the live hosted version, after navigating between several menus, and come back to home screen, the key description to access scoreboard is now gone. check and fix
fixed: after a bonus round was started from the game's own menu, the home screen lost its [B] SCOREBOARD hint (and the board stopped updating) because the page stayed in test mode; going home now clears that. Also: a failed refresh of the board (the host missing one answer) no longer makes the hint disappear: the last good board is kept, marked stale, and tried again in 30 s (a score is still only offered a name entry on a fresh answer). Built from v559.
yes, build it into redacted
scoreboard: a name that the host refuses (redacted now filters rude names, see redacted) shows THAT NAME IS NOT ALLOWED. CHANGE IT AND PRESS ENTER instead of the general could-not-save message. Built from v558.
is there a dust layer that could show up as small green streaks? if so, make it that for this level the dust layer only shows white, off white, light brown, dark brown, dark blue streaks.
Earth Defence System: the dust streaks (which take the level's rock colours elsewhere, green on some levels) are white, off white, light brown, dark brown or dark blue only (SAT.dust). Built from v557.
for the satellite image, the funnel at the end of the spikes, i wanted them the other way around, the wider part is attached to the spike and the narrow part becomes a nozzle for the laser/phaser to come out from. can you update?
Earth Defence System: the satellite arms' nozzles are the other way round: wide where they join the arm, narrowing to the tip the laser comes out of (they were narrow at the arm and wide at the tip). Built from v556.
make some satellites appear from the top of the screen and float down on a new upper parallax layer and make them appear larger so give illusion they are above the interactive layer.
Earth Defence System: a new upper layer (SAT.fore): now and then a big satellite (1.3-2.2 times the original design, 2.6-4.4 times the working ones' size now) appears from the top of the screen and floats down in front of everything, falling faster than the course (1.7-2.4 times the scroll) and turning slowly, to give the feeling it is nearer than the course. For show only: nothing hits it and it fires at nothing. Built from v555.
show explosion animation when enterprise collides with a satellite.
Earth Defence System: when the Enterprise flies into a satellite it now explodes with the full animation (a big burst of fire, blue sparks and scrap, an expanding shockwave ring, and the loud explosion sound) instead of a small burst. Built from v554.
yet again the scoreboard does not come up. played on hosted version, score 2760. on game over screen, does not allow player to enter name when the score qualifies.
scoreboard: a bonus round chosen from the game's own menu now counts for the scoreboard even when the game ends inside it (before, only redacted= pages and menu games that got past the bonus's summary did); and the game over screen now always says why there is no name entry: TEST MODE, NO SCORE TO SAVE, ASKING THE SCOREBOARD..., NOT ENOUGH FOR THE TOP SCORES, or SCOREBOARD NOT REACHED with the reason (TIMED OUT, HTTP 500, BAD REPLY, STORAGE). Built from v553.
third line of briefing: remove " with phaser" and replace with ". Avoid damaged ships"
Earth Defence System: the briefing's third line is now "AS MANY DEFENCE SATELLITES AS YOU CAN. AVOID DAMAGED SHIPS" (was "...AS YOU CAN WITH PHASERS"). Built from v552.
end of level heading - change from 'field crossed' to 'defences crossed'. in briefing text, remove the word 'any'
Earth Defence System: the end-of-level heading is DEFENCES CROSSED (was FIELD CROSSED); the briefing no longer says 'any' ("...SHOOTING AT EARTH AND FEDERATION VESSELS..."). Built from v551.
for this level only show white,blue and pale yellow stars
Earth Defence System: the stars are white, blue and pale yellow only (SAT.stars): the scrolling stars and the soft glowing stars in the nebula (the orange tint is left out here). Built from v550.
can you check if the earth layer is above any star layers? if not, make it so
Earth Defence System: Earth is now drawn over the star layers and the far dust (it was on a canvas behind the game, with the stars cut away from it): the planet's picture is drawn into the game's own picture after the stars and dust and before the satellites, wreckage and ships (drawEarthLayer). Built from v549.
disable mist for this level. i may reinstate it so keep it configurable
Earth Defence System: the display mist is off for this round (MIST.stages.sat.mist: 'no'; set it to 'yes' to bring it back, in the blue or white already set there). Built from v548.
reduce satellite targetting accuracy even more - the level is too hard. also more shield powerups
Earth Defence System made easier: the satellites' lasers are less accurate again (SAT.accuracy: 55% within 25% of the screen's width, 40% to 50%, 25% to 75%, a random 3-12% beyond; was 75/55/35/8-22), and there are many more power-ups (POWERUP.earthdefence: one every 3-5.5 s instead of 5-8.5, up to 5 at once, shields 9 parts in 11.75 of them instead of 4 in 7). Built from v547.
sprinkle a mix of intact starfleet ships, some facing up toward top of screen, some facing down towards bottom of screen, they are damaged but intact. make 70% of them have fires and sparks on their hull and some on the nacelles. rotate some of them a few degrees to the left or right (randomly) so they're not facing up or down perfectly. make them have that stationary wobble to…
Earth Defence System: damaged but whole Starfleet ships hang in the course (SAT.ships), from the Excelsior, Nebula, Constellation, Intrepid, Constitution (refit and original) and Galaxy class pictures in turn: half face up the screen, half down; 60% are turned 3-12 degrees one way or the other; each wobbles in place like the mines; scorch marks and breaches on the hull; 70% burn (small fires on the hull, half of those also on the nacelles) with sparks. Flying into one costs 20% shield and the ship blows up; the summary's COLLISIONS counts them. Built from v546.
reduce number of hits required to disable satellites by 1
Earth Defence System: a satellite is disabled by 2 hits (was 3): SAT.sats.hp. Built from v545.
towards end of level, can you make earth appear from the top of the screen and settle when earth occupies the top 25-30% of the screen?
Earth Defence System: near the end of the course Earth comes in from the top of the screen and settles, taking up the top 28% of it (SAT.earth): the game's own Earth-like planet shader, a huge planet of which only the lower curve shows, easing to a stop; no stars are drawn over it. It starts to appear with 1500 px of scroll left and has settled with 400 left. Built from v544.
sprinkle starfleet vessel debris along the entire course, make this an interactive layer, meaning that enterprise takes damage if it collides with the debris. make some debris have fires and sparks. ensure it is debris from a mix of different starfleet ships
Earth Defence System: wreckage of Starfleet ships is scattered along the whole course (SAT.debris): ragged, scorched pieces cut from the game's own pictures of the Excelsior, Nebula, Constellation, Intrepid, Constitution (refit and original) and Galaxy class ships, in small, medium and large sizes, some in clusters; they drift and tumble, about 30% burn with a small fire and sparks. Flying into a piece costs shield (5, 9 or 14% by size) and breaks it up; the summary's COLLISIONS counts them. Built from v543.
reduce the accuracy for all previously stated distance ranges
Earth Defence System: the satellites' lasers are less accurate at every distance (SAT.accuracy): within 25% of the screen's width 75% (was 90%), to 50% 55% (was 70%), to 75% 35% (was 50%), beyond that a random 8-22% (was 15-35%). Built from v542.
keep the arms
Earth Defence System: a disabled satellite keeps its arms (the blue strips and the light go dark; the base is charred); 70% still burn with a small fire and sparks. Built from v541.
when satellites are disabled, show the circular base with a small fire and sparks (70% chance of this occuring)
Earth Defence System: a disabled satellite loses its arms and is left as a darkened round base; 70% of them also burn, with a small flickering fire and sparks thrown off (SAT.fire). Built from v540.
make the mists whites and blues only for this level
Earth Defence System: the display mist (MIST.stages.sat) is blue or white only (a list of colours is now allowed there: one is picked each time the round starts). Built from v539.
make the satellite phasers less accurate the further it is away from a target (e.g. enterprise). my rough specs: 25% of screen width = 90% accurate, 26-50% of screen width distance = 70% accurate, 51-75% = 50% accurate, 75-100% screen width distance = 15-35% accurate
Earth Defence System: the satellites' lasers are less accurate the further the Enterprise is (SAT.accuracy): within 25% of the screen's width 90% of shots are on target, to 50% 70%, to 75% 50%, and beyond that a random 15-35% each shot; a shot that is not on target passes just beside the Enterprise. To cover those distances the satellites now see 480 px (was 340) and the laser is 520 px long (was 260). Built from v538.
for this level only make nebula colours blue, white, teals
Earth Defence System: the background has a nebula of its own in blues, teals and white (SAT.nebula; renderNebula now draws a nebula for this round instead of a plain starfield). Built from v537.
half the size of the satellites
Earth Defence System: the satellites are half the size (SAT.scale .5: base 4.5 px in radius, arms 7.5 px long; their hit and crash sizes and the laser's start scale with it). Built from v536.
i have idea for new bonus level. it is similar to borg corridor. premise is enterprise is rushing through space within earth's solar system, as earth's defence network (satellites armed with phasers) dotted along path leading up to earth's orbit has been hacked / compromised. so any ship near a defence satellite will be fired upon by one or more satellite, depending on how clo…
premise is enterprise is rushing through space within earth's solar system, as earth's defence network (satellites armed with phasers) dotted along path leading up to earth's orbit has been hacked / compromised. so any ship near a defence satellite will be fired upon by one or more satellite, depending on how close it is to one - the satellites work in a similar way to the minefield level mines. proximity based triggers, but rather than explode, they fire blue phasers/laser beams at the target.
the course is a vertical scroller like borg corridor. enterprise has to navigate along the course, which is littered with earth's defence satellites (like minefield).
the shape and appearance of the satellites are as follows:
circular central base, grey with slow pulsing blue light (which increase in pulsing intensity when something nearby, like mines on minefield level) , with 3 spikes equidistant around the perimeter (i think 120 degrees apart). each spike is about 15px long, central part of spike is lit up in glowing blue and is about 4px long, the end of each spike has a short inverted funnel/triangular shape, with wide end at the end of the spike and narrow end forming the very end of the mine's perimeter. at this end, blue lasers will fire at oncoming enemies (or in this level's case, any vessel, including enterprise).
These satellites can slowly rotate to orientate one of their spikes/laser arms to face an oncomin [rest of this long pasted text left out]
new bonus round EARTH DEFENCE SYSTEM (redacted, a settings row, in the schedule from level 9/8/6/10): the Minefield's course with Earth's hacked defence satellites (SAT) in place of mines. A grey round base with a pulsing blue light and three 15 px arms, each with a glowing blue strip and a flared nozzle; within 340 px it turns (100 degrees a second) to face the Enterprise, and when the Enterprise is within 5 degrees of an arm's line it charges (the strip glows brighter for 1.5 s) and fires a blue laser along that arm (14% shield on a hit). Flying into one destroys it and costs 22% shield; torpedoes and phasers disable them (3 hits). First version, built from v535.
i started the game by selecting a bonus level and when that level finished i pressed enter to continue to asteroid level, then enter a few times to progress through levels normally. when game finished i had score of 59283. no scoreboard entry came up. this seems to be a recurring problem where when i expect to enter name due to qualifying score, scoreboard entry does not appear…
fixed: a game started from a bonus round chosen in the menu stayed in test mode after the bonus ended, so its score never reached the name entry / scoreboard (nor the local hi-score); the test flag is now cleared when the bonus's summary is finished (a redacted= URL still stays in test mode).
is it possible to play the flare surge sound 0.5sec earlier and upto 0.5sec later? make it random, to give a sense that enterprise cannot always alert in time
Supernova Escape: the flare-surge warning sound plays at a random moment from 0.5 s before to 0.5 s after the surge starts (OUT.flare.surge.alertJitter).
@"alert26.mp3"
analyse this sound and reproduce it to play when flare surge occurs. replace the existing sound.
Supernova Escape: the flare-surge warning sound (the rising saw tone) is replaced by a rebuild of alert26.mp3 (ALERT_SND, sfx.alert(); redacted).
move the trail behind the torpedo. may need to undo
Supernova Escape: the torpedo's trail is drawn behind the torpedo (on the layer under the bullets, in drawOutFlares) so the torpedo's own sparkling graphic is not covered by it; before it was drawn in front.
shorten the trail to 15px.
Supernova Escape: the torpedo's trail is 15 px long (OUT.torp.trail; was 30).
Same request as 1.0.529
Supernova Escape torpedoes: found why most were seen for one frame: when the plasma is close, a surge or a flare lifts its edge up level with the Enterprise (or above it), and the torpedo blew up on the first frame, as it left. A torpedo now always flies at least OUT.torp.minFly 30 px before it can detonate (about 0.3 s at the slowest speed), so it can be seen leaving the Enterprise and flying down.
is it possible to make the path of the rear torpedoes show more frames? the issue is most of the time, you can't see a torpedo come out of the the enterprise nor see it travelling down. at most, you see one frame of the red torpedo, then explosion. would be nice to see more frames of the torpedo travelling down so its clearer to the player
Supernova Escape: the torpedoes fired astern can be followed all the way down. Each takes OUT.torp.fly .4 s to reach the plasma, whatever the distance (its speed is set when it is fired: no faster than 380 px/s, the old speed, and no slower than 90), where before it crossed a short gap in a few frames; and it has a glowing trail (OUT.torp.trail 30 px, 0 = none) behind it, from the Enterprise down to it.
there is also debris that appear to disperse and then fade for the torpedo explosion. can you turn this off just for this level?
Supernova Escape: a torpedo's explosion in the wave no longer throws out the four chunks of debris that disperse and fade (also from the Borg explosion it is built on): OUT.blast.debris false (true = as before). Only this round; borgExplosion has a new option, noDebris, that other callers do not use.
when the rear torpedo explodes, part of the original animation has smoke puffs (shown as blocky grey patches that appear and fade). is it possible to turn that smoke off on this level only?
Supernova Escape: a torpedo's explosion in the wave no longer leaves the grey smoke puffs (the blocky grey patches that appear and fade; they came from the Borg cube explosion it is built on): OUT.blast.smoke 0 (10 = as before). Only this round: the other levels' explosions are unchanged.
make the beep louder
the power beep (1, 2, 3 in Dead In Space and Supernova Escape) is twice as loud: level 6.6 (was 3.3), peaks about 0.37.
@"computerbeep_65.mp3"
analyse this sound and reproduce it for each keypress on the supernova explosion and the dead in space levels for balancing power across different systems using the [1], [2], [3] keys only
Dead In Space and Supernova Escape: every press of 1, 2 or 3 (sending a unit of power to a system) plays a new beep, POWER_BEEP_SND, rebuilt from computerbeep_65.mp3 (0.336 s: four tiny clicks and three beeps of 2859, 4875 and 6703 Hz; SHIP_SOUNDS.powerBeep, sfx.powerBeep(), level 3.3; redacted). It plays on every press, even when the system is already at full power, but not while the key is held down.
remove the white flash on the environmental health bar and instead make it flash red at 20%
Supernova Escape HUD: the ENVIRONMENTAL HEALTH bar no longer flashes white (it did below 25%); at 20% and below (OUT.envFlash) it flashes between red and a dark red instead, 21-30% stays solid red.
colour code the environmental health bar: 0-30% = red, 31-70% = amber, 71-100% green
Supernova Escape HUD: the ENVIRONMENTAL HEALTH bar is colour coded by its percentage: 0-30% red, 31-70% amber, 71-100% green (OUT.envBar). The TEMP words keep their own colours.
for supernova escape level, can you create an upper non-interactive layer, with an undulating glow and/or haze that tracks the height of the plasma? i want to create a soft haze to mimic glare you see from bright object.
tell me where the hard boundary on the screen is in relation to position of something that already exists when you create it
Supernova Escape: a glare layer (OUT.glare), a soft haze in front of everything except the HUD (the Enterprise, rings and embers too) that follows the plasma's edge, flares and surges included. Two layers (a wide orange one reaching 130 px above the edge and a tight pale-gold one reaching 52 px) fade from nothing at their top to full strength at the edge and carry on at that strength below it; the reach undulates (two sines, 5.2 s and 3.1 s), the brightness pulses a little, and it is stronger the nearer the wave is. It does nothing to play (nothing touches it); OUT.glare.on false switches it off.
go with option 1
bonus summary screens: removed the second retry line (PRESS [SPACE] TO RESTART, which showed only for stages started from the bonus stage menu) and its key handler; the one [SPACE] TO RETRY line and handler cover every bonus round, so the message is no longer repeated and one press can no longer start the round twice.
at some point in the gameplay, you can hear both music tracks being played at the same time, and pressing [m] to turn off music will turn off one track but the other track will continue playing. so this surely is a bug, in that one track should ever be playing. find the cause or possible cause and fix.
music: guarded against two tracks sounding at once (and M silencing only one of them). Only one music player can exist now (a new one first stops and retires any earlier one), a player that is not the current one is paused the moment anything starts it (a media key, a late play promise), a stale player's 'ended' no longer starts another track, and switching the music off or pausing silences every player, not just the current one. Cause not reproduced; these close the ways two players could be alive.
rename outrun level to 'supernova escape' - update all menus with it and code references too
renamed the Outrun round to SUPERNOVA ESCAPE: its name on every screen and menu (OUT_NAME), the test URLs (redacted and redacted; the old redacted and outrunwave still work), the test-menu list, the help text, the starter functions (startSupernovaEscape) and the comments. The saved-setting key stays 'outrun' so settings already saved keep working.
that horizontal line issue is back, at the level start briefing view. the yellow line shows up on the enterprise's position. it rises up a bit then disappears about 10-30px above the enterprise. i managed to capture one screenshot (attached)
Outrun: fixed the faint horizontal line that showed across the screen near the Enterprise and rose and vanished (drawOutWave): the plasma picture was only cleared from its top row down, so a row left over from an earlier frame (when the flares stood higher) was blended into the first row of the scaled picture; the whole picture is now cleared every frame.
main upper hud, where torpedoes is shown, add the key '[c] ' before 'torpedoes [number]' where [c] in my example is the real key defined in settings.
Outrun HUD: the TORPEDOES line at the top now starts with the torpedo key as set in the settings, in the usual key colour ([C] TORPEDOES 24).
for life support HUD, change the colour for the small text below 'temp normal - rising ...." to the same pale grey purple colour used by speed and hits that are under engines and shields .
then change colour of environmental health to use same colour for warp ready and hull
Outrun HUD: the small line under LIFE SUPPORT (TEMP NORMAL, RISING...) is now the same pale grey-purple as the SPEED and HITS lines under ENGINES and SHIELDS, and the ENVIRONMENTAL HEALTH label is the same pale colour as WARP READY and HULL (its bar still takes the temperature colour).
when the shields are zero, and health is drawn from hull, does the screen shake? if not, when there's no shield, and hull health is 100-0% make the screen continuously shake
Outrun: with no shield left and the hull still standing, the whole screen now shakes all the time (before, only the wave's own rumble, which depends on the wave's distance and not the shield, and a short shake for each shockwave hit): 2.2 px each way with the hull whole, rising to 5.5 px as it is lost (OUT.hullShake lo, hi), on top of the wave's rumble (the larger of the two counts); it stops when the shield comes back or the hull is gone.
build cool trio pls
Outrun HUD: the cool trio of colours and a dark panel behind the lower HUD, for contrast over the plasma: engines violet #a98bff, shields cyan-blue #4fc3ff, life support mint-teal #3de0b0 (also its TEMP reading and ENVIRONMENTAL HEALTH bar), over a dark navy panel 78% opaque (OUT.hudPanel: on, x, y, w, h, rgb, alpha; OUT.cols, OUT.temp). Contrast against the plasma's colours behind a 75% panel (WCAG ratios, worst case): violet 3.9, cyan-blue 5.2, mint 6.1.
go with option 3
Outrun HUD: the TEMP reading under LIFE SUPPORT is again followed by a rate, now the real one: how fast the ENVIRONMENTAL HEALTH bar is changing right now, the wave's heat included (before, v500, it was only what the life support's power alone would do): TEMP NORMAL - RISING 0.12/S with the wave far off, about 0.99/S with it close; a minus in front (-0.20/S) when it is cooling; the game's font has no plus sign, so a rising temperature has no sign.
new briefing text : "A nearby star has gone supernova. Stay ahead of its explosions and shockwaves by allocating power between the impulse and warp engines, shields and life support for [duration time]".
Outrun's briefing text is now: "A nearby star has gone supernova. Stay ahead of its explosions and shockwaves by allocating power between the impulse and warp engines, shields and life support for 2:00" (the time is the round's length, OUT.duration), over two lines.
make the surge sparks less white and instead more yellowy-white.
Outrun: the flare surge sparks are yellow-white instead of white: pale yellow (#fff2b0) at first, then yellow (#ffd860), then orange (#ff9a30).
with each flare surge, send out faster particles from the tips
Outrun: with each flare surge, fast sparks fly up from the tip of every flare that is tall enough (22 px or more): about 30 a second from each for the first 0.7 s of the surge, at 180-360 px/s (the usual sparks go at 30-110, the long-range ones up to about 170) with 6-15 px streaks, white at first, then pale yellow, then orange (OUT.flare.surge.tips); up to about 200 of them at once, 60 fps in my test.
bring the line down by 2px
the [SPACE] TO RETRY line on the summary screens is 2 px lower (y 332, was 330).
on all end of level summary screens, under the main action (e.g. press enter), in small text, offer player to retry level... [space] to retry
every bonus round's summary screen (under PRESS ENTER) now offers, in small text, [SPACE] TO RETRY: SPACE plays the same round again from the start with a fresh Enterprise and a full shield (what the round earned this time is not kept; lives lost stay lost). The round is remembered when it starts (from the game's schedule, or a redacted= page or the jump-to-stage menu: bonusRestart). The jump-to-stage RESTART line stays, a line lower.
for supernova shockwave:
change distance foward to 25px
change drift back into place 4s
change distance added to HUD when lurched: 50px
for torpedo shockwave:
change time to get there to 1s
change drift back into place 5s
change distance added to HUD when lurched: 50px
Outrun: the two kinds of lurch have their own settings (OUT.lurch.ring for the supernova's shockwaves, OUT.lurch.blast for a torpedo's): supernova: forward 25 px (was 45), 0.72 s to get there, 4 s to drift back (was 3.8), the DISTANCE on the HUD goes up by 50 px (1,000 m) at its furthest; torpedo: forward 45 px, 1 s to get there (was 0.72), 5 s to drift back (was 3.8), the DISTANCE up by 50 px (1,000 m). The HUD's DISTANCE rises and falls with the lurch in proportion (a quarter of the way forward adds a quarter of the 50 px), and the +1000 M label shows when a lurch starts. OUT.blast.back and the old blastGain and ringGain are gone.
undo. i meant for each health bar segment (4 of them) that make up a complete health bar, reduce the spacing between them - it looks like there's a 2px gap.. make them 1px gap between each segment, not the 3 three columns
built from v504 (v505 undone: the three columns are back where they were): the four little boxes that make up each power bar (engines, shields, life support) are 1 px apart (OUT.pips.pitch 15; they were 3 px apart, at 17).
reduce the gaps between each health bar for engines, shields and life support
(undone: redacted) the three columns of the lower HUD moved closer together.
undo the colour changes for the key press and its label colour, revert to standard colours used elsewhere
Outrun HUD: the key and the name in the system labels ([1] ENGINES etc.) are back in the game's usual colours (the blue key and the pink name); the power units, the TEMP reading and the bars keep the new colours of v503.
separate the rising or falling with a hyphen ' - ' before it
change the colour of the engines HUD to a medium/dark purple so it shows up better against the plasma. make the shields HUD colour a slightly darker blue.
for life support hud colour, make text and bars red
Outrun HUD: the TEMP reading has a hyphen before the direction (TEMP NORMAL - RISING); the ENGINES (label and units) are a medium purple (#8e4ae6) so they show against the plasma; the SHIELDS a slightly darker blue (#3d9be0, was #60c8ff); the LIFE SUPPORT label, units, TEMP reading and its ENVIRONMENTAL HEALTH label and bar are all red (#ff4a4a: OUT.cols, OUT.temp; the bar's green-to-red steps are all red for now). The system labels are drawn wholly in their colours (the key and the name).
the temp HUD reading of 0.12/s doesn't make sense... maybe normal, elevated, high, critical as values? and this have a correlation/mapping to the environmental health bar?
Outrun: the TEMP reading under LIFE SUPPORT is now words that go with the ENVIRONMENTAL HEALTH bar: NORMAL (75% or more), ELEVATED (50-75), HIGH (25-50), CRITICAL (under 25: OUT.temp), in green, yellow, orange and red, with RISING or FALLING (or nothing when steady) for the way it is going; the bar is in the same colours (it flashes white at CRITICAL); and a warning message when it goes into HIGH and into CRITICAL (replacing the single one at 40%).
change 'you outran the wave' to 'escaped supernova' in the end level summary
Outrun: the summary screen's title when the round is survived reads ESCAPED SUPERNOVA (was YOU OUTRAN THE WAVE).
for the life support HUD, i don't think oxygen makes sense... i think it should be a measure of temperature inside the ship. so i think the oxygen loss reading should be temperature gain and the label should read 'Temp'.
The oxygen bar should read something like 'environmental health' and the bar should deplete as temperature rises
Outrun: the life support now means the temperature inside the ship, not oxygen: under LIFE SUPPORT the HUD reads TEMP +0.12/S (temperature rising; a minus when it falls) instead of OXYGEN -0.12/S, the bottom bar reads ENVIRONMENTAL HEALTH and falls as the temperature rises (as the oxygen did), the summary row is ENVIRONMENTAL HEALTH, and the messages say SHIP TEMPERATURE CRITICAL, CABIN TEMPERATURE CRITICAL n and COOLING SYSTEMS STABILISING; the rules and numbers are unchanged (OUT.life). Dead In Space still has oxygen.
make the shields at max close the distance even slower
Outrun: with the shields at the most the distance falls slower still: the wave keeps only 0.15 of its gain on the Enterprise (OUT.shield.closeK 0.15 at 4 units, was 0.3), about a seventh of the normal rate; the HUD shows CLOSING X0.15.
make the shields at max close the distance even slower
Outrun: with the shields at the most the distance falls even more slowly: the wave keeps only 0.3 of its gain on the Enterprise (OUT.shield.closeK 0.3 at 4 units, was 0.5), so about a third of the normal rate; the HUD shows CLOSING X0.30.
when shields are max (power is minimal) make the distance drop slower
Outrun: with the shields at the most (4 units, so little power for the engines) the distance to the wave falls half as fast: the wave's gain on the Enterprise (the difference in speed, when it is the faster) is multiplied by OUT.shield.closeK (1, 1, 1, 1, .5 for 0 to 4 units); the HUD shows CLOSING X0.50 under SHIELDS at 4 units. It does not change the wave's own speed, the other shield settings, or anything when the Enterprise is the faster. (Simulated with 4 units in the shields and 1 each in the other two: the distance was 51 px at 30 s instead of -89, and the Enterprise was lost at 48 s instead of 39 s.)
make the top right shield display show 0 as well.
lower the starting position of the supernova body by 10px
Outrun: (1) the top right shield display (the SHIELDS text and its bar) shows what the shield was at the end on the summary screen of Outrun and of Dead In Space (an empty bar, SHIELDS DOWN, when it was 0) instead of the refilled shield of the Enterprise that has come back; (2) the wave's body is drawn 10 px lower: its edge is no nearer than 145 px from the Enterprise (OUT.start.seen, was 135), at the start of the level and while the wave is far off.
on enterprise is destroyed, the summary screen shows shield left at 100% - confirm this is a bug, and fix
fixed: when the Enterprise was destroyed in Outrun the summary showed SHIELD LEFT 100%: the summary read the live shield, which the game refills when the destroyed Enterprise comes back (about 3.5 s after it is lost, while the summary is up). The shield is now noted when the round ends (or, for a loss of life support, at the moment it fails) and the summary and the bonus use that.
increase delay from flare surge to shockwave from 0.5s to 1sec
Outrun: the supernova's first shockwave of a surge leaves the wave 1 s after the flares start to surge (was 0.5 s: OUT.flare.surge.ring); the others in a group follow it 0.3 to 0.5 s apart as before.
make enterprise drift/fall back down from every shockwave lurch slower
Outrun: the Enterprise drifts back from every shockwave lurch more slowly: 3.8 s (was 2.4: OUT.blast.back), for both the wave's shockwaves and a torpedo's; the DISTANCE on the HUD comes back down at the same pace.
increase torpedoes to 24
Outrun: 24 torpedoes (was 6: OUT.torp.count); still one at a time, 5 s apart, so at most 24 in the 2 minutes.
make the supernova shockwave damage a little less still
Outrun: the supernova shockwaves do a little less damage still: 7 shield points before the shield's reduction (was 9: OUT.ring.damage).
make the supernova shockwave damage a little less still
Outrun: the supernova shockwaves do a little less damage still: 9 shield points before the shield's reduction (was 12: OUT.ring.damage).
reduce the supernova shockwave damage a little
Outrun: the supernova shockwaves do less damage: 12 shield points before the shield's reduction (was 16: OUT.ring.damage), a quarter less.
when flare surge happens, make the shockwaves appear as either 1 or groups of 2-3 (one followed by the other, vary the delay between them 0.3 to 0.5sec)
Outrun: at each flare surge the supernova shockwaves come either alone or as a group of 2 or 3, one after another (40%, 35% and 25% likely: OUT.flare.surge.group), the first 0.5 s after the surge starts and the others 0.3 to 0.5 s apart (a random delay each time). The HUD says SHOCKWAVES INCOMING for a group.
more tongues/flares. make them overall also surge higher more frequently. when they surge higher, make a shockwave follow 0.5s later
Outrun: more flares (3.8 to 7.5 a second, was 2.4 to 5.5); and the flares surge: every 8 s at the start of the round down to every 5.5 s at the end (the first at 14 s) all the flares rise 1.9 times as high (up in 0.35 s, back down in 1.1 s) with 5 new ones leaping up at once, and 0.5 s after each surge starts a supernova shockwave leaves the wave (OUT.flare.surge; the shockwaves now come only with the surges, so they replace the old timetable of 10 to 7 s: about 20 in the 2 minutes, was about 15).
make the supernova body / wall vary in distance (occupy the lower portion of the screen) by 10px-60px in additional range towards enterprise. make it fluctuate regularly.
Outrun: the wave's body surges: its edge swells towards the Enterprise by 10 to 60 px more and falls back, regularly (a smooth swell every 5.5 s: OUT.surge lo, hi, period); real: true counts it in the HUD's DISTANCE (it moves between about 200 and 1,200 m in the rhythm) and in the heat; false makes it only a picture.
make supernova shockwaves more frequent
Outrun: the supernova's shockwaves are more frequent: the first at 14 s (was 20) and then every 10 s at the start of the round down to every 7 s at the end (was 16 down to 11): OUT.ring.first, gap; about 15 in the 2 minutes (was about 9).
make trailing stars in backdrop brighter
Outrun: the trailing stars in the backdrop are brighter: the fast streaks are now 65-100% bright (were 30-80%) with a bright 3 px head (OUT.streaks.alpha, head), and the scrolling stars are 1.45 times brighter than in the other rounds (OUT.starBright).
make the haze a bit weaker still
Outrun: the heat haze a bit weaker still: OUT.haze.amp 1.1 (was 1.6) and flare 1.2 (was 1.4): about 1.1 px at the edge and about 2.4 px over a tall flare.
make the haze weaker.
Outrun: the heat haze is weaker: up to about 1.6 px at the edge (was 3.2) and about 4 px over a tall flare (was 9); OUT.haze.amp 1.6, flare 1.4.
apply a haze heat distortion effect, making it pronounced where the flares and plasma are
Outrun: a heat haze over the plasma and flares (OUT.haze): the picture behind and above the plasma (the stars, the glow, the edge itself) is cut into thin strips and shimmered sideways, strongest at the plasma's edge and fading out over 130 px above it, and up to three times stronger over a flare (the shimmer follows the flares' shapes as they rise and fall); up to about 3 px at the edge and about 9 px over a tall flare; 60 fps in my test; OUT.haze.on false turns it off.
make your recommended fix
fixed: the wave's edge jumped up 55 px when the Outrun briefing cleared (it was drawn at the real starting distance, 190 px, off the bottom of the screen during the briefing, and at the picture's 135 px cap once the round began): it now starts at the capped distance, so the plasma and the flares are in the same place through the briefing and the game.
i was expect the distance in the HUD to update and reduce the distance as the enterprise drifted /slowed down from the lurch
Outrun: the lurch's distance is temporary, as the lurch is: the HUD's DISTANCE (and the bar, and the heat) now takes the Enterprise's present lurch (px times blastGain or ringGain, in metres) so it goes up by up to 900 m as it lurches forward and comes back down as it drifts back to its place (before, v476 to v478 added it for good); the +900 M still shows when a lurch starts. The distance the engines bank is capped at 300 px again.
i asked you to add the distance traveled from any lurches to the distance meter in the HUD, based on max lurch defined, convert that to metres and display. sorry if i wasn't clearer before
Outrun: the distance a lurch adds now shows on the HUD's DISTANCE: it counted before, but the distance was held at the 300 px maximum, so at the start (when it is at the maximum) nothing seemed to happen. Now the engines still bank distance only up to the maximum, but what a lurch adds can take the DISTANCE past it (300 px, 6,010 m, plus 45 px, 900 m = 6,910 m) and it only comes down as the wave gains; and a +900 M (the lurch's furthest point in metres, times OUT.lurch.blastGain or ringGain) rises and fades beside the number each time a lurch starts.
i think v476 is not working as expected. the enterprise looks off the centre middle and is places slightly higher up, it does not lurch forward for either shockwaves. check
fixed v476: the Enterprise stayed 45 px up the screen after a lurch and never came back (a comment I added swallowed the line that switches the lurch to its drift back); it lurches and returns to the middle again, and the lurch's distance still counts (a torpedo's added about 42 px).
can you add to the distance the distance traveled away when a lurch is triggered?
Outrun: the distance a lurch moves the Enterprise forward (45 px, about 900 m) is added to the DISTANCE from the wave as it moves, and stays (OUT.lurch.blastGain for a torpedo's shockwave, OUT.lurch.ringGain for the wave's own rings; 1 = all of it, 0 = none; never past the 300 px maximum). Measured: a torpedo's lurch added about 39-45 px, a wave ring's 44 px.
i don't want the shields to slow the wave. disable this for now
Outrun: the shields no longer slow the wave (OUT.shield.slowOn false; set true to bring the v462 rule back: the wave keeps 1/.97/.93/.87/.8 of its speed for 0 to 4 units on the shields); the HUD no longer shows WAVE Xn under SHIELDS. The engines' slightly higher low speeds (55 and 105 px/s) stay.
given you know the enterprise's length in terms of 32px = 600 something metres in length, are you able to convert that 300px to the metre equivalent? if so, also change the HUD label from 'wave' to 'distance'
Outrun: the HUD's distance bar is labelled DISTANCE (was WAVE) and shows metres: the Enterprise is 641 m long and its picture 32 px, so 1 px = 20.03 m (OUT.metresPerPx): the 300 px at most is about 6,010 m, the heat range (140 px) about 2,800 m, and the picture's cap (135 px) about 2,700 m.
need more flares/tongues from the start and throughout the gameplay. also need more particles flying out from the plasma surface, make them vary in length and some extend twice the current range/length the torpedo ring looks a bit thick, reduce by 1px. if there is no inner graduated fade, then add one. slow the speed of the torpedo shockwave a tiny bit. explain again to me the …
also need more particles flying out from the plasma surface, make them vary in length and some extend twice the current range/length
the torpedo ring looks a bit thick, reduce by 1px. if there is no inner graduated fade, then add one.
slow the speed of the torpedo shockwave a tiny bit.
explain again to me the position of the plasma ball and/or flares and how it relates to the waves distance in px in the hud.
Outrun: more flares from the start and throughout (2.4 to 5.5 a second, was 0.6 to 3: about 5 on screen at once at the start); more sparks from the plasma (70 to 190 a second, was 30 to 110), drawn as streaks of 1-5 px, and 30% of them long-range sparks (1.55 times as fast, 1.35 times as long-lived, so about twice as far) with 4-11 px streaks (OUT.embers); the torpedo's ring is 1 px thinner (OUT.blast.width 1.4, was 2.4), its inner graduated fade is longer and stronger (40 px, was 22) and its speed a little slower (235 px/s, was 250).
undo the delay. slow ring down a bit more: 250px/s
built from v470 (v471 undone: no delay before the lurch; the lurch starts as the ring touches the Enterprise again): the torpedo's shockwave is slower, 250 px/s (was 330: OUT.blast.speed).
slow the torpedo shockwave a little. then add or increase the delay between torpedo shockwave reaching enterprise and lurch animation
(undone: redacted) a slower torpedo shockwave with a 0.3 s delay before the lurch.
when status is warp ready (level timer ends) wait another 2 secs before starting the warp out animation
Outrun: when the time is up (WARP READY at 100%, with a WARP DRIVE READY message) the round carries on for 2 more seconds (OUT.warpWait) before the Enterprise goes into warp.
the torpedo shockwave doesn't travel beyond the enterprise so make that happen. also make the ring fade more gradually, like the supernova shockwave.
Outrun: the torpedo's shockwave ring no longer stops 45 px past the Enterprise: it spreads on past it to the top of the screen (to the explosion's height plus 40 px), fading steadily all the way, like the supernova's own rings (before it faded faster and vanished just beyond the Enterprise).
make the torpedo shockwave one ring instead of the 2-3 rings.... think it will be clearer to see
Outrun: a torpedo's blast sends out ONE shockwave ring (OUT.blast.rings 1, was 3) so it reads more clearly; set rings back to 2 or 3 (spaced OUT.blast.ringGap apart) to bring the extra rings back.
less side to side wobble when lurching
Outrun: less side-to-side wobble when lurching: the rocking is 2.4 degrees (was 4) and the sideways movement 0.5 px (was 1); the number of swings and the duration are unchanged (OUT.wobble).
undo. sorry, i meant i wanted to see a little more of the plasma ball from the supernova when the level starts, closing the gap between it and the enterprise.
built from v464 (v465 undone): more of the supernova's plasma shows at the bottom of the screen from the start: the wave's edge is drawn no further than 135 px from the Enterprise (OUT.start.seen, was 176), so about 45 px more of it is in view when it is far away; the real distance, the heat and the gap number on the HUD are unchanged (the heat starts at 140 px, so the picture and the heat now agree closely).
put the wave distance to 280px
(undone: redacted) the wave starting 280 px behind.
reduce the number of left right wobble by 40% but keep the wobble duration
Outrun: the wobble after a shockwave has 40% fewer swings (4.2 a second, was 7: OUT.wobble.freq), the same length (1.6 s) and size.
the lurch animation for supernova shockwave looks and feels more natural than the lurch from the torpedo shockwave. are the lurch params different between the two? can you make the torpedo lurch the same as the supernova? in the lower HUD, there is shield health which is duplicated in upper HUD. replace the lower shield status with 'Warp Ready' and it's a repeat of the progres…
in the lower HUD, there is shield health which is duplicated in upper HUD. replace the lower shield status with 'Warp Ready' and it's a repeat of the progress bar for the level duration.
the orange status message in debug mode show 31s webgl lost and 2 instances of 31s canvas lost
(1) Outrun: a torpedo's shockwave carries the Enterprise exactly as the supernova's does (before, the torpedo's was quicker because its ring is faster, and its distance varied with the blast): one setting for both, OUT.lurch (45 px in 0.72 s, easing out, then back over OUT.blast.back); (2) Outrun's lower HUD: the shield bar (a repeat of the upper one) is replaced by WARP READY, which repeats the level's progress bar (45% = 45% of the time) and turns green at 100%; (3) the browser's graphics reset (the screen flash; redacted showed WEBGL LOST and two CANVAS LOST at once): the game now asks lost canvases to come back (they were never allowed to), puts the nebula backdrop back and makes the black hole and planet shaders again (tested with WebGL's lose/restore: the planet came back), small canvases are kept in ordinary memory instead of on the graphics card, and the debug line now says which canvas was lost (its id and size) and when it came back.
make the wobble much less violent.
when shields are set to max, the wave distance reduces way too fast, so slow it down - whether that in the maths with the interplay between the engines (speed of enterprise) and shields, or something else (another rule)
Outrun: the wobble after a shockwave is much gentler (4 degrees and 1 px, 7 times a second, easing away in 1.5 s: OUT.wobble); a new rule so that power in the SHIELDS holds the wave back: the wave keeps 1, .97, .93, .87 or .8 of its speed for 0 to 4 units (OUT.shield.slow; the HUD shows it as WAVE X.93 under SHIELDS), and the engines' lowest speeds are a little higher (55 and 105 px/s for 0 and 1 unit, were 40 and 100). With the shields at the most (and the engines and life support at 1 and 1) the wave took from 190 px behind to 258 px closer in 30 s instead of passing the Enterprise by 34 s (tested with a simulated player; that setting alone still loses, at about 76 s instead of 34 s).
i suspect it might be browser graphics glitch as i think the flash affected other browser windows or even the whole monitor screen. i will monitor and report back if it occurs again.
make the enterprise wobble stop for this level. however, 0.3 secs after the lurch is triggered, make the enterprise wobble fairly violently before easing back into non-wobble state.
Outrun: the Enterprise no longer has the storm's constant little wobble (shipLean); 0.3 s after a shockwave touches it (the wave's rings or a torpedo's) it shakes violently instead: rocking up to 12 degrees and 3 px sideways, 8 times a second, building up in 0.07 s and easing away over 1.8 s (OUT.wobble).
i've seen this a few times now, can't identify the trigger for it. browser screen flashes white, then enterprise disappears whilst everything else in the game still running, in mid-game.
redacted on the page's address shows a line at the bottom of the screen with what the Enterprise is doing (state, alive, hidden for the warp out, protected, where, lives, respawn wait, the round and its phase, and for Outrun the gap, hull, over, finale) and the last three errors, lost graphics (WebGL or canvas) and hidden or blurred page events, to catch the glitch where the screen flashes white and the Enterprise vanishes: take a screenshot when it happens. Nothing else changed.
half the lurch forward speed again, and make the lurch animation ease out, so the lurch slows down/decelerates by the time it reaches the maximum stated lurch forward distance
Outrun: the lurch is half as fast again (OUT.lurchSpeed .25: on average a quarter of the ring's speed, so about 0.55 s to go 45 px for a torpedo's ring and 0.7-0.8 s for the wave's) and eases out: it starts quickest and slows to a stop at its furthest point (40-50 px), then floats back over 2.4 s.
the animation is closer to what i envisioned. the ring triggering the lurch works, but i was wrong in making the enterprise match the ring speed in the lurch, as its too sudden / fast. so make it lurch, but let the ring continue at its own speed past the enterprise, make the lurch 50% slower than the original value, and i'll review and refine
Outrun: the lurch no longer matches the ring's speed: when a shockwave touches the bottom of the Enterprise it moves forward at half the ring's speed (OUT.lurchSpeed .5: about 125 px/s for the wave's rings, 165 px/s for a torpedo's), while the ring carries on past it at its own speed; up to 40-50 px, then it floats back over 2.4 s as before.
can you make enterprise lurch forward when any shockwave hits it, whether it's from torpedo explosion shockwave or from supernova? it lurches forward when the ring touches the bottom of the enterprise sprite and the lurch movement is governed by the ring speed, want the lurch to travel at the same speed as the ring speed for a max of 40-50px, before it floats back to center screen position
Outrun: the Enterprise is carried forward by ANY shockwave, the supernova's own rings as well as a torpedo blast's: from the moment the ring touches the bottom of the Enterprise's picture (OUT.shipHalf below its middle) the Enterprise moves forward at the ring's own speed (a wave ring 230-270 px/s, a torpedo ring 330 px/s) for at most 40-50 px (45 for a wave ring: OUT.ring.lurch; 40-50 for a blast by its strength: OUT.blast.lurch), and then floats back to its place over 2.4 s (OUT.blast.back). Tested: the offset reaches 45 px within about 0.15 s of the ring touching and eases back in about 2.4 s, for both kinds.
when enterprise lurches forward, make it lurch further and then make the animation for it to drift back to centre more gradual (slower).
also, i think the level is too hard to balance the power and shields without the supernova flares/plasma quickly engulfing the enterprise. any params you could change to make it easier for player, or so that the plasma/flares don't so quickly catch up with enterprise?
Outrun: the lurch is bigger (22 to 40 px, in 0.14 s) and the drift back to place much slower (2.4 s, easing out); EASIER (tested with simulated players over the 2 minutes: doing nothing is lost at about 80 s, a steady 4 units on the engines wins, a moderate player who reacts every 3 s wins with some damage, one who reacts every 5 s loses near the end): the wave starts 190 px behind and can be left up to 300 behind (was 170 and 250) and speeds up from 105 to 235 px/s (was 125 to 262), more slowly at first (curve 1.3); engine speeds 40/100/145/190/230 (were 40/95/140/182/225); the heat does less (shield 5.5/s, oxygen 2.0/s, 1.5 times more inside the wave: were 7, 3.6, 2.2 times); the shield recharges faster (1.5/3.5redacted a second for 1 to 4 units, after 2.5 s) and the oxygen falls slower (-1.0/-.45/-.12 for 0/1/2 units); shockwaves start at 20 s, come every 16 to 11 s and do 16 (were 14, 13 to 8, 20); 6 torpedoes (was 4).
remove the static star backdrop. the static stars weakens the movement perception. the torpedo explosion shockwave is drawn wrong, maybe i didnt explain clearly. i want the torpedo explosion shockwave to be a small fully visible circular shockwave originating at point of explosion spreading out (maybe in 2 to 3 concentric expanding rings) outwards and it hits the enterprise, ca…
the torpedo explosion shockwave is drawn wrong, maybe i didnt explain clearly. i want the torpedo explosion shockwave to be a small fully visible circular shockwave originating at point of explosion spreading out (maybe in 2 to 3 concentric expanding rings) outwards and it hits the enterprise, causing enterprise to lurch forwards and have screen shake.
Outrun: no static star backdrop (the plain starfield painted on the background canvas is left out, so only the scrolling stars and streaks show, which makes the movement clearer); the torpedo blast's shockwave redrawn as 3 thin, fully visible blue-white circles, one after another (OUT.blast.rings, ringGap), spreading from the point of the explosion until they have passed the Enterprise; when the first reaches it (not after a fixed delay) the screen shakes and the Enterprise lurches forward 10-20 px and settles back, and the plasma falls back as before.
yes pls. also, when a torpedo is fired (from the rear), when the torpedo hits a flare/tongue, make it show a large explosion (reuse previous assets from other levels, like borg cube exploding), it is this explosion, i want a smaller dedicated circular shockwave animation for (use same visual treatment as the supernova one), it is this shockwave ring from the actual torpedo touc…
also, when a torpedo is fired (from the rear), when the torpedo hits a flare/tongue, make it show a large explosion (reuse previous assets from other levels, like borg cube exploding), it is this explosion, i want a smaller dedicated circular shockwave animation for (use same visual treatment as the supernova one), it is this shockwave ring from the actual torpedo touching a flare or plasma that triggers the enterprise to temporarily lurch forwards 10px-20px before falling back to centre of screen position. obviously when this animation is played out, the body of the plasma and flares need to tail back a bit
Outrun: (1) the finale: when the time is up the Enterprise (hidden, and stood in for by its own picture) goes into warp with the warp entry animation from the lowered view (the stars rush faster as it accelerates), and the summary follows; (2) a torpedo that touches the plasma or a flare (the flares are now part of the edge it hits) sets off a big Borg-cube style explosion (borgExplosion with CUBE.shatter.explosion, 1.25 times its size) and a smaller circular blue-white shockwave (OUT.blast: the same look as the wave's rings: a glowing line and a graduated fade trailing on its inside) that reaches the Enterprise a moment later: it lurches forward 10 to 20 px (more for a nearer wave) and settles back to its place, with the push added to its speed as before; while the shockwave goes out the plasma falls back about 22 px and its flares shrink, then they come on again.
extend level duration to 2 mins (for testing). make shockwave rings opacity 20%, and add a trailing graduated fade on the inner side. make the enterprise only fire one torpedo at a time then a minimum of a 5 sec interval before next one can be fired. finally, i was thinking as this level nears the end, can you shift the position of the viewer's view/camera, so that the enterpr…
make shockwave rings opacity 20%, and add a trailing graduated fade on the inner side.
make the enterprise only fire one torpedo at a time then a minimum of a 5 sec interval before next one can be fired.
finally, i was thinking as this level nears the end, can you shift the position of the viewer's view/camera, so that the enterprise and the flares/plasma are keep relative to each other but shift them both downwards so that the enterprise y-axis position is near the bottom 2/3 of the screen, to allow for the warp out animation for the enterprise to be played out?
Outrun: 2 minutes (OUT.duration 120, for testing); the shockwave rings are 20% opaque (OUT.ring.alpha) with a smoothly graduated fade trailing behind their inner side (OUT.ring.trail 120 px) and a fainter flash as they pass the Enterprise (OUT.ring.flash); one torpedo at a time with at least 5 s between shots (OUT.torp.interval; the HUD shows RELOADING); in the last 14 s the view moves down over 7 s (OUT.shift) so that the Enterprise and the wave, the same distance apart, sit 60 px lower (y 240, two thirds down the screen), leaving room above for a warp out.
i can't see the torpedoes emanating from the rear of the enterprise, only hear the sound effect.
fixed: Outrun's torpedoes could not be seen: the game put the Enterprise at its usual height for the other rounds (y 322) while it fired, so the torpedo started at the bottom of the screen, by the wave (y 338), and went off at once. The Enterprise now stays at OUT.shipY (the middle) through the whole frame, so a torpedo leaves from under it (y 196) and visibly crosses the screen to the wave in about 0.4 s.
i do like the magnetic loops idea but disable for now, and maybe i can refine later.
i think maybe add a sparse short trailing starfield behind, or at least make the stars in the backdrop travel faster to give illusion is enterprise is travelling faster to escape the flares.
great job on the first attempt.
proceed with next steps
OUTRUN is now a whole round (redacted; settings row and schedule like the other bonus rounds; redacted is the wave on its own, with the old test keys): 6 units of power shared between ENGINES, SHIELDS and LIFE SUPPORT (keys 1-3, as in Dead In Space); the wave speeds up from 125 to 262 px/s over 60 s while the engines give 40-225 px/s, so the gap to the wave shrinks unless the engines get more of the power; within 140 px the wave's heat hurts the shield, then the hull, and the oxygen falls faster; shockwave rings (warned 1.4 s ahead) hit the shield; the fire key shoots a torpedo ASTERN (4 of them) that goes off in the wave and sends a blue ring up the screen that pushes the Enterprise forward (75 px/s, fading) with a small shield jolt, more the nearer the wave; hull 0 or oxygen 0 for 5 s loses the round; surviving 60 s gives a bonus (OUT.score). The magnetic loops over the flares are off (OUT.flare.loops); the stars scroll 1.7 times the Enterprise's speed and a sparse layer of short fast streaks rushes past, more of them the faster it goes. Settings in OUT. Simulated play (static, adaptive and torpedo bots): doing nothing is lost at about 28 s; best play wins with the wave about 130 px behind.
yes pls. 1 first
OUTRUN step 1, the wave only (redacted; not in the settings or the schedule yet): a wall of supernova / solar flare plasma fills the bottom of the screen (worked out pixel by pixel at half size: a rippling edge, two layers of boiling noise, white hot deep in, yellow, orange, red at the edge, a glow above it), with plasma tongues leaping from the edge, embers, shockwave rings that sweep up the screen and over the Enterprise (the screen flashes), a glow and shake that grow as it nears; the Enterprise is fixed in the middle. Test keys: 1 colours (solar flare / supernova), 2 and 3 distance, 4 and 5 age, 6 and 7 scroll speed, 8 ring. Settings in OUT.
uploaded the files. played first game on normal difficulty, achieved a score of about 150000. why wasn't i presented with enter name for scoreboard?
fixed: the name entry was skipped if the score changed after the last ship was lost (shots already in the air can still score for a moment, and the entry was dropped when the score no longer matched); the score is now read when the host answers, and again when saved. The game over screen also says SCOREBOARD NOT REACHED (the host did not answer properly) or NOT ENOUGH FOR THE TOP SCORES when there is no name entry.
on the top scores board, make a up and down arrow and scrollable container to be able to view all scores, not just the top 10.
the TOP SCORES board scrolls through every score kept (up to 100; the game now asks the host for 100, and redacted allows up to its KEEP): 10 rows show at once, with a scroll bar and up/down arrows on the right; UP/DOWN keys (or the bound up/down keys), PAGE UP/DOWN, HOME/END, the mouse wheel and clicks on the arrows or the bar scroll it; after saving a score the list opens with it in the middle (it flashes).
change the max characters to 13 characters, then update the names you had to truncate and use their full names as i supplied
names on the scoreboard may be up to 13 characters (SCORES.nameLen and $NAME_LEN in redacted; the name entry boxes are a little narrower); the prefilled lists now have THE DOCTOR, SEVEN OF NINE, TUCKER III and MAYWEATHER in full.
for the scoreboard, change to heading to "top scores". make me a prefilled scores json for for each difficulty level, with the same data: Q Picard Riker Data Worf La Forge Troi Crusher Guinan Barclay Sisko Nerys Odo Dax Bashir Quark O'Brien Nog Janeway Chakotay Tuvok Paris Torres Kim The Doctor Neelix Kes Seven of Nine Archer Porthos Tucker III Reed Sato Mayweather Phlox Kirk …
make me a prefilled scores json for for each difficulty level, with the same data:
Q
Picard
Riker
Data
Worf
La Forge
Troi
Crusher
Guinan
Barclay
Sisko
Nerys
Odo
Dax
Bashir
Quark
O'Brien
Nog
Janeway
Chakotay
Tuvok
Paris
Torres
Kim
The Doctor
Neelix
Kes
Seven of Nine
Archer
Porthos
Tucker III
Reed
Sato
Mayweather
Phlox
Kirk
Spock
McCoy
Scott
Uhura
Sulu
Chekov
Use the above names to populate the json files, but also assign milestone rounded scores to each of them in descending order, with Q's score as the maximum 2000000.
the scoreboard heading is TOP SCORES; names may now contain apostrophes (game and redacted); prefilled lists for the three difficulties are in scoredata/ (42 names, Q on 2,000,000 down to 2,500).
go ahead.
1. if by game mode you mean difficulty setting, then yes, separate boards
2. when game is over
3. both.
GLOBAL SCOREBOARD (SCORES; needs redacted next to the page, which keeps a top-100 list per difficulty in scoredata/): at game over a score that would get on the board asks for a name of up to 8 letters, digits, spaces, dots and dashes (the last name used is offered: typing replaces it; ENTER saves, ESC skips, BACKSPACE), then shows the board with the score marked; B opens the scoreboard on the home screen and the game over screen (LEFT/RIGHT change difficulty); the home screen shows the world best for the difficulty. Without the host (or in redacted= games) none of it shows. redacted tries another redacted.
for the mineral rush briefing, change 2nd line text to: "Collect as much mineral particles as you can by flying through them within [time]" where [time] is the duration of this level.
the Mineral Rush briefing's second line now reads "COLLECT AS MUCH MINERAL PARTICLES AS YOU CAN BY FLYING THROUGH THEM WITHIN [time]", with the time taken from ORE.time (1:00).
yes pls
the Mineral Rush's sparkles twinkle less in step: each glint's speed now ranges from 1.2 to 6 radians a second (was 2.2 to 4), and each sparkle's middle star pulses at its own speed between 0.8 and 3.2 (ORE.look.star is now [min, max]; it was one speed, 1.7, for all).
can you create larger patches of mineral, as large a some of the mist clouds overhead?
the Mineral Rush has big mineral patches (ORE.patch): now and then a group is a patch, 180 to 260 px across and about as big as a bank of mist, of 25 to 40 smaller sparkles scattered thickly through an oval (each collected on its own as the Enterprise flies through; they are carried by the currents like the others). About 7% of groups; about 5 in a round.
can you disable the orb looking glow from the mineral - make it so that i can re-enable it if i want it back
the Mineral Rush's sparkles no longer have the soft gold glow (the orb) round them: ORE.look.halo is false; set it to true to bring the glow back (its brightness is ORE.look.glow).
do it pls
the Mineral Rush plays only the first clear chime of the pick-up sound (SHIP_SOUNDS.pickupBeep, sfx.pickupBeep(): 0.13 s in, 0.11 s long, faded out over its last 0.04 s). New general option for any rebuilt sound: from / len / fade (play a slice, faded in over 5 ms and out). The full sound is still sfx.pickup().
make sound louder
the pick-up sound (SHIP_SOUNDS.pickup) louder: level 1.6 -> 2.6 (peaks about 0.21 instead of 0.13, as loud as the computer beep was).
@"pickup.mp3"
replace the sound with this one
the Mineral Rush's pick-up sound is now PICKUP_SND, rebuilt from pickup.mp3 (0.98 s, mono: chimes, a sparkling run and three low thumps; noise tables plus 27 tone lines, redacted): SHIP_SOUNDS.pickup (level 1.6, 4 voices, 2 variants) and sfx.pickup() to use it anywhere. The computer beep (v437) is still in the game as sfx.computerBeep(), unused.
@"computer_work_beep.mp3"
analyse this sound file and reproduce an embedded version of it for the sound to play when enterprise picks up mineral from the mineral rush level. make the sound generically accessible to use on other levels at a later date should i choose to replace the powerup pickup sound or use it for something else.
the Mineral Rush's pick-up sound is now the computer beep, rebuilt from computer_work_beep.mp3 (COMPUTER_BEEP_SND: a 3378 Hz tone as a 120 ms burst, ten 24 ms pulses and a closing burst, 0.64 s; tones only, from redacted): SHIP_SOUNDS.computerBeep (level 3.2, 3 voices), made at start-up with the other rebuilt sounds, and sfx.computerBeep() plays it anywhere (e.g. to replace the power-up pick-up sound later).
can you create a new level based off minefield, keep possibility of mines in this new level but turnit off for now, instead everything else stays, the mist, the currents, bumps. add the asteroid sparkles indicating the rare minerals, the sparkles float in space, and in this level, its pass over as many as you can to collect the rare mineral... objective fly and collect as many …
new bonus round MINERAL RUSH (ORE_NAME, working title; redacted, settings row, schedule like the Minefield): the Minefield's course with its mines switched off (ORE.mines: false; set true to bring them back) and the same currents, bumps, mist, asteroids and power-ups, plus floating rare mineral sparkles (gold glints with no asteroid) to fly over and collect in 60 s (ORE.time): singles and winding trails, carried by the currents, 50 points each; a bump lifts the Enterprise clear of them. Summary shows collected and missed.
on the planet rescue levels, when enterprise is within transporter range to pick up crew on planet, display message in HUD: "[V] initiate transporters to beam crew off planet", where V is the actual predefined key used to activate the transporter, defined in the settings.
planet rescue levels: when the Enterprise is within transporter range of a beam-up point that still has survivors (and the transporters are free), the HUD shows "[key] INITIATE TRANSPORTERS TO BEAM CREW OFF PLANET", with the key taken from the transporter binding in the controls settings (as the starship rescue's hint is).
in dead in space level, don't make the reinforcement ships warp along the same path and end up stacked on top of each other
ships that drop out of warp (the summon key, the Warp Effects test and the Starfleet ships that come to help in Dead In Space) are placed so that the place where each will STOP (not just where its ellipse opens) is at least 75 px from every other ship's and 60 px from the Enterprise, and inside the screen; before, only the ellipses were kept 70 px apart, so two ships could come out on the same line and end up on top of each other. Built from v433.
@"critical.mp3"
analyse this sound file and reproduce it as an embedded sound for use when the enterprise shield health is 20% or less. play this sound on levels where enterprise shields are zero but has an additional hull health (such as the dead in space level). if shield health is 20% or less or hull health is 100 to 0, play this periodically, every 10 secs.
critical shield alert: a sound rebuilt from critical.mp3 (CRITICAL_SND: two patterns of a short and a long buzzing beep, 3.65 s) plays when the Enterprise's shield is at 20% or less, at once and then every 10 s while it stays there (CRITICAL; on every level with a shield, including those where the hull takes over when the shield is gone, such as Dead In Space, where it carries on at zero shield). It is on the alerts channel, so BRIDGE ALERTS (the N key) mutes it. SHIP_SOUNDS entries can now be tones only (noNoise, dur) and repeat (repeat). Built from v432.
make the warp entry sound a bit louder
the warp entry sound is louder: level .55 (was .45; its loudest peaks are just under full scale). Built from v431.
@"tng_warp5_clean.mp3"
analyse this sound file and reproduce it as an embedded sound for use when a ship goes into warp (warp entry) during its animation sequence. this is for all starfleet vessels only and for all levels. i may need to undo.
a Starfleet ship going into warp (the warp entry) plays a new sound rebuilt from tng_warp5_clean.mp3 (WARP_IN_SND, 6.4 s: a climbing chorus of tones, then a loud whoosh that comes in as the ship dashes into the ellipse, whatever its size; level .45), instead of the four synthesised tones; enemy ships going into warp keep the old tones. New: SHIP_SOUNDS entries can have corr (partly shared noise between the two sides) and sync (a moment that is lined up with the animation). Built from v430.
make the warp exit sound a bit louder still
the warp exit sound is louder still: level .9 (was .65; its peaks about 0.42, as the recording's). Built from v429.
make the warp exit sound a bit louder
the warp exit sound is louder: level .65 (was .45; its peaks about 0.3). Built from v428.
@"tng_warp_out4.mp3"
analyse this sound file and reproduce it as an embedded sound for use when a ship comes out of warp (warp exit) during its animation sequence. this is for all vessels and for all levels. i may need to undo.
a ship coming out of warp (the warp exit, every vessel, every level) plays a new sound rebuilt from tng_warp_out4.mp3 (WARP_OUT_SND: 3.6 s of rumbling stereo whoosh, level .45, up to 3 at once) in place of the old synthesised chirp. The warp entry's sound is unchanged. Built from v427.
increase enemy warning to 2.5s
Dead In Space: the enemy's warning before it fires lasts 2.5 s (was 1.5 s). Built from v426.
with that change, the shields, weapons and life support segmented bars now display gaps at either end of the fill for each filled segment. each filled segment should be solidly filled.
Dead In Space HUD: a filled box of the shields, weapons and life support gauges is solid right out to its edges (no gap between the outline and the fill); the flashing box of a unit on its way fills the inside of its outline. Built from v425.
make the shields, weapons and life support health bars vertically shorter by 3px. then make hull, oxygen and enemy bars 2px vertically shorter.
Dead In Space HUD: the boxes of the shields, weapons and life support gauges are 3 px shorter (5 px tall, was 8; the note under each moves up 3 px with them), and the hull, oxygen and enemy bars are 2 px shorter (3 px tall, was 5). Built from v424.
on this level only, detect if enemy is behind the ship's rear. if so, when torpedoes or spread is fired, fire from the back of the enterprise
Dead In Space: when the nearest enemy ship is behind the Enterprise (more than 90 degrees off its nose; DIS.rear), photon torpedoes, the spread and quantum torpedoes leave from its back, and fly backwards; the REAR TORPEDOES setting is not used on this level. Built from v423.
make each step change in either shield, weapons or life support faster
Dead In Space: a unit of power takes 0.5 s to move between systems (was 0.9 s; DIS.pips.reroute). Built from v422.
extend this from 2.5s to 5secs
Dead In Space: the grace at 0% oxygen before the crew is lost is 5 s (was 2.5 s). Built from v421.
does the screen shake when the enterprise (with or without its shields) get hit on this dead in space level? if not, make it do so.when shields are hit, use the normal shake values. when shields are gone and hull taking damage, make screenshake more violent/harder
Dead In Space: the screen shake when the shield takes a hit is the game's usual one (0.7 s, 3 px: SHIELD_FLASH.shake; it was 0.3 s, 3 px); when a hit gets through to the hull it is much harder: 1 s, 9 px (DIS.shake.hull; it was 0.5 s, 5 px). Built from v420.
change it to 1.5 secs from 1.3
Dead In Space: the enemy's warning before it fires lasts 1.5 s (was 1.3 s). Built from v419.
make it when weapons setting is at max, use the upgrade phaser visual styling used when a powerup is picked up on other levels. for this level, if the accuracy isn't applied, make sure any accuracy rules for phaser fire is applied.
Dead In Space: with the weapons at full power (4 units) the Enterprise's phaser has the upgrade's look (thicker, orange beam) and its better aim (+20% to hit), as with the phaser upgrade power-up elsewhere (restored to what it was when the round ends; the power-up's own timer readout is not drawn here). The phaser's accuracy rules now see the enemy ships' speed (they did not before: a moving ship was as easy to hit as a still one). Built from v418.
make the scorch marks a bit darker
Dead In Space: the hull's scorch layers are 4.5% each (was 3%), so the marks are darker (DIS.scorch.alpha). Built from v417.
when shields are gone and hull starts taking damage, when hull takes a hit, display very light scorch marks on enterprise hull, they build up to form darker ones (multiple layers with opacity 3%?). then as hull damage progresses, then layer on top a small fire/sparks. by hull damage is 90%, show 2 fires/sparks on top of scorch marks.
Dead In Space: damage to the hull shows on the Enterprise: each hull hit adds layers of very faint scorch (3% each, one for every 2 points of damage; they pile up on a spot and on repeat hits to darker marks, cut to the ship's shape), a small fire with sparks on the darkest spot from half the hull gone, and a second fire from 80% gone (so two by 90%). Built from v416.
from user testing, need a one liner in in-game HUD to say enterprise cannot move when they were tapping on arrow keys as some users clearly didn't read briefing message
Dead In Space: pressing a movement key (turn, thrust, brake, strafe or teleport) while the Enterprise cannot move shows THE ENTERPRISE CANNOT MOVE: ENGINES AND THRUSTERS ARE OFFLINE under the title for 2.5 s, with a low buzz, for players who did not read the briefing (not while the crew are out: that message has priority). Built from v415.
make this level 30 sec longer
Dead In Space is 30 s longer: help arrives at 100 s (was 70), the second enemy at 60 s (half way, was 45), the round lasts about 113 s (was about 83). Built from v414.
go with the short grace and dead weapons
Dead In Space: at 0% oxygen the crew start to pass out: the weapons are dead (no torpedoes, spread, quantum or phaser) and a red count (2.5 s, was 6) shows; if power reaches life support in time and the oxygen rises, the count stops and the crew come round; otherwise the round ends with LIFE SUPPORT FAILED. Built from v413.
disable enterprise turning/rotating on this level. keep config in, in case i want to turn it back on. when level starts make sure enterprise starts off at an angle (not nose pointing up at 0 degrees). make enterprise wobble a little more
Dead In Space: the Enterprise cannot turn (DIS.canTurn false; DIS.turn .12 is kept for turning it back on, and the briefing and its keys change with it); it starts at an angle 40-140 degrees either way from straight up (DIS.startAngle), and points up again afterwards; it wobbles more (4.5 px, DIS.shipWobble, was 3.2; the enemy's stays 3.2). Built from v412.
make one or both of the starfleet reinforcement ships fire their phasers at least once at either or both of the enemy ships (if 2 of them survive) before they turn away to warp out.
Dead In Space: each Starfleet ship that comes to help fires its phaser at an enemy at least once (half of them twice) once it has come out of warp and turned to face them, and the enemies do not turn to leave until each has fired, or 6 s have gone past. The beams are for show: they do not hurt the enemy, but flash it and throw sparks. Built from v411.
reduce opacity of flashing box in the bars to 50%
Dead In Space: the flashing box of a unit of power on its way is 50% (was 75%). Built from v410.
when the status bars for shields, weapons and life support change, change the temporary flashing white fill into their key colour but make them opacity 75%
Dead In Space: a unit of power on its way to a system flashes in that system's colour at 75% (DIS.pipFlash), not white. Built from v409.
go with option 1, small health bar over each enemy
Dead In Space: a small health bar over each enemy ship (DIS.bar): red, then amber under half, then bright red under a quarter, flashing white when it is hit. The ENEMY gauge at the bottom stays as the total. Built from v408.
make the enterprise turn slower for this level only.
does the enemy health bar only show for the first enemy ship? how does player know health for second enemy ship?
Dead In Space: the Enterprise turns more slowly still (0.12 of its normal turn, was 0.18). Built from v407.
the second enemy ship needs to be the same as the first enemy ship
Dead In Space: the second enemy ship is the same kind of ship as the first (it was a different one). Built from v406.
if both enemy ships survive when starfleet ships arrive, make the enemy ships stagger their warp exits by 1.5-3 seconds.
Dead In Space: when help arrives and both enemy ships are still there, they go into warp one after the other, in a random order, the second 1.5-3 s after the first (DIS.arrive.stagger). Built from v405.
make a second enemy ship warp into view (warp exit) about half way into the level duration.
Dead In Space: a second enemy ship (a different one) drops out of warp half way through (45 s, DIS.enemy.second.at), on the other side of the Enterprise and facing it, with the warp exit; it then joins the circling, drifting out to the circle from where it stopped; the two take turns to fire and both leave when help arrives. ENEMY DRIVEN OFF now needs every enemy that came to be driven off. Built from v404.
make enemy delay between pre-fire warning and actual firing slightly longer.
Dead In Space: the enemy's warning before it fires lasts 1.3 s (was 0.95 s). Built from v403.
on the in-game hud showing shields, weapons and life support metrics, make the X in 'X[num]', '/s' and % opacity 60%
Dead In Space HUD: the X of the multipliers (HITS X1.00, DAMAGE X1.00), the /S of the oxygen rate and the % of the hull, oxygen and enemy gauges are drawn at 60% brightness (DIS_DIM). Built from v402.
shift the enemy warp ellipse colour more to the white end of their core colour, then increase opacity of the ellipse a little more
the enemy warp ellipse is further towards white (WARPFX.ellipse.white .75, was .55; the inner ellipse .9) and a little more opaque (0.7 of a Starfleet ship's, was 0.6). Built from v401.
is it possible to use the size of the sprite to use as a way to judge the acceleration into warp? e.g. romulan warbird is the biggest sprite in size dimensions, so i want it slower to accelerate and enter warp tunnel. whereas smaller ships (true to scale sizes) should be faster.
warp entry speed follows the ship's size (WARPFX_ENTRY.size): a ship's biggest dimension against the Enterprise's 32 px, to the power 0.7, between 0.75 and 1.7, multiplies the time it takes to speed up and to dash into the ellipse (a Romulan Warbird, 52 px, takes about 1.4 times as long as the Enterprise; a small true-to-scale ship about 0.75 times). Built from v400.
now increase the opacity of the ellipse to the previous amount
the enemy warp ellipses are back to 0.6 of a Starfleet ship's brightness (was 0.45); the pale colour of v399 stays. Built from v399.
i think the enemy warp ellipse i'm looking is to take their core colour, then shift it towards white. currently its too much core colour / too rich in the colour saturation.
an enemy ship's warp ellipse is its weapon colour shifted towards white (WARPFX.ellipse.white .55 for the body, a quarter more for the inner ellipse), so it is a pale tint and not the full colour. Built from v398.
make the enemy ellipses a bit fainter still.
also, when the enterprise is hit, it's shield is not aligned up with the ship. most times, it's clearly offset from the enterprise. check pls
warp ellipses of enemy ships fainter still (0.45 of a Starfleet ship's, was 0.6). Dead In Space: the Enterprise's wobble now moves the ship itself instead of only its picture, so the shield bubble (which was drawn on the ship's real place, up to about 4 px off the wobbling picture), the torpedoes, the phaser and the enemy's beams all line up with it. Built from v397.
can you make the ellipse for warp entry and exit for enemy ships less opacity? keep the starfleet one the same
the warp exit and entry ellipses of enemy ships are less opaque (0.6 of a Starfleet ship's: WARPFX.ellipse.enemy; the body, the inner ellipse, the glow and the flash peak). Starfleet ships' ellipses are unchanged. Built from v396.
is it possible to configure the warp entry and exit ellipses to have the key colour for the enemies and retain the white for starfleet ships? so romulan ships, are green, with green weapons, should have a green ellipse (retain the opacity levels)? i may ask for undo
the warp exit and entry ellipses take the colour of an enemy ship's weapons (green for the Romulans, golden for the Ferengi, amber for the Cardassians, and so on); Starfleet ships keep the white. The brightness, size and fading are unchanged. Built from v395.
make ships dropping out of warp face the enemy
Dead In Space: the Starfleet ships that drop out of warp come out facing the enemy (never within 140 px of it), and afterwards turn to keep facing it as it moves (they turn at up to 1.1 rad/s). Built from v394.
remove the trailing stars animation. the scene is in stationary space
Dead In Space: no falling star streaks (the Asteroid Storm's speed lines were showing): the scene is still space. Built from v393.
when enterprise is destroyed, why is the shields remaining stat on summary screen stating 100%?
Dead In Space: the summary's SHIELDS REMAINING is the shield when the round ended (it showed 100% after the Enterprise was destroyed, because the new ship's full shield was read as the summary came up). Built from v392.
make the enterprise on this level only turn more slowly.
Can you make the enemy ship move outside of the circle path, so that it can freely move backwards to any region between the screen boundary and the circle path?
Dead In Space: the Enterprise turns more slowly (0.18 of its normal turn, was 0.3); the enemy now also drifts out from its circle, towards the edges of the screen (up to a box that keeps it off the title and the gauges), and back, every 3-6.5 s, easing in and out. Built from v391.
on the end of level summary screen, change 'shields left' to 'shields remaining'. the circular movement of the enemy ship is too boring... make it stay stationary for awhile and when moving in a circular path, change direction sometime. when stationary, both ships should have the slight wobble effect. for enemy ship, the circular path is too perfect, can there maybe be a a lit…
the circular movement of the enemy ship is too boring... make it stay stationary for awhile and when moving in a circular path, change direction sometime. when stationary, both ships should have the slight wobble effect.
for enemy ship, the circular path is too perfect, can there maybe be a a little variable like a 2-4 px variable in any direction?
Dead In Space: the summary says SHIELDS REMAINING; the enemy now moves for 3.5-7 s (round the Enterprise, either way, easing in and out), then holds still for 2-4.5 s (starting still), and its path wanders up to 3 px off the perfect circle in any direction; when it is still it, and the Enterprise, wobble gently (3.2 px). Built from v390.
go ahead, build that first version
new bonus round DEAD IN SPACE (redacted; a Bonus Stages settings row that starts OFF, and in the schedule): the Enterprise has no engines and can only turn slowly; one enemy ship circles it and fires with a warning charge; keys 1, 2 and 3 move power between shields, weapons and life support (6 units, 4 at most each, a move takes 0.9 s); oxygen is a clock; hull takes hits once the shield is gone; at 70 s two Starfleet ships drop out of warp and the enemy turns and goes into warp (the warp entry); driving it off first gives a bonus. Built from v389.
the enemy's way out of the screen is never towards the Enterprise; enemy hit points 150 (a full-power weapons run takes about a minute to drive it off). Built from v389.
make the backdrop for the test page a static image, maybe starfield / and/or nebula, with only moving thing, mist layer
the Warp Effects test page (redacted) has a still backdrop: the stars no longer drift and the dust is gone, so the only thing that moves is the mist. Built from v388.
for both warp effects (entry and exit) make the star walls 50% opacity
the star walls of both warp effects (exit and entry) are drawn at 50% opacity (WARPFX.tunnel.opacity .5; the streaks and their head dots). Built from v387.
make the length of the entire star trail wall/line 2/3 shorter, not the individual trails.
warp entry: the whole star wall on each side of the tunnel opening is two thirds shorter (WARPFX_ENTRY.open.length 62 -> 20.7 px) and the stars flow a third as fast along it, so each takes as long to pass; the individual streaks are back to their full length (v386's shortening is undone). Warp exit unchanged. Built from v386.
amazing first attempt. just refinement. make the star trails on the edge of the wrap tunnels 2/3 shorter. only for warp entry, not warp exit
warp entry: the star streaks on the walls of the tunnel are two thirds shorter (WARPFX_ENTRY.open.streak 1/3); the warp exit is unchanged. Built from v385.
i'm ready for you to try build the warp entry animation for the starfleet vessels. you did a great job at the warp exit animations and i think parts of it can be reused with some modification. here's the requirement: Animation 2: entry to warp The ship accelerates forward (in whatever angle it’s facing) a short distance. As it accelerates, a blue glow emanates from the warp …
here's the requirement:
Animation 2: entry to warp
The ship accelerates forward (in whatever angle it’s facing) a short distance. As it accelerates, a blue glow emanates from the warp nacelles momentarily.
A blue light strip emerges from the tail of the ship’s warp nacelles.
The ship continues to accelerate with any nacelles leaving behind extending light trail.
This light trail is a tint brighter than the standard warp nacelle blue used in the sprite.
Now, up ahead the ship’s forward path, elements of the warp exit animation is used to denote warp tunnel opening.
The ellipse animation starts followed by the warp entrance trailing stars on either side of opening, only this time the trail direction goes inwards towards the ellipse.
Once warp entrance and trailing stars animation complete, make the ship accelerate really fast into the warp tunnel entrance. As the sprite enters the image should clip so the tip of the front of the enterprise should look like it’s disappearing into the warp tunnel entrance (ellipse).
The trailing light strip(s) from ship’s warp nacelle(s) catches up (shrinks the length) and disappears by the time the ship completes its entry into the warp tunnel.
Once the ship and its nacelle light trails have completely disappeared, then the warp tunnel ca [rest of this long pasted text left out]
WARP ENTRY animation (warpEntry, WARPFX_ENTRY): the ship accelerates forward with a blue glow at its nacelles and brighter blue light strips stretching behind them; up ahead the ellipse opens and the star walls flow in towards it; then the ship accelerates fast into the ellipse (clipped, so its nose disappears into it) while the strips shrink away; then the walls fade and the ellipse shrinks away, fading. New test stage redacted (an empty starfield, not in the schedule or the settings): [ brings in a random Starfleet ship out of warp, ] sends one of those in view into warp. Built from v384.
go with AAC 96 kbps, build it as v384
a second music track, Majestic Ascension (3 min 15 s, AAC 96 kbps, in <script id="bgm2">), plays after the first and the two go round and round (they no longer loop one track). Game file 8.21 MB. Built from v383.
make it slightly less often.
Minefield power-ups slightly less often: one every 5-8.5 s (was 4-7), the first after 6-9 s. Built from v382.
add more powerups especially shields
Minefield: many more power-ups, mostly shields (POWERUP.minefield: one every 4-7 s, was 8-14, up to 4 about at once; shield weight 4 of about 7). Built from v381.
sprinkle small to medium sized asteroids throughout the course. they also get carried along with current flow. if a mine explodes and asteroid is in proximity, then they explode too. medium asteroids explode into 4 smaller pieces that get flung out in different directions that the enterprise has to shoot or avoid. if a flung out asteroid piece gets near another mine then that a…
Minefield: small and medium asteroids (about 110 in the run) are scattered through the course. They hang in space like the mines, are carried by the currents, take 1 (small) or 2 (medium) hits, and cost shield if they hit the Enterprise (12 / 20). A mine blast near one destroys it: a small one is gone, a medium one bursts into 4 small pieces flung out in different directions (shot medium ones break into 2 gentler pieces). A flung piece that reaches a mine sets it off. Built from v380.
increase number of bumps
50% more bumps in the Minefield: the gap between them is 280-510 px of scroll (was 420-760). Built from v379.
replace the sound with the sound of enterprise exploding.
a mine explodes with the sound of the Enterprise exploding (sfx.die: five deep booms close together, SHIP_BOOM_SOUND) in place of the Borg sphere's, and MINE.boomVolume is gone. Built from v378.
make the mines explode 50% louder still
a mine explodes another 50% louder (MINE.boomVolume .45, 2.25 times the Borg sphere's). Built from v377.
make the mines explode a bit louder
a mine explodes 50% louder (MINE.boomVolume .3; the Borg sphere's sound it uses is .2). Built from v376.
undo. assign the sound(s) used in a borg explosion to it
the layered mine explosion sound (v375) was undone, and a mine now explodes with the sound a Borg sphere makes (sfx.boom(3)) and nothing else; the extra growl and noise it had before are gone. Built from v374; the v375 version is kept as redacted.
make the mine explosion sounds bolder/with a rumbling effect - sorry, don't know how to describe it. make it more realistic
(undone) the mines' explosion sound is bolder and more realistic (MINE.sound, mineBoom): a sharp crack, a heavy blast body that falls away, a deep thump, a growl, a long rolling rumble (1.6 s, its loudness wobbling 12 times a second), and a smaller thump after 0.2 s like an echo. Built from v374.
make the rumble fade in and out
the Minefield's rumble fades in over 1.5 s from the first mine and out over 2 s after the last (MINE.rumbleFade). Built from v373.
the rumble start as soon as level started. i want it to start only when enterprise reaches first mine. the rumble should likewise only stop as it passes the last mine at the end of the level
the Minefield's rumble starts when the first mine reaches the Enterprise and stops once the last mine has passed it (it was on from the start of the run). Built from v372.
make screen shake whilst in minefield only
the Minefield's screen shakes all through the run (a constant rumble of 2 px, MINE.rumble; the Screen Shake setting turns it off). No other stage changes. Built from v371.
triple the health of mines so harder to destroy
a mine takes 3 hits to destroy (MINE.hp; it was 1): a torpedo or a phaser shot counts 1, a quantum torpedo 2. A hit that doesn't destroy it flashes it white with a few sparks. Built from v370.
revert to v366 , before the chain reaction idea
the chain-reaction idea (v367-v369) was undone: v370 is v366 again, with the version number changed. The chain versions are kept as redacted, v368 and v369 likewise. Built from v366.
make chain blasts do 1.5 times the damage too
(undone) blasts in a chain reaction do 1.5 times the damage (39 shield points at the centre, down to 13.5 at the edge; MINE.cascade.dmgMul), as well as being 1.5 times as wide. Built from v368.
make shockwave ring speed 160 px/s. then slow the shockwave animation slightly.
(undone) the chain reaction's shockwave travels at 160 px/s (was 320: it takes about 1 s to cross its 160 px, and each mine is set off later by its distance), and each blast's own expanding ring lasts 0.55 s (was 0.4; MINE.ringLife). Built from v367.
i want to discourage use of photon torpedoes and the spread, as it makes the level quite easy. so i was thinking can you make it such that if they were used, it triggers cascading explosions across nearby mines, from the shockwaves passing across neighbouring mines and triggering them to explode also, that way, enterprise's health is affected more and discourage player from using them
(undone) in the Minefield a torpedo, spread or quantum torpedo that hits a mine starts a chain reaction (MINE.cascade): a shockwave (130 px, 320 px/s) sets off the mines near it, and their blasts do the same for 3 blasts in a row (no points for them). The phaser doesn't: it sets off only the mines within 52 px. The briefing says so. Built from v366.
(undone) the chain reaction reaches further (160 px, 4 blasts in a row) and each blast in it is 1.5 times as wide (96 px), as a dodging bot that fired torpedoes all the time was hardly hurt otherwise.
increase blast radius a little
the mines' blast reaches 64 px (was 56), with full damage within 19 px (was 17). Trigger distance (45 px) and chain reaction (52 px) unchanged. Built from v365.
go with gentle drifting contours, build it as v365
undo
the drifting bump contours were tried and undone: v365 is v364 again (the contour version is kept as redacted). Built from v364.
make the mist less opaque, only 5-15%
the Minefield's mist is much thinner: 5-15% opacity per puff (was 70-90%), so the Enterprise and the mines show through it. Built from v363.
add a layer of fast moving mist above the playable layer. i want the enterprise and mines to be temporarily and obscured.
the Minefield has banks of fast mist (MINE.mist) that sweep down the screen every 7-13 s, in front of everything, and hide the Enterprise and the mines for about a second. Built from v362.
add slightly more mines
about 15% more mines: the gap between rows is 0.87 of what it was (84-115 px at the start, 54-77 at the end). Built from v361.
make the mines slightly bigger
make the mine trigger and blast distances a bit bigger again, but less than original
the mines' reach is between v360's and the original, about 80% of the original: arm within 45 px, blast 56 px (full damage within 17 px), chain 52 px, the light speeds up from 155 px. Built from v360.
make the mine trigger and blast distances smaller too
the mines' reach is smaller, about 60% of before: they arm within 34 px (was 56), the blast reaches 42 px (was 70; full damage within 13 px, was 22), the chain reaction 40 px (was 64), and the light starts to speed up at 120 px (was 190). Built from v359.
halve the size of the mines and then increase number of mines in the level by a third
the mines are half the size (drawn at 0.5, hit radius 5 px; the trigger and blast distances are unchanged) and there are a third more of them (the gap between rows is 0.75 of what it was). Built from v358.
instead of the small squares that make up the mine's 'spikes' draw them as triangles pointing outwards
the mines' eight horns are triangles pointing outwards (were small squares). Built from v357.
make the game duration 2 mins
the Minefield run is 2 minutes long (MINE.length 24,650 px, was 6,200; about 120 s at its scroll speed). The mines, bumps and currents are laid out by distance, so there are about four times as many. Built from v356.
yes to shooting, bump immunity and fuse — build it as v356
new bonus round, MINEFIELD (redacted, a settings row, in the schedule): the Asteroid Run through proximity mines. A mine wobbles, with a red light that blinks faster as the Enterprise nears; inside 56 px it arms (rapid white-hot blink, 0.42 s fuse) and then explodes, hurting within 70 px. Mines can be shot (torpedoes, spread, phaser: chain reaction, +40). The Wormhole's bumps lift the Enterprise (mines can't arm on it and blasts miss it while it is up); the Crossing's space currents carry the Enterprise and the mines. About 30 s. Built from v355.
make the X in the lives count 70% opacity instead
the X in the lives count is 70% opacity (was 80%). Built from v354.
in the game HUD, where number of lives are shown, make the X in 'x[number of lives]' opacity 80%
the X in the lives count on the HUD (X3 and so on) is drawn at 80% opacity; the number stays fully bright. Built from v353.
go with option A, existing saved keys become custom. Predefined layout 1 - arrow keys: left = left arrow right = right arrow thrust = up arrow brake = down arrow strafe = shift photon torpedoes = C photon spread = X phaser = space quantum torpedo = Z teleport = ` transport = V Predefined layout 2 - WASD keys: left = A right = D thrust = W brake = S strafe = shift photon torped…
Predefined layout 1 - arrow keys:
left = left arrow
right = right arrow
thrust = up arrow
brake = down arrow
strafe = shift
photon torpedoes = C
photon spread = X
phaser = space
quantum torpedo = Z
teleport = `
transport = V
Predefined layout 2 - WASD keys:
left = A
right = D
thrust = W
brake = S
strafe = shift
photon torpedoes = ,
photon spread = .
phaser = space
quantum torpedo = /
teleport = `
transport = V
SHIP CONTROLS has a MAIN CONTROLS row first: LAYOUT 1 (arrow keys; C, X, Z torpedoes, SPACE phaser, ` teleport, V transport; the default), LAYOUT 2 (WASD; comma, period, slash weapons) or CUSTOM (the player's own keys, one column, no alternate). The two layouts are fixed; keys saved before this become CUSTOM. Built from v352.
make mirv purple border 1px thinner
MIRV purple glow 1 px thinner all round (radius 25.4 px, was 26.4). Built from v351.
make mirv bombs a bit slower still.
also remove the swerve capability of the mirvs / mirv bombs
MIRV bombs slower still (0.4 of the cube bombs' speed) and no longer sidestep fire. Built from v350.
make mirv bombs travel slower
the bombs from a MIRV fly slower (0.55 of the cube's bombs' speed, LAST.mirv.bombSpeed). Built from v349.
make it that the mirv split happens inside the bottom-most viewable area
MIRVs split 100-180 px above Earth's top (was 230-290), always inside the lowest view. Built from v348.
go with option 1 and raise the split height a little
bombs from a MIRV take 1.5% of Earth each (the cube's own take 2.5%), and MIRVs split a little higher, 230-290 px above Earth's top (was 170-230). Built from v347.
reduce frequency of mirvs
MIRV waves less often (first at 25 s, every 42 to 26 s; was 20 s, 28 to 16 s). Built from v346.
make it a tiny bit smaller, but increase brightness tiny bit more
MIRV glow a tiny bit smaller (radius 1.2x) and a tiny bit brighter. Built from v345.
dim it slightly and reduce size to something in between previous and new values
MIRV glow dimmed slightly and made smaller, between v343's and v344's (radius 1.3x the sphere). Built from v344.
make purple glow for mirvs for brighter / luminescent
the MIRV spheres' purple glow brighter and bigger, with a pale luminous core (pulsing). Built from v343.
make mirvs same size as regular spheres
MIRV spheres the same size as ordinary spheres (22 px, hit radius 11), keeping their purple glow. Built from v342.
half the number of hits to destroy but keep the speed increase
MIRV spheres back to 6 hits to destroy, keeping the doubled speed (124 px/s). Built from v341.
make mirvs twice as difficult to destroy, and make them travel twice as fast
undo
MIRV spheres twice as tough (12 hits) and twice as fast (124 px/s). Built from v340.
i'm not seeing any mirvs over earth. check
MIRV spheres now get down to Earth: the fleet leaves a MIRV alone until it is within 340 px of Earth's top (LAST.mirv.engage); before, the fleet shot almost all of them far up the world. Built from v339.
make reinforcements arrive 10 secs earlier
reinforcements arrive 10 seconds earlier: at 6:00 left (was 5:50). Built from v338.
suppress any new HUD messages until reinforcement message has timed out
undo.
the message-hold change (new HUD messages dropped while the reinforcements message shows) was undone: redacted is v337 again; the rejected version is redacted.
add back a tiny bit more
dampeners eased back a little: drag LOW .44, MEDIUM .30, HIGH .17 (v336: .40, .26, .14). Built from v336.
increase values so that inertial dampener (motion drift / coasting) is less sensitive - less drifting
inertial dampeners stronger, less coasting: drag LOW .40 (was .52), MEDIUM .26 (was .36), HIGH .14 (was .22); top speed unchanged. Built from v335.
make the summon key ']' left angle bracket.
the summon key is now ] (BracketRight; was /). Built from v334.
make the summon key work only with the test param in the url. also make it work on all levels/stages
the summon key [/] only works on a page opened with a test parameter (redacted or redacted), and now works on every level and stage (outside the Last Stand the ship is an onlooker: it drops out of warp, stays 7 s, fades). Built from v333.
more MIRvs
more MIRV spheres (first at 20 s, a wave every 28 to 16 s, 2-3 a wave, up to 4 at once). Built from v332.
make the MIRV spheres split lower down so they're visible
MIRV spheres split lower (170-230 px above Earth's top, was 650-1000) so they are in view. Built from v331.
add MIRV spheres to the last stand and save as new version
MIRV spheres in the Last Stand (LAST.mirv): big purple-glowing spheres come down from the top and split into 3 bombs high above Earth; shoot one down first and its bombs go with it (250 points). Built from v330.
need more powerups
more power-ups in the Last Stand (LAST.powerups: every 4.5-8 s, up to 4 at once; was 8-14 s, up to 3). Built from v329.
make all four reinforcement ships face the cube
all four reinforcement ships now come out facing the cube (LAST.reinforce.face). Built from v328.
reenable the summon key for further testing.
change the time to trigger reinforcements to 5:50 (make it 10 secs earlier)
add one more ship to the reinforcements with this one added to the guard formation, to be situated below the borg ship near the bottom of the screen over earth.
the summon key [/] is back on; reinforcements now at 5:50 left; a fourth reinforcement (guard formation) comes out below the cube, low in the view over Earth, facing the cube (LAST.reinforce.roles). Built from v327.
change the trigger for reinforcements to when timer goes to 5:40 left, then wherever the enterprise is, trigger the warp exits in the same viewable area as the enterprise so they are all visible. the ships materialising should appear near the bottom of the viewable area if enterprise is facing downward and is near the top of the viewable area. if the enterprise is facing away f…
reinforcements now come when the clock reaches 5:40 left (LAST.reinforce.at), in the view the Enterprise is in and in front of it, facing the way it faces (toward the cube if it faces away from it). Built from v326.
make the borg beam a bit darker green. also don't make it fire at an angle so close to the borg cube side (in other words, reduce its emission cone). add another borg beam emitter point on its top (aerial view from player's perspective) to give illusion it can shoot at the targets flying above it.
also double its damage.
the cube's green beams darker green; side ports only fire inside a 55 degree cone (seen from the port), otherwise, and at targets over the cube, from a new emitter on the cube's top (its middle); damage doubled (ships 4, Enterprise 1.2 of a normal hit); a glow shows at the emitter. Built from v325.
make the green beams a bit thinner still.
also try to make at least 1 ship exit warp not over the borg cube.
green beams thinner still (2.5 px); reinforcement ships now come out at least 170 px from the cube's middle (150 px for where they drift to), clear of its hull. Built from v324.
make the green beams slightly thinner but keep the glow/shimmer
the cube's green beams slightly thinner (body 3 px, was 3.6) with the same glow and shimmer (new glowWidth). Built from v323.
make the green beams thicker and glow/shimmer a bit more
the cube's green beams are thicker (3.6 px, was 2.4), glow more and shimmer more (LAST.cubeLaser width, glow, shimmer). Built from v322.
make the borg cube shoot green laser/phasers at random targets - hit accuracy depends on if target is moving. then accuracy is less: 35% if target is stationary then 70%. feel free to suggest something else if it follows an established formula.
the range of the green borg lasers/phasers is 1.5 times borg width. save as new version.
the Borg cube fires green phaser beams (LAST.cubeLaser) at a random Starfleet ship or the Enterprise within 1.5 cube widths; hit chance 70% at rest, 35% at 60 px/s or faster (in proportion between); 2 damage to a ship. Built from v321.
scale the trail travel distance to ship size
warp exit travel distance (and so the nacelle trails' length) scales with the ship's picture length (WARPFX.ship.refLength 32, minScale .3); redacted updated. Built from v320.
make the last stand follow the ship sizes setting. also amend any code to account for new nacelle positions with the smaller sprites. save as new version.
the Last Stand now follows the SHIP SIZES setting (pictures chosen each round); the warp exit's nacelle trails have positions for both picture sizes (WARP_NACELLES, warpNacelles) and thinner trails on small ships; redacted updated. Built from v319.
make the 3 warp exits appear only when the borg cube has come to a stop above earth and both borg cube and enterprise are in view.
then make the reinforcements message last a bit longer.
also when borg cube has reach above earth and has stopped, make borg bombs travel at their original slower speed.
reinforcements wait until the cube has stopped above Earth (and both are in view); their message shows for 6.5 s (was 3.5); bombs fired once the cube has stopped fly at their original base speed 90 (LAST.cube.bomb.atEarth.speed). Built from v318.
in the HUD where it read reinforcements have arrived, append it with " [x] Starfleet vessels have dropped out of warp"
the reinforcements message now reads 'REINFORCEMENTS HAVE ARRIVED 3 STARFLEET VESSELS HAVE DROPPED OUT OF WARP'. Built from v317.
make the borg bombs travel faster than the fastest borg cubes, and their swerve distance increase to 10-15px
Borg bombs faster (base speed 184, was 90: the last third's slowest bomb 240 px/s, over the fastest sphere's 230) and they swerve 10 px then 15 px (was 7, 10). Built from v316.
make the borg cube on last stand level 20% harder... health-wise
the Last Stand's Borg cube has 20% more health (hpMul 30, was 25). Built from v315.
remove the first warp exit at the start of the level, that was just a test. keep the code for summoning, but don't make it available in the game yet. change the key from [?] to [/] unless its being used or a reserved key. then in the last stand stage, make 3 additional starfleet ships exit out of warp, making them appear when both enterprise and borg cube are above earth and b…
keep the code for summoning, but don't make it available in the game yet. change the key from [?] to [/] unless its being used or a reserved key.
then in the last stand stage, make 3 additional starfleet ships exit out of warp, making them appear when both enterprise and borg cube are above earth and both in view. make the new ships face the direction of the borg cube, in relation to where they materialise. assign 2 of them strike formation., and the last 1 orbit formation.
make sure they are registered in the fleet number, and their ship class is captured so that if they are destroyed it is reflected in the HUD status display. When making them appear, stagger their appearances by 1-2 seconds each, and when the last one has materialised, then display in HUD: "Reinforcements have arrived"
removed the start-of-level warp test; the summon key is now [/] and switched off (LAST.summonKey.on); Last Stand: once the cube is above Earth and it and the Enterprise are in view, 3 Starfleet ships (2 strike, 1 orbit) drop out of warp 1-2 s apart facing the cube, are counted in FLEET, and 'REINFORCEMENTS HAVE ARRIVED' shows after the last. Built from v314.
is it possible to make both fades finish at the same time?
warp exit star walls and ellipse now finish fading together at 1.4 s. Built from v313.
make the exiting star trails finish fading before the ellipse fades
warp exit star walls finish fading (by 0.9 s) before the ellipse starts to fade (0.95 s). Built from v312.
more them sparser still, but increase the thickness of the path the flow by 2px
warp exit star walls sparser again (10 a side) and 2 px thicker (5.5), widened inwards so the outer edge stays inside the ellipse. Built from v311.
make the star trails slightly shorter in length and more sparse (less of them)
warp exit star walls sparser (16 stars a side, was 26) with shorter streaks (4-8 px, was 5-10). Built from v310.
make the ellipse width 2px wider each end, but don't move the star trails... i actually want the star trails to be just inside of the ellipse
warp exit ellipse 2 px wider each end again (pad 7); the star walls start where they did but are thinner (3.5 px) so they sit just inside the ellipse's ends. Built from v309.
make both centre ellipse slightly fainter and the glow as well, in the same proportions.
then make the width of the ellipse slighter wider 2px each side
warp exit ellipse fainter (body .6, ring .34) and 2 px wider each side (pad 5). Built from v308.
make the larger warp exit center ellipse less opaque (reduce it but not as much as the outer ellipse ring)
warp exit ellipse: the solid ellipse keeps 70% and the glow ring 40% of their brightness once settled (WARPFX.ellipse body, ring); the flash peak is unchanged. Built from v307.
make the warp exit ellipse end at opacity 60%, want to see some of the background
warp exit ellipse now settles at 60% opacity (it was staying fully white after the flash: fixed) so the background shows through. Built from v306.
refining the warp exit animation. the ellipse should start as a bright pinpoint of light then quickly expand into the ellipse as it continues to fade in. The star trails need to point in opposite direction, so they are heading outwards away from the ellipse. fix these first, then i'll evaluate again
warp exit: the flash starts as a bright pinpoint and grows into the ellipse; the funnel's stars now flow outwards away from the ellipse with their streaks trailing behind them. Built from v305.
as a test, make it that every time i press [?] key, it triggers a warp exit with a random starfleet ship in the viewable area as the enterprise. in fact, i plan to 'summon' help in the form of additional ships this way in the future.
in the Last Stand the [?] key calls in a random Starfleet ship out of warp (lsSummon) at a random place in the view; warp trails now for all seven Starfleet classes (WARP_NACELLES). Built from v304.
the animation is a great start. needs refining though but position the warp exit to the right of the ship lineup, still clashes with ship moving off animation
the warp exit test moved to the right-hand edge of the view (dx 222, above 35), clear of the fleet moving off. Built from v303.
make the warp exit appear 10 seconds after originally specified time (this level still has ships moving off so couldnt see animation clearly
the warp exit test now happens 19 seconds into the Last Stand (was 9), once the fleet has moved off. Built from v302.
I want to create 2 new animations. Animation 1: Starfleet vessels dropping in and out of warp: small funnel-like wall of trailing stars like the warp chase tunnel effect but much shorter and thinner, maybe 5-10px. the trailing stars basically fan outwards maybe by 13 degrees, and the opening should be wide enough for the width of the sprite to appear from it. the warp tunnel…
Animation 1: Starfleet vessels dropping in and out of warp:
small funnel-like wall of trailing stars like the warp chase tunnel effect but much shorter and thinner, maybe 5-10px.
the trailing stars basically fan outwards maybe by 13 degrees, and the opening should be wide enough for the width of the sprite to appear from it.
the warp tunnel opening animation is as follows:
a brilliant flash of light fading in quickly shown as a narrow ellipse fading in from nothing to a white ellipse then fade into a semi-transparent ellipse before fading.
At this point is fading, the warp tunnel exit animation starts. the trailing stars that represent the warp tunnel walls appear over the semi-transparent circle but in a small fanned out / funnel shape.
Then the starfleet vessel emerges from the circle and inside the very short warp tunnel. if possible, making it emerge, so that the front/tip of the sprite comes out whilst the rest of the sprite is clipped. As it emerges and has cleared the warp tunnel and player can see the entire ship sprite, programmatically add the starfleet vessel's warp nacelle light trail.
the warp nacelle light trail emanates from the back of each nacelle on a starfleet ship (mostly 2 but on occasion one) which are the long vertical bars within the ship's sprite. the warp nacelle light trail is the blue colour used in the nacelle.
as this is a ship coming out of warp, i want the ship to emerge with the warp nacelle light [rest of this long pasted text left out]
new reusable warp exit (WARPFX, warpExit, warpFxStep, warpFxDrawUnder/Over, warpFxShip): flash ellipse, short star funnel, the ship emerges nose first from behind the ellipse's line, blue nacelle trails extend then collapse as it slows and drifts. Tested in the Last Stand: 9 seconds in, a Galaxy class ship drops out above the guards (LAST.warpIn). Built from v301.
can you check if sea impacts share same code? if not, can you refactor as well?
Sea and land impacts now share one ripple helper (impactRipple) and one particle-colour choice (impactCols) in both Planet Defence and the Last Stand; no visible change. Built from v300.
the fireball explosions on land are missing in the last stand stage whereas they are present in the planet defence stage. add them in. shouldn't common code like this be a reusable component / code?
Last Stand land impacts now have Planet Defence's fireball, smoke, crater fade-in and burning embers; the explosion/crater code is shared (newImpact, stepImpacts, drawImpactCraters, drawImpactBlasts). Built from v299.
make the powerups in minimap 2x2.
reduce number of borg bombs when cube is at earth
minimap power-up dot 3x3 -> 2x2; fewer bombs once the cube is at Earth: salvos of 3-4 (was 4-6) with the gap x0.75 (was x0.55): about 0.44 bombs a second, half of before (LAST.cube.bomb.atEarth). Built from v298.
make earth harder to destroy
Earth harder to destroy again: a bomb takes 2.5% of Earth's integrity on Normal (was 4%, originally 6%; LAST.cube.bomb.dmg). Built from v297.
make earth harder to destroy
then make borg bombs travel 50% faster and increase swerve distance to 7px-10px.
then make any powerup display in the minimap as a flashing light blue dot - use same colour as powerup circle border
Earth harder to destroy (a bomb now takes 4% of Earth's integrity, was 6%: LAST.cube.bomb.dmg 6 -> 4); Borg bombs 50% faster (base 60 -> 90 px/s; about 135 in the last third); bomb sidestep distance 4 / 7.5 px -> 7 / 10 px (middle / last third); power-ups show on the minimap as a flashing light blue dot (the colour of the circle round their icon, #7ec8ff; LAST.mapColours.power). Built from v296.
make the tsunami rings fainter
tsunami rings fainter (peak .6 -> .32, line width 1.4 -> 1.2, pale edge .32 -> .22). Built from v295.
go ahead with all your recommendations, same damage, add a splash sound
sea impacts (Planet Defence and the Last Stand; shared code): the game works out whether a bomb or asteroid landed in the sea by redoing the planet shader's height sum for that place (planetSeaAt: it agrees with the drawn planet about 95% of the time, the rest on coasts). In the sea: no crater, a white-blue splash instead of the fireball, a pale foam patch, a splash sound (sfx.splash), and a tsunami instead of the ripple: 6-9 rings spreading about 2.4 times as far for 4.5-7 s in a darker, bluer shade of the sea there, stopping at the coast (PDEF.impact.tsunami). Same damage. Land impacts are unchanged. Built from v294.
make the borg bombs travel faster, then make the borg cube shoot out more borg bombs when it reaches earth
Last Stand Borg bombs faster (base speed 46 -> 60 px/s; LAST.cube.bomb.speed) and, once the cube has come down to Earth (the split), the cube fires salvos of 4-6 bombs (was 2-3) about twice as often (gap x0.55; LAST.cube.bomb.atEarth). Built from v293.
build it, confirm your 3 phases of progressive difficulty is correct. sorry for my wording. apply all your recommendations such as tiny visual cue, timings, etc. save as new version to evaluate.
Last Stand Borg bombs get smarter (LAST.bombSmart): from a third of the way through the round a bomb sidesteps a torpedo that is about to hit it (about 4 px, 40% of the time, up to 2 times), then goes back to its course; from two thirds it sidesteps about 7.5 px, 75% of the time, up to 3 times, and flies 45% faster; scaled by difficulty; phasers still land instantly; it stays on course for the last 70 px so it lands where aimed; a small jet and ring show when it jinks; a message announces each step. Built from v292.
for the last stand stage, change the planet colours to 'earth'. save as new version
Last Stand: the planet palette is now a named setting (LAST.planetPalette, set to 'earth'); v291 already picked 'earth' by name, so the colours are unchanged. Built from v291.
in the config for planet colour palettes, rename 'earth' to 'earth-like'.
then add a new line above it (under terran) with the new 'earth' values:
{ name: 'earth', c: ['#0c4073', '#4899ad', '#4b5949', '#7b7f69', '#ad9987', '#d0e1e7', '#47b6ff'], sea: [0.46, 0.58], ice: [0.8, 0.9] }. update the planet editor.
planet palettes: the old 'earth' is now 'earth-like' and a new 'earth' (deep blue seas #0c4073, #4899ad, ...) sits above it under terran. The Last Stand's Earth picks the palette by the name 'earth', so it now uses the new one (use 'earth-like' in lsPlanetParams for the old). redacted (the planet editor) updated to match: its default palettes are now the game's own, with the new 'earth' on top, and a palette set saved in the browser from before is migrated (old 'earth' -> 'earth-like', new 'earth' added). Built from v290.
make the ripples last shorter. make their spread range shorter, and make their dark lines fainter (less opacity)
shockwave ripples shorter, tighter and fainter: the show lasts 1.2-3 s (was 2-5), 3-4 rings (was 3-5), they spread 30-44 px in Planet Defence and 40-62 px in the Last Stand (was 46-64 and 60-92), and the darker line beside each ring is 30% as strong as the pale one (was 75%; PDEF.impact.ripple.dark). Built from v289.
for the planet impacts on planet defence and the last stand (and any future planet impact levels), is it possible to draw a shockwave ripple effect animation that goes with the explosion? explosion triggers first, as fireball grows, then you see faint concentric lines (keeping consistency of the elliptical shape of the impact crater) ripple outward for 2-5 secs (vary it). each …
shockwave ripples on planet impacts (Planet Defence and the Last Stand; newRipple and drawRipples are shared, so any planet-impact level can use them): after the explosion starts, 3-5 faint thin rings (a pale line with a darker one beside it) spread over the planet in the crater's squashed, angled shape one after another and fade; the whole show lasts 2-5 s, picked each time (PDEF.impact.ripple). Built from v288.
when guards remain idle whilst borg ship is above earth, make them face toward the cube for a more authentic posture, i don't think they now should face upwards
Last Stand guards with nothing to shoot now face the Borg cube instead of nose up (nose up again once the cube is gone). Built from v287.
make guards hunt spheres and bombs within range then return to slots
Last Stand guards hunt: a guard goes after a Borg bomb within 560 px or a sphere within 460 px of it, as long as the target is within 700 px of the guard's own place (LAST.guardHunt); it flies up to 240 px from it, turns to face it and fires, and goes back to its place when the target is gone. Built from v286.
make minimap border the bright blue used for shields and lvl HUD display, then make it opacity 80% for me to see effect
Last Stand minimap border is the bright blue of the shield bar (#37c8ff) at 80% opacity (LAST.mapColours.border and borderAlpha). Built from v285.
it looks like the earth in minimap is drawn last as it sits on top of minimap border. swap it round
Last Stand minimap: the border is drawn after Earth (and Earth is held inside it), so Earth no longer sits on top of the border. Built from v284.
make the minimap dots brighter again. make the earth in minimap a lighter shade of blue again, but not in the same blue as starfleet dots
Last Stand minimap: dots brighter again (Starfleet #d8fcff, allies #ffd47c, spheres #ff7a68, bombs #ffbcff; cube unchanged) and Earth a lighter, bluer-violet blue (150,188,255) so it is not the same blue as the Starfleet dots. Built from v283.
for the earth in the minimap, show it as a slightly light shade of blue
Last Stand minimap: Earth is a lighter blue (LAST.mapColours.earth 120,190,245; was 70,140,220). Built from v282.
yes add both and save as new version
input safety: an action that is only on modifier keys (STRAFE: Shift/Alt) is switched off when no such key is really down (checked on every key and mouse event), and the window getting focus back or the page being hidden lets go of every key; and redacted on the address shows at the bottom which actions the game thinks are held and which keys the browser says are down. Built from v281.
there's one or more starfleet ships above earth that move sideways. check if true. if so, make them turn to face direction of travel before moving. also update the rules such that all starfleet ships can fire phasers when facing any conical angle (use enterprise specs). however, starfleet ships can only fire photon torpedoes facing direction of intended travel (for the torpedoes).
update.
Last Stand Starfleet ships: guards (and any ship holding its place) no longer slide sideways (the strolling guards and the crowding nudge); they turn to face the way they are going and only then move (LAST.split.dwell: a new place every 6-11 s). Photon torpedoes only forwards, within 20 deg of the nose and only at a target within 20 deg of it (LAST.torp); phasers within the Enterprise's cone (57 deg either side) and range (460 px) (LAST.phaser.fedCone, fedRange) at the nearest Borg thing in it. Built from v280.
make the borg cube on minimap darker green still. make the viewable area border 60% opacity
Last Stand minimap: the cube is darker still (#3f8a22) and the white view rectangle is 60% opaque. Built from v279.
make it a darker green for the borg cube on the minimap. the white rectangle for viewable area, make it 80% opacity
Last Stand minimap: the cube is a darker green (#5fa82c) and the white view rectangle is 80% opaque (was 70%). Built from v278.
are you able to make the dots brighter, and change the green used for the borg cube lime but less lime green than current one?
Last Stand minimap: brighter dots (LAST.mapColours) and the cube changed from mint green #40ff80 to a lime #a2dc3c. Built from v277.
randomise the starting rows and positions within the rows for each round but keep the formation members the same. save as new version
Last Stand: the opening rows are shuffled each round: all 25 ships are placed at random across the three starting rows (9/8/8) and at random places in them (LAST.start.mix true; false = Starfleet in the front row, the former enemies in the two behind, shuffled within them); who is in which formation is unchanged. Built from v275 (v276 was dropped).
ok, finally shorten the stage time from 15min to 10mins. when the time is 6min 30sec remaining, start moving the borg cube down to the lower playing area where earth is. no change in behaviour apart from the time triggers.
Last Stand round shortened from 15 min to 10 min (LAST.duration 600); the cube starts moving down to Earth when 6:30 is left on the clock (LAST.cube.descend.atLeft 390) instead of a third of the way in. Nothing else changed. Built from v274.
i think the spheres that now appear from the sides on the same y-axis as the cube now hit the cube and disappear. check. if so, then make them avoid the cube before collision and swarm around the cube to protect it by firing at the alliance ships
Last Stand: the middle-wave spheres that fly to the cube no longer merge into it: they keep clear of it (ring 150-210 px out), circle it and fire at the nearest of the fleet within 560 px; at most 8 guard it at once (LAST.swarm). Built from v273.
cube spheres: move them - they appear from the sides, around the same y-axis as the cube.
i may have worded my previous request for more spheres appearing in the middle badly. what i meant was, make them appear roughly in the middle of the entire y-axis playing area, not in the centre of the playing area, so keep them but make them appear from the sides (either side randomly)
Last Stand spheres only come in from the top or the sides: the cube's own spheres now come in from the left or right of the world about the cube's height, and the middle waves (LAST.mid) come in from the left or right about the middle of the world's height (42-58%), half going to the cube and half to Earth, as before. Built from v272.
go with option 2 and save as new version
undo. that's not what i wanted. the enterprise can only move left or right.
revert to v271, then apply option 1 (Lock the Enterprise during the briefing)
Last Stand briefing: the Enterprise is held at its starting place while the briefing is up (it can still turn and fire), so the camera has nothing to catch up with when the round starts. Built from v271.
send a few more waves of borg spheres into play area randomly from either side from 10-45% from the top of the play area diagonally downwards throughout the game - make this high speed, darting diagonally downwards towards earth.
Last Stand: waves of Borg spheres darting diagonally down towards Earth from the left or right of the world (LAST.side): 3-5 per wave, from 10-45% of the world's height, 230 px/s, first at 18 s then every 28 s easing to 16 s. Built from v270.
the first two formation groups are still moving off from standstill too fast. use same acceleration/pickup speed as the guard formation.
the orbit and strike groups (the first two to move off) now pick up speed with the guards' settings (LAST.launch.guard: 12% of the usual acceleration, easing to normal over 20 s); acceleration is timed from when the ship left and is no longer restarted when it begins its turn. Turning is unchanged. Built from v269.
don't make all ships from each group all start moving at the same time, maybe have a 0.3-0.7 sec offset range for each ship. for the guard formation ships, split into 2 sub-groups, and move them off sequentially, following the same offset speed and distance rules. the ships turn suddenly, maybe start them all off in a fairly straight line then slowly turn once at near the to…
for the guard formation ships, split into 2 sub-groups, and move them off sequentially, following the same offset speed and distance rules.
the ships turn suddenly, maybe start them all off in a fairly straight line then slowly turn once at near the top of the viewable area. with the guard formations, make them start very slowly, that includes turning.
Last Stand fleet move-off refined (LAST.launch): each ship leaves 0.3-0.7 s after the one before it in its group (stagger); the guards go in two halves, the second 3 s after the first, and start much more gently (accel 12%, turn 12%, easing over 20 s); every other ship flies straight ahead, nose up, until within 60 px of the top of the view, then begins a gentle turn (turn rate 30% easing to full over 12 s). During the straight start the planet and cube avoidance and the aiming offset are off (they were causing sudden turns for the back rows). Built from v268.
see if you can orchestrate the movements of the alliance fleet when they start to move off. make the orbit formations head up first, 3 second delay, then strike group formation, 3 second delay then patrol group, 3 second delay, then patrol group reorganises itself. With all groups, make sure all ships have their own speed distance variance but not by much, they want to travel …
make the orbit formations head up first, 3 second delay, then strike group formation, 3 second delay then patrol group, 3 second delay, then patrol group reorganises itself.
With all groups, make sure all ships have their own speed distance variance but not by much, they want to travel together. make sure they accelerate from stop gradually.
make their turning angles slow and gradual for this initial sequence.
save as new version.
Last Stand fleet move-off orchestrated (LAST.launch): once the Borg are in view the orbit group leaves first, then the strike group (+3 s), the patrol group (+6 s) and the guards (+9 s); a ship speeds up and turns gently at first (25% / 30% of the usual rates, easing to normal over 12 s); every ship has its own speed (+-6%) and a small offset (30 px) to where it heads.
make waves of borg spheres appear throughout the game around the middle of the extended play area between the borg cube and earth, half of them go up towards the cube, and half of them travel downwards towards the planet.
also, throughout the game, make waves of borg spheres dart down from top of screen to earth to attack the defending vessels. save as new version
Last Stand: two new kinds of Borg sphere wave. MID waves (LAST.mid) appear around the middle of the way between the cube and Earth, half flying up to join the cube, half flying down as bombers to Earth; DART waves (LAST.dart) dive straight from the top of the world towards Earth at 190 px/s, then attack the nearest defender as the usual spheres do.
red dots on the minimap still showing on the blue minimap border. make them appear only when inside the border
Last Stand minimap dots keep clear of the 1 px border (anything that would touch it is cut off or left out), so red dots only show inside the border.
on the minimap, you can see the red dots representing the borg spheres outside the top of the minimap border. fix so positions of objects are only displayed inside the minimap border
Last Stand minimap only draws things inside its border (spheres arriving from above the top of the world, or anything off the edge, are left off; dots on the edge are cut to fit).
set cube health multiplier to 25 and save as new version
Last Stand Borg cube health multiplier 20 -> 25 (Normal: 2,000).
if the borg cube get down to the lower playable area above earth, the ships in guard formation need to now split into 3 formation groups. program it in such as way that 1/3 of the guard formation stays and targets objects heading to earth (planet). make these spread out (left, centre, right of screen), and make them independently move in a patrol, guard, defensive manner). th…
the next 1/3 of the original guard group, randomly selected by the game, forms the new (additional) strike group, to attack the borg cube with the same define strike behaviour as before but this time the position of the borg cube has changed to lower part of the screen above the earth backdrop.
The final 1/3 of the original guard group, again, randomly assigned by the game, is new new (additional) orbit group with the same original orbit formation behaviour. the only real difference is that there is no longer enough clearance below the borg cube and bottom of screen for the lower part of an orbit so use the bottom of the screen plus an inner offset as the lower boundary for the orbit.
Any remaining vessels from the original orbit, strike group and patrol formations should travel back to earth orbit and assume its formation behaviour in the new location.
Let's see how this works. Save as new version
Last Stand split: when the cube comes down to within LAST.split.dist (300) px of where it stops, the guards split at random in three (a third stay as guards in left/centre/right zones, each strolling about its place; a third join the strike group; a third join the orbit group, held LAST.split.orbitInner above the lowest a ship may fly), and patrols move to a lower loop near Earth. Built from v262.
for the guards, you have forgotten to apply the upward facing rule. only the klingon vorcha vessel is stationary and upwards facing. the others are spinning around their pivot point randomly
Last Stand guards fixed: all 10 settle on their slot, stationary and nose-up (they were drifting forward while turning, so they never arrived and spun round their pivot). They now stop within 12 px of the slot, ease onto it, face up, and still turn to a target and back. Built from v261.
i'll keep your formation and behaviour names: Guard: cardassian warship, ferengi marauder, klingon bird of prey, klingon d7, klingon vor'cha, enterprise (tos), enterprise-a, nebula class, excelsior class, intrepid class. Patrol: klingon d7, ferengi marauder, orion interceptor, ent-a, galaxy class (another enterprise sprite). strike group: Nebula class, intrepid class, excels…
Guard: cardassian warship, ferengi marauder, klingon bird of prey, klingon d7, klingon vor'cha, enterprise (tos), enterprise-a, nebula class, excelsior class, intrepid class.
Patrol: klingon d7, ferengi marauder, orion interceptor, ent-a, galaxy class (another enterprise sprite).
strike group: Nebula class, intrepid class, excelsior class, constellation class, cardassian warship.
orbit: orion interceptor, romulan warbird, klingon vor'cha, klingon d7, klingon bird of prey
if mentioned more than once, that means there's multiple instances of that vessel, each assigned to a different formation.
Last Stand alliance fleet rebuilt from LAST.formations: 25 AI ships (11 Starfleet + 14 former enemies) - guard 10, patrol 5, strike 5, orbit 5; new Galaxy class ship (the Enterprise's picture); guard slots, patrol start waypoints and strike offsets spread for the bigger groups; start rows re-laid (Starfleet front row, enemies in two rows behind). Built from v260.
try the hold still then fade in idea
Last Stand hover float (ships and the Enterprise) held off for the first LAST.floatDelay 7 s (the intro) and faded in over LAST.floatFade 4 s, so the starting row is drawn on whole pixels (crisp) and the smooth float returns in play. Built from v257.
ok try finer steps. save as new version
Last Stand hover float moves in half-pixel steps (LAST.bobStep .5; 1 = whole pixels) from the whole pixel the ship sits on. Measured: crisp on whole-pixel positions, blurred on the half-pixel ones.
go with option 2 and save as new version
v258 (whole-pixel hover bob) was tried and dropped: the bob looked too stepped. v257 is the version to use; the experiment is kept as redacted.
update sprite: { "sprite": "warbird", "name": "Romulan warbird", "width": 33, "height": 52, "changes": [ { "x": 15, "y": 0, "from": "#16402a", "to": "#004638" }, { "x": 16, "y": 0, "from": "#16402a", "to": "#004638" }, { "x": 17, "y": 0, "from": "#16402a", "to": "#004638" }, { "x": 15, "y": 1, "from": "#16402a", "to": "#004638" }, { "x"…
{
"sprite": "warbird",
"name": "Romulan warbird",
"width": 33,
"height": 52,
"changes": [
{
"x": 15,
"y": 0,
"from": "#16402a",
"to": "#004638"
},
{
"x": 16,
"y": 0,
"from": "#16402a",
"to": "#004638"
},
{
"x": 17,
"y": 0,
"from": "#16402a",
"to": "#004638"
},
{
"x": 15,
"y": 1,
"from": "#16402a",
"to": "#004638"
},
{
"x": 16,
"y": 1,
"from": "#3a8250",
"to": "#008b68"
},
{
"x": 17,
"y": 1,
"from": "#16402a",
"to": "#004638"
},
{
"x": 14,
"y": 2,
"from": "#16402a",
"to": "#004638"
},
{
"x": 15,
"y": 2,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 16,
"y": 2,
"from": "#62a868",
"to": "#25b281"
},
{
"x": 17,
"y": 2,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 18,
"y": 2,
"from": "#16402a",
"to": "#004638"
},
{
"x": 14,
"y": 3,
"from": "#16402a",
"to": "#004638"
},
{
"x": 15,
"y": 3,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 16,
"y": 3,
"from": "#62a868",
"to": "#009d76"
},
{
"x": 17,
"y": 3,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 18,
"y": 3,
"from": "#16402a",
"to": "#004638"
},
{
"x": 14,
"y": 4,
"from": "#16402a",
"to": "#007655"
},
{
"x": 15,
"y": 4,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 16,
"y": 4,
"from": "#3a8250",
"to": "#008b68"
},
{
"x": 17,
"y": 4,
"from": "#3a8250",
"to": "#007655"
},
{
"x": 18,
"y": 4,
"from": "#16402a",
"to": "#007655"
},
{
"x": 13,
"y": 5, [rest of this long pasted text left out]
Romulan Warbird sprite updated from the sprite editor (new teal-green palette of 18 colours, a few shape pixels cleared); sprite editor updated to match (redacted).
update sprite: { "sprite": "enterpriseascaled", "name": "Starfleet - USS Enterprise-A, scaled up", "width": 17, "height": 32, "changes": [ { "x": 10, "y": 2, "from": "#b8bec3", "to": "#b2b9bd" }, { "x": 11, "y": 2, "from": "#b8bec3", "to": "#b2b9bd" }, { "x": 10, "y": 3, "from": "#b8bec3", "to": "#b2b9bd" }, { "x": 11, "y": 3, "from": "#b8bec…
{
"sprite": "enterpriseascaled",
"name": "Starfleet - USS Enterprise-A, scaled up",
"width": 17,
"height": 32,
"changes": [
{
"x": 10,
"y": 2,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 11,
"y": 2,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 10,
"y": 3,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 11,
"y": 3,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 12,
"y": 3,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 10,
"y": 4,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 11,
"y": 4,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 12,
"y": 4,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 13,
"y": 4,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 7,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 8,
"y": 5,
"from": "#b3b9be",
"to": "#adb4b8"
},
{
"x": 9,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 10,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 11,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 12,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 13,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 14,
"y": 5,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 6,
"y": 6,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 7,
"y": 6,
"from": "#b3b9be",
"to": "#adb4b8"
},
{
"x": 10,
"y": 6,
"from": "#b8bec3",
"to": "#b2b9bd"
},
{
"x": 11,
"y": 6,
"from": "#b8bec3",
"to": "#b2b9bd" [rest of this long pasted text left out]
Enterprise-A scaled-up sprite updated again from the sprite editor (saucer colours shifted a touch, new palette of 13 colours); sprite editor updated to match (redacted).
update sprite: { "sprite": "webspinnerscaled", "name": "Tholian Web-Spinner, scaled up", "width": 18, "height": 32, "changes": [ { "x": 8, "y": 0, "from": "#374556", "to": "#46525e" }, { "x": 9, "y": 0, "from": "#374556", "to": "#46525e" }, { "x": 8, "y": 1, "from": "#374556", "to": "#46525e" }, { "x": 9, "y": 1, "from": "#374556", "to": "#4…
{
"sprite": "webspinnerscaled",
"name": "Tholian Web-Spinner, scaled up",
"width": 18,
"height": 32,
"changes": [
{
"x": 8,
"y": 0,
"from": "#374556",
"to": "#46525e"
},
{
"x": 9,
"y": 0,
"from": "#374556",
"to": "#46525e"
},
{
"x": 8,
"y": 1,
"from": "#374556",
"to": "#46525e"
},
{
"x": 9,
"y": 1,
"from": "#374556",
"to": "#46525e"
},
{
"x": 6,
"y": 2,
"from": "#1b2839",
"to": null
},
{
"x": 7,
"y": 2,
"from": "#1b2839",
"to": null
},
{
"x": 8,
"y": 2,
"from": "#667688",
"to": "#506073"
},
{
"x": 9,
"y": 2,
"from": "#667688",
"to": "#506073"
},
{
"x": 10,
"y": 2,
"from": "#1b2839",
"to": null
},
{
"x": 11,
"y": 2,
"from": "#1b2839",
"to": null
},
{
"x": 6,
"y": 3,
"from": "#1b2839",
"to": null
},
{
"x": 7,
"y": 3,
"from": "#1b2839",
"to": "#323e4a"
},
{
"x": 8,
"y": 3,
"from": "#667688",
"to": "#4e5b69"
},
{
"x": 9,
"y": 3,
"from": "#667688",
"to": "#4e5b69"
},
{
"x": 10,
"y": 3,
"from": "#1b2839",
"to": "#323e4a"
},
{
"x": 11,
"y": 3,
"from": "#1b2839",
"to": null
},
{
"x": 6,
"y": 4,
"from": "#1b2839",
"to": null
},
{
"x": 7,
"y": 4,
"from": "#1b2839",
"to": "#46525e"
},
{
"x": 8,
"y": 4,
"from": "#667688",
"to": "#4e5b69"
},
{
"x": 9,
"y": 4,
"from": "#667688",
"to": "#4e5b69"
},
{
"x": 10,
"y": 4,
"from": "#1b2839",
"to": "#46525e"
},
{
"x": 11,
"y": 4,
"from": "#1b2839",
"to": [rest of this long pasted text left out]
Tholian Web-Spinner scaled-up sprite updated from the sprite editor (new palette and rows); sprite editor updated to match (redacted).
add the halo to all other ships and save as new version
all ships drawn with drawSpriteAA (Last Stand fleet, duel and web enemies, Orions, captives, damaged starship, etc.) now get the Enterprise's dark halo (SHIP_HALO), made once per turned picture (haloOf) so it costs nothing per frame; not on the glowing overlay passes. Borg spheres unchanged.
add ship smoothing as a menu setting
new SHIP SMOOTHING setting (Display page): CRISP / NORMAL / SOFT = supersampling 2 / 4 / 8 for smoothed ships (default NORMAL); asteroids keep their own factor 4; changing it remakes the ships' turned pictures.
update sprite: { "sprite": "klingond7scaled", "name": "Klingon D7 battle cruiser, scaled up", "width": 19, "height": 32, "resized": true, "originalWidth": 27, "originalHeight": 32, "offsetX": -4, "offsetY": 0, "changes": [ { "x": 4, "y": 0, "from": "#3e4c44", "to": null }, { "x": 5, "y": 0, "from": "#3e4c44", "to": null }, { "x": 6, "y": 0, "fro…
{
"sprite": "klingond7scaled",
"name": "Klingon D7 battle cruiser, scaled up",
"width": 19,
"height": 32,
"resized": true,
"originalWidth": 27,
"originalHeight": 32,
"offsetX": -4,
"offsetY": 0,
"changes": [
{
"x": 4,
"y": 0,
"from": "#3e4c44",
"to": null
},
{
"x": 5,
"y": 0,
"from": "#3e4c44",
"to": null
},
{
"x": 6,
"y": 0,
"from": "#3e4c44",
"to": null
},
{
"x": 8,
"y": 0,
"from": null,
"to": "#44584d"
},
{
"x": 9,
"y": 0,
"from": null,
"to": "#44584d"
},
{
"x": 10,
"y": 0,
"from": null,
"to": "#44584d"
},
{
"x": 3,
"y": 1,
"from": "#3e4c44",
"to": null
},
{
"x": 4,
"y": 1,
"from": "#3e4c44",
"to": null
},
{
"x": 5,
"y": 1,
"from": "#58c06a",
"to": null
},
{
"x": 6,
"y": 1,
"from": "#3e4c44",
"to": null
},
{
"x": 7,
"y": 1,
"from": "#3e4c44",
"to": "#44584d"
},
{
"x": 8,
"y": 1,
"from": null,
"to": "#44584d"
},
{
"x": 9,
"y": 1,
"from": null,
"to": "#2edc5e"
},
{
"x": 10,
"y": 1,
"from": null,
"to": "#44584d"
},
{
"x": 11,
"y": 1,
"from": null,
"to": "#44584d"
},
{
"x": 4,
"y": 2,
"from": "#3e4c44",
"to": null
},
{
"x": 5,
"y": 2,
"from": "#3e4c44",
"to": null
},
{
"x": 6,
"y": 2,
"from": "#3e4c44",
"to": null
},
{
"x": 8,
"y": 2,
"from": null,
"to": "#44584d"
},
{
"x": 9,
"y": 2,
"from": null,
"to": "#44584d"
},
{
"x": 10,
"y": 2,
"from": null,
"to": "#44584d"
},
{
"x": 4,
"y" [rest of this long pasted text left out]
Klingon D7 scaled-up sprite recoloured (lifted greens, new palette from the editor's whole-sprite colour panel); sprite editor updated to match (redacted).
update hit area and weapons positions for updated D7 sprite
D7 (scaled up) beam hit width 24 -> 17 px to match the sprite's new width (27 -> 19 px); the beam still leaves from 16 px ahead of its middle, which is the nose, as the length is unchanged.
update sprite: { "sprite": "klingond7scaled", "name": "Klingon D7 battle cruiser, scaled up", "width": 19, "height": 32, "resized": true, "originalWidth": 27, "originalHeight": 32, "offsetX": -4, "offsetY": 0, "changes": [ { "x": 8, "y": 16, "from": "#6f8878", "to": "#627168" }, { "x": 10, "y": 16, "from": "#6f8878", "to": "#627168" }, { "x": 3, …
{
"sprite": "klingond7scaled",
"name": "Klingon D7 battle cruiser, scaled up",
"width": 19,
"height": 32,
"resized": true,
"originalWidth": 27,
"originalHeight": 32,
"offsetX": -4,
"offsetY": 0,
"changes": [
{
"x": 8,
"y": 16,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 10,
"y": 16,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 3,
"y": 17,
"from": "#3e4c44",
"to": "#293932"
},
{
"x": 15,
"y": 17,
"from": "#3e4c44",
"to": "#293932"
},
{
"x": 5,
"y": 18,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 13,
"y": 18,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 2,
"y": 20,
"from": "#3e4c44",
"to": "#293932"
},
{
"x": 6,
"y": 20,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 12,
"y": 20,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 16,
"y": 20,
"from": "#3e4c44",
"to": "#293932"
},
{
"x": 6,
"y": 21,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 12,
"y": 21,
"from": "#6f8878",
"to": "#627168"
},
{
"x": 4,
"y": 24,
"from": "#55655b",
"to": "#3e4c44"
},
{
"x": 14,
"y": 24,
"from": "#55655b",
"to": "#3e4c44"
},
{
"x": 2,
"y": 25,
"from": "#55655b",
"to": "#3e4c44"
},
{
"x": 16,
"y": 25,
"from": "#55655b",
"to": "#3e4c44"
}
],
"palette": {
"a": "#3e4c44",
"b": "#58c06a",
"c": "#1c2420",
"d": "#2e3a34",
"e": "#55655b",
"f": "#627168",
"g": "#293932",
"h": "#5f605e",
"i": "#34322a"
},
"rows": [
"........aaa........",
"....... [rest of this long pasted text left out]
Klingon D7 scaled-up sprite updated from the sprite editor (trimmed from 27 to 19 px wide, new palette and rows); sprite editor updated to match (also saved as redacted).
update sprite: { "sprite": "enterpriseascaled", "name": "Starfleet - USS Enterprise-A, scaled up", "width": 17, "height": 32, "changes": [ { "x": 4, "y": 0, "from": "#62666a", "to": "#56595c" }, { "x": 12, "y": 0, "from": "#62666a", "to": "#56595c" }, { "x": 12, "y": 1, "from": "#989da2", "to": "#b3b9be" }, { "x": 13, "y": 1, "from": "#62666a…
{
"sprite": "enterpriseascaled",
"name": "Starfleet - USS Enterprise-A, scaled up",
"width": 17,
"height": 32,
"changes": [
{
"x": 4,
"y": 0,
"from": "#62666a",
"to": "#56595c"
},
{
"x": 12,
"y": 0,
"from": "#62666a",
"to": "#56595c"
},
{
"x": 12,
"y": 1,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 13,
"y": 1,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 13,
"y": 2,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 14,
"y": 2,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 14,
"y": 3,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 15,
"y": 3,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 0,
"y": 4,
"from": "#7a7e82",
"to": "#56595c"
},
{
"x": 15,
"y": 4,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 16,
"y": 4,
"from": "#393d41",
"to": "#56595c"
},
{
"x": 16,
"y": 5,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 16,
"y": 6,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 16,
"y": 7,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 16,
"y": 8,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 16,
"y": 9,
"from": "#62666a",
"to": "#989da2"
},
{
"x": 0,
"y": 10,
"from": "#7a7e82",
"to": "#56595c"
},
{
"x": 15,
"y": 10,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 16,
"y": 10,
"from": "#393d41",
"to": "#56595c"
},
{
"x": 14,
"y": 11,
"from": "#989da2",
"to": "#b3b9be"
},
{
"x": 15,
"y": 11,
"from": "#62666a",
"to": "# [rest of this long pasted text left out]
Enterprise-A scaled-up sprite updated from the sprite editor (new palette, rows: lighter edges, right-hand saucer rim); sprite editor updated to match (also saved as redacted). Hover wobble stays at hoverSway .5.
apply the same firing behaviours for the enterprise as in the planet defence level where is enterprise fires either photon torpedoes or phasers whilst over the planet, the rendering of the weapons fire arcs slightly to indicate the visual curvature of the path heading below towards the planet.
suggest custom colour palette for earth, make them richer and yet more pastel like colours for earth. save as v248
Voyager scaled-up sprite updated from the sprite editor (new palette and rows); sprite editor updated to match (also saved as redacted).
v248 (testing): hover wobble OFF (LAST.hoverSway 0; set back to .7 to reinstate): hovering ships and the Enterprise no longer float, and hovering ships are drawn at whole pixels.
hover wobble back ON (hoverSway .7).
hoverSway .7 -> .5.
go with 128 angles and save as new version
Last Stand fleet ships draw from 128-angle pre-turned pictures (LAST.angles) instead of 720, all made in the background as the round opens, so no turn builds a picture mid-play; less memory.
go with 2.4 and save as new version
Last Stand alliance ships speedMul 1.5 -> 2.4 (top speeds, turn rate and acceleration all scale with it); Starfleet ships now about 158 px/s against the Enterprise's 160.
use scaled up sprites for all other ships except for borg sphere and romulan warbird
ships start SCALED UP (SHIP SIZES default; saved sets migrated once); Borg sphere and Romulan Warbird have one size only so unchanged. Setting can still be switched back.
Last Stand Borg spheres health 5 -> 4.
go with option A for all ships. save as new version. may need to undo
v244 (new version, saved from v243): every ship in the Last Stand is drawn from its SCALED UP picture at full size (1:1, about 32 px tall like the Enterprise), whatever the SHIP SIZES setting (LS_PICS; the Nebula class and the Romulan Warbird have only the one picture): before, the small true-scale pictures were stretched by 1.0-1.8 times, which blurred them. The ships are bigger (their hit sizes too). Version before: redacted
v244 (change): more vertical space between the rows of ships at the start of the Last Stand: the Starfleet row and the two rows of enemy ships are now 44 px apart (were 29-31, which overlapped the 32 px tall ships) and start 40 px below the Enterprise (LAST.start.rows), with the view starting 70 px up the world (camDY -70) so they all sit in space above Earth. Backup: redacted.
v244 (text): the Last Stand briefing now reads: THE BORG HAVE COME FOR EARTH. STARFLEET HAS ENTERED AN UNEASY ALLIANCE WITH OLD ENEMIES TO DEFEAT THE BORG. DESTROY THE CUBE BEFORE IT REACHES EARTH. HOLD OUT FOR [the round's length: LAST.duration], over three lines; the controls line moved down a row and the dark panel with it. Backup: redacted.
proceed with a new file version. world size: 4x4 screens. allied ships can be destroyed but i want the broken pieces of wreckage to float in space, the wreckage should be a non-interactive layer. win and lose rules - yes to your response. maybe surviving 5 mins will trigger the borg are retreating message as well. make the cube have 4 times the health from the borg cube level. …
world size: 4x4 screens.
allied ships can be destroyed but i want the broken pieces of wreckage to float in space, the wreckage should be a non-interactive layer.
win and lose rules - yes to your response. maybe surviving 5 mins will trigger the borg are retreating message as well.
make the cube have 4 times the health from the borg cube level.
allies can wear it down. enterprise does not have to finish it.
full armada (starfleet and other ships)
v243 (new version, saved from v242): THE LAST STAND, a new bonus round in a new format: a world four screens wide and four high (LAST.world) of which the screen shows a part. The view follows the Enterprise when it nears the sides, top or bottom of the screen, up to the hard edges of the world; the Enterprise moves as in the Asteroid Stream. Earth (the planet shader, moved and sized every frame to follow the view) fills the bottom of the world, a quarter of it visible at the start; a whole Borg cube (160 px, five Enterprises long, turning slowly, hull texture, health 4 times the Borg Cube level's) hangs hidden at the top. The whole armada, as it starts: the Enterprise in front, a row of the six Starfleet classes, and three of each of the eight enemy ships (Bird of Prey, D7, Vor'cha, Warbird, Marauder, Cardassian, Orion, Tholian) in two rows behind. After the first Borg spheres come in from the top every ship fights on its own (one AI with per-ship numbers: picks a sphere, bomb, the beam or the cube, circles and fires; some ships go for the cube, others guard), spheres hunt the ships, the cube fires green torpedoes, tractor beams (any side, shoot the beam to break it; it may take the Enterprise) and BOMBS at Earth; spheres sometimes carry bombs to Earth too. Destroyed ships break into pieces of wreckage that float on, a layer you cannot touch. A map (bottom left) shows the whole world. Earth lost = round lost; cube destroyed = Earth saved; 5:00 survived = THE BORG ARE RETREATING (the cube rises away). Bonus: Earth left, cube destroyed or driven off, shield. Settings row THE LAST STAND on the bonus page, redacted (also ls), LAST has every number. Version before: redacted
v243 (change): in the Last Stand the Enterprise now flies as in the ordinary asteroid levels, not the Asteroid Stream: it turns (left / right), thrusts (up), brakes and keeps its heading and speed, fires torpedoes the way it faces, and does not wrap round the screen: the view follows it and at the edge of the world it stops. The phaser picks Borg targets within about 57 degrees of the way it faces; the briefing line reads TURN / THRUST. Backup: redacted.
v243 (change): the fleet flies new paths in the Last Stand: every Starfleet and enemy ship stays in space, never down over Earth (LAST.fleet.space 120 px above its surface: it looks ahead and turns early, and is pushed up if it strays), and flies straight ahead at a steady speed, turning at its own gentle rate (0.36-0.56 radians a second), so it curves in large swooping arcs and never wiggles: no more orbiting or side-stepping. Attackers fly at the target, swoop past when they come close and loop round for another pass; with nothing to fight a ship flies a long way to a far-off point in space, so the ships spread over the whole world instead of bunching at the bottom; they hold the cube off at a distance, and are eased apart when they meet. They fire when the target is within about 34 degrees of their nose. The start formation now sits in space above Earth (the Enterprise at the top of the view, the Starfleet row and the two enemy rows below it). Backup: redacted.
v243 (change): star layers with parallax in the Last Stand: the old starfield now drifts with the view at .06 of its movement (the farthest layer), and four new layers lie over it and under Earth (Earth hides the stars it covers), moving .22, .5, .95 and 1.7 times the view's movement (LAST.stars: how many, how big, how bright), wrapping seamlessly in every direction; the nearest layer streaks along the way the view is moving, so crossing between the views is felt as continuous movement. Backup: redacted.
v243 (testing): THE LAST STAND lasts 15 minutes for testing (LAST.duration 900; the design is 300).
v243 (fix): in the Last Stand the Enterprise could only face up after it was destroyed: the new Enterprise was made as for the other storm-type rounds (fixed at the bottom, cannot turn). newShip now makes a free-flying one for this round (it turns and thrusts as at the start) and it comes back in the middle of the view. Backup: redacted.
v243 (change): the Last Stand fleet has jobs (lsAssign: 3 ships each, a Starfleet ship and two enemy ships of different kinds): GUARDS hover over Earth, nose up, at three slots (left, middle, right of Earth) and shoot down bombs and the spheres coming at Earth; PATROLS fly a long loop round the sides and the top of the world and back (turn-limited, so in large arcs), one going the other way round from the others; STRIKERS fly at the cube, over it and past, swoop out, come back down past it and turn for another run (staggered side by side), break off to chase any Borg sphere or bomb that comes near and then resume; ORBITERS circle the cube at about 215 px, the radius swelling and shrinking so they dodge from side to side, firing at it all the time. The other 18 ships have no job yet: they stay where they started and shoot at what comes near. The cube is now drawn under the ships so they can fly over it. Backup: redacted.
v243 (fix): the ships in the Last Stand fire their own weapons again (I had given them all plain bolts in my own colours): Starfleet ships fire the Enterprise's photon torpedoes (red-orange); the Klingon Bird of Prey, D7, Vor'cha and the Romulan Warbird the green torpedoes of the Romulan and Klingon rounds; the Ferengi Marauder, the Cardassian and the Orion Interceptor their own thin-line torpedoes (golden orange, amber yellow, red-orange); the Tholian its amber shot. Drawn with the game's paintTorpedo and each variant's torpedoPal (lsPal). The Borg's green shots are unchanged. Backup: redacted.
v243 (change): the Last Stand map is bottom right (the weapons readout, quantum torpedoes and upgrade timers, was hidden under it: it is back, bottom left); power-ups are on: now and then (the Asteroid Storm's kinds, timing and limit) one appears somewhere in the part of the world you can see, floats there (fading if not picked up), and moves with the world as the view follows the Enterprise (lsPowerups). Backup: redacted.
v243 (change): the power-up icons in the Last Stand no longer float (no sway), and are placed on whole pixels (powerupPos), so they cannot shimmer as the world scrolls under the view. Backup: redacted.
v243 (change): the Last Stand world is taller: 4 screens across and 6 high (LAST.world, was 4 x 4): Earth, the start formation and the Enterprise are still at the bottom, the cube hangs at y 700 (was 300) so there is 700 px of space above it, and the patrol loop is stretched to match. The strike group's runs now go well over the cube (up to 200-470 px above it) and swing round before coming back down. The map is a little taller. Backup: redacted.
v243 (change): the planet in the Last Stand always uses the game's Earth-like palette (the "earth" entry of PLANET.terran: blue seas, green and grey land, white ice and cloud, blue atmosphere) instead of a random world each time. Backup: redacted.
v243 (testing): the Last Stand cube has 10 times the health for testing (LAST.cube.hpMul 40; the design is 4 times the Borg Cube level).
v243 (fix): the Last Stand no longer jumps when the briefing goes: (1) the old starfield took its place from the view only when the round began, so it jumped (about 43 by 108 px); it now starts exactly where it is; (2) the Enterprise started above the camera's follow zone (screen y 90, zone from 110), so the whole view slid 20 px at once; the zone is now 70 px from the top (LAST.cam.zy). Backup: redacted.
v243 (change): the ships that circle the Borg cube orbit much further out (LAST.orbit.radius 340, swelling 70 px as they dodge; it was 215 +- 60; a steady circle now, steered along the tangent, and never closer than 240 px) and now, every 9-15 s (each ship a few seconds apart), stop, turn their noses to the cube, fire at it again and again for 5 seconds (LAST.orbit.fire: shots reach 600 px, rate 3 times faster) and then turn back and resume their orbit with their noses along it; between volleys they only fire at the Borg that come near. Backup: redacted.
v243 (change): the Last Stand fleet is 14 ships: the 12 with a job (guards, patrol, strike group, orbiters) and the 2 Starfleet ships with no job yet (the Enterprise-A and the original Enterprise, which stay where they started); the 18 enemy ships with no job are removed. Backup: redacted.
v243 (change): a third of the way through the round (LAST.cube.descend.at) the Borg cube begins to move slowly (20 px/s) down towards Earth, with the message THE BORG CUBE IS ADVANCING ON EARTH, and stops just inside the view you start in, at the bottom of the world (x 1110, y 1905; it moves on its normal sway). It keeps firing torpedoes, bombs and tractor beams on the way and after. Backup: redacted.
v243 (change): the craters and the impact flashes on Earth in the Last Stand lie along the planet's curve as in Planet Defence: each is turned by where it is on the planet (about 25 degrees one way at the left, flat at the top, 25 the other way at the right) and squashed more the nearer the edge (z), drawn as the same wide faint patch and darker core. Backup: redacted.
v243 (change): the view scrolls sooner when the Enterprise goes up or down: the follow zone is now 130 px from the top and from the bottom of the screen (LAST.cam.zyTop and zyBot, were 70; they are separate settings now). To keep the start from jumping the view begins 40 px up from the very bottom of the world (LAST.start.camDY -40) and the Enterprise starts at screen y 130, on the edge of the zone. Backup: redacted.
v243 (change): (1) ships that are hardly moving near Earth (the guards over it, and the ships with no job) float gently like the power-ups / the Enterprise in Planet Defence (POWERUP.sway x LAST.hoverSway .7, drawn between pixels, easing in and out as they stop and start); (2) the guards and the idle ships turn to face what they are shooting at (and back to nose up) and fire once they face it (within about 17 degrees); (3) all torpedoes are a little truer: the fleet leads a moving target by the time the shot takes and its scatter is half (LAST.aim.fleet .04, was .08), the spheres lead and scatter .06 (was .1, no lead), the cube's torpedoes lead and scatter .08 (was .13). Backup: redacted.
v243 (change): the Enterprise floats gently in the Last Stand when it is hardly moving and not thrusting (the same float as the ships near Earth: POWERUP.sway x LAST.hoverSway, drawn between pixels, easing in over about a second as it settles and out the moment it moves or thrusts). Backup: redacted.
v243 (testing): the Last Stand cube has half the testing health: LAST.cube.hpMul 20 (was 40; the design is 4).
v243 (change): every ship in the Last Stand now fires a phaser as well as its photon torpedoes (LAST.phaser): a beam that lands at once, every 2.6-4.6 s per ship, within 340 px (guards 480), when the target is in front of the ship (the same turn-to-face rules as the torpedoes); it does 2 hits (a torpedo does 1) to a sphere, bomb, the cube or the tractor beam; in the ships own colours: Starfleet the Enterprise orange, the Klingons green, the Romulan greenish white, the Ferengi golden, the Cardassian amber, the Orion red, the Tholian amber. Backup: redacted.
v243 (change): every alliance ship (Starfleet and the enemy ships that joined them) flies 1.5 times faster (LAST.fleet.speedMul 1.5: Starfleet 99 px/s, the others 84-138; its turning and its picking up of speed go up with it, so the arcs stay as wide). The Borg are unchanged. Backup: redacted.
v243 (change): the Borg cube's destruction in the Last Stand is now a proper sequence (LAST.blast): for 3.4 s a chain of explosions rips across the hull, more and more of them, big ones with flashes, shock rings and screen shake, fire jets spraying from the edges, smoke pouring out, the hull flickering with fires and glowing cracks showing through; then the end: a huge flash, three shock rings, 340 cooling sparks flung out at up to 330 px/s, 70 puffs of smoke, a rumble, and the hull breaks into 30 differently shaped pieces cut from its own picture, flung out and spinning, burning (trailing fire and smoke, glowing) for 2-5 s and then left floating in the wreckage layer. The summary now comes 14 s after the cube dies (was 9) so the aftermath can be seen. Backup: redacted.
v243 (change): the pieces of the shattered Borg cube are smaller: 70 pieces instead of 30 (LAST.blast.shards) drawn at 85% of their size (shardScale .85). Backup: redacted.
v243 (change): the cube shatters into 120 pieces (LAST.blast.shards, was 70); the wreckage layer may hold 200 (LAST.wreck.max, was 140) so they are not lost.
v243 (change): the cube shatters into 160 pieces (LAST.blast.shards) drawn at 75% of their size (shardScale .75).
v243 (fix): torpedoes (and the spread) fired from over the Borg cube are now seen: before, one that started inside the cube was removed on its first frame, before it was drawn. Now it flies on for 40 px in view (LAST.cube.fly) and then hits as before; ones fired from outside hit as they enter. Backup: redacted.
yes go ahead, save as new version
v242 (new version, saved from v241): nothing sticks out above the Tholian Web's last row: the sparkle (glint) drawn at each bold and medium crossing of the playable rows had arms that went up past the last row (grey-looking thin lines where the bold lines meet it); on the last row only the arms that point down are drawn. Version before: redacted
on the tholian web level, the enterprise does not lose lives when destroyed. fix
v241 (new version, saved from v240): in the Tholian Web a destroyed Enterprise now costs a life, as in a normal level (WEB.deathCostsLife true; at no lives left the game is over). The other bonus rounds (storms, stream, onslaught and the rest) still do not. It still takes the survival bonus's lostPenalty off as before. Version before: redacted
remove the suicide ram from the orion interceptor. also make it dart slower and make it stop further from the enterprise than other enemy ships. make the strafing slightly slower.
v240 (new version, saved from v239): the ORION INTERCEPTION, a new enemy (a duel like the Cardassian Engagement and the Ferengi Raid: DUEL_VARIANTS.orion). The Orion Interceptor (the sprite from the editor: 21 x 24, or 29 x 32 with SHIP SIZES: SCALED UP; 122 m at the Enterprise's scale) cannot cloak, darts at the Enterprise and strafes like the Klingon Bird of Prey (it rams about 8% of its darts), and fires single aimed red pulses and thin red-orange torpedoes; a second and third arrive as the first falls (reinforce 2), green nebula and mist. Numbers in redacted (hp.orion 70, received.orionBeam 3, orionTorpedo 3.5, score.orionHit 25, endBonus.orion*; backup redacted). Settings row ORION INTERCEPTION on the bonus page (OFF/RARE/SOMETIMES/OFTEN), redacted (also interceptor), briefing says AN ORION INTERCEPTOR. Version before: redacted
v240 (change): the Orion Interceptor no longer rams (ram 0), darts slower (190 px/s, was 250; accel 200, brake 170), stops further from the Enterprise (120-180 px short, the Bird of Prey stops 55-105), and strafes at 80% of the usual pace (DUEL_VARIANTS.orion.strafeMul .8, new: a variant can set its own strafe pace). Backup: redacted.
save as new version
v239 (new version, saved from v238): everything since v238 was first saved: the burn-up of the asteroids (red halo, fireball trail, particles, finer, shrinking with distance), the planet with twice the health, the phaser beam bending like the torpedoes, and the MANUAL TARGETING ONLY message. Version before: redacted
go ahead, save as new version
v238 (new version, saved from v237): the curve of the Planet Defence torpedoes is gentler and starts straight. A torpedo leaves exactly along the way the Enterprise faces (kept within 0.5 radians of the way to the crosshair while the ship is still turning: PDEF.arc.lead) and runs straight for the first third (arc.straight), then bends gently down onto the crosshair; the bow is only 5% of the path length (arc.bow, was 16%), more the lower the target, and none over space. It is now a cubic curve (b.pdp x1,y1,x2,y2) instead of a quadratic. Same end point, size and haze. Version before: redacted
v238 (change): asteroids burn up over the planet in Planet Defence: a red halo (it was a soft orange glow), a three-layer fireball trail (red, orange, white-hot) streaming behind it, shorter for smaller (further) ones, and glowing particles shed behind it that cool from white-hot through orange to dark red as they age (PDEF.burn: halo, trail, rate, cool, life, spread, max). It starts as the asteroid reaches the planet's edge and is full a little way over it (PDEF.depth.glowFrom, glowLen). Backup: redacted.
v238 (change): the asteroid burn-up is finer: the fireball trail is 40% as wide (PDEF.burn.width .4) and the glowing particles are 1 px (10% are 2 px: burn.big), not 2-3 px. Backup: redacted.
v238 (change): everything falling in Planet Defence shrinks more as it nears its landing place: down to 15% of its size on landing (PDEF.depth.end .15, was .30), and the asteroid's halo, fireball trail, particles (fewer, slower) and its plain trail all shrink with it (no more size floors), the asteroid pictures in 12 steps, the MIRV sphere to 3 px, so the ground feels further away. The burst radius still never goes under 2.4 px, so aiming at the last moment is unchanged. Backup: redacted.
v238 (change): the planet has twice the health: every hit takes half as much off its integrity (PDEF.diff.dmg halved: Easy .4, Normal .5, Hard .625, Super Easy .3). Backup: redacted.
v238 (change): the phaser beam in Planet Defence bends like the torpedoes when it lands over the planet: it leaves the saucer straight out the way the Enterprise faces and bends gently down onto the crosshair (pdBeamCurve; same arc settings as the torpedoes, times PDEF.arc.beamBow 1; none over space). The strike flare and the tail flare follow the curve. Backup: redacted.
v238 (text): the opening message now ends MANUAL TARGETING ONLY (was MANUAL CONTROL ONLY).
go with options 1, 2 and 4, save as new version
v237 (new version, saved from v236): Planet Defence torpedoes aimed at the planet go away from us. They fly along a curve that bows up (a lob down onto the planet; more the lower the target: PDEF.arc.bow .16 of the length), shrink on the way towards the size the burst there will be (PDEF.arc.shrink), and fade into the planet's haze, tinted blue (PDEF.arc.haze .7, hazeColour). Over space they still fly straight at full size. The burst is exactly where the crosshair was, so aim and scoring are unchanged (the torpedo now follows its own curve: b.pdp; homingStep leaves it alone; paintTorpedo takes b.pdk and b.pdh). Version before: redacted
can you make the craters slightly angled to the curvature of the planet, depending on where it is in relation to the position on the curved globe? if so, save as new version.
v236 (new version, saved from v235): the craters and the impact fireballs sit on the planet's curve: their squashed side now points towards the planet's middle and their wide side runs along the surface (pdRot), so a crater on the left of the planet leans one way, one on the right the other way (about 25 degrees at the sides of the screen) and one at the top is flat; the mushroom cap rises straight out from the surface, away from the planet's middle. Version before: redacted
v236 (change): the crater is refined: a wider, fainter scorched patch (a little off to one side, PDEF.impact.crater.drift) and a smaller, darker core (2.4 times as dark, half the size) exactly where the impact was; the burning ember and its sparks sit on that exact spot too. Backup: redacted.
v236 (change): the Enterprise's bursts in Planet Defense (torpedo, each of the spread's three, phaser) fade out more slowly, each at its own pace (PDEF.blastFade 1.8-3.2 times slower than before, picked per burst), cooling from white to orange to deep red as they go; what a burst destroys still follows its old, quicker shrinking. Backup: redacted.
v236 (change): the Planet Defense crosshair changes colour over the planet to one that stands out against it, worked out from the planet's own colours with the planet rescue's markerColour (RESCUE.planet.marker.contrast), blending across the planet's edge; over space it keeps the Warp Chase orange, and it is still red on a target. drawXhair takes an optional colour. Backup: redacted.
v236 (spelling): defense is now defence everywhere in the game (the round's name PLANET DEFENCE, its briefing and settings row, its comments, and its names in the code); redacted (also defence, pd, missile) plays it, and the old spellings redacted and redacted still work. Backup: redacted. (Older lines of this file keep the old spelling.)
v236 (text): the first message in Planet Defence now reads WEAPONS GUIDANCE SYSTEMS OFFLINE. MANUAL CONTROL ONLY, in amber (b.fmsgCol; the other messages stay green), for 4 s. Backup: redacted.
v236 (change): the Enterprise's bursts in Planet Defence get smaller when the crosshair is over the planet, the further down the screen the smaller (PDEF.blastDepth .4: 40% of the size at the bottom), as if they were further along the planet's orbit; the size they destroy within shrinks with them. Backup: redacted.
v236 (change): the planet edge is flatter: its radius is 2.6 screen heights (PDEF.planet.size, was 1.5): the edge now drops about 30 px from the middle of the screen to the side (was about 55). Backup: redacted.
v236 (fix): in Planet Defence the torpedoes (and the phaser beam) now leave from the front of the Enterprise at the angle it is facing. The ship's turn towards the crosshair was being set after the weapons fired, so they used the angle from the frame before (the ship block resets it to 0 each frame): now the turn is set first. The float is also applied to the ship's real position (not only to how it is drawn), so the weapons leave from where it is drawn. Backup: redacted.
v236 (fix): in Planet Defence the Enterprise no longer flips when the crosshair crosses below it: it used to take the angle to the crosshair straight (clamped to 2.4 radians), which jumps from one side to the other directly below. It now turns smoothly towards the crosshair the short way round, all the way round and through facing straight down (PDEF.turn: ease 16, max 9 radians a second). Backup: redacted.
go with option A and save as new version.
v235 (new version, saved from v234): Planet Defense depth. What falls now goes away from us towards the planet: asteroids, bolts and MIRV spheres start full size and shrink to 30% of it by the time they land (PDEF.depth.end), slow to 70% of their speed, fade a little into the planet's haze, have a smaller burst radius as they shrink (never under 2.4 px), and their trails shorten; an asteroid glows orange as it comes over the planet's edge. They no longer stop at the planet's top edge: each lands at a random place anywhere on the visible surface (PDEF.land), the crosshair can go over the planet too, and the city lights are spread over all of it. Impacts, craters and scars are squashed towards the limb and a little bigger where we look straight down. The planet is still (as in the planet rescue) so the marks stay where they hit. A MIRV's bolts and a big asteroid's halves start the size of what made them. drawRock now takes an optional scale (r.k). Version before: redacted
v235 (fix): Planet Defense froze (only the stars and the planet were left) when a MIRV split into bolts: the new bolts (and the halves of a big asteroid) were drawn once before they had their depth value, which made a colour NaN and the drawing stop. They now start with it set (and the drawing no longer trusts it).
v235 (fix): the spread in Planet Defense now plays the ordinary torpedo sound, as in every other level (it had a pitched-up, shimmering version).
v235 (change): in Planet Defense the Enterprise holds half way (PDEF.shipDrop .5) from where it was (32 px above the planet's top) to the bottom of the screen, so it hovers over the planet.
v235 (change): the impact on the planet in Planet Defense is a little longer and has stages (PDEF.impact): a point of brilliant white round flash, then an orange fireball that grows (10-15 px) with a cap that rises and spreads 3-5 px beyond it, mushrooming, then it dissipates in a clearing grey smoke (about 1.4 s in all, was a quick glow), leaving a dark grey crater patch that shows as the smoke clears. It is drawn over the planet (not added to it) so it shows on a bright planet. Backup: redacted.
v235 (change): the planet impact fireball no longer vanishes when it stops growing: it now collapses (shrinks by 60%) and fades out over 1.5 s (PDEF.impact.fade, collapse), cooling from white-hot to orange to dull red, the cap sinking back, while the smoke clears; about 2.1 s in all. Backup: redacted.
v235 (change): the craters are half as dark (PDEF.impact.crater.alpha .6 to .3), and 45% of them (PDEF.impact.fire) have a fire burning in them once the fireball has gone (from 1.8 s after the impact, for 9-16 s, then it dies down over 2 s): the Borg Cube's burning ember, a flickering orange 2-3 px square with a soft halo and a hotter pixel, plus the cube's small yellow-orange sparks drifting up (about 5 a second). Backup: redacted.
v235 (change): craters half as dark again (PDEF.impact.crater.alpha .15).
v235 (change): in Planet Defense the Enterprise floats like a power-up as it hovers (POWERUP.sway, the same slow drifting circle, never more than 6 px from its spot); the torpedoes leave from where it is drawn.
v235 (change): the Enterprise's float in Planet Defense is smoother: it is now drawn between pixels (smoothly, not snapped to whole pixels, so the many small steps no longer show as hops: shipSub in drawShip) and its distance is 70% of the power-ups' (PDEF.swayScale .7, about 3 px). Backup: redacted.
v235 (change): the Planet Defense round now winds down: each kind of thing stops being sent when it would no longer have time to land before the clock reaches 0 (PDEF.enemy: cutoffSafety 1.2, margin .5; pdCutoffs works it out from the round length, how fast each kind falls at that point in the round, its usual path to the planet and the depth slow-down, and the difficulty). At Normal on the 90 s round the big asteroids stop about 14 s before the end, the small ones 10 s, MIRV bombs 7 s and the fast bolts 4 s, so the sky is empty as the timer ends and the planet is saved. Backup: redacted.
make me a new level - one of your suggested new levels: option 5 - Planet Defense (Missile Command). save as a new version.
v234 (new version, saved from v233): PLANET DEFENSE, a new bonus round (Missile Command), made of the game's own assets. One of the planet levels' animated planets (Earth-like, huge, no rings, lit from above, the shader backdrop: renderNebula makes it for this round, see planetDefenseParams) fills the bottom of the screen; the asteroids (rockSprites, drawRock: small ones and big ones that break in two), Borg bolts and MIRV Borg spheres (they split into 3 bolts on the way down) rain down on it. The Enterprise holds still above it and turns to face the Warp Chase's targeting square (drawXhair, now shared with the Warp Chase; it goes red over a target), which the arrows move. The torpedo key fires the ordinary torpedo to the crosshair, where it bursts; the phaser key fires the ordinary phaser beam there (a small burst); the spread key sends three torpedoes round it. What reaches the planet lowers its integrity (city lights go out, craters stay, flash and shake); at 0 it is lost and the round ends. 90 s; the bonus is the share of integrity left (PDEF.end). Settings row PLANET DEFENSE (bonus page), redacted (also pd, missile, defense). PDEF has every number. Backup of the first version, which drew its own planet and sprites: redacted.
v234 (change): the planet in Planet Defense now covers 25-40% of the screen height (a random share each round: PDEF.planet.fill), and the Enterprise holds 32 px above its top, the crosshair stays above it too. Backup: redacted.
for the last row of nodes and strands, the enterprise should not be able to collide into the threads/strand and destroy them that way. ensure they can only disappear if a node is destroyed.
If there is no more available space for the enterprise to move in the playable area (due to collapsing walls, play area shrinkage due to scrolling, etc) then the enterprise explodes.
v233 (new version, saved from v232): the finale row is solid. Its threads can no longer be burnt away by flying into them (they go only when a node is destroyed). The Enterprise cannot pass through them: the row pushes it down ahead of it, or holds it back from the other side (a burn every 0.9 s while it is pressed against it, message THE LAST STRAND HOLDS) unless it is in a gap. If it is pushed to the bottom of its area it is crushed and explodes (CRUSHED AGAINST THE LAST STRAND); it also explodes if the walls leave less room than its own size (CRUSHED BY THE WEB). WEB.finale.pad. Version before: redacted
v233 (change): the menders now come as soon as the Enterprise has passed through a row (when the row is 12 px below it, WEB.repair.after), not on a timer that picked a row further down: with the chance (65%), if the row has gaps, and not sooner than 2-7 s after the last one. Backup: redacted.
periodically, make a tholian ship appear randomly either from left or right under the last horizontal line the enterprise has broken through and move along that horizontal line and as it passes gaps, seal up the web with new strands/threads (like the start of the level when the web is sealed up). do this for some horizontal levels, not all to make it appear more natural/random/organic rather than strictly procedural.
v232 (new version, saved from v231): the Tholian menders (WEB.repair). Now and then (the first after 14 s, then every 11-20 s, and only 60% of the times) a Tholian ship darts along the nearest row below the Enterprise that has gaps in it, from a random side at 200-250 px/s, and mends it: every destroyed node it passes is woven back at full health and burnt threads are put back, like the sealing at the start. The finale row is never mended. It can be shot (3 hits), is not counted in the most ships at once, and the first one brings the message THE THOLIANS ARE MENDING THE WEB. Version before: redacted
v232 (change): menders more often: 65% chance, checked every 5-10 s (was 60%, 11-20 s).
v232 (change): menders checked every 2-7 s.
save as new version
v231 (new version, saved from v230): everything since v230 was started, i.e. the web ships (more, darts, drifters, divers), the chasers, the amber hit shield, bigger node explosions, the sizzle, the message fix, the new texts and the bold diagonals in front of the Enterprise. Version before: redacted
save as v230. then are you able to clip the shimmer effect when it falls outside (above) the last row of nodes? when the enterprise breaks through the last row but triggers the shimmer, i can see the shimmer extend outside of the last row.
v230 (from v229): the wall ripple is clipped to below the finale row (nothing spreads above the last row of nodes), and a wall touch above the finale row no longer starts a ripple at all.
v230 (change): the Tholian ships (and the sealing ship) now use the Tholian Web-Spinner sprite (9 x 16, or 18 x 32 with SHIP SIZES: SCALED UP) instead of the Keldon; WEB.ships.scale is replaced by WEB.ships.height (22 px, both sizes drawn that tall). Backup: redacted.
v230 (change): more Tholian ships in the web (WEB.ships.max 2 to 5, a new one every 5-8 s instead of 9-14). Half DART (straight across at 150-210 px/s, nose first in the direction they travel) and half DRIFT (18-30 px/s, nose down; they used to cross at 46-68). A new set of DIVERS (WEB.ships.dive): 1-3 at a time, first after 9 s then every 11-17 s, they dart down from the top of the screen at 120-175 px/s, shooting as they go, and leave at the bottom; they are not counted in the most at once. Backup: redacted.
v230 (change): a destroyed web node explodes bigger: 24 sparks at 86 px/s plus 10 brighter faster ones (was 10 at 52), a stronger boom sound and a tiny shake (WEB.explode).
v230 (change): the nodes of the last row explode much bigger (WEB.explode.finale: 2.4 times the sparks, 1.4 times as fast, 24 more fast ones, the biggest boom sound) with a proper screen shake (0.55 s).
v230 (change): the chasers. At the start, while the game flies the Enterprise up into the web (the flight now waits for the briefing to end, so it is seen), 3 Tholian ships rise from the bottom of the screen after it (WEB.chase), keep below and to the sides of it and fire at it with a sloppy aim (always 10-29 degrees off). When the Enterprise is in the web and control returns they dart up and off the top of the screen. They can be shot, and do not count toward the most ships at once. Backup: redacted.
v230 (change): the round glow behind each Tholian ship is now a faint amber shield bubble in the Enterprise's style: more transparent (alpha .3, was a solid .25 fill) with a 1 px shimmering rim and a drifting dither fill, flashing brighter when the ship is hit (WEB.ships.shield: r, alpha, hit; alpha 0 turns it off).
v230 (change): the Tholian ship shield bubble is hidden until the ship is hit; it then shows and fades over 0.6 s (WEB.ships.shield: r, hit, show).
v230 (text): the first Tholian ship message now reads "ATTACKING THOLIAN SHIPS ARE FORCING THE ENTERPRISE INTO THEIR WEB: SHOOT THEM"; the briefing's last line now reads "... BREAK THROUGH THE WEB AND ESCAPE IN 2:15" instead of SURVIVE.
v230 (text): ": SHOOT THEM" removed from the first Tholian ship message.
v230 (fix): the green message line (BURNED BY THE WEB, THE WEB IS BEING SEALED BEHIND YOU and the others) never went away in the Tholian Web: only the Borg Onslaught counted its time down. The web round now counts it down itself.
v230 (text): the briefing now reads "The Tholians are weaving a web to trap the Enterprise. Shoot its nodes to open gaps and fly through as the web closes in. Break through the web to escape in 2:15" (over its two lines).
v230 (change): the 3 chaser Tholian ships sway as they follow the Enterprise: 1-2 px sideways and 5 px up and down (WEB.chase.wobble), each at its own rate and phase.
v230 (change): the chaser sway is switched off (WEB.chase.wobble set to 0; put x: [1, 2], y: 5 back to bring it back).
v230 (sound): the shield sizzle already played whenever the web burned the Enterprise (a thread or the wall, through stormHit); it now also plays when the Enterprise touches the wall without being burnt (WEB.sizzle: .35 s between).
v230 (change): the last row nodes are 4 times as hard as the others (WEB.finale.hpMul 4, was 5): 36 hits at Normal; breakout time about 8.5 s at Normal.
v230 (change): the lines in front of the Enterprise (the web over layer) are a little more opaque: medium .1 to .14, bold .24 to .34 (WEB.lattice.over).
v230 (undo): the web over-layer opacity is back to .1 / .24.
v230 (change): the bright thick (bold) yellow diagonals are now drawn in front of the Enterprise (WEB.lattice.boldOver: on, alpha; on: false puts them back behind). Before, only a faint copy of them was in front. Backup: redacted.
let's start with 30 rows.
breakout time 10 secs, and make it change with difficulty. and scale with node health.
finale row should have brighter threads.
save as new version
v229 (from v228): the course is now a number of rows, WEB.rows = 30, instead of a timer. The web speeds up with the distance it has come (34 to 58 px/s), so the time to the last row is worked out at the start of the round (about 2:12 for 30 rows, and the round then ends 3 s after the Enterprise passes it, or sooner once it has). The last row (the finale) has brighter, thicker, steadier white threads and a message. The diamond wall is fully shut exactly breakTime seconds before the finale row reaches y 230: WEB.finale.breakTime 10 s at Normal, scaled by the node health (hits per node / 9) and a difficulty factor breakMul [1.2, 1, .9, 1.4] for Easy / Normal / Hard / Super Easy (about 8 / 10 / 12 / 9 s). To keep that time exact the Tholian ships no longer speed the closing (shipPush 0) and their message now just says to shoot them.
v229 (fix): the little horizontal line left where a node was destroyed was the glint (star / cross / dot) drawn at every lattice crossing, which never checked that the node was still there; on the playable rows it now draws only for a node that is alive.
v229 (addition): nothing is drawn beyond the finale row: the lattice lines (rows and the diagonals going up from the last row), the glints and beads, the "in front of the Enterprise" layer, the amber wall fill, its bright lattice and glow and the edge pulse all stop at the finale row (rows past WEB.rows no longer exist).
v229 (addition): the finale row's nodes take 10 times the hits (WEB.finale.hpMul: 90 at Normal). The breakout time is still worked out from an ordinary node's health.
v229 (change): the breakout time is now calculated from the Enterprise's fire: (finale node health / (torpedoes a second x damage x 0.75 that lands) + 2.5 s for lining up, the node's last flicker and flying through) x a difficulty margin [1.2, 1, .9, 1.4]. At Normal a finale node has 90 hits, torpedoes fire 8 a second (STORM.fireEvery .125, 1 damage each): 15 s + 2.5 s = 17.5 s. Replaces the fixed 10 s (WEB.finale.breakTime and hpRef are gone; eff and extra are new).
v229 (change): the finale row's nodes are now 5 times as hard as the others (WEB.finale.hpMul 5: 45 hits at Normal); the breakout time follows: Normal 10 s.
v229 (addition): wall ripple. When the Enterprise touches a wall, rings of light spread from the point of contact across the whole of the wall outside the diamond, fading as they go, and the lattice glows brighter inside them. WEB.ripple: on (false disables it), speed, life, rings, gap, width, alpha, lattice (0 = no lattice glow), cool, max, colour. Backup before it: redacted.
make the damaged web thread flicker a little faster
v228 (from v227a, the stepped-closing web; with the outer wall fill at 5%): the first row of the web starts dormant (nodes off, no threads) so the Enterprise can fly into the web without blasting. Once the first row has passed below the Enterprise a Tholian ship darts along it (random side, WEB.ships.seal) and seals it: each node lights up as the ship passes and the threads form between them, then it leaves the screen (it can be shot, which leaves the rest of the row open). The first ordinary Tholian ship now arrives after 1.6 s instead of 7 s, so ships are on the Enterprise from the start.
v228 (addition): the game now flies the Enterprise up the screen into the web at the start (WEB.enter: up to y 140, centred, gently), so the sealing of the first row is in view; control returns as the sealing ship appears (or when the web has come down 400 px as a safety). The Tholian ship picture is now one function, WEB.ships.picture (the Keldon for now), used by every Tholian ship including the sealer: swap it for the Tholian sprite there.
go with your recommendation for now. centre of diamond: screen's middle. 40% of starting width. smooth closing. tholian ships - you decide.
v227 (new version, saved from v226) Tholian Web: the walls are now a shrinking DIAMOND (WEB.dia): the playable area is a diamond round the middle of the screen with its sides on the lattice's 60 degree lines (starting just wide enough to hold the whole screen, 688 px across at its middle), closing smoothly to 40% of that by the end of the round; everything outside it is the wall, a semi-opaque amber fill with the lattice brighter in it and only a very soft glow along its edge (the bright yellow wall lines are gone). The playable threads now run right across the screen (through the wall too); nodes in the wall are out of play. The Enterprise is held inside the diamond (pushed back along its slanted sides, with a flare where it touches, and burnt every 0.9 s once the web has begun to close). Each Tholian ship still in the fight makes the web close 35% faster (WEB.shipPush), so shooting them slows it; the first one brings a message saying so. Version before: redacted
go with option A first, straight threads, 56px node density first. thx
v226 (new version, saved from v225) Tholian Web in the series' look (option A): the web is now one triangular lattice (WEB.s 56 px between nodes; rows 0.866 of that apart, every other row shifted by half a spacing, so the lines at 0 and +-60 degrees all meet on the nodes) that comes down as one piece. Every 4th row is a PLAYABLE row: a straight, bright thread with 9 shootable nodes (as before: a thread burns through when touched, a destroyed node opens a gap two spacings wide); all the rest is drawing: BEHIND the Enterprise the whole lattice in three weights (every 4th line bold with a glow, every other 2nd medium, the rest fine; the bold lines meet exactly on the playable nodes, so the bold triangles are subdivided by the fine ones), star glints where bold lines cross (small ones where medium lines do), and beads of light running along the bold lines; IN FRONT of the Enterprise a faint set of the bolder diagonals, so it seems to fly inside the web. The threads are dead straight (the ripple is off, shimmer.amp 0; the quick flicker stays). Colours unchanged. Version before: redacted
v226 (in place) Tholian Web nodes: smaller (the diamond and its glow about 40% smaller; the hit radius 6 -> 4.5 px, WEB.nodeR) and three times tougher (WEB.hpMul 3: 6 / 9 / 12 hits on Easy / Normal / Hard, 6 on Super Easy). Backup: redacted
v226 (in place) Tholian Web nodes: (1) at half health or less (WEB.weak .5) the two threads either side of a node flicker on and off in uneven stretches (about 17 changes a second, dimming to 10%), a sign it is failing; the lattice's other lines and the other threads are not touched; (2) when its health reaches zero the node can no longer be hit and the two threads beside it fade out quickly over 0.3 s (WEB.dying), and only then does it explode, with a small explosion (10 sparks, a soft boom) and the gap is open; a thread that is mostly faded no longer burns. Backup: redacted
make the thread lines a similar visual effect to the enterprise's phasers where the line shimmers. keep the current colour scheme.
also make the thread tighter together so more to shoot. save as new version
v225 (new version, saved from v224) Tholian Web: (1) the strands (and the side walls) shimmer as the Enterprise's phaser beam does: drawn every 5 px with a fast, fine sideways ripple (up to 0.9 px, zero at the nodes and strongest midway, the phaser's own two-wave formula) and a quick brightness flicker (30% at 95 rad/s), in the same amber colours (WEB.shimmer); (2) tighter together: 12 nodes in a curtain, about 38 px apart (was 7, about 60 px), so there is more to shoot (a gap is two nodes wide, about 76 px), and the curtains come a little closer together in time (every 7-10.5 s, was 8.5-12.5). Version before: redacted
love to see your tholian web level come to life. make it happen, and i'll refine it further or worst case scenario, i'll ask you to undo.
v224 (new version, saved from v223) new bonus round THOLIAN WEB (WEB, startWeb, webStep, drawWeb; redacted; settings > bonus stages > THOLIAN WEB, default OFTEN; scheduled from level 10 / 8 / 7 / 11 on Easy / Normal / Hard / Super Easy), 2:00, on the Asteroid Stream's movement: (1) CURTAINS of glowing amber web come down the screen every 8.5-12.5 s (sooner later on): a row of 7 diamond NODES joined by rippling strands anchored to the walls; a strand burns the Enterprise's shield as a Borg shot would (and burns through, once per strand); shooting a node (2 / 3 / 4 hits on Easy / Normal / Hard, 2 on Super Easy; torpedoes, quantum, wingmen and the phaser all hit, and homing finds them) destroys it and the strands either side of it go, opening a gap (+120 points); (2) a WALL of web at each side slowly closes in (to 78 px each side by the end), darkening the outside; touching one pushes the Enterprise away and burns its shield every 0.9 s; (3) THOLIAN SHIPS (the Keldon's picture, golden with an amber glow) fly across the top of the screen from a side, up to two at once, firing aimed amber shots; they can be shot down (4 hits, +150). Mist is orange. HUD: nodes / Tholian ships / strands hit; summary: web nodes destroyed, Tholian ships, strands hit, ships lost, survival and shield bonuses. Version before: redacted
on the borg capture level, make a borg sphere random dart from top of screen and stop above enterprise and initiate a tractor beam to lock it in. use the same borg cube tractor beam code to establish a tractor beam lock when enterprise isn't directly under the borg sphere. once captured, the enterprise needs to shoot its way to release itself from tractor beam. make the number …
v223 (new version, saved from v222) Borg Capture: the HUNTER (CAPTURE.hunt; startHunt, huntStep, huntRelease): every 30-44 s (the first at about 24 s, never while a captive is held) a Borg sphere darts down from the top of the screen and stops above, and a little to one side (40-110 px) of, the Enterprise, then puts the Borg Cube's tractor beam on it: the same code (tractorAngle, tractorInBeam, CUBE.tractor.warn / aimRate / halfAngle) and drawing (drawTractorBeam): it warns and swings round after the ship, and if the Enterprise is in the beam when the warning ends it is caught (otherwise the beam fades and the sphere leaves: 'EVADED THE TRACTOR BEAM'). Held, the Enterprise has no control, leans toward the sphere, is drawn up toward it slowly (24 px/s) and its torpedoes fly along the beam; to break free it must shoot the sphere, which takes as many hits as the sphere holding a captive (12 / 16 / 20 on Easy / Normal / Hard, 8 on Super Easy); no kill beam and no crash, so it is not as hard as the Cube's. While it is held 2-3 more Borg spheres dart down one after another (0.55 s apart), hover about the Enterprise's height (-30 to +15 px) out to either side (70-150 px) and fire at it; when the sphere is destroyed (TRACTOR BEAM BROKEN) the Enterprise is let go with 1.6 s of protection and the blue bubble, the beam fades and the gunners leave off the top. The Enterprise is let go if it is destroyed or the round ends. Backup of the version before: redacted
v223 (in place) Borg Capture hunter: (1) BUG FIXED: after the first hunter there were no more: its settings object had two 'gap' entries (the wait between hunters and the gunners' spacing), so the second one replaced the first and the next wait came out as NaN; the gunners' spacing is now 'gunGap'. The wait between hunters also no longer pauses while a captive is held (a hunter that is due waits only until no captive is held). (2) more often: first after 12 s, then every 16-26 s (was 24 and 30-44 s). (3) tougher: 2.5 times the hits of a sphere holding a captive (CAPTURE.hunt.hpMul: 30 / 40 / 50 hits on Easy / Normal / Hard, 20 on Super Easy). (4) it has its own green shield bubble (CAPTURE.hunt.shield): a faint one all the time and a bright flare that fades over 0.55 s after every hit. Backup: redacted
v223 (in place) Borg Capture hunter: its beam animation now always finishes. (1) The sphere cannot be damaged from when it appears until its beam has fully appeared and locked (the dart, the warning, and the beam building up to full strength): torpedoes flare its shield but do no harm (its hits stay at 100%), so it can no longer be destroyed before the animation is done. (2) If the Enterprise gets out of the beam in time (or the ship is lost while it is held), the sphere stays where it is holding the beam while the beam fades out, and only when the beam has gone does it fly off the top of the screen (before: it left at once and the beam faded on its own where the sphere had been). Backup: redacted
v223 (in place) Borg Capture hunter beam: (1) when the sphere is destroyed its beam (and the emitter glow and the white flash circle at its origin) goes at that instant, as the explosion starts, instead of fading for another 0.8 s; the stuck flash circle was a bug (it only died away while the sphere lived) and is cleared in every case; (2) the beam flickers on and off, as the Cube's does when nearly spent, only in the last 10% of the sphere's health (CAPTURE.hunt.flickerAt; it was 45% before), so the Enterprise stays held until the kill but the beam shows it is failing. Backup: redacted
v223 (in place) Borg Capture hunter: when its beam lets go of the Enterprise (the sphere destroyed) the Enterprise recoils as if it had been straining against the pull: a short kick away from the sphere (about 9 px in all, 80 px/s dying away at 9 a second: CAPTURE.hunt.jolt) and its lean, which was tilted toward the sphere, snaps back the other way. It also stops dead after the release: before, it carried on drifting up for a while at the speed it had been drawn up at. Backup: redacted
v223 (in place) Borg Capture hunter release: the recoil is bigger (about 15 px back instead of 9) and now starts fast and eases to a stop over 0.65 s (CAPTURE.hunt.jolt dist, dur, ease) instead of dying away at a fixed rate; after it, the Enterprise's lean eases from the angle it was held at back to upright over 1.3 s (leanDur, with a smooth start and end), instead of snapping back in about 0.4 s. Backup: redacted
v223 (in place) Borg Capture hunter release: the recoil is bigger again (about 29 px back; CAPTURE.hunt.jolt dist 30) and slows more gently towards the end (dur .95 s, ease 5: a long soft tail), and the lean eases back to upright over 1.5 s. Backup: redacted
v223 (in place) Borg Capture hunter release: the recoil is now a drift backwards: it starts as a gentle push (about 28 px/s) and slows gradually to a stop over 2.6 s (CAPTURE.hunt.jolt dur 2.6, ease 3, dist 32: about 30 px back in all), and the lean eases back to upright over 2.2 s. Backup: redacted
the menu screen for bonus stages has gotten too long and the text is too compacted. can you create a scrollable content panel to display the list ?
v222 (new version, saved from v221) SETTINGS > BONUS STAGES now has a scrolling panel (SETTINGS_SCROLL): the stages are listed at the normal size, 9 at a time, in a panel with a scroll bar and up/down arrows; the selection takes the list with it, PAGE UP / PAGE DOWN / HOME / END move further, and BACK stays below the panel. (The JUMP TO STAGE list on the title screen already scrolled, and is unchanged.)
v222 (in place) the Bonus Stages scrolling panel no longer has the blue border (the dark panel, the scroll bar and the arrows stay). Backup: redacted
make any released and dropped starfleet ships display on a layer below the enterprise. the enterprise should always be above them. then make a bigger gap (spacing) between any wingman ships and the enterprise. then make any wingman ships also make a small angled turn / rotation just like the enterprise, to indicate change in turning angle. but also make each wingman turn/chang…
then make a bigger gap (spacing) between any wingman ships and the enterprise.
then make any wingman ships also make a small angled turn / rotation just like the enterprise, to indicate change in turning angle. but also make each wingman turn/change in direction not in sync with enterprise, maybe a 0.3-1 sec lag to whatever the enterprise does. save as new version.
v221 (new version, saved from v220) Borg Capture wingmen: (1) the freed ships (flying down to the Enterprise and docked beside it) are drawn BELOW the Enterprise (drawCaptureWing, called before the Enterprise is drawn), so it is always on top of them; (2) wider gap: they fly 44 px out to each side (was 27); (3) each wingman leans into the Enterprise's turns with the Enterprise's own banking spring, but to what the Enterprise did 0.3-1.0 s ago (its own random lag, CAPTURE.wing.lag) so it neither turns nor straightens in step with the Enterprise or the other wingman, and each follows the Enterprise's position at its own briskness (5-8, CAPTURE.wing.ease); they are kept on the screen at the sides.
v221 (in place) Borg Capture wingmen: they fly 60 px out to each side of the Enterprise (was 44), and each has a shield bubble with 50% shield (CAPTURE.wing.shield): a Borg shot takes the same share off it as off the Enterprise's shield (SHIELD_RULES.borgHitDamage: 15 on Normal, so it absorbs three shots), the bubble pulsing with the hit and a spark and the shield sound; a shot that would take it below zero destroys it, as for the Enterprise. A faint rim shows while the shield holds, fainter as it falls. Backup: redacted
v221 (in place) Borg Capture wingmen: (1) shields: the bubble is the Enterprise's own (same blue, sparkles and pulses on a hit); the faint idle rim is gone and a small bar in the same blue under each wingman shows its shield instead; (2) a wingman now fires its own PHASER whenever the Enterprise fires the phaser (firePhaser(w): the same beam drawing, accuracy and hit rules, starting on the wingman, silent), as well as its torpedoes, so the three beams converge on the target; (3) fix: a freed ship now flies to its place carried along with the Enterprise's sideways speed and docks when within 10 px (CAPTURE.wing.dockR), where before it only docked once it had caught the Enterprise exactly, which it could not do while the Enterprise was moving; a wingman only fires once docked. Backup: redacted
v221 (in place) tractor beams (the Borg Cube's and the Borg Capture's, one drawing function): each line (the ten rays and the two edges) now has its own length that keeps changing, between 70% and 100% of the beam's length at its own pace (CUBE.tractor.endVary .3, endRate [1.1, 2.6]), so the bottom of the beam is ragged and fluctuates instead of ending on one level; the soft fill follows the ends of the lines. In the Borg Capture the beam is now drawn OVER the captured ship (so the ship lies under the beam), and is a little longer than the ship. Backup: redacted
v221 (in place) Borg Capture wingmen, behaviour: (1) a freed ship now floats down gradually: 4.2 s, easing in and out (CAPTURE.wing.fall; it docked at once before); (2) each wingman's distance from the Enterprise varies: it picks a distance of 58-135 px out to the side and -6 to +16 px below the Enterprise every 4-9 s and eases to it (was a fixed 60 px); (3) each wingman copies the Enterprise's movements 1-3 s late (its own delay, kept: it flies to where the Enterprise was that long ago, so it trails and swings after it), and leans into its own turns; (4) now and then (after 8-20 s of copying, 55% chance) a wingman goes its own way for 5-10 s, flying between random places in the lower screen at least 52 px from the Enterprise, then goes back to copying; (5) each wingman aims and fires for itself: a torpedo every 0.45-0.85 s at the nearest target it can see (300 px, a 150 degree arc ahead of it), and a phaser shot every 2.6-4.6 s, with the Enterprise's torpedo and phaser looks, whether or not the Enterprise is firing (they no longer mirror the Enterprise's fire). Backup: redacted
v221 (in place) Borg Capture: (1) wingmen no longer dart: their speed is capped (80 px/s when copying the Enterprise, 60 when going their own way; the Enterprise's is 90) and it changes by at most 100 px/s a second (CAPTURE.wing.speed, freeSpeed, accel), so a new place far away is reached smoothly; (2) a ship freed when two wingmen are already flying with the Enterprise (before: it just vanished in a small burst of sparks, with the FLEET FULL message) now drifts gently down the screen, speeding up as it goes and swaying a little, and off the bottom over 7.5 s (CAPTURE.wing.drift); +1000 as before. Backup: redacted
v221 (in place) Borg Capture now lasts 3:00 (CAPTURE.duration 180; the Borg Onslaught stays at 1:30): the clock, the briefing ('survive 3:00'), the formations quickening through the round and the captive timing all follow it. Backup: redacted
v221 (in place) Borg Capture: the HUD names each captive by its class instead of its name: Excelsior class / Nebula class / Constellation class (the Stargazer) / Intrepid class (the Voyager) / Constitution class (refit) (the Enterprise-A) / Constitution class (the original Enterprise), each followed by 'starship' (e.g. 'INTREPID CLASS STARSHIP CAPTURED: DESTROY THE TRACTOR SPHERE', '... FREED +1000 IT FLIES WITH YOU', '... LOST TO THE BORG', '... LOST'); when the fleet is full the message now ends 'FALLING BACK FOR REPAIRS'. Backup: redacted
v221 (in place) Borg Capture: the freed-ship message now ends 'ASSUMING COMBAT-READY FORMATION' (was 'IT FLIES WITH YOU'). Backup: redacted
v221 (in place) Borg Capture: the freed message now reads '<CLASS> STARSHIP FREED: 1000 PTS ASSUMING COMBAT-READY FORMATION' (and '... FREED: 1000 PTS FALLING BACK FOR REPAIRS' when the fleet is full): the points follow CAPTURE.freeBonus. Backup: redacted
start with borg capture. save as new version. may need to revert.
v220 (new version, saved from v219) new bonus round BORG CAPTURE (CAPTURE, startBorgCapture; redacted, settings > bonus stages > BORG CAPTURE, default OFTEN): the Borg Onslaught's formations (a little less often) plus, every 15-22 s, a Borg tractor sphere that drops in holding a captured Starfleet ship (random from the Excelsior, Nebula class, Stargazer, Voyager, Enterprise-A, Enterprise TOS) in a green tractor beam. Destroy the sphere (12 / 16 / 20 hits on Easy / Normal / Hard, 8 on Super Easy; health bar and a pulsing ring show which) within 17 s and the ship is freed (+1000) and docks beside the Enterprise as a wingman (up to two, one each side), firing a torpedo whenever the Enterprise fires its ordinary one (not counted against its allowance, homing like the others); a wingman is destroyed by the first Borg shot that hits it. If the sphere is not destroyed it flies off with the ship. HUD shows spheres / ships freed / wingmen; the summary shows spheres, ships freed, formations cleared, ships lost, survival and shield bonuses. (The existing control-key function startCapture(id) is a different thing: the new one is startBorgCapture.)
v220 (in place) Borg Capture: the captive's tractor beam now uses the Borg Cube's own beam drawing (drawTractorBeam, split out of drawTractor): the dark green shimmering cone with shimmering edges, the rays, sparkle and the glowing emitter at its tip; it fades in, flashes at the tip when the sphere is hit, and flickers on and off in uneven stretches when the sphere is nearly spent (45% health or less), as the Cube's beam does. No hum sound added. Backup: redacted
save as new version
v219 (saved from v218, no other changes): includes the Crossing's ambush ships, formation sway, wider-spaced formations, dimmed currents, extra power-ups and sparkling asteroids, the Wormhole Race's six-ship pool and new briefing, the spread's rear torpedo, the home-screen lift and the rest of the changes made in v218 after it was saved.
save as new version v218
v218 (saved from v217, no other changes): includes SUPER EASY difficulty, SHIP/WEAPONS menu rename, thicker Warp Chase walls and homing quantum torpedoes.
v218 (in place): firing the photon spread now also fires the rear torpedo, with the same rules, cooldown and setting (REAR TORPEDOES) as when a single torpedo is fired (fireSpread calls rearFire). Backup: redacted
v218 (in place): on the home screen everything from the STARFLEET title down to the 'PRESS [SPACE] TO JUMP TO STAGE' line (RETRO, A R C A D E, the version, the swaying ship, PRESS ENTER) is drawn 10 px higher (TITLE_LIFT); the controls lines, HI score and difficulty stay where they were. Backup: redacted
v218 (in place): Asteroid Crossing layer order: the mist (veil, fog, wisps) is now drawn between the lower (darker) asteroids and the space currents, instead of after the whole lane layer (drawMist('under') is called inside drawCrossWorld; the generic call skips the Crossing). The faint mist in front is unchanged. Backup: redacted
v218 (in place) Asteroid Crossing: (1) the space currents' streaks are dimmer (CROSS.currentDim .5); (2) more power-ups: POWERUP.crossing (first after 4-7 s, then every 5-9 s, up to 4 about at once; was 6-10 s, 8-14 s, 3), now shield restores and, rarely, an extra life (weight .35, only below the lives cap); no weapon power-ups there; (3) about 12% of the playable asteroids (CROSS.sparkle) shimmer with the rare mineral asteroid's gold glints and its darker shade (r.glit in drawRock), as an extra look only: they are ordinary asteroids and break like the others. Backup: redacted
v218 (in place) FORMATION_SWAY: the vessels that fly in formation each drift 1-2 px from side to side (each its own size, speed and starting point in the swing; a swing takes 3-7 s) so a formation is not perfectly rigid: the Borg Onslaught's formations, the Borg Cube's waves while they hold their line, and the V formations of enemy ships in the Asteroid Crossing. FORMATION_SWAY.enabled = false (or amp [0, 0]) turns it off. To undo: copy redacted over redacted.
v218 (in place) fix: the formation sway edit had put a comment in the middle of the Asteroid Crossing raid ships' movement line, which switched off the line that turns each ship to face the way it is going, so they flew tail first. The line is restored (they face down again, heading about 3.0 radians); the sway is unchanged.
v218 (in place) Asteroid Crossing enemy formations: the ships are drawn smaller (CROSS.raid.scale 1.3 -> 1.1) and spaced out more: wing ships are at least 46 px out and 32 px back from the one before (was 36 and 24), and never closer than the ship's own width plus 8 px (wingGap) sideways, so wide ships (the Klingon, the scaled-up pictures) no longer overlap. Backup: redacted
v218 (in place) Asteroid Crossing ambush ships (CROSS.ambush): from the second crossing on, each crossing has a 55% chance of a cloaked ship waiting in one of its asteroid or current bands: a Romulan warbird, a Klingon Bird of Prey, a Vor'cha or a D7. It is all but invisible (a faint shimmer) until the Enterprise is within 230 px of it, then it decloaks (a flickering fade-in over 1.3 s, with the warbird's decloak sound), turns its bow to the Enterprise and fires 2-4 shots at it, a little apart. They are drawn with the other enemy ships, above the Enterprise, so it cannot collide with one, and they slide off the bottom with the field. Backup: redacted
v218 (in place) Wormhole Race: the racers are now picked at random each race, three of a pool of six Starfleet ships (WRACE.pool): the Nebula class, the Stargazer and the Voyager as before, plus the Enterprise (TOS), the Enterprise-A and the USS Excelsior (each at the SHIP SIZES setting's picture). The race is still the Enterprise against three, so the places and bonuses are unchanged. Backup: redacted
v218 (in place) Wormhole Race briefing now reads: 'Race other Starfleet ships through the wormhole.' / 'Finish ahead of them for a bonus.' (the old lines about the named ships, keeping inside the walls, destroying the enemy ships and spinning out of control are gone). Backup: redacted
everywhere, make it a setting, save as new version
v217 (saved from v216) new setting REAR TORPEDOES (SHIP/WEAPONS SETTINGS: OFF / LOW / MEDIUM / HIGH, default MEDIUM): when an ordinary torpedo is fired, the ship also looks for a target in a cone behind it (round the direction directly behind its facing, whatever the rotation; in the fixed-ship rounds, down the screen) and, if the rear gun has cooled down (3.5 / 2.2 / 1.4 s) and a legitimate target is in range (150 / 200 / 260 px, cone 90 / 110 / 140 degrees), a single torpedo leaves from just behind the ship's middle, aimed at it. It does not use the front gun's allowance, and it can home like the others (REAR_GUN, rearFire). The Warp Chase Marauder is left out.
v217 (in place) new difficulty SUPER EASY (DIFFICULTY[3], listed first in the DIFFICULTY row via its 'order'; saved settings and high scores keep their meaning): lives 6, ramp .25, rocks 2 +.25/level max 6 at .4 speed, spheres from level 4 / 1 at a time, slower and less accurate (gap x1.7, speed x.7, fire x1.8, aim x2, shot speed 95), 2 hits from level 9 and 3 from 14, Borg shot 5 shield, close kill 2, regen 4 every 3 s, level-end refill 90, respawn protection 4 s, Ambush 1-3 spheres, Cube emitters 1 hit / core 20 / waves 3 and 4 / tractor pull 5.8 s, Corridor core 22 / guards 2 / waves 4, bonus-round chance x.6 with 3 levels between and every earliest level +1 over Easy. redacted has the matching [3] rows (checked: redacted gives the same values). redacted works in test URLs. Backups: redacted, redacted
v217 settings menu: 'SHIP/WEAPONS SETTINGS' is now 'SHIP/WEAPONS' (menu row and page title). Backup: redacted
v217 Warp Chase: the tunnel walls are 30 px thicker (WARP.wall.width 14 -> 44), growing outwards: the band keeps 7 px inside the wall line (WARP.wall.inside) and the rest lies outside it, so the room to fly in is unchanged; each layer's star count scales with the width (countWidth 14) to keep the same density. Backup: redacted
the quantum torpedoes now home like the photon torpedoes (the same TORPEDO HOMING setting and rules: HOMING.levels, flying straight for 0.22 s, then lock onto a target in the cone and turn towards it at the level's turn rate, keeping their speed). Backup: redacted
save as new version v216
v216 (saved from v215, no other changes): TORPEDO HOMING setting with its menu placement and note.
v216 settings menu: GAME CONTROLS now sits above SHIP CONTROLS; a new SHIP/WEAPONS SETTINGS item under SHIP CONTROLS holds TORPEDO HOMING (with its small line); TORPEDO HOMING is no longer on the top menu. Backup: redacted
v216 settings menu: INERTIAL DAMPENERS (with its small line) moved from the SHIP CONTROLS page to SHIP/WEAPONS SETTINGS, above TORPEDO HOMING. Backup: redacted
v216 settings menu: the '/' in SHIP/WEAPONS SETTINGS is drawn at 50% opacity (SETTINGS_UI.mutedAlpha, the same as the small notes in other rows' names). Backup: redacted
v216 settings menu: the '/' in the SHIP/WEAPONS SETTINGS page title is also at 50% opacity. Backup: redacted
everywhere, make it a setting, save as new version. may want to revert version afterwards
v215 (saved from v214) new setting TORPEDO HOMING (main page: OFF / LOW / MEDIUM / HIGH, default MEDIUM): the Enterprise's photon torpedoes (single and spread; not the quantum torpedo) fly straight for 0.22 s (a spread torpedo: after it has swung out to its own angle) and then lock onto a target in a cone ahead of them (found like the phaser's targets, any rock counts; the Warp Chase Marauder is left out) and turn towards it (HOMING.levels). phaserFind(from, o) takes an optional search description for it.
TORPEDO HOMING moved on the top settings menu to sit under GAME CONTROLS and above AUDIO, with a small line under it (like INERTIAL DAMPENERS) saying what the chosen value means: OFF 'torpedoes fly straight ahead'; LOW / MEDIUM / HIGH 'N degree lock cone, N px range, slow / quick / sharp turns' (from HOMING.levels). The top menu's rows are now laid out one by one (mainYs) so a row can have a small line under it. Backup: redacted
more space between TORPEDO HOMING's small line and AUDIO on the top menu (SETTINGS_UI.noteGap 10; was 3). Backup: redacted
periodically, make 2 or 3 additional marauders appear from the bottom of the screen but within the warp tunnel and make them dart up to fly almost in line with the main marauder for 3-10 seconds, firing torpedoes at the enterprise from their backs, before flying off past the top of the screen. likewise, periodically, make 1-2 marauders randomly appear from the top of the screen…
v214 (saved from v213) Warp Chase: other Ferengi Marauders (WARP.squad). Escorts (2-3) come up from below the screen inside the walls, dart up to fly beside the main Marauder for 3-10 s firing torpedoes from their backs at the Enterprise, then leave off the top. Oncoming ones (1-2) appear at the top facing up, drift down the screen as if being caught up, fire torpedoes from their backs, and drop off the bottom. Torpedoes can shoot them down; they stop coming once the main one is disabled.
v214 fix: the oncoming Marauders were drawn tiny (their speed factor overwrote their 0.75 draw scale); they now use the same scale as the main Marauder.
v214 fix: the ordinary enemy ships in the Warp Chase / Wormhole (Klingon, Romulan, Keldon, Vor'cha, Ferengi) were drawn tiny since v210 (their speed factor was used as the draw scale); drawn at full size again (own scale field 'sc': the Marauders use 0.75).
v214 fix: when the main Marauder's shields are knocked out, the other ships no longer vanish: each stops firing and flies on off the screen at the speed it had (escorts leave off the top, the rest drift off the bottom), and none can ram the Enterprise during the drop. (That was the only event that removed ships at once; destroying the Marauder with torpedoes leaves them as they are.)
when the main Marauder's shield goes out (after its last flashing), a small fire burns on the top of its hull: the same tiny flickering 2 px flame with rising sparks as on the damaged starships in the rescue rounds (warpFirePos).
the Warp Chase now has mist (MIST.stages.warp: yes, blue; it follows the DISPLAY setting MIST). Try redacted for another colour. Backup: redacted
v214 Warp Chase briefing: after 'latinum.' now 'Disable the ship to retrieve the stolen bars with phasers only. Using photon torpedoes may destroy the ship.' (split over the first two rows).
the Warp Chase's walls now have the Wormhole's glitter (drawWormSparkle with glitterOnly: the same twinkling specks in and around the walls, without the aurora-coloured glow). To undo: redacted
the Borg sphere and emitter bolts are drawn 1 px smaller (the spheres', emitters' and cores' bolt: 4 x 4 body with a 2 x 2 core -> 3 x 3 with a 1 x 1 core, glow 1 px smaller; the Wormhole's Borg torpedo: 6 -> 5 body, 3 -> 2 core). Hit areas unchanged. Backup: redacted
v214 Borg Corridor start screen: the title is now BORG STRUCTURE (the Borg Cube Infiltration keeps its title) and the briefing reads 'Fly through the Borg Unicomplex structure and destroy its power core within m:ss' (one line, the time from RUN.duration as before). Backup: redacted
i need to make it more difficult to shoot and hit the ferengi craft. i was thinking to add the square crosshairs (originally used for the planet location indicators) as a overlay over the ferengi ship, it moves and tries to catch up with the ship as it moves, any phaser firing from the enterprise will target wherever the crosshair is. only if the crosshair is over the ferengi c…
v213 (new version, from v212): Warp Chase: a targeting square over the Ferengi Marauder (the planet beam-up marker's four corners and +, WARP.crosshair): it chases the Marauder with a lag (a spring, omega 5) and circles it in a circle that shrinks and grows with small random nudges, like a hand aiming; amber, red while it is on the craft. Every phaser shot is aimed at the crosshair (no random miss) and only hurts the Marauder if the crosshair is on it (within its hit radius + 3 px); a torpedo that meets the Marauder while the crosshair is off it is stopped by its shield (gateTorpedoes true; false = torpedoes hit as before). New intro wording. Meta version 1.0.213.
v213 (in place): Warp Chase crosshair tuned: slower (chase omega 5 to 3.8, top speed 230 to 170 px/s, slower circling 1.8-3 s) and less accurate (wander radius 15 to 16, jitter 6, lockPad 3 to 2), so it is on the Marauder less often. Backup: redacted
v213 (in place): Warp Chase: the crosshair stays inside the tunnel's walls (the whole square, with WARP.crosshair.inset 3 px to spare) and inside the screen. Backup: redacted
v213 (in place): Warp Chase briefing: the first line now reads 'A Ferengi Marauder is carrying stolen Latinum. Follow it into warp and disable the ship with phasers only to retrieve the stolen bars. Do not use photon torpedoes.' (over two rows, as it is longer than one), and 'A wall bounces you off' is gone from the second line; the panel is a row taller. Backup: redacted
v213 (in place): Warp Chase HUD: the exit message now reads DROPPING OUT OF WARP (was EXITING WARP TUNNEL). Backup: redacted
v213 (in place): Warp Chase HUD: APPROACHING WARP TUNNEL now reads TRACKING WARP SIGNATURE and ENTERING WARP TUNNEL now reads ENTERING WARP. Backup: redacted
v213 (in place): Warp Chase mission outcome: a phaser shot that takes the Ferengi Marauder's last health only disables it (a torpedo or anything else that does is a kill): its shield flashes a last 1.8 s (7 pulses, dying away, with a sound at each and a falling tone as it goes out), the HUD says FERENGI SHIELDS OFFLINE. SHIP DROPPING OUT OF WARP, no other ship comes, and both ships drop out of warp: from 0.6 s the tunnel fades over 2.2 s, the scroll comes to a stop over 2.8 s (the stars become plain points of light) and 5 s after the shot the round ends with MISSION COMPLETED, the Marauder bonus (it is now only given for a disabling) and the Marauder DISABLED on the summary. If the Marauder escapes or is destroyed (a torpedo's killing blow) the summary says MISSION FAILED (in red) with ESCAPED or DESTROYED. WARP.drop holds the timings. Backup: redacted
v213 (in place): Warp Chase drop out of warp is more gradual: tunnel fade starts at 1 s and takes 3.2 s (was .6 / 2.2), the scroll stops over 4.5 s (was 2.8) on a gentler easing curve (smootherstep, eased in and out, wormSmoother), and the round ends 7.5 s after the shot (was 5). Backup: redacted
v213 (in place): Warp Chase drop out of warp: the Enterprise keeps slowing and closes on the disabled Marauder, coming to rest WARP.drop.gap (80 px) below it on the screen (within 100 px of its height), moving in step with the scroll stopping (same easing) and always kept on the screen. (The Enterprise is already drawn over the Marauder where they meet.) Backup: redacted
v213 Warp Chase drop out of warp: the Enterprise now stops a random distance within ±WARP.drop.gap (100 px) of the Marauder's y (above or below), and the keys do nothing during the drop so it flies straight ahead.
v213 Warp Chase drop out of warp: the Enterprise's slowdown has more easing: it takes WARP.drop.shipStop (6.5 s) and has a longer, softer tail (WARP.drop.shipEase 2).
v213 Warp Chase briefing: removed 'follow it into warp and' from the first line.
about 5 seconds is fine, implement it, save as new version
v212 (new version, from v211): Warp Chase: the starfield starts at sub-light speed: for the first seconds (the approach) the stars drift past slowly (WARP.stars.base .35 of the scroll speed) with no trails; when the tunnel mouth comes into view they accelerate to the full scroll speed and grow their trails, finishing 260 px inside the tunnel (WARP.stars.reach). The stars get their own phase and speed (F.sph, F.starSpeed, F.starK, set by warpStarStep). Meta version 1.0.212.
make an inner glow for inside the tunnel walls, similar to the wormhole level, i need a subtle almost white with slight blue tint to it. save as new version
v211 (new version, from v210): Warp Chase: a soft inner glow just inside each tunnel wall, almost white with a slight blue tint (WARP.glow: colour 226,238,255, brightness .2 at the wall, reaching 34-50 px in and drifting slowly along the tunnel), under the wall stars, like the Wormhole's inner wall but without its aurora colours. Meta version 1.0.211.
i want to create a new bonus stage called 'Warp chase' based on the wormhole level. the difference is that rather than visualising the tunnel wall as the aurora themed lines and glow, the walls will be a series of trailing stars that curve with the curvature of the tunnel walls, just like the curving trailing stars already within the tunnel. the tunnel walls will have a higher …
v210 (new version, from v209): new bonus stage WARP CHASE (redacted, bonus stage list 'WARP CHASE', settings key warp, scheduled from level 11/10/8 like the Wormhole Race): the Wormhole (bonus.warp on top of bonus.worm) with its walls drawn as thick bands of trailing stars that run along each wall and curve with it (WARP.wall: four layers, 44/38/28/14 stars per wall, 7 px spread; no aurora bands, glow or glitter) and, instead of spinning out of control, the Enterprise bounces off a wall (WARP.bounce: 5% shield per touch, 0.6 s between costs, pushed back at least 80 px/s). Its own wording on the intro, HUD and summary. The escaping enemy ship is still to come. Meta version 1.0.210.
v210 (in place): Warp Chase walls: the star band is now 14 px wide (WARP.wall.width, the stars scattered evenly across it instead of bunched at the wall line) and sparser (30 / 26 / 20 / 10 stars per wall in the four layers, from 44 / 38 / 28 / 14). Backup: redacted
v210 (in place): Warp Chase wall stars have shorter trails (about half: trail .035 and longest 24 / 30 / 40 / 52 px in the four layers, from .07 and 50 / 64 / 84 / 110). Backup: redacted
v210 (in place): Warp Chase now has the escaping enemy: a Ferengi Marauder (shown at the current SHIP SIZES) drops into view at the top 3 s after the Enterprise gets control, keeps its station ahead (drifting, weaving across the tunnel and following its bends), fires orange torpedoes back at the Enterprise (hp.warpMarauder 16 torpedo hits, received.warpTorpedo 5% shield) and, with 2600 px of tunnel left, puts on speed and escapes off the top. Destroying it ends the tunnel 3200 px further on and the round finishes with a Marauder bonus (endBonus.warpMarauder 1500). New HUD line (MARAUDER n% / DESTROYED / ESCAPED) and summary rows; WARP.marauder holds its settings; three new redacted rows. Backups: redacted, redacted
v210 (in place): Warp Chase: the Ferengi Marauder's shield bubble flashes when it is hit (the same pulses as the Enterprise's, in the Ferengi's shield colours, with the shield-hit sound), instead of only the white flash. Backup: redacted
v210 (in place): Warp Chase: the Ferengi Marauder turns briefly towards the way it is going when it changes lane (WARP.marauder.turn: up to .5 rad, swinging at rate 9, and back as it settles). Backup: redacted
v210 (in place): Warp Chase: the Ferengi Marauder's turns are smoother: its sideways speed now eases up and down (laneGain 4, laneEase 8) and its heading swings as a critically damped spring (WARP.marauder.turn.speed 14, about a third of a second to reach the full turn, replacing the rate-9 chase; laneGain 7, laneEase 12), so there is no sudden start or stop. Backup: redacted
v210 (in place): Warp Chase: the Ferengi Marauder is drawn at 0.75x (WARP.marauder.scale; its hit area, shield bubble and weaving room shrink with it). Backup: redacted
update this sprite: { "sprite": "icon", "name": "Starfleet - USS Enterprise-D Lives Indicator", "width": 13, "height": 16, "changes": [ { "x": 1, "y": 6, "from": "#6c8499", "to": "#585e7c" }, { "x": 11, "y": 6, "from": "#6c8499", "to": "#585e7c" } ], "palette": { "a": "#8fa6ba", "b": "#9eb4c7", "c": "#c4d6e6", "d": "#dce9f5", "e": "#6c8499", "f": …
{
"sprite": "icon",
"name": "Starfleet - USS Enterprise-D Lives Indicator",
"width": 13,
"height": 16,
"changes": [
{
"x": 1,
"y": 6,
"from": "#6c8499",
"to": "#585e7c"
},
{
"x": 11,
"y": 6,
"from": "#6c8499",
"to": "#585e7c"
}
],
"palette": {
"a": "#8fa6ba",
"b": "#9eb4c7",
"c": "#c4d6e6",
"d": "#dce9f5",
"e": "#6c8499",
"f": "#585e7c",
"g": "#8c92ac",
"h": "#434d56",
"i": "#ff3c3c",
"j": "#c4c8d8",
"k": "#3dabff"
},
"rows": [
".............",
"...aaaaaaa...",
"..bcdddddcb..",
".ecdddddddce.",
".ecdddddddce.",
".ecdddddddce.",
".fcdddddddcf.",
"..eccccccce..",
"....eecee....",
".....gcg.....",
"..hi.gjg.ih..",
"..hk.gjg.kh..",
"..hkggjggkh..",
"..hkgfgfgkh..",
"..hk.....kh..",
"............."
],
"pixels": [ null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "#8fa6ba", "#8fa6ba", "#8fa6ba", "#8fa6ba", "#8fa6ba", "#8fa6ba", "#8fa6ba", null, null, null, null, null, "#9eb4c7", "#c4d6e6", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#c4d6e6", "#9eb4c7", null, null, null, "#6c8499", "#c4d6e6", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#c4d6e6", "#6c8499", null, null, "#6c8499", "#c4d6e6", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#c4d6e6", "#6c8499", null, null, "#6c8499", "#c4d6e6", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#dce9f5", "#c4d6e6", "#6c8499", [rest of this long pasted text left out]
v209 (new version, from v208a): all of v208a (the Voyager, Stargazer, Enterprise-A, Excelsior, Enterprise (TOS), Klingon, Ferengi, Keldon, Vor'cha and D7 scaled-up pictures behind SHIP SIZES, with the Enterprise-D and its banking pictures back at their v207 versions).
v209 + sprite editor (in place): lives icon (Enterprise-D Lives Indicator, 13 x 16) touched up in the sprite editor: the two saucer-edge pixels on row 6 are now the darker #585e7c. Backups: redacted, redacted
save as new version v208, then update this enterprise sprite - it uses the full sprite dimensions now so now empty rows and columns. { "sprite": "ship", "width": 26, "height": 32, "changes": [ { "x": 7, "y": 0, "from": null, "to": "#8fa6ba" }, { "x": 8, "y": 0, "from": null, "to": "#8fa6ba" }, { "x": 9, "y": 0, "from": null, "to": "#8fa6ba" }, { …
{
"sprite": "ship",
"width": 26,
"height": 32,
"changes": [
{
"x": 7,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 8,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 9,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 10,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 11,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 12,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 13,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 14,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 15,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 16,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 17,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 18,
"y": 0,
"from": null,
"to": "#8fa6ba"
},
{
"x": 5,
"y": 1,
"from": null,
"to": "#8fa6ba"
},
{
"x": 6,
"y": 1,
"from": null,
"to": "#8fa6ba"
},
{
"x": 7,
"y": 1,
"from": null,
"to": "#b9ccdc"
},
{
"x": 8,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 9,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 10,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 11,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 12,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 13,
"y": 1,
"from": "#8fa6ba",
"to": "#b9ccdc"
},
{
"x": 14,
"y": [rest of this long pasted text left out]
v208 (new version, from v207): the Enterprise-D sprite (ENTERPRISE_D, 26 x 32) redrawn by hand in the sprite editor so it fills the whole canvas (no empty rows or columns, 21-colour palette a-u); also updated in the sprite editor. The banking (strafe) pictures and the lives icon were not changed. Backups: redacted (the previous version), redacted
v208 (in place): Enterprise-D sprite touched up again in the sprite editor (saucer shading and palette order; still 21 colours a-u, full 26 x 32). Backups: redacted, redacted
start with the voyager, save as new version
v207 (new version): new display setting SHIP SIZES (TRUE TO SCALE / SCALED UP, default true to scale; read when a stage starts). So far only the USS Voyager has a scaled-up picture (VOYAGER_SCALED, 26 x 32, a stretched placeholder to be redrawn in the sprite editor; new file redacted and a new sprite editor entry): used on the ship rescue stages (with its own hit radius and fires) and as the Wormhole Race racer. Backups: redacted
v207 (in place): scaled-up Voyager sprite (VOYAGER_SCALED) redrawn by hand in the sprite editor; palette changed to 9 colours (a-i). Backups: redacted
v207 (in place): scaled-up Voyager sprite updated again in the sprite editor (10-colour palette a-j). Backups: redacted
v207 (in place): scaled-up Voyager sprite updated again in the sprite editor (11-colour palette a-k). Backups: redacted
v207 (in place): SHIP SIZES now also covers the USS Stargazer: scaled-up picture USS_STARGAZER_SCALED (26 x 32, a doubled placeholder to be redrawn; new file redacted and a sprite editor entry), used on the rescue stages (own hit radius and fires) and in the Wormhole Race. Backups: redacted
v207 (in place): scaled-up USS Stargazer sprite (USS_STARGAZER_SCALED) redrawn by hand in the sprite editor (12-colour palette a-l). Backups: redacted
v207 (in place): SHIP SIZES now also covers the Klingon Bird of Prey: SCALED UP uses KLINGON_BOP_SCALED (43 x 32) in the Klingon Confrontation and wherever the Bird of Prey appears (wormhole and ambush raids), with its own wing-tip beam positions, hit radius, muzzle, shield and break-up pieces (sizes scaled 1.6x). Backup: redacted
v207 (in place): SHIP SIZES now also covers the Ferengi Marauder: SCALED UP uses FERENGI_MARAUDER_SCALED (28 x 32, a stretched placeholder to be redrawn; new file redacted and a sprite editor entry) in the Ferengi Raid and the Rare Mineral Heist, with its own muzzle, hit radius, shield and break-up pieces. Backups: redacted, redacted
v207 (in place): scaled-up Ferengi Marauder sprite (FERENGI_MARAUDER_SCALED, 28 x 32) redrawn by hand in the sprite editor (11-colour palette a-k). Backups: redacted
v207 (in place): SHIP SIZES now also covers the Cardassian Keldon class: SCALED UP uses KELDON_SCALED (17 x 32, a stretched placeholder to be redrawn; new file redacted and a sprite editor entry) in the Cardassian Engagement and the raids that include it, with its own muzzle, hit radius, shield and break-up pieces. Backups: redacted, redacted
v207 (in place): SHIP SIZES now also covers the Klingon Vor'cha cruiser: SCALED UP uses KLINGON_VORCHA_SCALED (23 x 32, a stretched placeholder to be redrawn; new file redacted and a sprite editor entry) in the Vor'cha Assault and the raids that include it, with its own nacelle-tip beam positions, muzzle, hit radius, shield and break-up pieces. Backups: redacted, redacted
v207 (in place): SHIP SIZES now also covers the Klingon D7 battle cruiser: SCALED UP uses KLINGON_D7_SCALED (27 x 32, a stretched placeholder to be redrawn; new file redacted and a sprite editor entry) in the Klingon D7 Attack and the raids that include it, with its own beam position, muzzle, hit radius, shield and break-up pieces. Backups: redacted, redacted
v207 (in place): scaled-up Klingon D7 sprite (KLINGON_D7_SCALED, 27 x 32) rebuilt from the supplied reference picture (ship 19 x 32 px centred in the canvas, 7-shade grey-green palette a-g); to be touched up in the sprite editor. Backups: redacted
v207 (in place): scaled-up Klingon D7 sprite (KLINGON_D7_SCALED, 27 x 32) touched up by hand in the sprite editor (8-colour palette a-h). Backups: redacted
v207 (in place): scaled-up Voyager sprite touched up again in the sprite editor (saucer shading; 11-colour palette a-k). Backups: redacted
create the ferengi heist level with your previously stated recommendations. ask me anything beforehand if you require my input. save as new level
v206 (new version, from v205): new bonus stage RARE MINERAL HEIST (redacted; a row on the BONUS STAGES page and in the stage list; scheduled from level 12/10/8): the Ferengi Raid with two Marauders from the start (no reinforcements) and 6 slow floating golden mineral asteroids (HEIST). The Marauders go after the minerals as well as the Enterprise (about 30% of their aim, picked every 3-6 s); the Enterprise's shots pass through the minerals. Each mineral has 16 hit points (a pulse does 1, a torpedo 2); more than half of the minerals destroyed (4 of 6) loses the stage (the Marauders retreat, MINERALS LOST, no bonus). HUD line MINERALS n OF 6; the summary shows the minerals saved and a mineral bonus (400 each). New tuning: hp.heist, hp.heistMineral, endBonus.heist* in TUNING and redacted (backup redacted).
v206 (in place): Rare Mineral Heist intro: the title reads RARE MINERAL HEIST (was FERENGI MARAUDER) and the last instruction line reads YOUR SHOTS PASS OVER THE ASTEROIDS BUT THE FERENGI SHOTS BREAK THEM. Backup: redacted
v206 (in place): Rare Mineral Heist summary: the row MINERALS SAVED now reads MINERAL ASTEROIDS SAVED. Backup: redacted
v206 (in place): Rare Mineral Heist HUD line: MINERALS n OF 6 now reads MINERAL ASTEROIDS n OF 6. Backup: redacted
v206 (in place): the instruction/briefing panel now has equal space above its first text line and below its last (INTRO_PANEL.pad, 6 px, taken from the top): it fits each stage's lines (4-line intros end 3 px lower than before, 3-line intros 9 px higher) and the rescue and mineral briefings 1 px lower. Backup: redacted
on the home screen, move the strafe sideways line to below the left/right and other main controls line (swap their positioning around). save as new version.
v205 (new version, from v204): home screen: the 'HOLD [SHIFT] WITH [LEFT/RIGHT] TO STRAFE SIDEWAYS' line and the LEFT/RIGHT, UP, DOWN controls line swapped places: the turn/impulse/brake line is now above the strafe line, which sits just above the torpedoes line.
v205 (in place): home screen: the strafe line is at 75% opacity (HOME_STRAFE_ALPHA); its brackets and slashes keep their own 50% on top of that (so 37.5% overall). Backup: redacted
v205 (in place): the home screen strafe line is now at 40% opacity (HOME_STRAFE_ALPHA .4; its brackets and slashes 20% overall). Backup: redacted
v205 (in place): the home screen strafe line is now at 30% opacity (HOME_STRAFE_ALPHA .3; its brackets and slashes 15% overall). Backup: redacted
v205 (in place): the home screen strafe line is now at 35% opacity (HOME_STRAFE_ALPHA .35; its brackets and slashes 17.5% overall). Backup: redacted
v205 (in place) and redacted: the Enterprise lives indicator sprite (13 x 16) updated from the editor export (the new blue-grey palette and blue nacelle strips). Backups: redacted, redacted
v205 (in place) and redacted: lives indicator sprite updated again from the editor export (the one pale pixel in the middle of the saucer, row 4, is now the plain saucer colour). Backups: redacted, redacted
v205 (in place) and redacted: lives indicator sprite updated again from the editor export (the dark outline of the saucer and rim pads taken off, so the saucer is lighter-edged; the palette letters were reordered). Backups: redacted, redacted
v205 (in place), redacted and redacted: Enterprise (TOS) sprite updated from the editor export (a new silver-grey palette; the saucer's rim redrawn). It is one of the damaged ships on the ship rescue levels. Backups: redacted, redacted, redacted
v205 (in place): weapons HUD: the X before the count in 'QUANTUM TORPEDOES (X12)' and the S after the seconds left (27S) are at 50% opacity (WEAPON_HUD_UNIT_ALPHA .5). Backup: redacted
v205 (in place): the in-game HUD's WEAPONS OFFLINE (Asteroid Dodge) is now red (#ff4a3c) instead of amber. Backup: redacted
v205 (in place): the weapons HUD (bottom left) is now drawn before a bonus stage's instructions, so the instruction text and their dark 50% panel sit over the weapons readout instead of under it. Backup: redacted
v205 (in place): new test URL parameter &weapons=all (with redacted= or redacted=): the phaser and photon spread upgrades never run out and the quantum torpedoes are always full (testWeaponsAll). Backup: redacted
v205 (in place): every bonus stage's intro (warning, instructions and countdown) now lasts 7 seconds (INTRO_SECONDS 7; was 3.2 to 3.6). The 3, 2, 1 countdown is only the last few seconds of it, so there is time to read the instructions first; the Enterprise's start protection is 1.5 s longer than the intro as before. Backup: redacted
v205 (in place): the weapons HUD fades down to 25% while a bonus stage's instructions are up (WEAPON_HUD_INTRO_DIM .25), with the same fade in and out as the instructions' dark panel, and is back to full when the stage starts. Backup: redacted
v205 (in place): weapons HUD: it now stays dimmed until the instructions and their panel have faded away, and only then comes back up to full over 0.6 s (WEAPON_HUD_RESTORE). Backup: redacted
v205 (in place): the instruction/briefing panel is darker: INTRO_PANEL.alpha .5 -> .7. Backup: redacted
v205 (in place): ship rescue levels: when the Enterprise is within transporter range of the damaged starship (and the transporters are free and crew remain), the upper HUD says [X] INITIATE TRANSPORTERS TO BEAM CREW OFF DAMAGED SHIP, where [X] is the transport key as set in the controls (key colouring as elsewhere). Backup: redacted
v205 (in place): home screen: the PHASER entry now comes first on the weapons line, before PHOTON TORPEDOES (order: phaser, photon torpedoes, spread, teleport, transport). Backup: redacted
v205 (in place): the home screen's mist changes colour every 60 seconds (MIST.stages.home.cycle 60): a new random scheme each time, taken only by the puffs that start from then on (the old ones fade out in their own colour) and the veil easing over 10 s, so the colour drifts from one to the next; any stage whose mist colour is 'random' can be given a cycle. Backup: redacted
v205 (in place): the DISPLAY setting MIST now starts on HIGH (was MEDIUM) for anyone who has not changed it. Backup: redacted
go ahead, make high stronger than today's look. save as new version.
v204 (new version, from v203): DISPLAY setting MIST (off / low / medium / high, starts on medium) scales every stage's mist: low = about half the puffs and brightness, medium = as designed, high = 1.4x the puffs and brightness (MIST.levels); off = none anywhere. Each stage's own mist setting (MIST.stages) still decides whether it has mist and its colour. redacted= test URLs ignore an OFF setting.
v204 (in place): the home screen has mist too (MIST.stages.home: yes, random colour, a new look each time you come back to it); it follows the DISPLAY MIST setting. Backup: redacted
v204 (in place): when the backdrop has a planet or a black hole, a stage that would have mist only gets it half the time (MIST.planetChance .5), so the planet or black hole is not always veiled; rolled each time a stage starts; redacted= test URLs skip the roll. Backup: redacted
v204 (in place): the block digit 7: the lower half of its stem is now in the middle column (the upper half stays on the right). Backup: redacted
v204 (in place): the USS Voyager (9 x 17 px, built into the game from redacted) is now one of the damaged starships on the ship rescue levels (RESCUE.pool: seven designs, equal odds; scale 1). Backup: redacted
v204 (in place): the USS Voyager is the third racer in the Wormhole Race (starts behind the Enterprise, between the Nebula class and the Stargazer; the HUD and summary now say 'OF 4'; fourth place gets no race bonus; WRACE.ships has each racer's start place). Backup: redacted
v204 (in place), redacted and redacted: USS Voyager sprite updated from the editor export (11-colour palette: darker rim pads, blue nacelles, lighter saucer, simpler stern). Backups: redacted, redacted, redacted
move layer 11 on the wormhole level in between layers 5 and 6. save as new version. may need to revert
v203 (new version, from v202): Wormhole (and Race): the mist's back layer (veil and puffs) moved down to between layer 5 (the dark outside the tunnel) and layer 6 (the tunnel's veil and tint), so the tunnel's own veil and everything inside it are drawn over it. Other stages unchanged. Revert point: v202.
v203 (in place): the Vor'cha stage is now called KLINGON VOR'CHA ASSAULT (settings row, jump-to-stage list and schedule); the lists are in alphabetical order, so it now sits after KLINGON D7 ATTACK. Backup: redacted
v203 (in place): in key labels any slash (LEFT/RIGHT, UP/DOWN, A/D) is now drawn at the same 50% brightness as the square brackets (KEY_BRACKET_ALPHA). Backup: redacted
for all asteroid clearance levels and bonus stages except for the borg ambush stage, set the default mist to yes, and random colour (unless you think the bonus levels should have a specific colour due to enemy ship colour or theme or mood). keep the borg ambush mist preferences as its default.
save as new version
v202 (new version, from v201): mist is now ON ('yes') for every stage and ordinary level by default, in a random colour for the ordinary levels, Storm, Stream, Asteroid Run, Dodge and Crossing; themed colours for the rest: the Borg stages (Onslaught, Cube, Corridor, Infiltration) green like the Ambush; Wormhole and Race aurora; Romulan green, Klingon orange, Vor'cha purple, Ferengi yellow, Keldon brown, D7 pink. The Borg Ambush is unchanged (yes, green). Also fixed: the faint front mist in the Borg Corridor is now drawn on the screen, not inside the maze's moving world.
v202 (in place): Borg Corridor: more mist on the very top, over the walls and the playable area (8 extra front puffs in two layers, light green; MIST.stages.run.extra; a stage can now have its own extra layers). Backup: redacted
in the code for mist, i want a setting for every level/stage to define whether it receives mist. values are yes, no, random. if yes (including randomly selected yes), then select which core mist colour: green (currently used on the borg ambush level), blues, purples, yellows, pinks, oranges, browns, greys, pale whites. you create these core colour palettes for this color option…
then add mist to asteroid storm using random colour.
save as new version.
v201 (new version, from v200): mist settings for every stage (MIST.stages: mist 'yes' / 'no' / 'random', and colour); eleven colour schemes (MIST_SCHEMES: green, blue, purple, yellow, pink, orange, brown, grey, white, aurora (the Wormhole's), orion (the Orion Nebula's)) plus 'random' (a random scheme each time the stage starts); a 'random' mist is rolled each time a stage (or ordinary level) starts (MIST.randomChance .5). Asteroid Storm now has mist in a random colour; the Borg Ambush stays green. redacted forces a colour.
v201 (in place): every key label's square brackets are drawn at 50% brightness (KEY_BRACKET_ALPHA .5), the key's name between them at full; spacing unchanged. Backup: redacted
change the borg fire for the spheres and emitter on the cube and corridor levels to the torpedoes used by the ferengi marauders. the only change is the colour, change it to the existing green color currently used. keep the firing timings, intervals and any other behaviour the same as it is currently. emphasise the only change i want is the shape and colour. save as new version.
start with borg ambush level/stage. dark, brooding, maybe use dark greenish tints with wisps of lighter green? save as new version. code it in such a way it's configurable and mist can be assigned to different levels, and for each level they can be turned on or off.
v200 (new version, from v199): the Borg Cube and Borg Corridor: the Borg fire (spheres' and emitters' bolts) is drawn as the Ferengi Marauder's thin line torpedo (with its halo), in the green of the old bolt (BORG_TORPEDO). Only the look changed: timings, speeds, aim and hits are as before. Other stages' Borg fire is unchanged.
v200 (the Ferengi-torpedo look for the Borg Cube and Corridor fire) was reverted: it looked wrong while the playable area scrolls. The work continues from v199; the attempt is kept as redacted
v200 (new version, from v199): MIST: slow drifting mist that fades in and out by itself, configurable per stage (MIST.stages: on/off and look for each of: level, ambush, storm, stream, onslaught, asteroidrun, dodge, crossing, wormhole, race, cube, run, infiltration and the six duels; MIST.looks: veil, wind and layers). First look 'borg' (dark green veil, dark green fog, thin lighter green wisps), switched ON for the Borg Ambush only. redacted / all / 0 to try it on any stage.
v200 (in place): mist stronger: veil .2 -> .3, fog .28-.46 -> .4-.62, wisps .07-.15 -> .12-.24, front wisps .04-.08 -> .07-.13. Backup: redacted
create a new level based on the wormhole bonus stage. exactly the same, but the differences: level name: 'Wormhole race' enterprise and 2 other starfleet ships (nebula class and stargazer) will race each other through the wormhole. level starts off with either starfleet ship on either side of the enterprise, game will control all three into the wormhole and once in wormhole pla…
level name: 'Wormhole race'
enterprise and 2 other starfleet ships (nebula class and stargazer) will race each other through the wormhole. level starts off with either starfleet ship on either side of the enterprise, game will control all three into the wormhole and once in wormhole player will control enterprise only, the game will control the other two starfleet ships and simulate a race with variable speeds up and down along the wormhole tunnel. allow the enterprise to overtake randomly by slowing down the starfleet vessels, but also at some points in the race allow one or both starfleet vessels to overtake the enterprise, but without making them disappear off the top of the screen. simulate a close race. allow random enemy ships to appear exactly like the wormhole level, including the borg sphere from behind. control the starfleet vessels to remain in the wormhole tunnel. they may scrape against the tunnel walls, but never allow them to bounce hard and spin out of control.
save as new version
v199 (new version, from v198): new bonus stage WORMHOLE RACE (redacted; a row on the BONUS STAGES page and in the stage list; scheduled from level 10/9/7): the Wormhole with the Nebula class and the USS Stargazer racing the Enterprise (side by side at the start, flown into the tunnel by the game; then the game flies the two: varying offsets so each overtakes and falls back, always on screen; lanes across the tunnel, scrapes against the walls but never bounced; keeps clear of each other and the Enterprise). Enemy ships and the Borg sphere from behind as in the Wormhole. Place shown on the HUD and on the summary, with a race bonus (endBonus.raceFirst/Second/Third in TUNING and redacted; backup redacted). Config: WRACE.
v199 (in place): Wormhole Race: the Stargazer is drawn at its own size (WRACE k 1; was 1.6). Backup: redacted
v199 (in place), redacted and redacted: USS Stargazer sprite updated from the editor export (new blue-grey palette; it is used in the Wormhole Race and as a damaged ship in the rescue missions). Backups: redacted, redacted, redacted
v199 (in place), redacted and redacted: USS Stargazer sprite updated again from the editor export (centre of the saucer, the stripes under it and the nacelle details recoloured; 12-colour palette). Backups: redacted, redacted, redacted
v199 (in place): Wormhole Race: pressing UP gives the Enterprise a boost (both racers drop back 60-90 px, with a sound), usable once every 5 seconds however often UP is pressed; HUD shows [UP] BOOST when ready and a countdown while it recharges (WRACE.boost). Backup: redacted
v199 (in place): Wormhole Race boost: works with any of the THRUST keys (UP or W by default, as set in the controls; hints show both) and can be used once every 10 seconds (WRACE.boost.cooldown 10). Backup: redacted
v199 (in place): ship rescue levels: the damaged starship is picked at random from all six Starfleet designs (new in RESCUE.pool: Nebula class, Enterprise-A, Enterprise (TOS), joining the Enterprise-D, Stargazer and Excelsior; the last two sprites are now built into the game), all drawn at 100% (scale 1; collision radii adjusted to match). The Enterprise is drawn over the starship. Backup: redacted
add the d7 as an enemy encounter level. this level should be called 'Klingon D7 Attack'. they have the same properties as the other klingon ships, so can cloak and decloak, and also whilst moving. their phasers come out from the front centre though. start with 3 D7 ships and when 1 remains, add 2 more.
v198 (new version, from v197): new bonus stage KLINGON D7 ATTACK (redacted; a row on the BONUS STAGES page and in the stage list; scheduled from level 13/11/9): three cloaking Klingon D7 battle cruisers (the Bird of Prey's darting, strafing and ramming, cloaking and decloaking also while moving; its sounds and green beams) with one phaser from the front centre; when one is left two more arrive (DUEL_VARIANTS.d7: start 3, reinforce 2). New tuning: hp.d7, hp.secondD7, received.d7Beam/d7Torpedo, score.d7Hit, endBonus.d7* (redacted backup redacted).
v198 (in place): the D7 is drawn 3x bigger in the Klingon D7 Attack (D7_SCALE 3: 27 x 33 px; its hit circle, shield, beam position and pieces scale with it). Backup: redacted
the D7 size change (D7_SCALE 3) was undone; back to the true-scale 9 x 11 D7. The bigger version is kept as redacted
v198 (in place): Wormhole: the Borg sphere's torpedoes burst on the tunnel walls instead of flying outside them. Backup: redacted
v198 (in place): Asteroid Dodge: asteroids spread out a little more (DODGE.rocks.gap 64-112/34-66 -> 77-134/41-79, minClear 95/74 -> 105/78) and fall slower (new DODGE.speed .88 of the Run's speed). Backup: redacted
v198 (in place): home screen title: RETRO in hot pink (TITLE_RETRO) between STARFLEET and ARCADE; ARCADE and the version number moved down to make room. Backup: redacted
v198 (in place): title: RETRO is now the version number's size, in the action pink (ACTION_COLOR), without letter gaps, and ARCADE and the version were moved back up. Backup: redacted
v198 (in place): title: RETRO moved down to the middle between STARFLEET and ARCADE (TITLE_RETRO.y 94) and made a little pinker (#ff7eb6). Backup: redacted
v198 (in place): title: RETRO 1 px lower (TITLE_RETRO.y 95). Backup: redacted
sweep the remaining comments too
v197 (new version, from v196): sweep of the remaining comments that called a bonus stage a 'level' (stage intro screens, duel/Klingon stage, Wormhole autopilot, Borg Corridor core and breakable pieces, controls-hint note, restart note). Comments only: no change to the game.
rename all bonus stages to use the word 'stage' instead of 'level'. make all necessary changes to reflect that in gameplay screens, menus and code. keep asteroid levels the same ('level'). save as new version
v196 (new version, from v195): bonus levels renamed bonus stages: the settings page BONUS STAGES (was BONUS LEVELS), and the wording in the code's comments; the ordinary asteroid levels keep 'level'.
update romulan warbird sprite. save as new version: { "sprite": "warbird", "width": 33, "height": 52, "changes": [ { "x": 11, "y": 21, "from": "#0b1e14", "to": null }, { "x": 21, "y": 21, "from": "#0b1e14", "to": null }, { "x": 5, "y": 22, "from": null, "to": "#0b1e14" }, { "x": 6, "y": 22, "from": null, "to": "#0b1e14" }, { "x": 7, "y"…
{
"sprite": "warbird",
"width": 33,
"height": 52,
"changes": [
{
"x": 11,
"y": 21,
"from": "#0b1e14",
"to": null
},
{
"x": 21,
"y": 21,
"from": "#0b1e14",
"to": null
},
{
"x": 5,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 6,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 7,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 8,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 9,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 10,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 22,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 23,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 24,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 25,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 26,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 27,
"y": 22,
"from": null,
"to": "#0b1e14"
},
{
"x": 6,
"y": 23,
"from": "#16402a",
"to": "#0b1e14"
},
{
"x": 7,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 8,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 9,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 10,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 22,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 23,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 24,
"y": 23,
"from": null,
"to": "#0b1e14"
},
{
"x": 25,
"y": 23,
"from": null,
" [rest of this long pasted text left out]
v195 (new version, from v194) and redacted: Romulan warbird sprite updated from the editor export. Editor backup: redacted
v195 (in place): bonus levels started from the bonus level menu: the summary screen has a small line under PRESS ENTER, PRESS [SPACE] TO RESTART (key colouring as on the home screen); the key (the jump-to-stage key) replays the same level. Not shown for levels from a redacted= URL or for rounds met in a normal game. Backup: redacted
remove the 'test: [level name]' from all gameplay screens if level is selected from bonus level select menu. keep it if a url parameter is used.
v194 (new version, from v193): the TEST label no longer shows when a level is started from the bonus level menu (it still shows with a redacted= URL). Scores are still not saved in either case.
for the wormhole level, make a borg sphere appear from the bottom of the screen and move up and disappear off the top of screen, moving faster than the enterprise. it must appear, move and disappear within the tunnel boundaries. as the borg sphere overtakes and is ahead of the enterprise, make it shoot a photon torpedo periodically (single shot). save as new version
v193 (new version, from v192): Wormhole: now and then a Borg sphere comes up the tunnel from below the screen, inside the walls, faster than the Enterprise (1.35x the scroll speed), in a lane away from it, and leaves off the top; once it is ahead it fires single photon torpedoes back at the Enterprise (shield -6, new received.wormTorpedo in TUNING and redacted). It can be shot down. Config: WORM.chase.
build option1 across all intro screens. save as new version
v192 (new version, from v191): a 50% black panel (INTRO_PANEL: alpha, margin, edge, fadeIn, fadeOut) behind the instructions on the level intro screens (all bonus rounds, the rescue-mission and rare-mineral briefings); it fades in and out with the text.
save as new version
v191 (new version, saved from v190 with all the changes above): version meta 1.0.191.
make random enemy ships appear from top of screen and dart down at random times. they should be on a new upper layer, between the playable layer and top-most asteroid layer. the ships should be enlarged (scaled up) by 1.3x to give impression they are above the enterprise. they should fire weapons at the enterprise, as they dart down. if their weapons fire misses and instead hit…
v190 (new version, from v189): enemy ships (Klingon, Ferengi, Romulan, Keldon, Vor'cha) now dart down the Asteroid Crossing from the top at random times, 1.3x size, on a layer between the playable asteroids and the foreground ones; they fire at the Enterprise (shield -4 per hit, new received.crossShot in TUNING and redacted) and a shot that hits a playable asteroid breaks it (large -> 2 medium -> 2 small -> gone). Config: CROSS.raid.
v190 (in place): Borg spheres join the enemy ships that dart down the Asteroid Crossing (drawn 1.3x with their green shimmer, not turned; green bolts). Backup: redacted
v190 (in place): each enemy appearance in the Asteroid Crossing is randomly 1, 3 or 5 ships of one kind, in a V (CROSS.raid.formations, wing); 'max' now counts formations. Backup: redacted
v190 (in place): the home screen's key/action colouring (blue keys, pink actions) now used on every screen with key hints: all settings pages' footers and the key-capture prompt, the pause and game-over HOME/SETTINGS lines, the bonus-level jump list and all the levels' intro control hints (textKeys gained an optional outline argument). Backup: redacted
v190 (in place): Wormhole: shield damage (enemy ramming, bump landing, wall scrapes) no longer stops at 1%: the main rules apply (a hit that would take the shield below zero destroys the Enterprise; exactly zero brings the shields down). Backup: redacted
v190 (in place): Wormhole: the narrowest the tunnel pinches is now 3 Enterprise widths (WORM.pinch.ships 4 -> 3, 78 px). Backup: redacted
v190 (in place): Wormhole: brighter wall glow: WORM.glow.strength 1 -> 1.3, WORM.glow.outer.strength 1.6 -> 2.4. Backup: redacted
v190 (in place): Wormhole: the HUD message on the way out reads EXITING WORMHOLE (was CLEAR OF THE WORMHOLE). Backup: redacted
v190 (in place): Asteroid Crossing summary heading ALL CROSSED -> CROSSING CLEARED. Backup: redacted
v190 (in place): planet rescue HUD: SURVIVORS n -> SURVIVORS TO RESCUE n. Backup: redacted
v190 (in place): planet rescue HUD: now 'n SURVIVORS LEFT TO RESCUE'. Backup: redacted
v190 (in place): Asteroid Crossing: space-current streak heads are now a whitish blue and shimmer (CROSS.head: colour, glow, rate, depth, halo). Backup: redacted
v190 (in place) and redacted: Enterprise banking-left sprite updated from the editor export (new blue-grey palette). Backups: redacted, redacted
v190 (in place) and redacted: Enterprise banking-right sprite updated from the editor export (matches the left one's new palette). Backups: redacted, redacted
using v188, add another layer of asteroids under the playable layer, they should replicate the asteroid bands on the playable area, but offset the y-axis positioning down by 100-150px. these asteroids in these bands should be darker so that it give an illusion that they are below the enterprise. save this version as v189
Asteroid Crossing: a second, darker layer of asteroids lies below the playable one. Each asteroid field is repeated underneath (the same asteroids in the same places, moving the same way), shifted 100-150 px further down the screen (a different amount for each field) and darkened (CROSS.back: offset [100, 150], dark .55), so they seem to be below the Enterprise. Only for show: they are drawn under everything else and cannot be hit. Everything else as v188.
v189 (in place): the darker lower layer's asteroids are now their own: each field has a second, separate set of random asteroids (made the same way, not copies of the playable ones), 100-150 px further down, darker, moving the same way as the field. Backup: redacted
v189 (in place): the lower asteroid layer travels more slowly than the field above it: CROSS.back.speed .72 (72% of the field's speed), for a parallax look.
v189 (in place): lower asteroid layer slower still: CROSS.back.speed .72 -> .58. Backup: redacted
v189 (in place): lower asteroid layer slower still: CROSS.back.speed .58 -> .42. Backup: redacted
v189 (in place): a foreground layer of big (medium and large) asteroids streaks across the Asteroid Crossing above the playable layer, straight down or slanting either way, fast (300-480 px/s), only for show: they hide the view for a moment and nothing hits or is hit. Config: CROSS.fore. Backup: redacted
v189 (in place): foreground asteroids lighter: CROSS.fore.dark -.3 (negative = mixes in white; fieldRockImg now supports it). Backup: redacted
tried pre-building the rock pictures during the intro (crossWarm); it made things worse in testing (frames of 100-300 ms in the first second, where the version without it had none), so it was undone. Kept as redacted
Klingon D7 battle cruiser (228 m): new sprite 7 x 11 px at the Enterprise's true scale (redacted, reference saved as d7_reference.png) and added to redacted (backup redacted). Not in the game yet.
D7 sprite canvas widened to 9 x 11 (one empty column each side; the ship is unchanged). Backups: redacted, redacted
D7 sprite updated from the editor export (9 x 11, new 4-colour palette). Backups: redacted, redacted
USS Voyager (344 m): new sprite 9 x 17 px at the Enterprise's true scale, in the Enterprise's own palette (redacted, reference saved as voyager_reference.png), added to redacted (backup redacted). Not in the game yet.
redacted: a x2 preview added between 'actual size' and 'x4' (the previews are now: actual size, x2, x4, original x4). Backup: redacted
sprite editor: new entry 'Klingon Bird of Prey, scaled up (43 x 32)' (KLINGON_BOP_SCALED, a stretched placeholder of the 4x picture at the Enterprise's 32 px height; new file redacted; not used by the game yet). Backup: redacted
sprite editor: Klingon Bird of Prey scaled-up sprite (KLINGON_BOP_SCALED, 43 x 32) redrawn by hand (8-colour palette a-h; also in redacted). Backup: redacted
sprite editor (fix): the Vor'cha scaled-up entry had stray backslashes in its name that broke the editor's script (no sprite would load); removed. All 24 sprites now load.
v208a (new version, from v208): the Enterprise banking (strafe) pictures, ENTERPRISE_BANK left / right, regenerated automatically from the new full-canvas Enterprise-D sprite and given its 21-colour palette: the saucer and neck are squeezed by 2 columns anchored on the side it leans away from, the nacelles pulled in by 1 and the strut between them trimmed by 1 on the lean side; the right-hand picture is the same recipe flipped (the light direction is not mirrored). Also updated in the sprite editor. A rough first draft, to be touched up by hand. Backup: redacted (previous version), redacted
v208a (in place): the Enterprise-D sprite and the banking (strafe) pictures put back to their v207 versions (before the full-canvas redraw); also reverted in the sprite editor. v208 keeps the full-canvas Enterprise. Backups: redacted, redacted
v208a (in place): scaled-up Voyager sprite touched up again in the sprite editor (saucer shading and a darker underside; 11-colour palette a-k). Backups: redacted
v208a (in place): scaled-up Klingon D7 sprite touched up again in the sprite editor (darker rear edges; 8-colour palette a-h). Backups: redacted
v208a (in place): scaled-up Klingon Vor'cha sprite (KLINGON_VORCHA_SCALED, 23 x 32) redrawn by hand in the sprite editor (7-colour palette a-g). Backups: redacted
v208a (in place): scaled-up Klingon Vor'cha sprite touched up again in the sprite editor (8-colour palette a-h, nacelle lights moved). Backups: redacted
v208a (in place): scaled-up Klingon Vor'cha sprite touched up again in the sprite editor (9-colour palette a-i; orange nacelle lights, green bridge light). Backups: redacted
v208a (in place): scaled-up USS Stargazer sprite (USS_STARGAZER_SCALED, 26 x 32) redrawn by hand in the sprite editor (11-colour palette a-k, fuller saucer and engine pods). Backups: redacted
v208a (in place): scaled-up USS Stargazer sprite touched up again in the sprite editor (saucer top shading; 11-colour palette a-k). Backups: redacted
v208a (in place): scaled-up Cardassian Keldon sprite (KELDON_SCALED, 17 x 32) redrawn by hand in the sprite editor (10-colour palette a-j). Backups: redacted
sprite editor: sprite list renamed and sorted: 'Lives indicator' is now 'Enterprise-D Lives Indicator', every Starfleet vessel (Enterprise-D, Enterprise-A, Enterprise (TOS), Excelsior, Nebula class, Stargazer, Voyager and their scaled-up / banking / lives pictures) is named 'Starfleet - USS ...', and the dropdown is in alphabetical order (the editor still opens on the lives indicator). Backup: redacted
sprite editor: new entry 'Borg sphere (22 x 22)': a copy of the game's code-drawn Borg sphere (undamaged) shown as pixels so it can be redrawn; editing it does not change the game yet. Backup: redacted
sprite editor v2 (new version; the previous editor is kept as redacted): new COLOUR TOOLS section (mid-point colour between two palette or picker colours with a perceptual or plain RGB blend and 1-7 steps; darker and lighter shade suggestions with a cooler, warmer or same-hue tint; copy a palette from another sprite, either adding its colours or recolouring this sprite to the nearest ones, undoable) and a SORT SWATCHES control (as drawn / by hue / by lightness / by hue then lightness, remembered). Colours added from the tools stay in that sprite's palette until it is reset. redacted is the working copy and is identical to redacted.
sprite editor v3 (new version; v1 and v2 are kept as redacted / redacted): new THIS SPRITE section (rename any sprite: label only, the internal id stays; add empty rows / columns on any edge, trim empty edges with or without keeping the centre, the export then carries originalWidth / originalHeight / offsetX / offsetY; create a new sprite of any size, empty or as a copy; delete sprites you created), IMPORT AN IMAGE (shrinks a picture inside the page to the chosen size and number of colours, from the picture or this sprite's palette, near-white or transparent is empty, optional left-right symmetry, preview, replace this sprite (undoable) or make a new one), ALL SPRITES (download every sprite's name, size, palette and picture as one JSON file, or only the changed ones). Names, new sprites, sizes and drafts are kept in the browser. The sprite list is rebuilt from names and sizes in alphabetical order. Export letters now run a-z then A-Z. redacted is the working copy = redacted. Backup: redacted
sprite editor v3 (in place): the side panel is now a scrollable pane of its own (stays in view beside the picture and scrolls by itself) when the window is wider than 900 px; on narrow windows it flows below as before. Backup: redacted
sprite editor v3 (in place): new 'Flip up/down' button for the selection, after 'Flip left/right'. Backup: redacted
sprite editor v3 (in place): new sprite 'Starfleet - USS Enterprise-A, scaled up (17 x 32)' (ENTERPRISE_A_SCALED, drawn in the editor; also in the new file redacted; not in the game yet). Backup: redacted
v208a (in place): SHIP SIZES now also covers the USS Enterprise-A: SCALED UP uses the new ENTERPRISE_A_SCALED (17 x 32, drawn in the sprite editor) on the ship rescue stages, with its own hit radius (15) and fire positions (estimates). Backup: redacted
sprite editor v3 + v208a (in place): new sprite 'Starfleet - USS Excelsior, scaled up' (EXCELSIOR_SCALED, image size 14 x 32 px; the true-scale Excelsior is 9 x 23; new file redacted). SHIP SIZES: SCALED UP now uses it for the Excelsior on the ship rescue stages (it was already in the random pool), with its own hit radius (15) and fire positions (estimates). Backups: redacted, redacted
sprite editor v3 + v208a (in place): scaled-up USS Excelsior sprite (EXCELSIOR_SCALED, 14 x 32) touched up in the sprite editor (darker saucer-underside and nacelle details; 10-colour palette a-j). Backups: redacted, redacted
sprite editor v3 + v208a (in place): new sprite 'Starfleet - USS Enterprise (TOS), scaled up' (ENTERPRISE_TOS_SCALED, image size 15 x 32 px; the true-scale one is 7 x 14; new file redacted). SHIP SIZES: SCALED UP now uses it for the Enterprise (TOS) on the ship rescue stages (it was already in the random pool), with its own hit radius (15) and fire positions (estimates). Backups: redacted, redacted
sprite editor v4 (new version, from v3; v1-v3 kept): the Preview pane is now an overlay floating over the editing area instead of a section in the sidebar. It sits at the top right of the pixel grid, follows the page as it scrolls (position: sticky, so it stays in view through the main column), can be dragged by its title (position remembered in the browser) and hidden / shown with its – button. redacted is the same file as redacted.
redacted (in place, after v4): Import an image now has a Clear button next to the file chooser (forgets the chosen file, its preview, the name and the notes), and the chosen image is also forgotten when you switch to another sprite or make a new one. redacted is the file as it was before this change.
sprite editor v5 (new version, from v4 + the Clear button; v1-v4 kept): checked against asteroids_v218: all 27 pictures the editor can show as 'the game's original' (every ship and enemy, the scaled-up ones, the lives icon, the Borg sphere, the Enterprise's banking pair) are pixel-for-pixel identical to what the game builds, so no picture needed updating; the title now reads 'v5 · matches game v218' and the all-sprites export is stamped 'sprite_editor v5 (game v218)'. redacted is the same file as redacted.
v227a (from the v227 diamond web): the diamond wall closes in 5 steps instead of smoothly: the edge snaps in quickly (WEB.dia.steps, snap), a pulse of light runs down both sides of the new edge (pulseDur), with a low thud and a small shake. v227 and v226 untouched.
v227b (from the v227 diamond web): the wall is woven in: instead of the whole outside being filled at once, each lattice triangle the edge has passed fills with amber a moment later (WEB.weave: random wait, a top-to-bottom sweep, ~0.55 s to fill), flashing along its sides as it is spun, so the wall's edge is a staircase of cells being woven. Collision still follows the smooth edge. v227 and v226 untouched.
redacted: new sprites "Tholian Web-Spinner" (9 x 16) and "Tholian Web-Spinner (scaled up)" (18 x 32), from the supplied picture. Not used by the game yet (to use: WEB.ships.picture). Backup: redacted.
Tholian Web-Spinner sprite updated from the sprite editor export (new palette: darker hull, shaded nose, yellow lights at the stern); in redacted and in the game (redacted). The scaled-up version is the new one doubled.
Tholian Web-Spinner sprite updated again from the sprite editor export (a few more shading changes, a new dark colour at the stern); in the editor and in the game (redacted).
redacted (also saved as redacted): matches game v231 (the Tholian Web-Spinner sprites were already in it; every other sprite checked identical to the game's).
redacted: new sprites "Orion Interceptor" (true scale 5 x 6: 122 m at 1 px = 20 m), "Orion Interceptor (4x)" (21 x 24) and "Orion Interceptor (scaled up)" (29 x 32), from the supplied picture (bow up, mirrored left to right, a 9-colour sage-green palette with red nose and wing tips). Not used by the game yet. Backup: redacted.
redacted: the Orion Interceptor (scaled up, 29 x 32) updated from the sprite editor export (darker red nose and wing tips, a brighter spine, shading on the hull and wings, a 15-colour palette). The true-scale and 4x versions are unchanged. Backup: redacted.
redacted: the Orion Interceptor (4x, 21 x 24) updated from the sprite editor export (darker red nose and wing tips, dark wing panel lines, shading; an 8-colour palette). Backup: redacted.
test copy redacted: hover wobble off and stationary ships drawn unturned, to judge ship crispness (not a real version).
sprite editor v10: new 'Whole sprite colour' panel: brightness, lift shadows, contrast, saturation and hue shift for every colour at once (OKLab), live preview, lockable colours, Apply as one undoable step. Matches game v251.
sprite editor v11: the Whole sprite colour panel warns, while sliders are off zero, that the preview is not in the export until Apply is pressed.
(no version) redacted: the warp exit extracted from v315 as a reusable component with hookup notes. The game is unchanged.
can you create a gameplay effect scroll version, as a new version for me to compare?
add all the properties of v187 that were added/changed since the creation of v188 back to v188
Asteroid Crossing, for comparison with v187: the slow scroll is now a gameplay effect, not just a picture. The whole field slides down the screen at 14 px/s all the time (CROSS.scroll), which carries the Enterprise slowly up the field even when it is not pushing: it has to brake or push back down to hold its place; the always-on drift of the backdrop (autoScroll) is switched off because the real scroll now moves them. Everything else as v187 (v187 keeps the visual-only version).
v188 (rebuilt): v188 now has everything v187 has (it was copied from the current v187, with every change made to v187 since v188 was first made: currents carrying twice as fast, the 100 px back limit with its easing, the banking pictures and the leans, the up/down rule in currents, destruction at zero shields and the shield power-ups, the 3:00 clock, the smaller knock-back, the new resistance numbers, the current inset and the slow pick-up after leaving a current) and differs from v187 only in the scroll: CROSS.scroll 14 (the field really slides, carrying the Enterprise up it) and autoScroll 0 (no extra drift of the backdrop). The earlier v188 is kept as redacted.
v188 (in place): the 100 px back limit now reaches the full 100 px with the real scroll: the speed allowed going back is measured on top of CROSS.scroll (the field's own slide carried it forward before, so the easing's slow crawl could not reach the limit). Backup: redacted
try visual-only version. save as new version.
Asteroid Crossing: the backdrop and the stars drift slowly down the screen all the time (CROSS.autoScroll 40: the near stars move at about 16 px/s, the backdrop at about 10), so the Enterprise always seems to be moving, even when it is still. It is only for show: the asteroid fields, the currents and the Enterprise are not affected (the climb is unchanged). Also fixed: the seamless backdrop moved the wrong way (up) as the Enterprise climbed; it now moves down, like the stars. Everything else as v186.
v187 (in place): the Asteroid Crossing's course is twice as long: 10 crossings (CROSS.crossings, was 5; about 13,000 px tall); the difficulty still ramps up from the first to the last crossing by the same total amount, in finer steps. The clock is unchanged at 2:00. Backup: redacted
v187 (in place; v188 is the gameplay-scroll comparison version): space currents carry the Enterprise twice as fast (CROSS.current [44, 7], was [22, 3.5]; the streaks keep the same look at 1.6 times the carry speed), and the Enterprise can only go back down the field 100 px from the furthest point it has reached (CROSS.backMax), so DOWN stops moving it back (and the scrolling background with it) once it has used that up. Backup: redacted
v187 (in place): in the Asteroid Crossing, when the Enterprise leans left or right (past STRAFE.bankFrame, about half speed sideways) it is drawn with the banking pictures (shipBankImgs left / right) instead of the ordinary picture tilted. Backup: redacted
v187 (in place): the lean (and so the banking pictures) now also works pushing against a space current's flow: the lean is measured against the lower top speed the Enterprise can reach that way (leanTop), so at its limit against the flow it leans fully (before, it never leaned enough to change picture). Backup: redacted
v187 (in place): in a space current the Enterprise leans gently the way the current carries it, even with no key held (CROSS.flowLean: 0.0013 rad per px/s of flow, at most 0.09 rad: about 3 to 5 degrees: a tilt, not enough to change to the banking pictures; it adds to the lean from its own push). Backup: redacted
v187 (in place): going back down the field now eases into the 100 px limit instead of stopping dead: the lower the room left, the lower the speed allowed (CROSS.backBrake 3.5 per second, CROSS.backCreep 6 px/s), so it glides to a stop. Backup: redacted
v187 (in place): softer, longer ease into the back limit: CROSS.backBrake 1.6 (was 3.5), backCreep 4 (was 6): it now takes about 3 s to settle (was about 2).
v187 (in place): inside a space current, moving up or down is as hard as pushing against its flow: the same 22.5% acceleration and 30% top speed (48 px/s) (CROSS.against, now for both axes). Backup: redacted
v187 (in place): the up/down resistance in a space current now follows the lean: leaning the way the current flows (or not leaning against it), going up or down is at normal speed; leaning against the flow, it is as hard as pushing sideways against it (22.5% acceleration, 48 px/s top speed), building up smoothly with the lean (CROSS.leanFull .06 rad for the full effect). Backup: redacted
v187 (in place): knock-back reduced again (3 px, was 6) and the clock raised to 3:00 (CROSS.time 180, was 120).
v187 (in place): the Asteroid Crossing now follows the main shield rules: an asteroid hit that would take the shield below zero destroys the Enterprise (it costs a life and it comes back, as in the Asteroid Run); exactly zero brings the shields down. Shield power-ups are offered here (only the shield restore, and only when the shield is below full: no weapon or extra-life power-ups); they fall from the top of the screen every 8-14 s. Backup: redacted
v187 (in place): the Asteroid Crossing's shield power-ups are anchored to the field: one appears 30-140 px below the top of the screen (CROSS.puAhead), stays where it is while the Enterprise is still, slides down the screen as it climbs, is carried sideways by a space current it sits in, and is lost once it has gone well below the screen (it no longer falls on its own). Backup: redacted
v187 (in place): shield power-ups appear further ahead: 140-460 px above the top of the screen (CROSS.puAhead [-460, -140]), so about 450-650 px ahead of the Enterprise.
v187 (in place): the last two changes (shield power-ups anchored to the field, and placed further ahead) were undone: the power-ups fall from the top of the screen again, as before. The undone version is kept as redacted
v187 (in place): less resistance against a space current's flow (and going up or down while leaning against it): CROSS.against accel .4 (was .225) and speed .6 (was .3): 40% of the usual acceleration and 96 px/s top speed.
v187 (in place): resistance against a current's flow between the two earlier settings: CROSS.against accel .3, speed .5 (80 px/s top speed).
v187 (in place): a touch more resistance against a current's flow: CROSS.against accel .27, speed .46 (74 px/s top speed).
v187 (in place): a space current only affects the Enterprise (carries it, slows it, leans it) once it is 10 px inside the band's edge, at either end (CROSS.currentInset; helper crossCurAt). Backup: redacted
v187 (in place): CROSS.currentInset 16 (was 10).
v187 (in place): knock-back reduced again: 1 px (CROSS.knock, was 3).
v187 (in place): after the Enterprise leaves a space current it is slow to pick up speed: its acceleration (both axes) is 45% of normal at first and builds back to normal over 1.6 s (CROSS.breakFree; helper crossBreakMul). Backup: redacted
v187 and v188 (in place): knock-back removed (CROSS.knock 0, was 1): a hit costs shield and gives the shake, explosion and protection, but no longer moves the Enterprise.
when enterprise is stationary, make it sway in a circular motion like powerup. save as new version
Asteroid Crossing: when the Enterprise is hardly moving under its own power (slower than 22 px/s) it floats in a slow circle like a power-up (CROSS.sway: 4.2 px, the power-ups' own speed and two-frequency path), eased in and out so it never jumps as it starts or stops moving. Only drawn: the Enterprise's real position (and what the asteroids hit) is unchanged. Everything else as v185.
v186 (in place): the Asteroid Crossing's space currents are much taller and more varied: 84 to 336 px (1 to 4 times the old 84 px maximum; CROSS.currentH), so the whole round is about 6,600 px tall (was about 4,300). Backup: redacted
v186 (in place): in a space current, pushing against its flow is harder: the Enterprise gets 45% of its usual acceleration and only 60% of its top speed that way (CROSS.against). Backup: redacted
v186 (in place): CROSS.rockSpread .4 (was .25): asteroids and groups in a field move at 60-140% of its speed (was 75-125%).
v186 (in place): pushing against a space current is twice as hard: CROSS.against accel .225 and speed .3 (were .45 and .6): about 22% of the usual acceleration and 30% of the usual top speed (48 px/s) that way.
v186 (in place): knock-back reduced again: 6 px (CROSS.knock, was 16).
Go. smooth movement, scrolling screenshield loss and knock back, 5 crossings, with 2 min time limit, to start with. we'll refine as we go. save as new version.
New bonus round: the ASTEROID CROSSING (redacted or redacted), a Frogger-style round. A tall field scrolls with the Enterprise (it stays near the bottom of the screen; UP and DOWN move it up and down the field, LEFT and RIGHT sideways, with quick snappy movement; no weapons): lanes of asteroids of every size slide across, the first one way and the next the other way and so on, and between them narrow bands of space current (soft streaks flowing along, blue to the right, violet to the left, in alternating directions) slowly carry the Enterprise sideways while it rests. Each crossing is 4 asteroid lanes and 3 currents ending in a safe strip; there are 5 crossings, each faster and more crowded, against a 2:00 clock. An asteroid that hits costs shield (5 / 8 / 12 points for small / medium / large; it never destroys the ship: the shield stops at 1) and knocks the Enterprise back 66 px (about a band), with 1.4 s of protection. Scoring: 25 per new lane, 600 per crossing, 8 per second left, 10 per shield point. Numbers in CROSS and in TUNING / redacted (crossLane, crossComplete, crossPerSecond, crossPerShield, crossRockSmall / Medium / Large). On the Bonus Levels page as ASTEROID CROSSING and in the random schedule (rate .8, from level 9 / 8 / 6 on Easy / Normal / Hard). Everything else as v184.
v185 (in place): the Asteroid Crossing's asteroid lanes are now asteroid FIELDS between 1/3 and 1/2 of the screen's height (CROSS.rockH), with many asteroids each: loose single ones and clumps of 2 to 4 packed together, anywhere across the field's height (CROSS.density .10 to .18 of the area from the first to the last crossing, CROSS.clump .45, CROSS.sep); each group moves at its own slightly different speed. All the bands' own backgrounds are gone (no tints, no dashed lane edges): the backdrop shows through, scrolling slowly with the climb; the safe strips are only marked by thin lines and the currents only by their streaks. Backup: redacted
v185 (in place): the Asteroid Crossing's safe strips (start and top of each crossing) are no longer marked by thin lines: nothing artificial is drawn across the screen any more. Backup: redacted
v185 (in place): the Asteroid Crossing's movement is free-flowing in all four directions: keys push the Enterprise (it builds up smoothly to the top speed over about 0.35 s), it coasts to a stop when they are let go (CROSS.accel 520, CROSS.drag .3), and a key against its motion brakes it; it still always faces up. Backup: redacted
v185 (in place): the Asteroid Crossing's Enterprise now flies with the main game's own acceleration (ACC 190), top speed (MAXV 160, shared by both axes) and coasting drag (DRAG .52), via dampAcc() / dampDrag() so the Inertial Dampeners setting applies too; four directions, always facing up. Backup: redacted
v185 (in place): each space current has its own random height (CROSS.currentH 28-84 px, was 46 px) with a matching number of streaks, and the streaks' trails are shorter (CROSS.trail 5-14 px, was 10-26). Backup: redacted
v185 (in place): the Asteroid Crossing's backdrop no longer shows a seam where it repeats: it uses a new seamless starfield (seamlessStarfield: 3 screens tall, every soft glowing star also drawn where it would run off an edge, on the opposite edge) instead of the backdrop canvas, whose glowing stars were cut off at its top and bottom edges; the Wormhole's (switched-off) backdrop uses it too. Backup: redacted
v185 (in place): more drift in the Asteroid Crossing only: it keeps the main game's acceleration and top speed but has 60% of its coasting drag (CROSS.drift .6; 1 = the main game's), so it glides about two-thirds further (about 410 px from top speed, was 245). Backup: redacted
v185 (in place): the Asteroid Crossing's knock-back is half as strong: 33 px (CROSS.knock, was 66).
v185 (in place): more coasting in the Asteroid Crossing: CROSS.drift .42 (was .6), so about 580 px of glide from top speed (was 410).
v185 (in place): the Asteroid Crossing's knock-back is halved again: 16 px (CROSS.knock, was 33).
for the wormhole level, add random appearances of non federation (enemy ships) that appear in the wormhole, coming into view from top of the screen/wormhole and making its way down to the bottom of the screen but staying within the wormhole tunnel. enable the enterprise's weapons. save as new version.
Wormhole: the Enterprise's weapons are on (torpedoes, spread, phaser, quantum torpedoes and the weapon power-ups), and enemy (non-Federation) ships now come down the tunnel now and then: a Klingon Bird of Prey, Ferengi Marauder, Romulan warbird, Cardassian warship or Klingon Vor'cha cruiser (their own pictures), one every 7-13 s (at most 2 at a time, from about 6-9 s into the tunnel, not near its tail). Each enters at the top, sways from side to side following the tunnel's bends (always inside the walls) and flies down to the bottom; torpedoes and the phaser hit it (4-8 hits to destroy, 150 points), and if one runs into the Enterprise it is destroyed and costs 8 points of shield. The summary also lists SHIPS DESTROYED. New numbers in TUNING (hp.wormKlingon 4 / Ferengi 5 / Romulan 6 / Keldon 7 / Vorcha 8, score.wormKill 150, received.wormRam 8) and redacted; the rest in WORM.enemy. Everything else as v183.
v184 (in place): the Wormhole's enemy ships no longer sway: each keeps its place across the tunnel (going round its bends with it), faces straight down, and comes down at 55-75% of the scroll speed (WORM.enemy.speedK; the streaks inside the tunnel are 90-160%), so about 190-410 px/s. Backup: redacted
v184 (in place): the Borg sphere is another enemy in the Wormhole's mix (WORM.enemy.keys, hp.wormBorg 3 in TUNING and redacted): drawn like in the Borg rounds (its damage pictures and green shimmer), a Borg explosion when destroyed. Backups: redacted, redacted
v184 (in place): in the Wormhole the Enterprise's weapons stay inside the tunnel: a torpedo (normal, spread or quantum) that reaches a wall is stopped there with a spark, and a phaser shot with nothing to lock on to ends at the wall (before the mouth and where the tail has faded there are no walls). Backup: redacted
v184 (in place): an enemy ship running into the Enterprise in the Wormhole costs 5 points of shield (received.wormRam, was 8; redacted updated).
v184 (in place): the Wormhole's phaser beams are only drawn inside the tunnel (wormClipTunnel): the walls sweep down the screen while a beam is still showing, so one fired along a clear path could end up across a wall and show outside it. Backup: redacted
v184 (in place): on the home screen the actions beside the blue key labels are a burnt orange (ACTION_COLOR #dd6010; was grey-lilac). Backup: redacted
v184 (in place): that was undone, and redone differently: only the action words themselves are coloured (the words in {braces} in textKeys lines: JUMP TO STAGE, STRAFE SIDEWAYS, TURN, IMPULSE, BRAKE, PHOTON TORPEDOES, SPREAD, PHASER, TELEPORT, TRANSPORT, MUSIC, ALERTS, SETTINGS, PAUSE), not words like OR / WITH / TO, and in a whitish pink (ACTION_COLOR #ffd9e6). The orange version is kept as redacted
v184 (in place): the home-screen actions are pinker: ACTION_COLOR #ff9cc4 (was #ffd9e6).
v184 (in place): the pixel font's W is now 5 blocks wide by 5 tall (it was 3 x 5). Backup: redacted
v184 (in place): the pixel font's M is now 5 blocks wide by 5 tall too (it was 3 x 5). Backup: redacted
v184 (in place): the pixel font's N is now 5 blocks wide by 5 tall too (it was 3 x 5). Backup: redacted
v184 (in place): the pixel font's N is now 4 blocks wide by 5 tall (it was 5 x 5, and 3 x 5 before). Backup: redacted
add the keldon class warship as an enemy encounter level, based on the ferengi level and it's ship's properties and behaviour, but with cloaking capabilities. their phaser is amber-yellow. photons are a orange-yellow color palette.
New enemy encounter: the KELDON ENGAGEMENT (redacted or redacted), a duel against a Cardassian Keldon class warship (the sprite from redacted, 24 x 13 px, 481 m to the Enterprise's 642 m). It is built on the Ferengi Raid (the same ways: it never rams, fires single aimed pulses and thin-line photon torpedoes, a second ship arrives, then a third) but it can cloak like the Romulan warbird. Its phaser is amber-yellow and its photon torpedoes orange-yellow (DUEL_VARIANTS.keldon). Numbers in TUNING (hp.keldon 100, received.keldonBeam 3.5 / keldonTorpedo 4, score.keldonHit 25, endBonus.keldonWin 3000, par 130 s) and in redacted. On the Bonus Levels page as KELDON ENGAGEMENT and in the random schedule (rate .6, from level 11 / 10 / 8 on Easy / Normal / Hard). Everything else as v182.
v183 (in place): the Keldon Engagement is renamed CARDASSIAN ENGAGEMENT (Bonus Levels menu and schedule); the ship is named CARDASSIAN WARSHIP (TWO / THREE CARDASSIAN WARSHIPS) on the level's start screen, its ship line in play and its messages; redacted (redacted still works). Backup: redacted
make the changes of tunnel widths change more often. when enterprise crashes into left wall, make it spin clockwise. when enterprise crashes into right wall, make it spin anti-clockwise. when tunnel starts to fade near end of level, don't make enterprise respond to wall collisions if tunnel wall is fading, as i don't want to see enterprise spinning as it comes out of wormhole w…
when enterprise crashes into left wall, make it spin clockwise.
when enterprise crashes into right wall, make it spin anti-clockwise.
when tunnel starts to fade near end of level, don't make enterprise respond to wall collisions if tunnel wall is fading, as i don't want to see enterprise spinning as it comes out of wormhole when wall visibly is fading or disappearing.
at start of level, don't make enterprise user controlled, just make it go into the tunnel (wormhole) - this prevents the game from taking control to steer enterprise into tunnel entrance.
save as new version.
Wormhole: (1) the tunnel changes width more often: the swells are about 40% shorter and a little deeper (bulgePeriod 420-620 px, bulge .17) and the narrow pinches come more often (every 850-1,600 px); the puddles no longer follow the swells but keep their own spacing (WORM.bump.period). (2) A crash into the left wall spins the Enterprise clockwise, into the right wall anticlockwise. (3) A wall that is fading (the mouth fading in, the tail fading away: less than 92% visible, WORM.solidAbove) no longer counts, so there is no spinning as the Enterprise comes out. (4) The Enterprise is not under the player's control at the start: the autopilot flies it from the very start into the tunnel (HUD: PICKING UP SPEED, then AUTOPILOT), and gives control back 200 px inside. Also in this version (from v181): a landing costs 2% of the shield and touching a wall 4%, both with the shield-hit animation. Everything else as v181.
v182 (in place): HUD text now APPROACHING WORMHOLE, then ENTERING WORMHOLE. Touching a tunnel wall is a scrape (the Enterprise and the wall closing slower than 130 px/s: no spin, 5 points of shield, a gentle nudge away, WORM.scrapeBelow / scrapeDamage) or a crash (harder: the Enterprise spins out of control, 10% of the shield, WORM.wallDamage); neither can destroy the ship. Backup: redacted
v182 (in place): the WORMHOLE round is on the Bonus Levels settings page (OFF / RARE / SOMETIMES / OFTEN, default OFTEN) and in the random schedule (WORM_NAME, SCHEDULE.types.wormhole: rate .8, earliest level 8 / 7 / 5 on Easy / Normal / Hard); J on its row from the title screen jumps straight to it. Backup: redacted
not sure these horizontal but slightly rendered curved bumps work.
can you remove these and instead render patches of circular but irregular shaped 'puddles' that will trigger a jump. make them barely visible. save as new version.
Wormhole: the curved ripple arcs are gone. In their place are puddles: roundish patches with irregular, slowly rippling edges, barely visible (WORM.bump.puddle.alpha .05), placed in the tunnel near the swells and anywhere across its middle (chance .65 of the swells); the Enterprise jumps (lift, grow 2 px, thump, shake) when it flies over one, so how often you jump depends on where you steer. Everything else as v180.
v181 (in place): more puddles (2 places per swell, 80% each, was 1 at 65%), bigger take-off shake (0.3 s, 5 px), and each landing costs 5%% of the shield with the shield-hit flash, sound and shake (WORM.bump.landDamage; never enough to destroy the ship). Backup: redacted
v181 (in place): a landing now costs 2% of the shield (was 5%), and touching a tunnel wall costs 4% (WORM.wallDamage), both with the shield-hit flash and sound. Backup: redacted
go ahead and save as new version. frequency tied to swells in tunnel. have the extras too. yes, 4px wider
Wormhole bumps: each time the Enterprise reaches the crest of a swell in the tunnel (65% of swells, WORM.bump.chance) it is lifted 5 px and drawn 4 px wider (eased through 8 sizes so the smooth-edge pictures can be kept) in 0.09 s, then settles back over 0.38 s, timing the shrink with the fall; a faint light arc sweeps across the tunnel ahead of each bump, with a low thump and a very small screen shake. Drawn effect only: collisions are unchanged. No bumps during the autopilot or near the tail. Everything else as v179.
v180 (in place): bump softer: the sprite grows 2 px wider (was 4), the ripple is thicker (40 px) and much fainter (alpha .045, no thin hard line). Backup: redacted
this is a big ask. i want the level to start off with no wormhole tunnel showing. instead the enterprise starts picking up speed against a minimal backdrop of a starfield, 5 seconds in, the mouth of the wormhole tunnel appears, but in order for the enterprise not to miss the mouth of the tunnel, the game will auto steer the enterprise into the tunnel. once inside the tunnel, us…
i want the level to start off with no wormhole tunnel showing. instead the enterprise starts picking up speed against a minimal backdrop of a starfield, 5 seconds in, the mouth of the wormhole tunnel appears, but in order for the enterprise not to miss the mouth of the tunnel, the game will auto steer the enterprise into the tunnel. once inside the tunnel, user takes control. as the tunnel appears from the top of the screen, i want it to fade into view (increase opacity?).
towards the end of the run, i want the tail of the tunnel to gradually fade to signify end of wormhole tunnel and approaching end of level once the enterprise has passed the tunnel, the enterprise emerges and from the speed of the starfield / trailing stars, they slow to a halt. then end of level. save as new version.
Wormhole: a new start and end. The round begins with no tunnel: the Enterprise picks up speed from rest against the plain starfield (WORM.ease 4.5 s); 5 seconds in (WORM.approach) the mouth of the tunnel comes in at the top and the whole tunnel fades in over 2.5 s (the mouth over 140 px); an autopilot takes over just before (WORM.auto) and steers the Enterprise into the middle of the tunnel, giving control back 200 px inside (HUD: AUTOPILOT / YOU HAVE CONTROL). Wall hits only count inside the tunnel, and power-ups only appear inside it. The last 2,600 px of the tunnel fade away (fadeTail); once the Enterprise is out of the tunnel the starfield and streaks slow to a halt over 4.5 s (exitTime) and the round ends. The tunnel narrows and speeds up over its own length, measured from the mouth. Everything else as v178.
the trailing star effect inside the tunnel isn't quite what i'm looking for. i want a sense of faster movement inside the tunnel but the star streaks inside the tunnel move too straight downwards. i was looking for something similar but where trails kind of bend and flow with the wall curves and bends too. if you know what i mean, implement but save as a new version
Wormhole: the streaks of the stars inside the tunnel now bend and flow with the walls: each streak is drawn back up the tunnel along the same line (the same share of the way between the walls) instead of straight up the screen, as a chain of short pieces that fade out; streaks are longer again (up to 40 / 60 / 80 px) so the curve shows. Everything else as v177.
v178 (in place): the front stars (layer in front of the Enterprise) slower than the inside-tunnel streaks: k 1.1 / 1.5 / 2 (was 1.8 / 2.3 / 3). Backup: redacted
v178 (in place): front stars slower still: k .75 / 1 / 1.35.
v178 (in place): inside-tunnel streaks halved (longest 20 / 30 / 40 px).
v178 (in place): tunnel veil darker, 95% (was 80%), so the back stars are almost hidden inside the tunnel.
v178 (in place): the front stars (the topmost star layers, in front of the Enterprise) switched off: WORM.stars.showAbove = false.
v178 (in place): tunnel veil 90% (was 95%).
v178 (in place): inside-tunnel streaks shorter (longest 14 / 20 / 27 px) and fewer stars (23 in all, was 27).
v178 (in place): the star layers behind the tunnel much faster: k .35 / .7 / 1.2 / 1.8 / 2.6 (was .12-.85), streak caps up to 8 / 14 / 26 / 40 / 56 px. Backup: redacted
v178 (in place): inside-tunnel streaks reworked so they read as moving down: fewer (12: 5/4/3), spaced evenly with clear gaps, slower (k .9 / 1.2 / 1.6, so a star moves only a few px a frame) and each streak about three frames long (trail .05) so it looks like one moving line, not separate flashes. Backup: redacted
v178 (in place): an inner wall: a band of the aurora palette on the inside of each wall, bright at the wall and fading out 50-60 px towards the middle, the width varying along the tunnel (WORM.inner: reach [50,60], alpha .42, show true). Only drawn: it does not narrow the tunnel. Backup: redacted
v178 (in place): wormhole run 50% longer: 54,000 px (about 125 s).
v178 (in place): twice as many streaks inside the tunnel (24: 10 / 8 / 6).
v178 (in place): the inner wall band reaches out to a maximum of 100 px on one side at a time, the sides taking turns along the tunnel (WORM.inner.max 100, period 2600 px); otherwise 50-60 px. Backup: redacted
suggest a colour palette for the tunnel wall glow to replace mine. save as new version
Wormhole: new wall glow palette, "aurora ice": electric blue, azure, cyan, aqua-mint, ice white, lilac, violet, bright blue (WORM.film), with glitter in white, ice blue, lilac and mint. Everything else as v176.
v177 (in place): the stars inside the tunnel take the walls' palette (WORM.film, mixed 30% with white: WORM.stars.insideLighten). Backup: redacted
v177 (in place): the star layers behind the tunnel are slower (k .12 / .24 / .4 / .6 / .85, was .2-1.4). Backup: redacted
v177 (in place): Wormhole: bends swing much further (dx 120-250 px, was 40-95; 1,100-1,600 px apart), an outer wall never comes nearer than 10 px to a side of the screen (WORM.edge), and pinches to 4 ship-widths come about twice as often (first after 1,400 px, then every 1,100-2,100 px; each 600-850 px). Backup: redacted
v177 (in place): outer walls now stay at least 30 px from the sides of the screen (WORM.edge, was 10).
v177 (in place): the tunnel eases away from the screen's edge in a smooth curve instead of running flat along the edge and then turning sharply (wormSoftLimit; WORM.edgeSoft 110, WORM.overshoot 70). Backup: redacted
keep the physical wall boundaries but turn off the colouring for it. may need you to undo, so save as new version
Wormhole: the walls' own colouring (the film, its gradient and bright edge) is switched off (WORM.wall.show = false); the walls are still there and still count (hitting one still spins the Enterprise), shown only by the glow and glitter layer and the dark veil inside. Everything else as v175.
v176 (in place): Wormhole: now and then the tunnel pinches in to 4 ship-widths (104 px) and opens out again (WORM.pinch: first after 1,800 px, then every 2,200-3,800 px, each 650-950 px long). Backup: redacted
v176 (in place): wormhole wall palette: the gold is gone: soft lemon yellow and pale sky blue instead, and the glitter's gold speck is a pale lemon (WORM.film, WORM.sparkle). Backup: redacted
v176 (in place): wormhole walls half as wide: the glow, colour and glitter bands are scaled by WORM.wall.thick = .5 (1 = as before). Physical walls unchanged. Backup: redacted
v176 (in place): inside-the-tunnel star streaks halved (longest 14 / 20 / 27 px).
make all of these layer faster. want the same speed feel as the borg corridor run, so refer to any parameters used for that level to help achieve the scrolling down speed and moving elements (layers). save as new version
Wormhole: scroll speed now the Borg Corridor's (WORM.speed = RUN.speed, with RUN.ease and RUN.slowEnd), so the tunnel, backdrop and every star layer move about twice as fast; the bends and bulges are spaced twice as far apart (bends.seg 520-760 px) so they can still be followed, the tunnel is 30,000 px long (about 80 s), the backdrop drifts at 8% of the scroll and the star streaks are longer; the front layers are a little slower (k 1.25, 1.6, 2.1) so they are not a blur. Everything else as v174.
v175 (in place, temporary test): WORM.backdrop.show = false hides the scrolling starfield behind the wormhole. Backup: redacted
v175 (in place): star layers faster: behind the tunnel k .2 / .4 / .65 / 1 / 1.4 (were .07-.8), in front 1.8 / 2.3 / 3 (were 1.25-2.1). Backup: redacted
v175 (in place, test): tunnel walls at 5% opacity (WORM.wall.opacity = .05; 1 = full). Backup: redacted
v175 (in place): a dark see-through veil over the inside of the wormhole dims the stars behind the tunnel (WORM.veil, 60%); the stars in front are untouched. Backup: redacted
v175 (in place): tunnel veil raised to 80%.
v175 (in place): tunnel walls opacity .15 (was .05).
v175 (in place): wormhole walls recoloured: blues, blue-whites, yellows, white-yellows (WORM.film); glitter along both sides of each wall (WORM.sparkle); colour gradient spills 64+ px inward. Backup: redacted
v175 (in place): wormhole wall glow and glitter moved to their own layer above the walls and the Enterprise (drawWormSparkle), not dimmed by the wall opacity; more glow (WORM.glow.strength) and 5x the glitter (WORM.sparkle.chances 2 -> 10). Backup: redacted
v175 (in place): wormhole wall colours transition smoothly: a smooth curve through the palette (not straight lines), slower colour changes along the tunnel (WORM.wall.scale .003, wobble [.1,.05]), and the colour across each wall and its glow is one gradient instead of stripes. Backup: redacted
v175 (in place): stronger, wider glow on the outside of the wormhole walls (WORM.glow.outer: reach 64 px, strength 1.6). Backup: redacted
v175 (in place): a new layer of fast trailing stars that only appear inside the wormhole (WORM.stars.inside: k 4 / 5.5 / 7.5, streaks up to 200 px); they keep their place across the tunnel's width and follow its bends. Backup: redacted
v175 (in place): inside-the-tunnel stars: fewer (27 in all, was 60), shorter streaks (up to 45 / 65 / 90 px) and slower (k 2.8 / 3.8 / 5).
v175 (in place): inside-the-tunnel stars: shorter streaks (up to 28 / 40 / 55 px) and slightly slower (k 2.4 / 3.2 / 4.2).
v175 (in place): wormhole scrolls 30% faster (speed 338-546 px/s, was the Corridor's 260-420), bends and bulges spaced 30% further apart (seg 680-990), tunnel 36,000 px (still about 80 s). Backup: redacted
v175 (in place): Wormhole power-ups appear inside the tunnel, fall down it, bounce off its walls and are swept along by its bends (WORM.powerup). Backup: redacted
v175 (in place): tunnel walls opacity .1 (was .15).
make it happen. foreground stars: pass in front. Star colours: white and blue-white with a few pale yellow and gold. Save as new version
Wormhole: the backdrop (the plain starfield) now scrolls down slowly and wraps (WORM.backdrop); five layers of stars behind the tunnel (far dim single pixels to nearer bigger, brighter ones with short trails) and three sparse layers in front of the tunnel and the Enterprise that zoom past with long streaks (WORM.stars; white and blue-white, with a few pale yellow and gold); the tunnel is now made as the round goes on (wormExtend), a little beyond the top of the screen at a time, instead of all at the start. Everything else as v173.
i want to create a new level like the asteroid run and borg corridor run... enterprise stays fixed at the bottom of the screen and screen scrolls down with moving objects... but this level, i want a ever changing path for the player to try control the enterprise to stay within this ever changing path. stylistically, i want this twisting path to be a wormhole tunnel, and the g…
stylistically, i want this twisting path to be a wormhole tunnel, and the game will generate bends in this tunnel for the enterprise to pilot within. there will be no enemies or objects within the tunnel (at least for this proof of concept). the tunnel walls are effective the boundaries. the idea i have is the sides of a elliptical shaped soap bubble with visible wall boundaries, almost transparent inside, but the walls have this soap bubble fluid moving shimmer/glow like sunlight refracting off the bubble surface. use a blend of colours like in real life.
i don't want these tunnels to have solid blocks or existing assets as the walls. I want a dynamically generated curving and bending tunnel drawn out (either pre-drawn/pre-loaded or dynamically) for the player to slalom / coast side to side and stay within the tunnel boundary.
hitting the tunnel walls will make the enterprise spin multiple times for 1-2 seconds whilst still moving before resuming upward / forwards facing direction for player to regain control. make the bends spread out enough for player to have sufficient time to respond and react to clear most bends without hitting the walls.
Lets see if you can interpr [rest of this long pasted text left out]
New proof-of-concept round, the WORMHOLE (redacted): an Asteroid-Run style round (Enterprise fixed near the bottom, scene scrolls down, no weapons, no asteroids or enemies) flown up a procedurally generated soap-bubble tunnel: a centre line that bends gently left/right (WORM.bends), a width that swells and pinches like chained elliptical bubbles and narrows towards the end (WORM.width), walls drawn as shimmering soap-film colours with a faint tint inside. Touching a wall spins the Enterprise 3-4 turns for 1.2-1.9 s (no steering, still drifting) before it settles facing forward; it costs no shield or life, only some of the bonus. Not yet scheduled in the game or listed in the settings. All the numbers are in WORM. Everything else as v172.
go ahead and keep top speed constant. save as new version. may need to revert
SHIP CONTROLS gains INERTIAL DAMPENERS (LOW / MEDIUM / HIGH), set apart from the keys by empty rows, with a small line under it in plain words: MOTION DRIFT (COASTING) DISTANCE: LONG / MEDIUM / SHORT. It sets the coasting drag (DAMPENERS.drag: .52 (the old value) / .36 / .22) and scales thrust with it so the top speed is the same on every setting. Saved with the other settings (default LOW); RESET CONTROLS puts it back to LOW. Everything else as v171.
yes pls. save as new version
The CONTROLS page is split in two: SHIP CONTROLS (turn, thrust, brake, strafe, weapons, teleport, transport) and GAME CONTROLS (pause, music, alerts, jump to stage). Each action has a group in KEY_ACTIONS; JUMP TO STAGE is labelled "(TITLE)". Everything else as v170.
v171 (in place): the SHIP/GAME CONTROLS rows now start at the same height as the main Settings rows (column headings just above). Backup: redacted
v171 (in place): controls pages lowered a further 14 px (SETTINGS_UI.ctlDrop). Backup: redacted
v171 (in place): STRAFE's (HOLD) drawn at 80% brightness on the Ship Controls page (SETTINGS_UI.mutedWord / mutedAlpha). Backup: redacted
v171 (in place): (HOLD) muted to 50% (was 80%).
v171 (in place): ON/OFF and (TITLE) muted like (HOLD) (SETTINGS_UI.mutedWords).
v171 (in place): Teleport row now reads TELEPORT (PICARD MNVR); (PICARD MNVR) and (RESCUE) muted to 50%.
v171 (in place): the pixel font's Q is now 4 blocks wide (matches the wide O). Backup: redacted
you built it as requested. i think i described it incorrectly, so my fault.
are you able to reinterpret that by producing a typical hotspot / location marker that you see in typical dashboards, maps, to pinpoint an event location? make it pulse outwards then repeat. maybe start with a small solid circle? happy for you to recommend
- +A third marker for the planet rescue's beam-up points, now the default (RESCUE.planet.marker.style = 'ping'): a small solid dot on the exact spot with two staggered rings spreading out from it, thinning and fading, over and over (ping: dot, ripples, from, to, period, thick, alpha), each point on its own beat. The three-ring marker (style 'rings') and the original square of four corners (style 'corners') are both kept
- ~The three-ring marker (style 'rings', added in v169) is removed again; the planet rescue markers are now 'ping' (default) or 'corners' (the original)
- ~The ping marker's centre dot now blinks: it fades from full down to 20% and back, every 0.95 s, twice for each ripple, and nothing else changes: not its size or colour (RESCUE.planet.marker.ping.dotPulse: period, min)
v170 (in place): planet-rescue ping marker circles now drawn with coverage-based soft edges (even ring thickness, round dot) instead of hard on/off pixels. Backup: redacted
v170 (in place): asteroids (storm/normal rocks and Asteroid Run/Dodge field rocks) now drawn with smooth edges like the ships (ROCK_AA: 180 angles, 120 for field rocks; redacted turns off). Wreckage debris not changed. Backup: redacted
v170 (in place): rockFramesWarmUp pre-builds the asteroids' smooth pictures in the background (2.5 ms slices) when each level's rocks are made, and the Asteroid Run/Dodge field rocks at round start; field rocks now 60 angles. Backup: redacted
v170 (in place): rock pre-build REMOVED (it caused 1-2 s stutter at each level start); asteroid pictures are made on demand again, packed in one sheet per rock instead of one canvas per angle; shared work canvases for ship/rock smoothing. Backup before the pre-build: redacted
v170 (in place): separate switches: SHIP_AA.enabled / ROCK_AA.enabled; redacted none, redacted ships only, redacted asteroids only (default both). Backup: redacted
v170 (in place): DISPLAY settings gain SHIP EDGES (PIXELATED/SMOOTHED, default SMOOTHED) and ASTEROID EDGES (default PIXELATED); redacted still overrides for testing. Backup: redacted
v170 (in place): the pixel font's G is now 4 blocks wide (inner bar), letters may have their own width; text widths via textSpan(). Backup: redacted
v170 (in place): the pixel font's O is now 4 blocks wide. Backup: redacted
v170 (in place): JUMP TO STAGE row removed from the CONTROLS page (the key still works on the title screen, default SPACE). Backup: redacted
v170 (in place): that change was undone: JUMP TO STAGE is listed on the CONTROLS page again.
v170 (in place): respawn safe-zone ring turns green and keeps spinning for 1 s (RESPAWN_RING.linger, doneColor) after the Enterprise returns. Backup: redacted
for the planet rescue levels, can you keep a backup copy of the existing location markers, and create a new variant for use instead for evaluation. its basically three concentric rings, with the smallest one marking the exact location, each ring separated by a 4px gap. each ring will light up and then the glow will move to the next outer ring and so on until the light/glow sequ…
- +A new marker for the planet rescue's beam-up points (RESCUE.planet.marker.style = 'rings', and the default for evaluation): three concentric rings, the smallest on the exact spot and each next ring 4 px outside the one before (rings: radius 5, thickness 2, gap 4), lit one at a time from the middle outwards and then again, in the same colour as before. The earlier marker (a pulsing square of four corners with a + in the middle) is kept: set style to 'corners' to bring it back
go for option 2 first for evaluation. save as new version
- ~Smooth edges for the turning Enterprise (SHIP_AA): each angle of the sprite is rotated from a 4x crisp copy and shrunk back by averaging, so the saucer's curved rim is anti-aliased instead of stair-stepped; the pictures are cached (the usual 128 angles are made a moment after the page loads) and the ship, the strafe banking sprites and the title-screen ship use them. SHIP_AA.enabled = false, or opening the page with redacted, gives the old hard edges for comparison
- ~The damaged starships on the rescue levels (the Enterprise-D, USS Stargazer and Excelsior designs) have the same smooth edges as the Enterprise (SHIP_AA); drawSpriteAA(img, x, y, angle, scale) does it for any other Starfleet vessel added later
- ~The Romulan Warbird, Klingon Bird of Prey, Klingon Vor'cha and Ferengi Marauder (all drawn by the duel code) have the same smooth edges as the Starfleet ships (SHIP_AA); the Borg spheres do not turn, so they are unchanged
lets go with all your recommendations. save as new version
- +Jump to stage: on the title screen the new key (SPACE by default; a JUMP TO STAGE row in Settings > Controls, it can share its key with the phaser) opens a darkened panel with a scrolling list of the 15 bonus levels (A to Z); UP/DOWN (also PAGE UP/DOWN, HOME, END) choose, ENTER starts that stage straight away at the chosen difficulty (a test game: its score is not kept), ESC or the key again closes it. The title screen has a smaller swaying Enterprise (scale 1.2, was 1.5), PRESS ENTER moved up 18 px, and a small PRESS [SPACE] TO JUMP TO STAGE line under it
import updated enterprise sprite, and save as new version: { "sprite": "ship", "width": 26, "height": 32, "changes": [ { "x": 7, "y": 1, "from": "#585e7c", "to": null }, { "x": 8, "y": 1, "from": "#585e7c", "to": "#8fa6ba" }, { "x": 9, "y": 1, "from": "#f4f4ff", "to": "#8fa6ba" }, { "x": 10, "y": 1, "from": "#f4f4ff", "to": "#8fa6ba" }, {…
{
"sprite": "ship",
"width": 26,
"height": 32,
"changes": [
{
"x": 7,
"y": 1,
"from": "#585e7c",
"to": null
},
{
"x": 8,
"y": 1,
"from": "#585e7c",
"to": "#8fa6ba"
},
{
"x": 9,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 10,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 11,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 12,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 13,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 14,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 15,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 16,
"y": 1,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 17,
"y": 1,
"from": "#585e7c",
"to": "#8fa6ba"
},
{
"x": 18,
"y": 1,
"from": "#585e7c",
"to": null
},
{
"x": 5,
"y": 2,
"from": "#585e7c",
"to": null
},
{
"x": 6,
"y": 2,
"from": "#f4f4ff",
"to": "#8fa6ba"
},
{
"x": 7,
"y": 2,
"from": "#ffe860",
"to": "#8fa6ba"
},
{
"x": 8,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 9,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 10,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 11,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 12,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 13,
"y": 2,
"from": "#f4f4ff",
"to": "#b9ccdc"
},
{
"x": 14,
"y": 2,
"from": " [rest of this long pasted text left out]
- ~The Enterprise-D sprite is the picture edited in the sprite editor (ENTERPRISE_D: 26 x 32 px, pivot unchanged at 13,16): a paler, bluer saucer with a lighter rim, a bridge module and lit windows, a lighter hull and the same nacelles. It was drawn by code before. The banking sprites for the strafe are the earlier ones and still need the same update
- ~All 15 Bonus Levels rows now start at Often (SETTINGS_DEFAULTS), and a saved set of settings from before this (no
rev) has its Bonus Levels rows put to Often once; its other settings are kept, and after that its own choices stand (settings revision 2) - ~More coasting drag: DRAG .58 -> .52 (the Enterprise keeps 52% of its speed each second when you let go, so it stops sooner)
reset all level appearances and their probabilities in appearing for all difficulty levels. start afresh. use the bonus level configuration to define the probabilities and when they should occur. requesting as on normal level i get the same sequence of levels. so wipe this clean. save as a new version
- ~The schedule of special levels is wiped and rebuilt (SCHEDULE): the old tables, where each kind came at fixed levels (level % N), are gone, so every game now plays a different sequence. The rows of the Bonus Levels page (Off / Rare / Sometimes / Often) set how likely each kind is; after each ordinary level the game rolls for every kind that is on and old enough (its first level depends on the difficulty), at least 1 (Normal, Hard) or 2 (Easy) ordinary levels separate two rounds, a kind just played is less likely again, and a rescue or mineral level is never two in a row. Easy has 20% fewer special levels, Hard 25% more. redacted repeats a sequence. The Black Hole and Planet backgrounds keep their own settings
- ~Shorter timed rounds: Borg Ambush 60 s -> 30 s, Asteroid Storm 90 s -> 60 s, Asteroid Stream 120 s -> 60 s, Borg Onslaught 150 s -> 90 s (BONUS, STORM, STREAM and ONSLAUGHT .duration)
- ~Asteroid Run and Asteroid Dodge are half as long: FIELD.length 64,000 px -> 32,000 px (about 98 s instead of about 3 minutes)
- ~The Borg Corridor is half as long: RUN.length 128,000 px -> 64,000 px (about 3 minutes of corridor before the core's hall; RUN.duration, the 740 s limit for the corridor and the fight together, is unchanged)
- ~The Borg Corridor's time limit (the corridor and the core fight together) is 480 s instead of 740 s (RUN.duration). The time-left bonus for destroying the core counts seconds left on that clock
- ~The four duels (Romulan Duel, Klingon Confrontation, Vor'cha Assault, Ferengi Raid) last 180 s at most instead of 300 s (DUEL.duration, shared by all of them)
save as new version
- ~The down chevrons of the transporter (beaming the crew on to the Enterprise) are also a stack of three, lit one at a time from the top one down to the bottom one (RESCUE.chevrons.down), to match the up chevrons
for the transporter beam up icon, i want the up chevron icon to be like they are stacked vertically 3 times, the light/glow up sequence is to light up one arrow/chevron at a time, then move up to the next one, etc, then repeat, creating a moving lit chevron sequence. hope you understand! save as new version. if works, i may refine then move onto the same for the down chevrons but that's for later. save as new version
- ~The up chevrons of the transporter (beaming the crew off the starship or the beam-up point) are now a stack of three, nested 3 px apart, lit one at a time from the bottom up and then again (RESCUE.chevrons.up: count, spacing, period, pause, window). The down chevrons (beamed on to the Enterprise) are unchanged
extend the selected row color to the end on that sub-menu
- ~Fixed the selected-row highlight on the Bonus Levels page (and any settings page whose rows are squeezed to fit): it sat about 4 px too high, so the text hung out of its bottom; it is now centred on the text
- ~The selected-row highlight on the settings pages now runs on to x = 470, past the right-hand arrow (it stopped at 410, so the arrow stuck out), the same width as the Controls page
@"tng_poweringup.mp3"
analyse this sound and recreate for when the enterprise picks up a shield powerup. save as a new version, may need to undo.
- +New sound for picking up a shield power-up, recreated from tng_poweringup.mp3 (SHIELD_POWERUP_SND, SHIP_SOUNDS.shieldPowerup; POWERUP.shieldRestore.sound): a 3.0 s climbing chorus of tones. It replaces the two chimes, the general pick-up chime and the soft tick for each segment of the filling bar for the shield power-up only; the other power-ups keep their sounds. Set POWERUP.shieldRestore.sound to anything else to bring the old ones back
@"tng_phaser3_clean.mp3"
analyse and recreate this sound to replace current enterprise phaser fire sound. save as new version as may need to undo
- +New Enterprise phaser fire sound, recreated from tng_phaser3_clean.mp3 (TNG_PHASER_SND, SHIP_SOUNDS.phaser; PHASER.sound.source is now 'rebuilt'): 1.49 s of bright noise with a swarm of falling shimmer lines. The earlier recording, laser and synthesised phaser sounds are kept: set PHASER.sound.source back to 'file', 'laser' or 'synth' to use one
@"borg_phaser_clean.mp3"
analyse and recreate this sound for the borg sphere fire. save as new version. may need to undo
- +New Borg sphere fire sound, recreated from borg_phaser_clean.mp3 (BORG_PHASER_SND, SHIP_SOUNDS.borgFire): 0.92 s of clipped noise with thin shimmering tone lines and a quick opening zap. It replaces the old synthesised zap
@"shield_sizzle.mp3"
analyse this sound and recreate it for use when something collides with enterprise shield. save as new version. may need to undo.
- +New sound for something hitting the Enterprise's shield, recreated from shield_sizzle.mp3 (SHIELD_SIZZLE_SND, SHIP_SOUNDS.shieldSizzle): a 0.96 s stereo noise "sizzle". It replaces the old tone-and-noise shield hit for the Enterprise only (rocks, spheres and shots hitting it); the enemy ships' own shield flashes keep the old sound
create a new level based on asteroid stream/field. this level is the same, but with the following differences: due to weapons systems down on the enterprise, no weapons are available. the enterprise has to navigate across the asteroid stream without weapons, so the aim of the game is to dodge the oncoming asteroids. for this level to work, reduce the number of asteroids on th…
due to weapons systems down on the enterprise, no weapons are available. the enterprise has to navigate across the asteroid stream without weapons, so the aim of the game is to dodge the oncoming asteroids.
for this level to work, reduce the number of asteroids on the playable interactive layer, and reduce clumping (if possible), less big asteroids, more medium and small ones.
reduce the number of asteroids in the bottom layers
save as new version and name this level 'Asteroid Dodge' or suggest something better
- +New bonus level ASTEROID DODGE (settings row on the Bonus Levels page; redacted): the Asteroid Run with the weapons down, so the Enterprise can only dodge. No torpedoes, spread, phaser or quantum torpedoes and no weapon power-ups; far fewer playable asteroids, hardly any clusters, a minimum clear gap between asteroids that arrive together, fewer large ones and more small and medium; the scenery layers behind the Enterprise are thinned out (DODGE block)
- ~The settings pages shrink their row spacing so a long page (the Bonus Levels now has 16 rows) still fits above the key hints and keeps BACK on screen
save as new version
- ~The transport-complete message includes how many crew were rescued in that batch (TRANSPORT COMPLETE. N CREW RESCUED. SHIELDS RE-ACTIVATED)
- +Excelsior (467 m, 9 x 23 px sprite) added as a third damaged starship on the rescue levels (RESCUE.pool: Enterprise, Stargazer or Excelsior, each a third of the time)
- +Asteroid Stream: a new front layer of light rock-coloured speed lines, 5 px wide and quicker than the other layers, drawn over everything in the game (under the HUD): STREAM.frontStreaks
the action of disabling shields to then transport is too fiddly for gameplay. can you make it that hitting transport key will immediately deactivate shields for transport, then once receiving transport is over, shields automatically are re-engaged? this would make the shields key redundant so remove it from the menu keys summary and settings screen. there should be a HUD messag…
- ~Rescue levels: pressing the transport key (X) now drops the shields by itself for the transport (HUD: SHIELDS DISENGAGED FOR TRANSPORT) and puts them back up when the crew have arrived (HUD: TRANSPORT COMPLETE. SHIELDS RE-ACTIVATED); the separate shields key (Z) is gone from the controls, the settings screen, the title screen key summary and the rescue briefing
save as new version
- ~The scorched tint on the damaged starship is now set per design (RESCUE.designs.*.tint): .2 for the Enterprise as before, .08 for the USS Stargazer so its bright colours show
go ahead, strict match, save as new version
save as new version
- ~USS Stargazer sprite updated by hand: a near-white saucer with a light-grey rim
add the stargazer as a damaged ship on the asteroid levels
- +USS Stargazer (Constellation class, 310 m, 9 x 15 px sprite) added as the damaged starship on the rescue levels: each rescue level picks the Enterprise or the Stargazer at random (RESCUE.pool; RESCUE.design can force one)
can you make the ferengi photon torpedoes thin lines about 2px thick, instead of the asterisk style ones, use same colors. save as new version
- ~The Ferengi's photon torpedoes are thin 2 px lines (white-hot head to dark red-orange tail) instead of the sparkling asterisk
save as new version, and rename the backup back as v149
- ~The game is renamed from "Asteroids – The Next Generation" to "Starfleet Arcade": page title, and the title screen now reads STARFLEET / A R C A D E. The saved settings, high scores and key bindings keep their old storage names, so nothing players have saved is lost
go ahead with your recommendations. save as new version. might need to undo
- +Cloak warp: a cloaked Romulan or Klingon ship that is moving bends the space round it, so nearby stars wobble by 1–2 px (and the nebula ripples faintly), with a short wake behind it; the numbers are in the CLOAK_WARP block
@"romulan_cloak.mp3"
analyse this sound and recreate it to use for the romulan's cloaking sound.
- ~The Romulan warbird's cloak sound is rebuilt from its own recording too (ROMULAN_CLOAK_SND, 1.2 s); the old shared transporter recording is removed
@"romulan_decloak.mp3"
analyse this sound and recreate it for the romulan warbird's decloaking (when it materialises). i will provide a separate sound for it's cloaking later.
- ~The Romulan warbird's decloak sound is rebuilt from its own recording (ROMULAN_DECLOAK_SND, 1.5 s)
@"klingon_cloak.mp3"
analyse this sound and recreate it for the klingon vessels' cloaking sound
- ~The Bird of Prey's and Vor'cha's cloak sound is also rebuilt from its own recording instead of the backwards decloak (KLINGON_CLOAK_SND, 1.2 s)
@"klingon_birdofprey_decloak.mp3"
analyse this sound and use for klingon bird of prey and vorcha class ships as the decloaking (materialising from invisibility) sound. a separate sound will be used for cloaking which i will provide later.
- ~The Bird of Prey's and Vor'cha's decloak sound is replaced by one rebuilt from its own recording (KLINGON_DECLOAK_SND: a swell and a long fade, shortened to 2.5 s)
@"quantumtorpeodoes2.mp3"
reproduce this sound and use it for the enterprise's quantum torpedo fire. save as new version.
- +The Enterprise's quantum torpedo has its own launch sound, rebuilt from a recording (QUANTUM_TORPEDO_SND; loudness and voices in QUANTUM.sound), instead of the plain torpedo tone
- ~The recorded-sound system is renamed internally from "Klingon" to ship sounds (SHIP_SOUNDS), since it now serves several ships
save as new version
- ~The Enterprise is slower: top speed 160 px/s (was 250) and it coasts to a stop sooner (DRAG .58, was .7)
- ~The brake (DOWN) is much stronger (.6 of forward acceleration, was .24)
- ~The Ferengi torpedo hits on the Enterprise's shield throw sparks in the Enterprise's own shield blue instead of orange-red
go ahead and build it, save as new version
- ~Game over inside a bonus round: the round's scene stays on screen, frozen, while the Enterprise explodes (0.8 s), then fades out (0.4 s) to the plain sky, and the stars fade in (0.3 s) as GAME OVER arrives (GAME_OVER.hold, fadeOut, fadeIn). The round's sounds are cut off at once and its HUD is no longer drawn
- ~Fixed a rescue mission or planet from the previous level leaking into a bonus round's background, including when jumping to a round with redacted=
add the ferengi marauder as a new enemy level
- +New bonus round, the Ferengi Raid: the same duel against a Ferengi Marauder, a terracotta 18 px pixel-art sprite. It cannot cloak and never rams: it flies in from the side of the screen in plain sight, fires single aimed golden-yellow pulses with orange-red photon torpedoes, moves to a new place after every volley, and flies out through the nearer side when time is nearly up. Blue shield, golden nebula, HUD label RAID
- +Reinforcements come as two more Marauders from opposite sides (three in all); the on-screen text, messages and counters adapt to the number of ships, and the intro says "lead your shots"
- +Setting FERENGI RAID (off, rare, sometimes, often: every 24th, 13th or 8th level); redacted; tunables for hits (20), end bonus (2500, 8 per second under par 120, 10 per shield point), health (80 hits each) and damage (beam 3, torpedo 3.5)
- ~The charge-up glow takes the colour of the ship's own beam; sparks where a ship is hit take its shield colour
option 1
- +All keys can now be changed in SETTINGS > CONTROLS: every action has a main and an alternate key (left, right, thrust, brake, strafe, torpedoes, spread, phaser, quantum torpedo, teleport, shields, transport, pause, music, alerts), saved in the browser; the next key pressed is assigned, a key already in use is swapped, ESC / ENTER / H / F-keys are reserved, BACKSPACE clears a slot, and there is a RESET CONTROLS button
- ~Every on-screen key hint (title screen, level intros, rescue, quantum torpedo) shows the keys as currently set; the bottom row of the title screen is spaced out to fit
- +The Enterprise now shows a banking picture when strafing: two new 26 x 32 sprites (saucer leaning into the slide, engineering hull sliding the other way), used once the lean passes bankFrame
- ~Enterprise sprite: lighter nacelle strip (a light pixel every third row) and a brighter blue
add the vor'cha class ship as a new enemy level
- +New bonus round, the Vor'cha Assault: the same cloaking duel against a Klingon Vor'cha cruiser, drawn as a 24 px pixel-art sprite scaled to the Enterprise. It is bigger and tougher than the Bird of Prey, fires twin beams from the tips of its nacelles, turns a little faster (turn 2.2), has a purple nebula and a HUD label of ASSAULT
- +Setting VOR'CHA ASSAULT (off, rare, sometimes, often: after every 20th, 11th or 7th level at set offsets); redacted jumps to it
- +Tunables for its hits (30 points), end bonus (4000, 8 per second under par 170, per shield point left), health and damage received
- +The small font gets an apostrophe
go ahead with your recommendations! save as new version
- +Lateral thrusters (STRAFE): hold OPTION / ALT (or SHIFT) with LEFT / RIGHT (or A / D) and the Enterprise slides sideways instead of turning, leaning a little into the slide. It builds up like the main thrust and is capped well below top speed (accel 260, maxSpeed 70, bankAngle 14); only works where the ship can turn. Can be switched off with STRAFE.enabled to make it a power-up later
- +The title and level help text mention the strafe key
- ~Shield bubbles have a 1 px gap between ship and bubble for every ship (BUBBLE_PAD) and a configurable border thickness (BUBBLE_BORDER)
- ~Letting go of ALT no longer moves browser focus to its menu bar on Windows
can you make the phaser fire for the klingon bird of prey emit from the two front facing tips of the wings (furthest left and right drawn element in the sprite)? so two phaser beams, same colour, but the fire is straight ahead, no cone arc. save as new version.
- ~The Bird of Prey's beams are a new green, half way between its old mint and lime greens, with yellow-white sparkles twinkling along each beam and a flare at the wing tip (beamColors, sparkle)
- ~Its beams travel slower (0.1 s) and stay visible longer (0.55 s) than the Romulan pulse (beamTime)
save as new version
- +The Romulan warbird's cloak and decloak sounds are rebuilt from a recording (ROMULAN_TRANSPORTER_SND; the cloak is the same recording played backwards and faster)
- +Each duel now has its own nebula background in its ship's colours (green for the Romulan, red-orange for the Klingon) instead of a plain starfield; no black hole or planet. A duel with no nebula colours, or the nebula switched off, keeps the plain starfield
- ~The Bird of Prey now fires two straight beams from its wing tips along the way it faces (no turning toward the target); a beam hits if the Enterprise is within 14 px of its line, and only the truer beam does damage. The charge-up glow gathers at both wing tips
save as new version
- +The Romulan warbird gets rebuilt recorded sounds too: photon torpedo and phaser pulse (the 4.6 s recording is cropped to a 0.9 s shot) (ROMULAN_TORPEDO_SND, ROMULAN_PHASER_SND)
save as new version
- +The Klingon Bird of Prey has its own sounds, rebuilt from recordings by analysing their spectra (noise shaped band by band plus the falling and steady tones): photon torpedo, disruptor fire, cloaking and decloaking (KLINGON_TORPEDO_SND, KLINGON_DISRUPTOR_SND, KLINGON_TRANSPORTER_SND, KLINGON_SOUNDS)
- ~The disruptor sound is clipped at full scale like the recording; the cloak and decloak sounds are stereo and are the same recording played at different speeds (the cloak backwards and much faster)
- ~The sounds are generated a moment after the Klingon level starts, a few bursts of each with slight variation, so there is no hitch; loudness, speed variation and the number of simultaneous voices are set per sound
- ~The Romulan warbird still uses its simple tones for now
save as new version
- +Bird of Prey has its own tactics: after a shot it darts forward at the Enterprise (55%) more often than it strafes (15%), stopping short of it; 5% of its darts are suicide rams that destroy both ships; it can start a dart cloaked and decloak on the way, or cloak while darting (attack settings)
- ~The Bird of Prey's second ship arrives at 65% strength (the warbird's stays at 20%); its path to a new spot keeps clear of the Enterprise
- ~Bird of Prey sprite recoloured
replicate the romulan warbird level but with the klingon bird of prey. same gameplay, mechanics, everything... except for the image sprite. also change every reference from ' romulan warbird' to 'Klingon bird of Prey' or 'warbird' to 'Bird of Prey'. change level name 'Klingon Confrontation'
- +New bonus round, the Klingon Confrontation: the Romulan Duel with a cloaking Klingon Bird of Prey (small green-brown sprite drawn about four times its true size); same rules, own names on the screens, and its own hit points, damage, scoring and frequency (after every 16th, 9th or 5th level)
- +Settings row KLINGON CONFRONTATION; test with redacted
- ~The Romulan Duel and the Klingon Confrontation now share one level definition (DUEL_VARIANTS); the picture, breakup pieces and shield bubble follow the ship in play
yes pls
- +TUNING block: every calibration number in one place, generated from redacted, covering points per kill and round, end-of-round bonuses, hits to destroy things, damage dealt (torpedo, quantum, phaser), shield and hull lost, shield regeneration, and lives (start, extra-life price, cap); the game now reads these from it (values unchanged)
yes to all four, go ahead. save as new version
- ~Chevron is now a single one by default (RESCUE.chevrons.count: 1 or 2) and the icon sits 9 px higher; the dark outline is switched off (outlineAlpha 0)
add small up or down double chevrons under the transporter status icons and animation, to indicate whether people or objects are being beamed off a ship or planet and beamed onto the enterprise. up chevrons are beamed off, to be beamed (transported) on, indicated by the down chevrons. I want these double chevrons to have a pulsing colour then sends a lighter shade along each…
up chevrons are beamed off, to be beamed (transported) on, indicated by the down chevrons.
I want these double chevrons to have a pulsing colour then sends a lighter shade along each chevron and the pulsing pattern repeats. these new double chevrons should be positioned under the existing transporter animation so move the positioning up to accommodate these new chevron animations. i may ask you to modify colours later. save as new version for review.
- ~Chevrons smaller (7 px wide) and recoloured: orange for beaming off, green for beaming on
- +Transporter icon and chevron colours are adjusted to keep readable against whatever is behind them (RESCUE.transport: contrast ratio 4.5, eased as the backdrop changes), with an optional dark outline
- +Planet rescue: when time runs out the beam-up points stay for 5 s with "LIFE SIGNS LOST" in place of the survivor count, then fade out
on the home title screen, under "the next generation" sub heading, display in tiny text the version number using the average colour of the backdrop, but 10% brighter. save as new version.
- +Transporter icons in the rescue rounds get a chevron under them: pointing up (yellow) while people beam off the starship or planet, down (green) while they beam on; the colour pulses twice, then a lighter shade runs along each chevron (RESCUE.chevrons); the icon is raised to make room
- ~Title-screen version text made much brighter (about 237% of the backdrop colour)
yes pls, save as new version
- ~Rescue split into two settings: SHIP RESCUE (the damaged starship) and PLANET RESCUE (survivors on a planet), each with its own frequency (planet: after every 13th, 8th or 5th level); if both fall on one level, a coin flip decides
- +The version number shows in tiny text on the title screen, tinted a little brighter than the backdrop's average colour
- ~A settings page with many rows packs them closer so they fit; no STANDBY message while a duel ends in a double destruction
add a new layer above and below the playable layer, each with a dust/small rock field, with its own parallax. they behave like the starfields but as they fall down they leave a fading trail as they are zooming down fast. they represent smaller asteroid rocks that dart downwards towards the enterprise. these layers are non-interactive. save as new version
- ~Asteroid Run is half the Corridor's length, its dust trails are shorter and dimmer, and its asteroid groups come slightly less often
- +Bonus Levels menu lists the rounds in alphabetical order
- +Secret: pressing J on a bonus level's row in the settings, from the title screen, jumps straight into that round (same as redacted)
save as new version
- +New bonus round "ASTEROID RUN" (working name): the Asteroid Storm played like the Borg Corridor: the Enterprise slides left and right at the bottom while the view scrolls at the Corridor's speed, with layered parallax scenery of dimmer asteroids and star specks behind and nearer-than-the-ship asteroids drawn over it
- +The playable asteroids are laid out along the whole run, split when shot, and the round ends when the far side of the field is reached (no core, no clock); a destroyed ship costs a life; Storm scoring and shield damage apply; summary shows asteroids destroyed, ships lost, survival and shield bonuses
- +Settings row ASTEROID RUN (off / rare / sometimes / often); test with redacted
save as new version
- ~Duel HUD: a strength bar for each warbird still in play (a destroyed one's bar goes and the last takes the top place)
- ~If the first warbird is destroyed (or goes down in a collision) before its second has appeared, the second comes in and the duel goes on
can you update the warbird sprite with the following exported data and then save as new version: { "sprite": "warbird", "width": 33, "height": 52, "changes": [ { "x": 15, "y": 0, "from": "#0b1e14", "to": "#16402a" }, { "x": 16, "y": 0, "from": "#0b1e14", "to": "#16402a" }, { "x": 17, "y": 0, "from": "#0b1e14", "to": "#16402a" }, { "x": 15, "y":…
{
"sprite": "warbird",
"width": 33,
"height": 52,
"changes": [
{
"x": 15,
"y": 0,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 16,
"y": 0,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 17,
"y": 0,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 15,
"y": 1,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 17,
"y": 1,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 13,
"y": 9,
"from": "#22603a",
"to": "#16402a"
},
{
"x": 1,
"y": 16,
"from": "#16402a",
"to": "#a3ffb9"
},
{
"x": 31,
"y": 16,
"from": "#0b1e14",
"to": "#a3ffb9"
},
{
"x": 32,
"y": 16,
"from": "#0b1e14",
"to": "#22603a"
},
{
"x": 1,
"y": 17,
"from": "#16402a",
"to": "#9ed48c"
},
{
"x": 31,
"y": 17,
"from": "#0b1e14",
"to": "#9ed48c"
},
{
"x": 32,
"y": 17,
"from": "#16402a",
"to": "#22603a"
},
{
"x": 32,
"y": 18,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 32,
"y": 19,
"from": "#0b1e14",
"to": "#16402a"
},
{
"x": 32,
"y": 20,
"from": "#0b1e14",
"to": "#22603a"
},
{
"x": 1,
"y": 21,
"from": "#9ed48c",
"to": "#22603a"
},
{
"x": 31,
"y": 21,
"from": "#62a868",
"to": "#22603a"
},
{
"x": 32,
"y": 21,
"from": "#22603a",
"to": "#3a8250"
},
{
"x": 1,
"y": 22,
"from": "#9ed48c",
"to": "#3a8250"
},
{
"x": 31,
"y": 22,
"from": "#62a868",
"to": "#3a8250"
},
{
"x": 32,
"y": 22, [rest of this long pasted text left out]
- ~Warbird sprite recoloured with a lettered palette (a–k) for finer shading
- +Settings reorganised into a top menu with sub-menus AUDIO, DISPLAY and BONUS LEVELS (Enter opens, Esc goes back); rows are larger, with the < > arrows moved out
- +Green screen-border flash when a warbird is destroyed (DUEL.killFlash)
- ~Duel test URL renamed redacted (redacted still works)
as warbird's health reduces to 20% make a new warbird appear on the screen from cloaked state to decloaked state - this would be a second instance of the warbird, exhibiting same behaviours as the first
- +Second warbird: when the first is down to 20% strength a second arrives (starts cloaked in a new place, decloaks after 1.5–3 s, same behaviour); the duel is won when both are destroyed, with a strength bar for each and the message "A SECOND WARBIRD IS DECLOAKING"
- +Retreat: 5 s before time runs out any warbird left cloaks, stops firing and stays cloaked ("THE WARBIRD CLOAKS AND RETREATS"); the summary counts warbirds destroyed and retreated
- +Power-ups now appear during the duel as on an ordinary level
- ~The two ships meeting always destroys both and costs a life (a cloaked warbird too); a destroyed Enterprise now waits to return with the clock paused, and a warbird near the return point drifts clear
save as new version
Part of the entry for 1.0.115 (several small versions were written up together).
the effect i'm looking for is still not right... is it possible to copy the properties of enterprise's movements to the warbird, and i can refine from there? save as new version
- ~v115: experiment: the warbird flew like the Enterprise (turns about its centre, thrusts forward only, drag and retro-braking, steering to places and dart runs), and waited until it faced the Enterprise before decloaking
- ~v116: that movement taken back out (the earlier slide-and-drift motion returns, with tail-thruster push in dart turns), keeping the other changes
- ~Warbird fire made fairer and more accurate: it only fires within range (700 px), leads a moving Enterprise (lead, aimError 2 px), larger hit circle (34 px), and first appears after 5–10 s
make the warbird an enemy in a new bonus level. the backdrop is a plain starfield. the enterprise starts in the centre like the asteroid clearance level. the romulan warbird starts off cloaked (invisible) and can be positioned anywhere else on the screen, angled facing the enterprise in a confrontational manner. it decloaks (materialises) by alternating opacity rapidly, with a …
- +New bonus round, the Romulan Duel: the Enterprise (free-flying, plain starfield) against a cloaking Romulan warbird, with a "WARNING / ROMULAN WARBIRD" intro and a strength bar and DUEL clock on screen
- +The warbird always faces the Enterprise and works in cycles: cloaked and invisible, decloaks (flickers into view for about 1.2 s, cannot fire), fires a few short green-white pulses and photon torpedoes in volleys, cloaks again, then slides to a new spot; sometimes it strafes in plain sight, darts across the screen, or side-steps incoming torpedoes
- +The Enterprise can shoot at it any time: a torpedo hit on the cloaked warbird flashes it into view, sustained hits disable its cloak for 12 s; the phaser only locks on once it is seen, but a phaser shot fired in its direction can still strike it
- +Its pulses and torpedoes cost the Enterprise shield (3.5 and 4); the two ships colliding destroys both ("BOTH SHIPS DESTROYED"); a destroyed Enterprise loses the duel, and the warbird escapes if 5 minutes pass
- +Scoring: 25 per hit, 3000 victory bonus, extra for beating 150 s, plus shield left; summary screen with direct hits and time
- +Settings row ROMULAN DUEL (off / rare / sometimes / often: after every 14th, 8th or 4th level); test it with redacted
- ~The warbird breaks into spinning pieces when destroyed (the ship explosion can now be drawn without Enterprise debris); torpedoes are drawn by one shared routine
- ~No STANDBY message while the duel summary shows
keep the existing phaser fire as a backup. create a high pitch high frequency sci-fi laser sound with a trail to replace the current one. save as a new version. may ask you to undo
- +Romulan Warbird sprite (D'deridex class, 52 px long, green palette, drawn from a reference photo to the Enterprise's scale); an enemy picture only, not used by any level yet
- +New sci-fi laser phaser sound (very high "pew" diving from 5.4 kHz to 1.5 kHz with an echoing trail, made in the browser); PHASER.sound.source switches between 'laser', the TNG recording ('file') and the old synthesised one ('synth')
- ~Borg Onslaught: spheres fly 15% faster (1.15) and formations come a little closer together
- ~Phaser-boost power-up colours shifted to deeper orange
we're going to try improve the photon spread icon. use current colours, but use the quantum photon torpedo graphic. use the current photon spread lines as a guide. for the new icon, position the torpedo sparks at the top of each line. then draw a faint trail against the lines. that's how i want the new icon to look. save as new version, in case i need to undo
- +The Asteroid Storm now has its own parallax stars, falling at a medium speed (STORM.stars: count, speed, brightness, colours), like the Asteroid Stream's
- ~Phaser arc in the rounds where the ship cannot turn is set per round: Storm and Corridor run 45°, Asteroid Stream and Borg Onslaught 140° (70° either side, so it reaches targets to the sides)
- ~Spread power-up icon: longer, narrower lines, a little lower; each line now ends in a small glowing photon torpedo (glow, cross of light, bright core, glitter) with a fading trail
use this level to create a new bonus level but with no moving asteroids and instead, waves of borg spheres. make game last 2 mins. set up multiple formations, some from top of screen, some left or right, and all directions. surprise me
- +New bonus round, Borg Onslaught (BORG ONSLAUGHT row in the settings screen, 2:30): like the Asteroid Stream with the same movement and weapons, but no asteroids, only formations of Borg spheres from every direction: curtain with a gap, vee, snake, pincer, spinning ring, X, carousel (ring that settles, spins, fires then bursts outward) and rise (a row from behind you); green nebula
- +Destroy every sphere of a formation before any escapes for a FORMATION CLEARED bonus (60 per sphere); formations get quicker and more frequent, and later two arrive together; at most 18 spheres on screen; HUD shows spheres and formations cleared; numbers in ONSLAUGHT and FORMATIONS; redacted plays one
save as new version
Part of the entry for 1.0.108 (several small versions were written up together).
new bonus level, this time its a vertical shoot 'em up. enterprise can move up and down, left and right up to half way up the screen from the bottom, it faces upwards, there is a stream of slow moving asteroids all different sizes flowing across the screen. as the screen scrolls to give illusion that enterprise is moving upwards, there are borg spheres that randomly appear in w…
save as new version
- +New bonus round, the Asteroid Stream (ASTEROID STREAM row in the settings screen, 2:00): a vertical shoot 'em up up a slow stream of asteroids that drift across and down; the Enterprise moves freely up and down and sideways in the lower 70% of the screen (floaty glide, nudged back from the range limits); a blue nebula and a parallax star field give the feeling of flying up
- +Waves of 3–5 Borg spheres arrive from the top: each either dives at the Enterprise and out of the bottom, or comes down to hover and fire, then flies off the nearest side
- +No sphere or asteroid is sent unless it will have left the screen before the clock runs out; scoring as the Storm (survival bonus, shield bonus); numbers in STREAM
- ~v109: small tweak (no visible change)
save as new version
Part of the entry for 1.0.106 (several small versions were written up together).
i have a new level idea... one giant asteroid is a special asteroid with a rare element/mineral. it must not be destroyed so must remain intact. make this asteroid by making it shimmer slowly like gold sparkles caught in sunlight. that will be the visual differentiator. it can be shot at and broken down into smaller pieces but not totally destroyed. if destroyed then no bonus at the of level. save as new version
- +New level type, Rare Mineral: on a normal asteroid level one giant asteroid is golden and shimmers with gold sparkles; its pieces stay golden when it is shot. Destroy every last piece and the mineral is lost ("NO BONUS"); the golden pieces need not be cleared to end the level, and the bonus (up to 4000) depends on how much is left
- +RARE MINERAL row in the settings screen; numbers in MINERAL (frequencies, bonus, darkness and sparkle settings)
- ~Planet rescue: the beam-up markers pick a colour from the planet's own palette that contrasts with its surface (RESCUE.planet.marker.auto, contrast)
- ~Power-ups appear sooner and more often on normal levels (first at 5–9 s, then every 8–14 s, up to 3 at once); an uncollected one now fades away 20 s after materialising and flashes for its last 5 s (POWERUP.life); same quicker pace in the storm; the corridor's are a little slower
- ~v107: small tweak (no visible change)
save as new version
- +Planet rescue: the other kind of rescue level (half of them, RESCUE.planet.chance): a big, still, Earth-like planet without rings fills the background (at least 30% of the screen) and has 2–3 pulsing square-corner beam-up points, each with 3–9 survivors; beam them up with [Z] and [X] within a countdown window (60–90 s, BEAM-UP WINDOW), those left on the surface are lost; bonus per second left; redacted
- ~The planet-rescue level never has a black hole
- ~Teleport (T key): the Enterprise flashes for 0.6 s (protected), jumps with the old flash and sparks, then flashes 0.6 s again as it rematerialises (TELEPORT)
- ~DOWN brake made stronger (0.24)
save as new version
- +The "LEVEL N" banner at the start of every level stays up for 7 seconds (LEVEL_BANNER), and the Rescue banner too
- +A destroyed Enterprise waits for clear space: it returns only when no asteroid is within 70 px of the screen's middle, and an amber dashed circle turns slowly round that spot while it waits (RESPAWN_RING); the STANDBY message is centred on that circle
- ~Picking up a spread or phaser upgrade that is already running adds its time to what is left; the spread bar is labelled PHOTON SPREAD UPGRADE
- ~Rescue Mission: the Rescue banner sits below the respawn circle and uses the key-cap style; the person icon is pale yellow while leaving the starship and green while arriving
save as new version
- +The DOWN (or S) key now brakes the Enterprise on the normal levels: it thrusts against the direction of travel, and once stopped it drifts slowly backwards (BRAKE); shown in the controls text on the title screen
- ~Asteroid Storm power-up odds evened out (extra life no longer rarer)
save this as a new version
- ~Rescue Mission: the crew is a random number from 1 to 24, the starship's hull starts at a random 5–39%, and its warp core breaches after a random 60–90 s, losing whoever is left aboard (countdown turns red for the last 10 s)
- ~The starship keeps well clear of a black hole or planet when placed; the transport range is 180 px; transport rest between batches is 0.5 s, and a new batch cannot start until the last has finished ("TRANSPORTER BUSY"); the level ends 5 s after everyone is rescued and the area is clear
- ~The starship's scorch marks are off (RESCUE.scorchMarks)
- ~Settings menu text is smaller (1x) and rows tighter (SETTINGS_UI)
i have an ambitious new level to design. it is based on the main asteroid clearing levels. however, this one will be slightly different. in addition to the normal asteroid level behaviour, i want a damaged starship (a scaled down version of the enterprise, with future option to change for a different starship design), floating somewhere on the screen, the enterprise cannot inte…
in addition to the normal asteroid level behaviour, i want a damaged starship (a scaled down version of the enterprise, with future option to change for a different starship design), floating somewhere on the screen, the enterprise cannot interact with it but can fly over it, other objects such as asteroids and enemy craft and fire can. the ship is damaged and has darken scorch marks on the saucer section of the craft, and a few small 2px fires with sparks. not only the enterprise needs to clear the asteroids and any enemy craft, but it needs to protect the damaged ship from them. Also, the enterprise needs to turn off shields to enable transporter to transport crew from the damaged ship to the enterprise so it is also a rescue mission.
how this would work is underneath the damaged ship is an indicator showing a crew meter (e.g. 25) and a damaged meter.
any hits to the damaged ship will take damage and the meter will update accordingly. if zero, then ship explodes and remaining crew is lost.
the enterprise needs to be within close proximity to the damaged ship and disable shields by pressing Z key, then press X key to transport crew from damaged ship to enterprise.
When X key is pressed, i want a small icon of a person (full head, body, arms by side, legs) with a 'x6' (as transporter can only teleport/transport max 6 people) and the [rest of this long pasted text left out]
- +New level type, the Rescue Mission: an asteroid level with a damaged starship (an Enterprise-shaped hulk with fires and sparks) to protect; its crew (25) is to be beamed to your ship
- +[Z] toggles your shields off and on, [X] beams up to 6 crew at a time; shields must be off and the Enterprise close by (RESCUE.range). Each person dematerialises in a transporter column on the starship and rematerialises above the Enterprise. With shields off any hit destroys the Enterprise
- +The starship has hull strength; rocks, ramming spheres and Borg bolts damage it, and half of the spheres' shots are aimed at it (RESCUE.aim); if it is destroyed, the crew still aboard are lost
- +Scoring: points per person rescued, a bonus for rescuing all, and for hull left; the level does not end until the starship is saved or lost
- +RESCUE MISSION row in the settings screen; the whole thing is configured in the RESCUE block; redacted plays one straight away
- ~A new Enterprise always has its shields up
remove all the previous maze level code. make sure the game still works. save as new version
- −The Borg Maze round is removed entirely (generator, maze map, chamber drawing, settings); the core, guard spheres and wall-bump numbers it had are kept for the corridor
- ~BLACK HOLES row moved above BORG AMBUSH in the settings screen
- ~The corridor is the only round inside the cube, so all its text and timers use the corridor's numbers
for the shield powerup icon, can you add a slow almost transparent rotating surface to the ball/orb, like a soap bubble, should have a tint of blue/white to it. save this as a new version
- ~The shield bubble gets a thin, almost transparent soap-bubble film: blue-white swirls that slowly turn and two tiny glints
yes pls. make it a new version
- +Quantum Torpedo: a new weapon on the B key; a QUANTUM TORPEDO power-up pack (blue-white icon) gives 10 (at most 24); each does 2 damage, flies faster (440 px/s), has a longer reach, recoloured blue-white trail and a higher chiming launch sound; at most 4 in flight (QUANTUM block); the count shows bottom left; redacted starts with that many
- +The Asteroid Storm and the corridor now offer all kinds of power-up (spread, phaser, quantum pack, extra life, shield) and not just shields; power-up weights are configurable per round
- ~Active power-up bars are labelled in words (PHOTON TORPEDO SPREAD, PHASER UPGRADE) and spaced further apart
- ~Settings screen: C no longer closes it (Esc only); key hints are shown in square brackets, e.g. [ESC] BACK; the font gains [ ] ( ) characters; the round intro text for the maze reads BORG CUBE INFILTRATION
- ~More spheres in the corridor halls (3–6)
can you create occasional rectangular blocks with a truss pattern, at a new upper-most level, each joined to to either left or right outer wall. each block could vary in width in size 50-200px, and height 50-250px. apply parallax as this is the new upper-most layer. also periodically place a rectangular truss platform in the screen as an non-interactive object. save this as new version. may need to undo.
- +Corridor: a new nearest layer of open truss lattices (frames of rails with crossed braces, see-through) floating over everything, as blocks at the screen sides and as platforms across it (RUN.truss)
- ~Corridor power-ups fall a little faster (58)
change to 0.75 and save as new version
Part of the entry for 1.0.095 (several small versions were written up together).
can you make the internal vertical walls jagged? save this as new version
- +Corridor: waves of Borg spheres zoom down the screen side by side in a line, swaying together, and fire as soon as they are on screen (RUN.waves), plus small squads of three that change direction, speed and spread unpredictably and eventually dive off the bottom (RUN.squads)
- +Corridor: huge blocks of ragged wall metal with blinking lamps far below everything, lamps on the beams, a glow down the inside of both screen sides and down both sides of some inner walls
- +Corridor: soft glows on the far backdrop; a top-most layer of thin walls across the screen over everything; round glowing emitters set into the side walls like the Cube's, which fire and can be shot (RUN.emitters)
- +Phaser can target pieces of the inner walls (low priority), and does extra damage to them; torpedoes and phasers can now wear down breakable wall pieces
- +Once the core's hall is reached the UP key lifts the ship for a moment, as in the Cube battle
- +A destroyed Enterprise in the corridor costs a life (RUN.deathCostsLife; set false for free deaths like the other bonus rounds)
- ~Corridor made much longer (128000 px, 740 s in all); more spheres in the halls; power-ups come sooner and more often (at most 3 at once)
- ~The walls' shadows on the floor are tunable (WALL_EDGE); a round's spheres, bolts and power-ups are cleared away properly when it ends or the game is over
that was a great achievement. but i don't think the level works for the game. let's try another idea. it will be like asteroid storm, but rather than moving asteroids, it will be stretches of long vertical borg interior walls, and more corridor space for the enterprise to swing left or right. where sections of vertical wall ends, the enterprise can take another corridor that …
let's try another idea. it will be like asteroid storm, but rather than moving asteroids, it will be stretches of long vertical borg interior walls, and more corridor space for the enterprise to swing left or right. where sections of vertical wall ends, the enterprise can take another corridor that has come into view. there will be no dead ends, but corridors will have interiors jutting out of them as per previous request. reuse the graphics you've made for the maze. once the enterprise has come to the end of the run, the same orb is waiting with borg spheres. there will be no central circular hall. let's try this. save as new version
- ~The Borg Maze is replaced by a new bonus round, the Borg Corridor (the setting becomes BORG CORRIDOR; redacted / corridor): the Enterprise sits low on the screen and steers only left and right while the Borg Cube scrolls past (about 36000 px of corridor at 260–420 px/s, slowing for the arrival), then fights the power core in its hall
- +The corridor is built from stretches of vertical walls with open halls between them, short horizontal walls to dodge, and pipes, vents and machinery jutting out of the wall faces that can be shot to pieces; hitting a wall or an obstacle costs shield
- +Many layers of depth: a slow deck-grid backdrop and big hull panels, horizontal beams on deeper layers, a mist layer, and a nearer top layer of walls and lamps that passes over the ship, all scrolling at different speeds (RUN.parallax, beams, front, frontBeams, frontLamps, haze)
- +Gun turrets set into the walls watch and fire at the ship, and can be shot (RUN.foes); Borg spheres appear in the halls as they come into view
- +The Enterprise's autotarget (phaser) can now pick turrets
- ~Shared core fight code (mazeFight) is now used by the corridor; the core has 2.4x the maze's health because the ship fires much faster here
- ~Torpedoes ride along with the scroll in the corridor run
go ahead with option C, small minimap, 3000px x 3000px, no moving enemies in corridors, but was thinking maybe a few bits of ship interior and pipes jutting out a bit for the enterprise to dodge, manoeuvre out of the way. come as occasional bonus round. save as new version.
- +New bonus round, the Borg Maze, inside a Borg Cube: a fresh maze of corridors about 3000 x 3000 px each time (the view scrolls after the ship) leading to a circular chamber with a great pulsing white-green power core, which you must destroy within 6 minutes
- +The maze always has at least two separate ways into the chamber, plus dead ends and loops; pipes, vents and machinery jut into the corridors and are solid; lamps along the walls glow and pulse
- +Borg spheres circle the core and are replaced after a while; the core fires fans of bolts at a ship it can see; nothing fires through walls
- +The Enterprise steers with strong braking and grip (turn, thrust, DOWN brakes hard, no teleporting); hitting a wall hard costs shield and flashes the border; being destroyed costs no life but lowers the bonus
- +A small map (bottom right) fills in as you explore and always shows the chamber; the core hums, louder as you get close; a long victory sequence as the whole cube blows up, then a summary with bonuses (core destroyed, time left, survival, shield left)
- +BORG MAZE row in the settings screen (off, rare, sometimes, often); all numbers in the MAZE block; redacted plays it straight away
- ~Settings rows packed a little tighter to make room for the new row
are you able to add thick amber bars at the screen borders where an object is about to appear from off-screen to on-screen, as a pre-warning, then fade as soon as the object appears on-screen? the bars should be of the same height as the object if coming in from the side of the screen, and the bars should be the same width of the object if coming in from the top or bottom of th…
- ~The faint CRT scanline overlay is switched off (one
display: noneline brings it back) - +Edge warnings for the bonus rounds: a flashing amber bar on the screen edge where a Borg sphere or rock is about to come in, as wide (or tall) as the object, fading once it is on screen; numbers in EDGE_WARN (thickness, colour, flash rate, how many seconds ahead, most bars at once). Switched off for now (enabled: false)
save this as v91 and save redacted as v90
- ~The bonus rounds (Borg Ambush, Asteroid Storm, Borg Cube) now get a random background like the normal levels: random nebula colours, and sometimes a black hole or planet
- +Setting to go back to each round's own fixed colours (BONUS.randomBackground = false)
save this as v90 and save redacted as v89
- ~The small Enterprise icon (lives display, extra-life power-up) is redrawn pixel by pixel from the sprite editor (13x16, new shading)
- ~Extra life made more likely (weight 1/3)
yes pls, build it. use a new enterprise icon for the small space within the icon, unless you think existing one will be okay. respect the 6-life cap. make it appear less often than the rest of the powerups.
- +Fourth power-up, the extra life: gives 1 life, never past the cap; at the cap it pays the usual points bonus instead; icon is the little Enterprise with a soft glow; rare (weight .25) and only offered when below the cap (
extraLife)
save this as v88 and save redacted as v87
- ~Storm shield power-ups fall faster (40 px/s) and do not sway (
sway.storm)
new powerup. shield upgrade that restores enterprise shield health to 100%. same animation behaviour. icon should be the enterprise shield effect in a small round circle enclosed within the icon circle. keep the same colour, will review if the blues from the shield icon clashes with the icon border. save as new version
- +Third power-up, the shield upgrade: picking it up refills the shield to 100% with the bar climbing a segment at a time and a soft tick for each; only offered when the shield is below full (
shieldRestore) - +The Asteroid Storm now offers shield power-ups every 22–32 s (first at 9–14 s): they fall down the screen and are lost if they pass the bottom (
POWERUP.storm) - ~Power-ups no longer appear once the last rock is gone; if one is still materialising the next level waits for it, plus a short grace period (
grace: 5 s) - ~Setting for whether power-ups shake with the screen: not in the Storm, yes elsewhere (
shakeWithScreen) - ~Phaser upgrade width bonus +1 px (was +2); the spread icon no longer carries an "X2" label
save this as v86 and save redacted as v85
- ~Phaser upgrade also makes the phaser more accurate (+20%) and loses the tip sparks on its icon
- ~Keys changed: C = photon torpedoes, V = spread, Space = phaser (title-screen help updated)
create a new powerup using same basic animation, but the icon is obviously different. this powerup is a phaser upgrade, making the phaser inflict more damage however i won't specify the damage rule here yet, just to define the visual behaviour. the icon for it should be a short vertical line, resembling the phaser beam, but with a slightly bolder yellowy orange sparkling colou…
- +Second power-up, the phaser upgrade: for 30 s the phaser beam is thicker (+2 px); icon is a short bold vertical beam with sparkles; each kind has a likelihood setting (
POWERUP.kinds) - ~The countdown HUD shows one row per active boost
for the powerup icon, amend the animation to start with a narrow stream of particles emanating from the centre spreading upwards and downwards (along the y-axis) then fading at the ends (tips), then the current animation. save as new version. i may need to revert
- +New opening to the materialising: a narrow column of particles streams up and down from the middle for 1.1 s before the sparkles appear (
materialise.pre,column); the sound is lengthened to match
save this as v83 and save redacted as v82
- ~Power-up sparkles are now blue-white instead of golden; icon lines shorter with a thicker blue rim
- +The materialising sound is rebuilt from an analysis of the TNG transporter recording (a stack of shimmering tones swelling from high to low, plus a faint hiss), stretched to last as long as the materialising
- +A solid power-up floats gently, never straying more than 6 px from where it appeared (
sway); the icon moves by fractions of a pixel so it drifts smoothly
i want to add a power-up for enterprise to collect. this powerup will boost the firing rate of the photon spread for 20 seconds. then revert back to normal rate of fire. the powerup will materialise like a star trek transporter, but as this game is viewed top-down, i want a circular stream of particles swirling round, fading into view, it will continue to swirl or shimmer, then…
- +Power-ups: one materialises like a transporter beam seen from above (sparkles twinkle into view, the icon fades in, the sparkles fade out) and waits until the Enterprise flies over it; first one at 8–14 s into a level, then every 25–40 s, one at a time (
POWERUP) - +First power-up, the spread rate boost: the photon spread fires twice as fast for 20 s; icon is three glowing red lines fanning out in a blue-rimmed disc, with a countdown bar bottom left
- +Pick-up flash and a rising three-note chime
save this as v81 and save redacted as v80
Part of the entry for 1.0.080 (several small versions were written up together).
save this as v80 and save redacted as v79
- +Phaser can miss: accuracy falls with distance (90% near, 65% far) and with target speed; a miss lands 26–48 px off and the beam tip fades away without a strike flare (
accuracy,missFade) - +The phaser only fires at, and only hits, targets fully on screen (
onScreenOnly) - ~Phaser beam thinner (core 0.4 px) and a brighter, more golden orange-yellow
- ~Phaser is now on the C key during play (C still opens the settings on the title screen and when paused); holding V (spread) stops the main torpedoes firing
- ~v81: in the Borg ambush the spheres take 2 hits, the first absorbed by a shimmering green shield bubble that scores a little; in the Asteroid Storm and the Cube battle they still take 1 (
hits,hitsElsewhere)
save this as v79 and save redacted as v78
- ~Phaser recording much quieter (
fileLevel.55 → .17) - +As the beam ends the sound darkens (low-pass sweep to 500 Hz) and the pitch falls to 15% (
fadeFilter,filePitchDrop)
save this as v78 and save redacted as v77
Part of the entry for 1.0.077 (several small versions were written up together).
analyse this sound: tng_phaser8_clean.mp3 and replicate it for the phaser when it is triggered. the sound should fade as the fire is terminated. save this as a new version
- +The beam now takes 0.15 s for its tip to travel to the target, and the hit lands when it arrives; it follows a moving target (
travel) - +Phaser sound is the embedded recording (held or looped while the beam lasts, faded with the trail-off); a rebuilt synthesised version (noise bands, drifting whines, flutter) is also available (
PHASER.sound,source: 'file'or'synth') - ~v78: recording pitched about 8% higher and plays slightly faster (
filePitch1.08)
save this as v76 and save redacted as v75
Part of the entry for 1.0.075 (several small versions were written up together).
i want to create a new weapon for enterprise. its a tertiary weapon, activated by pressing B. it activates a phaser (laser beam) it needs to emanate from the enterprise's saucer (disk) on one of the dark grey curved sections. when triggered, it should find the nearest enemy or hotspot or smallest asteroid, and emit the beam almost instantly (as its light/energy) to create a dir…
- +Tertiary weapon, the phaser (B key): no aiming, it picks the nearest target and the beam strikes at once from the nearest dark curved section of the saucer; 1 s cooldown (
PHASER) - +Targets: Borg spheres and drones, the Cube's open emitters, hotspots and open core, and only the smallest asteroids on screen; a hit counts like a torpedo hit. In the Asteroid Storm it only fires within a 45° forward arc
- +Shimmering orange-yellow beam with flares where it leaves the saucer and where it strikes, and a phaser sound
- ~v76: beam lasts longer (0.55 s) and is thinner and steadier; in its last 0.3 s it trails off, letting go of the Enterprise while its tail end slides along to the target as it thins and fades (
trailTime)
save this as v74 and save redacted as v73
- ~The Enterprise's torpedoes no longer wrap round to the opposite edge of the screen: they disappear off any edge (
TORPEDO_WRAP, false; true restores the old wrapping)
add a new weapon to the enterprise. when the V button is pressed , it fires a secondary weapon - a photon torpedo spread. it has a similar pattern as the borg cube core, where it fans out from the front. the enterprise photon spread fires 3 photon torpedoes, fanning out with an eventual angle of 120 degrees in front of the enterprise. use same graphics as photon torpedo. make i…
- +Secondary weapon, the photon spread (V key): fires a fan of 3 torpedoes that leave together and swing out to their own angle (35° fan, 0.35 s turn, 0.6 s cooldown, max 14 on screen); unlimited ammo for now (
SPREAD) - ~Spread torpedoes do not use up the main weapon's allowance of 5; the title screen lists the V key
yes, build options 1, 3 and 4 as a new version
- +Explosion rings now vibrate as they spread: layered humps (3–4 lobes, 3 waves) travel round the ring, starting nearly clean and getting rougher as it grows; bigger rings wobble more (
RING_SMOOTH.wobble)
make the explosion fade more gradually. the inner part of the explosion ring should be thicker going toward the center, but make it gradually fade/ decreased opacity toward the center. save this as a new version
- ~Explosion shockwave rings are softer and last longer (
longer1.4x): the ring has a fading inner trail 2.6x thicker than the band, lower brightness (gain), and explosion particles fade out more slowly (RING_SMOOTH:trail,gain,fadePow,longer,partFade)
save this as v70, and save redacted as v69
- +More realistic cube explosions: faster burst slowed by drag, particles cool from yellow through orange and red to dark embers and shrink, dark smoke puffs (lighter and larger in the latest edit)
yes, go with option1, make it a setting, and apply to all explosions. save as new version
- +Smooth anti-aliased explosion rings for all explosions (setting to turn off); size 0.9
for the borg cube explosion can you customise the explosion blast colour from white to white-yellow, yellows, with sparks of green? save as new version make it configurable for later edits
- ~Cube destruction colours configurable: white-yellow to deep yellows with Borg green and grey sparks; size 1.2
save this as v67 and save redacted as v66
- ~Torpedo more compact (shorter glitter, spikes restored to 1–2 px), glow radius 6; screen shake halved when the cube is destroyed
on the borg cube level, can you keep track of how many times a rectangular hotspot has been hit? for every rectangular hotspot that has been hit 10 times, then show a small fire with sparks, just like the one used for the emitter fire, but 3px bigger. is that doable? if so, create new version
- +Hotspots that take 10 hits catch fire (a bigger version of the emitter fire)
- +Photon torpedoes glow (radius 7 in this saved version)
can you now make the rotation angles smaller for the asteroids as well? save as new version v65
- ~Asteroid rotation finer (360 steps; smoothing tried and undone)
- ~White beam rule: 40 px 65%, 120 px 25%, 150 px 10%
could you save this new version as v64, and save the redacted version as v63?
- ~Smoother Enterprise rotation on the main levels (128 angle steps instead of 32)
make all borg spheres that are visible on the screen fly upwards back to disappear off the top of the screen when the game timer runs down to 5 seconds remaining. then after they have disappeared, count 2 seconds before making the borg cube starts slowly moving upwards and disappearing out of view (off the top of the screen). this all happens before the end of stage message sta…
- +Retreat sequence at 5 s left: spheres fly off the top, 2 s pause, the cube slowly rises out of view, then "STAGE CLEARED" (the line under the clock reads "THE BORG ARE RETREATING")
- ~Tractor core explosion purple, then golden yellow; emitters fire at half the rate
- +White beam firing rule: 1 in 3 at a longer distance (60 → 80 → 120 px), otherwise 40 px
try slow creep at half speed, save as new version
- ~Slow creep upward during the hold after the explosion; the ship is freed only when the flickering beam goes off
- +Luminous-green explosion and matching border flash for the tractor core; battle needs 20 emitters; white beam louder (twice, with a limiter); tractor beam more frequent; battle lasts 3 minutes; clock fixed to start at 3:00
when the enterprise is caught in a tractor beam and is within 50px from the borg cube bottom, can you create a thin white beam emitting from the same starting point as the tractor beam, targetting directly at the enterprise, this beam should have a higher and faster frequency to the sound, it should immediately destroy the enterprise. make this a new version
- +White kill beam when the caught ship is within 40 px of the cube; thicker; zap sound
- ~Pull faster; beam flickers from 45% strength; at zero strength an explosion at the core and the ship is freed (timing reworked several times); flicker rate; shield bubble on release; gentle shove back down on release (softened repeatedly)
Same request as 1.0.059
- +Tractor-beam sound rebuilt from a recording analysis (start and middle kept, middle extended for 8 s); made louder three times
option 4, bit of both. save as new version
analyse this sound: borg_tractor_beam.mp3
and then reproduce it for the borg tractor beam. keep the start and middle, but extend the middle part onwards for 8 seconds.
- ~Soft edges at the left and right of the move area (the invisible-wall problem)
go with option 1 as a new version. crash penalty, destroy ship and lose life.
pull speed: 4-6 seconds, as per your recommendation
ignore other enemies if passing through the beam. beam only captures the enterprise
beam frequency, every 20-30 seconds
reward: no reward
sound: a high pitched hum
- +Tractor beam from the core: dark-green shimmering triangle with lighter shimmering edges and vertical shimmer lines, high-pitched hum, aims at the Enterprise anywhere on screen, pulls it in (4–6 s), crash costs a life, hits needed to break free (tuned many times), more frequent and harder to dodge
- ~Collision fixes (crash not triggering at the cube's edge, sprite-shape hull test, 3 px margin); beam released when the ship dies
implement CRT effects as you've previously suggested. make it an option in settings. save as a new version
- +CRT effect option in settings – reported broken and unplayable; reverted. The file still exists but v58 was built from v56.
start with option a - name this new version v56
- +When the core dies the hull breaks into jagged chunks that grow as they fly, shed sparks and explode; stronger, longer screen shake and longer sequence
can you create a test mode in the game, whereby entering a parameter in the url can take you to the required game level to test? something like url/redacted
- +Test mode via URL (
redacted) - ~Emitters smaller with a thinner outline; green border flash on each hit; hotspots become a slow pulsing glow (light bar and black border removed); hotspots doubled; bottom edge less straight
- +Waves of Borg spheres fly over the cube, line up and fire, then split away; a second wave from the sides (hover, fire once, leave the opposite way)
- +UP boost (up to 70 px, eased, falls back slowly, works at any point of the fall) and DOWN dive for this level
- +Persistent small yellow-orange sparks where an emitter was destroyed
- ~Core redesigned: smaller box, no border or doors, a pulsing green-blue light with a white centre, circular hit area that flashes when hit
new one pls
- ~Cube drifts smoothly sideways, up and down at random, faster; occupies about 25% of the screen
- +Darker rectangular hotspots that explode Borg-style when hit
A Borg Cube does not have traditional, localized gun turrets or a single designated nose-cone weapon port like a standard Starfleet vessel.
Instead, its weapons fire from various decentralized points across its massive geometric surface.
So can you remove the 4 fixed borg turrets/emitters, and instead emit borg fire from random points on the visible part of the borg ship? save as new version
- −The four fixed turrets removed
- +Weapons now fire from random points on the visible hull; the emitters are round and glow
make the borg cube texture denser still. remove all diagonal shaped panels, not needed. more pipework texture. save as new version.
Part of the entry for 1.0.051 (several small versions were written up together).
analyse this images of borg cube sides and textures. create a version you can use to change the texture of the implemented borg cube.
- ~v51: hull texture rebuilt from reference images, denser, higher on the screen
- ~v52: denser still, more pipework
- −v52: all diagonal panels removed
go ahead, save as new version
- +Borg Cube end-boss battle (large, mostly off the top of the screen, shootable emitters and a core)
build it as a new version number
- +Slow pulsing shimmer on the Borg spheres' green areas (darker green, then the original green)
is it possible to make the screen shake continuously a tiny amount as soon as the enterprise passes the first asteroid and then the shaking stops as soon as the enterprise passes the last asteroid? i'm thinking shake by 3px. if enterprise shields triggers due to collision or near miss, then shake by 7px. save as new version
- +Continuous 3 px screen rumble through the asteroid field, 7 px on shield hits; backdrop shakes too
- +Ambush: when the timer ends the surviving Borg ships fly outward and retreat
for the asteroid storm level, can you make the enterprise, wobble ever so slightly, bank left and right in quick succession, to indicate some semi-automatic control? make this a new version in case i need to revert
- +Slight left/right wobble of the Enterprise in the storm to suggest semi-automatic control (made bigger, slower reversal)
yes pls
- +White speed lines (non-interactive), acceleration build-up, longer drift; second and third layers of asteroid-coloured speed lines (small and fat); random asteroid colour per storm; more/faster asteroids; wider inner collision borders (+50 px, low-shield pulse too); last asteroid arrives by the end of the timer
yes pls. 20 degrees for now. make new copy of file and rename to next version number
- +Enterprise banks (about 20°, then reduced) when moving in the storm, smooth return; slower sideways speed; inertia and coasting
make the large asteroids break up into smaller ones. make copy of existing version and rename new one to v43
- +Large and medium rocks split when shot; more rocks across the full width; storm lasts 1 min 30; many parameters retuned
- ~End card "Threat Cleared" for Ambush and Storm; storm parameter list shown
proceed. go with your suggestion for scoring. build as v42. carry over head block.
- +Asteroid Storm bonus level (space-invaders style): ship fixed at the bottom, left/right only, rocks and Borg ships fall; one torpedo every 2 s then tuned
- ~Fixed a false blue border while moving; fixed torpedoes reappearing at the bottom after leaving the top
do A now, as a new version v41. may need to revert to v40 if i don't like it.
- ~Smoother (anti-aliased) Enterprise edges over planets
- ~Page title "Asteroids - The Next Generation" and the Google Analytics tag added to the head block (kept in every version)
apply pastel colours and save as v40. here is the exported list: terran: [ // sea deep, sea shallow, lowland, highland, mountain, ice, atmosphere; sea level and ice-cap latitude ranges { name: 'earth', c: ['#5e82a1', '#bde3eb', '#b1bca9', '#8faa8d', '#c5c9d0', '#d0e1e7', '#47b6ff'], sea: [0.46, 0.58], ice: [0.8, 0.9] }, { name: 'ocean', c…
terran: [ // sea deep, sea shallow, lowland, highland, mountain, ice, atmosphere; sea level and ice-cap latitude ranges
{ name: 'earth', c: ['#5e82a1', '#bde3eb', '#b1bca9', '#8faa8d', '#c5c9d0', '#d0e1e7', '#47b6ff'], sea: [0.46, 0.58], ice: [0.8, 0.9] },
{ name: 'ocean', c: ['#a5b7dc', '#b5bfde', '#aebcb7', '#becebe', '#d9d9c6', '#d0dae5', '#abc2de'], sea: [0.6, 0.7], ice: [0.82, 0.92] },
{ name: 'desert', c: ['#e8ddd4', '#c7b6a8', '#d7cdc1', '#d7c1b8', '#ddd6c7', '#efe4d7', '#f9b771'], sea: [0.3, 0.4], ice: [0.9, 0.97] },
{ name: 'ice', c: ['#afbed2', '#c2ced9', '#ced8df', '#cbd3da', '#dcdcdc', '#dcdcdc', '#c9d4e1'], sea: [0.4, 0.5], ice: [0.42, 0.55] },
{ name: 'alien', c: ['#9e5fc1', '#c9a5dc', '#eccaeb', '#d9b2e1', '#dae2cb', '#d9cfe5', '#b54dff'], sea: [0.46, 0.56], ice: [0.82, 0.92] }
],
gas: [ // four band colours (light to dark), storm colour, atmosphere
{ name: 'jupiter', c: ['#fff4eb', '#e9ddb4', '#e5c3a4', '#e1b87a'], spot: '#ae4619', atm: '#ff791a' },
{ name: 'saturn', c: ['#eae1ca', '#dbc8a3', '#c8b086', '#bda37a'], spot: '#d8bf9a', atm: '#f7e9ca' },
{ name: 'neptune', c: ['#e0eeff', '#b2c1da', '#a4afd3', '#98a1ce'], spot: '#9eb1ff', atm: '#d6e5ff' },
{ name: 'toxic', c: ['#d8e3c6', '#bcd4b7', '#a6ccb1', '#93cbbb'], spot: '#d9ddb8', atm: '#d8fdd8' },
{ name: 'violet', c: ['#e7cedf', '#ddb8d2', [rest of this long pasted text left out]
Part of the entry for 1.0.038 (several small versions were written up together).
add rings to the planets (stage 2). save as new version v39
Part of the entry for 1.0.038 (several small versions were written up together).
1. yes
2. separate planets row
3. yes
make new version v38 from copy of v37
- +v38: rendered, slowly rotating planets (solid and gas types) on their own backdrop row
- +v39: rings on some planets; configurable planet palettes; a planets viewer and colour-palette editor
- ~v40: pastel planet colours
1. menu setting: off, rare = after every 10th level, sometimes = after every 5th level, often = after every 2nd level
2. dying doesn't cost a life (make this configurable in case i want to change it later). pause timer for respawn
3. score bonus only, no extra life.
4. Borg Ambush
Save as new version v37
- +Borg Ambush bonus level (menu setting off / rare / sometimes / often): empty space, Borg spheres from all sides; dying costs no life (configurable); score bonus only
- ~Lives shown as an icon plus "x N" from 4 lives; extra lives capped at 6 with a rising price
- ~Title subheading now "The Next Generation"
option 1
- +Black-hole frequency setting in the menu (high by default); later values renamed Off / Rare / Sometimes / Often / Random
yes, go ahead with v35
Part of the entry for 1.0.033 (several small versions were written up together).
yes pls, make a new version v34, from v33. view: random
Part of the entry for 1.0.033 (several small versions were written up together).
is it possible to make each occurrence of the black hole have random parameters? specifically tilt, angle, brightness, lensing, glow, animspeed. use values within acceptable range. make new version v33 from copy of v32
- ~v33: every black hole gets random tilt, angle, brightness, lensing, glow, animation speed and inner/outer disk
- +v34: random view, including a flat disk seen from above
- ~v35: wavy dithered pattern fixed
agree, do all three. using Brave browser which is a Chrome variant. Shake half for depth of field effect
- ~Black hole shakes with the screen (half amount, for depth), stars no longer drawn over the black hole's dark centre, animation fixed (Brave browser)
add animation to the black hole, use graphics shader. make copy of v30 and rename new file as v31
Part of the entry for 1.0.030 (several small versions were written up together).
go ahead and build it as v30 and avoid level 1. i may need you to revert to v29 later if i don't like it.
- +v30: black-hole accretion-disk background, appearing randomly (not on level 1)
- +v31: animated by a graphics shader
1. Easy, Normal, Hard
2. a bit easier
3. yes, gentler ramp up
pls make copy of v28 and rename new version v29
- +Difficulty (Easy / Normal / Hard) in settings with a gentler difficulty ramp; rock speeds 60% / 80% / 90%; bonus life points set to 10000; difficulty shown on the HUD (opacity 0.6)
- +High scores saved per difficulty in localStorage
go ahead and build as v28
- +Settings screen on the C key: alert volume, effects volume, music volume, nebula on/off
pls try it, make copy of existing version and rename new version v27
- +Procedurally generated nebula background (dim/contrast tuned; optional tiny stars; one or two random colour families per level)
- +More asteroid colour schemes (brown, grey, near-black); random per level
build it using v26. score for shielded hit: 50 hit effects: no border flash and no screen shake Spheres that survive a ram: keep current functionality ramp up. difficulty jump: no change Interactions (blue shield flash) - not sure what you mean. if a shielded borg ship collides with the enterprise ship then both ships get destroyed. however, if the enterprise destroys a shield…
score for shielded hit: 50
hit effects: no border flash and no screen shake
Spheres that survive a ram: keep current functionality
ramp up.
difficulty jump: no change
Interactions (blue shield flash) - not sure what you mean. if a shielded borg ship collides with the enterprise ship then both ships get destroyed. however, if the enterprise destroys a shielded borg ship within close proximity, then i would expect the blue border to appear.
Sphere damage look: dimmer green lights is good idea. make this configurable in case i don't like it.
- +Borg spheres have shields from level 4 (two hits to destroy), each hit shows a shimmering green bubble, scores 50
- ~Enterprise shockwave ring slightly more yellowy-white
can you make the enterprise explosion sound occur multiple times in rapid succession, packed together, each with a different random loudness? make a copy of v24 and rename new one to v25
- +Enterprise explosion sound repeats in rapid succession with random loudness
- +Slow pulsing pinkish-red border at low shield (lighter red than the destruction border); amber border at medium shield
yes please. proceed. 1. amber colour and optional 'respawning' word. allow it to be configured and hidden later. 2. let's try two beeps. also configurable, should i want to disable it later.
- +Flashing amber STANDBY message while the ship is respawning (optional "respawning" word, two beeps, all configurable), starting 1.5 s after the explosion; respawn wait 3.5 s
- +1.5 s delay before the Game Over message
- ~Enterprise explosion brighter and bigger; screen shake 2 s; thicker shockwave ring with a fading trail, brighter; sparks limited to white/yellow/orange; Borg explosions bigger and bolder (smaller than the Enterprise's); 0.7 s shake when the shield flashes
yes pls, go ahead.
- +Shield strength bar (100%): −5 per nearby blast, −20 per Borg hit; "shields down" at 0, ship explodes if damage takes it below 0; close-range kills also explode the ship
- ~"Shields" label; shield bubble brighter; shield bar refills by 50 in steps at the end of each level
yes pls. skip the optional extra
- +H returns to the title screen from Game Over (and shows on the pause screen)
go with your suggestions. 1. 96kbps AAC. 2 show on home screen. 3. default on. 4. keep play across games
- +Optional background music (an AI-generated track embedded as 96 kbps AAC), shown on the title screen, default on, keeps playing across games
- ~Keys: M = music, N = alerts
make copy of v19 and rename new one to v20. use this to make the edge of the screen flash a semi opaque red thick border several times to indicate collision with the enterprise either from enemy fire or asteroid.
- +Red flashing screen border when the Enterprise is hit (fire or asteroid)
- +Light-blue border when something blows up close to the Enterprise (shield absorbs), with a flashing shield bubble round the ship (made stronger); proximity extended to 60 px; bubble radius +1 px
- +Green single-pulse border when a Borg ship is destroyed (darker green)
- +Third alert sound (random, 2–3 times a minute); the mute toggle covers all three
can you make the borg sphere firing sound a high frequency short pulse / blast, typical of a sci-fi energy weapon? make a copy of v18 and rename new file as v19
- ~Borg sphere firing sound changed to a short high-pitched sci-fi pulse; made longer and higher
- ~Both alert sounds quieter
can you make the luminosity of the photon torpedos brighter? change color codes if required. make a copy of the existing file and rename new one to v18
- ~Torpedoes brighter, red made bolder
- ~Lives icons made symmetrical (blue strip on both nacelles), top pixel removed
- ~Title colour #37A6D1 with a darker drop shadow, then brighter (but darker than the subtitle)
yes, go with that order, make a copy as v17
- +Backdrop system for scenes (black hole, planets etc.) in configurable code; starfield limited to white / cold white / warm / yellow-orange / occasional orange-red, static per level, dimmed (star_dim 0.4, scene dim 0.45)
- −Scene backdrops switched off on the title screen and gameplay for now
analyse this image: it has a cluster of 5 photon torpedos. try to replicate the color from the image, looks like its more white core, more red spikes than orange. make a copy of the latest version and name it v16
- ~Torpedo colours matched to a reference image of a torpedo cluster (white core, red spikes)
make a copy of existing file but name it v15. using this new file, can you make the photon torpedos a similar size to the borg fire, but retain the red/orangey glow with spinning spikes/lens flare effect?
- ~Torpedoes made roughly the size of Borg fire, then smaller twice, shorter spikes, yellow/orange-white centre with blended reds
create a new keyboard button action - use the M key to toggle muting of alert sounds only, keep firing sounds unmuted. the home screen should read "mute on/off alerts". make a copy of current version and name new version v14
- +M key toggles mute of alert sounds only (title screen label wording reviewed and changed)
yes, stop it when the sphere flies off too. also remove the older warble so i can hear how that sounds. make a copy of v12 and name the new file v13.
Part of the entry for 1.0.011 (several small versions were written up together).
make the borg sphere sound slightly quieter, and the sound to stop playing when its corresponding borg sphere is destroyed. sorry, i didn't mean for the sound to continue playing even when the borg sphere has been destroyed
Part of the entry for 1.0.011 (several small versions were written up together).
are you able to analyse this sound: borg_flyby.mp3 and extract the first 1 second from it, extend the tail end of the sound for 10 seconds, and use it for when a borg sphere (ufo) appears. Create another instance of this sound if another borg sphere appears. make a copy of v10 and rename this new file v11.
- +v11: Borg-flyby sound (first second, tail extended to 10 s) plays when a Borg sphere appears; one instance per sphere
- ~v12: sphere sound quieter; stops when its sphere is destroyed
- ~v13: also stops when the sphere flies off; the older warble removed; the warble made faster (three times)
analyse this sound from: alert24.mp3 and create it for the game, to periodically play in the background as an additional random alert sound. play 1-3 times per minute. make a copy of the previous file and rename new one to v10
- +A second random background alert (1–3 times a minute), made louder, then 3–5 times a minute
make a copy of v8 and rename new file v9. use this file to make the photon torpedo trail shorter and if possible, make the trail more faint than the current position of the head of the torpedo. I may need you to revert to previous state if i don't like it, so make it easy for you to do that.
- ~Torpedo trail shorter and fainter (twice)
analyse this sound from here: alert15.mp3
then try to reproduce it to replace the tick tock sound. if possible to replace, then repeat the sound every 5 seconds when asteroids are present. make a copy of the current version v7 and rename new file v8
- −Periodic "tick tock" sound removed
- +Replaced by a recreation of a Star Trek computer alert, repeating every 5 s while asteroids are present
make the asteroids slightly less noisy. rename file to v7
Part of the entry for 1.0.006 (several small versions were written up together).
are you able to create more texture/shading on each asteroid? if so, can you rename this new file v6?
- ~v6: more texture/shading on every asteroid
- ~v7: asteroids slightly less noisy
are you able to analyse the sound from this sound file: tng_torpedo_clean.mp3
and then update the fire sound parameters to match it as closely as possible?
- ~Torpedo fire sound re-tuned to match an analysis of the real recording
are you able to make successive levels harder by introducing an increasing number of borg spheres (originally the ufo flying saucers), sometimes 2 or 3 at once, sometimes, one appearing at any one time but more frequently?
- +Levels get harder: more Borg spheres per level, sometimes 2–3 at once, sometimes one more frequently
can you make the ufo flying saucer a borg sphere (search the internet to look for appearance) - but to summarise, it is a sphere slightly smaller in size to the enterprise, it has a textured surface with sectional raised panels. colour its energy weapon's fire green. rename this file v3
- ~Flying saucer (UFO) replaced by a Borg sphere (textured, raised panels, slightly smaller than the Enterprise); its weapon fire is green
—
- +Classic Asteroids in a single HTML page, 8-bit colour graphics; spaceship drawn as a top-down Enterprise-D sprite
- ~Sprite reshaped several times (oblong saucer, wider saucer sides, nacelles in/shorter/further back, thicker horizontal supports, rear hull trimmed by 1 px twice)
- +Photon torpedoes sparkle in red/orange tints with a glow; made smaller (twice)
- ~Title screen: H key (hyperspace) became T = "teleport"
- +Star Trek photon-torpedo sound (recreated procedurally), then higher pitch with a longer sweep