This is a WIP version of TPT in TPT. It barely has physics at this point in time, but it's *something*, so I decided to see what you guys think of it. If you have a critique, put it in the comments. (Please, no 'sAvE bAd', this is in active development)
epicly
electronics
1984
tpt1in1tpt
computer
subframe
r216
r216k2a
r216k8b
Comments
-
HuntaBadday: Copying to the screen would be *really* slow, the screen takes a really long time (relative to how fast the computer itself is) to process a pixel.
-
how to play
-
Try using a 192 byte array to store the screen, do the calculations in there then copy it to the screen.
-
Maticzpl: I'm updating particle by particle, there's no such thing as updating them all at once on the R2, it has no ability to do operations in parellel. The problem is, the particles aren't existing in the same space. One is deleted, and the rest of the system doesn't know this. It thinks the particle is still in it's last position, and tries to jump into a nonexistent particle's update subroutine, and subseqently breaks everything.
-
perhaps you are updating the simulation using double buffering (basing the current state on what was in the previous frame). While TPT updates particle by particle instead of simulating the whole state at once. In the first scenario 2 particles could go into the same space since it was empty in the previous frame while if updating particle by particle one of them would have reach taht space first
-
Maticzpl: I've been trying to get basic particle-particle interaction working for a bit now, the problem is mostly particles just falling into each other and breaking everything because particle data is being overwritten by another particle and then the pointers are referencing a particle that doesn't exist.
-
It's simulated though.
-
Eh, rn its just 3 dots falling down, i was hoping to see them form like this cone that powder normally forms
-
100 upvotes!
-
this is just amazing