Background for game without refresh | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Background for game without refresh

I am making a shooting game but I have a problem with the speed. Now I have a problem with the background. Because I have to refresh it, the game gets very slow. If I dont refresh it, al the moving parts stay printed on the screen. Is there a simple solution to solve this? Remove the old figures that are printed? Or is there a possible High memory like in the old times with Dos? I cant find a lot about this with Python and Raspberry Pi

10th Nov 2018, 9:57 AM
Jeroen Huijsen
Jeroen Huijsen - avatar
1 Answer
0
Maybe refresh only the parts of the background, wich are needed. For Example if the top left corner has the be refreshed, reduce on this part, not all of the background.
15th Dec 2018, 12:00 PM
Yannick Reiß
Yannick Reiß - avatar