But with the POINT() or TINT() approach, I think there is no need for an inner FOR J% loop which speeds things up again.
Anyhow thanks for all the advise. The challenge was of course already accomplished by your smart solution.
Corona simulation challenge
- hellomike
- Posts: 192
- Joined: Sat 09 Jun 2018, 09:47
- Location: Amsterdam
Re: Corona simulation challenge
You underestimate how slow POINT() and TINT() can be in BBCSDL, at least on some of the supported platforms (don't use Windows as a guide, it is not typical). This is what the SDL documentation says: "WARNING: This is a very slow operation, and should not be used frequently", you are suggesting calling it 200 times per frame!