e018578754
keep animating bullets while dead
2025-06-20 16:36:18 -07:00
bf8297eb72
prevify eships when setting up collider
...
I will refactor this next: collider.new will take the linked list to ingest, perform the `insert` and "prevify" loops itself, then replace `hide` with `yoink`, which yoinks the item out of the original list. This pairs the `yoink` operation with the context that makes it possible to do (that is, the context when prevification was implemented); eships therefore cannot be edited in complex ways while the collider is still valid, but we can append to it as long as we don't expect those items to be procesesd correctly this frame. a new_eships+vore plan might be better if we turn out to need it, but presently we don't; flotilla spawning and raider spawning happen at a different point.
2025-06-20 16:31:18 -07:00
1c8bcae44c
put ebullet moves inside the collision check loop
2025-06-20 16:01:59 -07:00
325d7444e7
invert eship/pbullet collision
...
Also mildly trims up linked_list impl.
2025-06-20 15:09:18 -07:00
789cdf6a7a
profile the drawing options
2025-06-08 17:36:50 -07:00
372133c15e
sqrt is actually faster
2025-06-08 16:55:15 -07:00
b38ebcc603
magnitest: cover image, png file
2025-06-08 16:16:16 -07:00
d9a10a7d07
fastest sqrt version, fix percentage
2025-06-08 16:14:18 -07:00
3ec786f416
fix deceleration
2025-06-08 15:11:36 -07:00
9955df6844
fix scaling alg
2025-06-08 15:11:07 -07:00
9e52e65ad1
fix font color
2025-06-08 15:10:12 -07:00
a9765bee1a
fix missed cls
2025-06-08 15:09:27 -07:00
b919eb824d
testing vector magnitude calculation
2025-06-08 15:08:58 -07:00
2c37784ad7
try this linefill func and start optimizing it
2025-06-08 14:35:49 -07:00
37d9e3d30e
more experiments with drawing these collision boxes. still sucks
2025-06-08 14:10:23 -07:00
1ef5b56c58
wait this version of zot actually looks good
2025-06-01 23:46:59 -07:00
44fb8482a5
a version of zot that does not look awful
...
performance impact is probably not acceptable though
2025-06-01 23:29:03 -07:00
62f8f27829
a zot prototype that looks awful
...
I need to draw all the hot parts last
2025-06-01 23:06:44 -07:00
542acc5308
nano-optimizations
2025-06-01 21:03:04 -07:00
4e66c875ad
improve legibility
2025-06-01 20:58:21 -07:00
812d32e70c
micro-optimizations
2025-06-01 20:58:12 -07:00
d2ec1b39df
Show approximation of contact zone
2025-06-01 20:38:56 -07:00
a3ac8074ae
line-box collision implemented by Pyrex&Nyeo
2025-06-01 20:29:02 -07:00
85d28ae28b
get rid of pships
...
lots of things rely on exactly one primary ship now, so this was just
overhead and wasted tokens / cspace.
2025-06-01 17:55:46 -07:00
c514c61b3a
look at me. *look at me.* I'm the gun_base now
2025-06-01 17:41:07 -07:00
9be828dd5c
blast gun is a trig gun
...
now there are no more base guns
2025-06-01 17:38:45 -07:00
2b51a3472b
protron trig gun
2025-06-01 17:36:15 -07:00
95ea70baae
vulcan_gun as trig gun
...
causes x offset to reverse for negative aim; may need to be careful
with how I make aiming guns actually work, but this should work for
deriving player guns from enemy guns (by using negative aim)!
2025-06-01 17:26:29 -07:00
b18b4f885d
trig zap gun; fixes
...
use the trig gun for the zap gun
2025-06-01 17:00:28 -07:00
2fdb8d1a05
trigenometry gun prototype
2025-06-01 16:48:39 -07:00
fc1f84fa28
Delete slip behavior
2025-06-01 16:15:46 -07:00
93b63a5831
Prevent new
calls that won't work as expected
2025-06-01 16:11:35 -07:00
297e6e4996
implement clip reload time
...
two tiers of cooldowns, pretty much
2025-06-01 15:55:11 -07:00
9b3120c47b
rewrite mknew to inherit fields before init
...
I am horrified to admit that C++'s constructor static initialization
list syntax abruptly makes sense to me and I understand the problem
it is trying to solve
2025-06-01 15:53:50 -07:00
abee6d1206
fix skirmisher sparks
2025-05-31 23:44:36 -07:00
3151db5430
fix precedence error
2025-05-31 22:27:03 -07:00
2964159858
fix offset, try but fail to fix variants
2025-05-31 22:19:35 -07:00
95d4b6eb37
what the hell was I thinking when I wrote this
2025-05-31 22:06:48 -07:00
96312e3adf
fix offset bugs
2025-05-31 22:05:47 -07:00
bf9a45d87e
fix gframe unit
2025-05-31 21:55:21 -07:00
36f7c6572f
fix ship spawning
2025-05-31 21:54:02 -07:00
45b70d3aca
did you know that 4 is not 1? mindboggling!
2025-05-31 21:43:51 -07:00
35980d801a
forgot my increments!
2025-05-31 21:40:17 -07:00
734811bd62
math works better when you return your values
2025-05-31 21:33:06 -07:00
4fddbea82c
use the right loader
2025-05-31 21:31:20 -07:00
f675e31967
oops, I accidentally
2025-05-31 21:30:30 -07:00
0bd1463416
replace demo level with infinite copies of flotilla 0
2025-05-31 21:29:54 -07:00
267f8a3667
actually add ships we keep
2025-05-31 21:02:26 -07:00
fa206c37c5
"redistribute"-type flotilla: update
2025-05-31 21:00:27 -07:00
928e7f7418
prototype flotilla loader
2025-05-31 20:39:07 -07:00