hpg678, thanks for answer!
Im trying to implement Navier-Stokes fluid dynamics
Like this (
https://www.youtube.com/watch?v=UM3VFnHBiOU)
About DS_lists: unfortunately, in my case ds_lists are very slow! (maybe i making mistake somewere?)
For example: i need to set all data in 3 ds_lists into '0' on each step. My code will be like:
for (i=0; i<=4096; i+=1)
{
ds_list_replace(u_prev,i,0);
ds_list_replace(v_prev,i,0);
ds_list_replace(dens_prev,i,0);
}
But if I put this code in Step event FPS droped to 1 FPS
Then i use arrays with same settings i have stable 60 FPS:
for (i=0; i<=4096; i+=1)
{
u_prev
= 0;
v_prev = 0;
dens_prev = 0;
}
What am I doing wrong?