Search found 736 matches

by Bugala
Sun Jun 16, 2019 2:57 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

ah, thanks for clarifying that. Well, regardless, seems even bare hollywood is very fast actually. Faster than I expected. I was expecting it to start stumbling after couple hundred rectangles, and was expecting drawing be even slower. Oh, and reminds me, when i forgot to add the double buffer first...
by Bugala
Sun Jun 16, 2019 1:01 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

I am truly surpised how powerful Hollywood is. I made this test code: EscapeQuit(True) @DISPLAY {Width = 1920, Height = 1080} @REQUIRE "rebelsdl" CreateBrush(1, 5, 5, #WHITE, {hardware=True}) BeginDoubleBuffer(True) ; set up a hardware double buffer StartTimer(1) SetFillStyle(#FILLCOLOR) For move=1 ...
by Bugala
Sat Jun 15, 2019 9:49 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

There might be error in manual, on 3.1 at "ForceFullRefresh" it says "This is slower but guarantees that there will be visual artefacts because front and back buffers will always be completely in sync." I guess it should say it guarantees that there WONT BE visual artefacts? Then couple of questions...
by Bugala
Sat Jun 15, 2019 9:23 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

Just read that manual a bit. Never realised how much difference one single line can make. Very handy.
by Bugala
Sat Jun 15, 2019 1:10 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

I chose to go for RebelSDL based upon some small googling of SLD vs Open GL. But a question rises now that I dont have time to check more at this point yet. I checked this "BeastScroll" example from RebelSDL examples, and as far as I can see, only difference to regular Hollywood code is: "@REQUIRE "...
by Bugala
Sat Jun 15, 2019 11:30 am
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

Oh, and one more thing. Is one or other easier to use than other, especially when going for first time?

Basically I guess I will be using only very simple commands, so I guess might not make much difference there.
by Bugala
Sat Jun 15, 2019 11:27 am
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

So in this case RebelSDL sounds like better option, but then, I have been wanting to give 3D a try too, so I wonder if I should try GL Galore after all to be familiar with it for future 3D project? Is it better to just learn one, or should I learn both? Like Rebel for 2D and GL for 3D? Also, any dif...
by Bugala
Thu Jun 13, 2019 8:49 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Re: Best way to do lots of moving things on screen?

Thought something like that. I guess it is time for me to take a try on that world. But If i want say 100 moving balls and 100 moving rectangles, is this still doable with unplugged Hollywood features, or will it be too slow even for modern computers? Or lets say 1000 moving balls and 200 rectangles...
by Bugala
Wed Jun 12, 2019 10:07 pm
Forum: General programming
Topic: Best way to do lots of moving things on screen?
Replies: 12
Views: 176

Best way to do lots of moving things on screen?

I am planning on participating on Speedgame 2019 again, and I have a game idea already, but I am bit worried of it currently, for I am worried how can i make it to run with good FPS rate. Look at this video about Atom Zombie Smashers gameplay: https://www.youtube.com/watch?v=YL1p57PdkCU As you can s...
by Bugala
Wed Jun 05, 2019 7:01 pm
Forum: General programming
Topic: Problem with ReceiveData
Replies: 24
Views: 781

Re: Problem with ReceiveData

hmm.. I thought that usually by using a function it would be faster to do.

Wasnt it so that using x=1+2 is slower than x = add(1,2)?