Editing Hello World Part 2
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
Hello World<br> | Hello World<br> | ||
The Creation of a Lua App for the PSP: A | The Creation of a Lua App for the PSP: A Walkthrough.<br> | ||
This is part two of Whitehawk's | This is part two of Whitehawk's intoductory Lua tutorial. If you haven't already read the first part, go back now.<br> | ||
Line 12: | Line 12: | ||
<imgur>A0hkN7q.gif</imgur><br> | |||
The values go from 0 to 255. All of the colors your PSP (and your monitor for that matter) can display are a | The values go from 0 to 255. All of the colors your PSP (and your monitor for that matter) can display are a combnination of these three colors. For example (as is evident through the above graphic), yellow can be made by mixing red and green.<br> | ||
Line 44: | Line 44: | ||
The reason for this is that when you print text, it is set to | The reason for this is that when you print text, it is set to offscreen buffer, all drawing functions are. So, this means your text won't be visible on the screen until you type/call "screen.flip()," which changes it from the offscreen buffer to visible screen buffer. This is akin to thinking about a sentence before you write it down. When it is in your head, it is like being stored in the offscreen buffer. It is only in memory. When you write it down, it then goes onto the paper, or the screen.<br> | ||