Tutorial

Page 10 of 10

Summary

This ends the Surfaces Tutorial and we hope that you have fun using them to create beautiful effects in your games! However, before we finish this tutorial, we should go over a few important points that should be remembered when dealing with surfaces...

So, The basic use of a surface would go as follows: One thing to note is that should you require drawing the whole display to a surface (including tiles, backgrounds etc...) you should assign a surface to a view using the variable view_surface_id[0..7]. In this way, all that is visible in that view will be drawn to the corresponding surface.

That about covers all you need to know to get a good start with surfaces, now the rest is up to you! Have fun!



Click on the Next button to go to the next page of the tutorial.