Conversation
…apstone_RhythmGame into feat/game-logic
still has linker error, but im so tired rn i'll ask nack about it when he's out of game jam
| struct Homing | ||
| { | ||
| bool targetPlayer; | ||
| Physics::Position targetPosition; |
There was a problem hiding this comment.
should be using as entity's component? i mean using in this is fine but it will create cache missed
There was a problem hiding this comment.
I am not quite understand but my general answer is that homing should be a component for changing its angle or angular velocity toward the target. Those fields I wrote was too board for general usecase so in my next push I'm gonna delete those + delay perhaps (If I found a way to add component to bullet on runtime with DSL that would be perfect).
There was a problem hiding this comment.
then do it as a component for that entity because if you do it like this struct size will be increase that won't fit cache line.
There was a problem hiding this comment.
It's updated in the relevant branch now. Should I merge it in?
| { | ||
| struct TimingEnd | ||
| { | ||
| int timing_end; |
There was a problem hiding this comment.
int. component timing is currently all int.
There was a problem hiding this comment.
I mean technically probably, there might be a bit of subtraction later on, so keeping it signed removes that headache for now (and hope nothing lasts 20 million seconds)
No description provided.