We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LIFE GAME : How to optimise/speed up ?
#1
Hello, it's me again Smile

I try to improve my level, so I began another SB project : a life game (NVCV425.000)
I would like to know how to make it run faster, as with big grids it becomes very slow.


For exemple, is there a faster way to display the living cells than using GraphicsWindow.FillRectangle ?


My only idea at this moment to make it a little faster is to merge these 2 Subs (because they can be done in the same loop) :
Sub AffichageTableau               ' displays current Gen grid
Sub CreationTableau_NextGen  '  create nextGen grid

If you have any idea...  Wink
Reply


Messages In This Thread
LIFE GAME : How to optimise/speed up ? - by Elzaimer - 06-27-2024, 02:09 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)