Editing Hello World Part 2

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 Walk-through.<br>
The Creation of a Lua App for the PSP: A Walkthrough.<br>


This is part two of Whitehawk's introductory Lua tutorial. If you haven't already read the first part, go back now.<br>
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:




[[File:A0hkN7q.gif]]<br>
<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 combination of these three colors. For example (as is evident through the above graphic), yellow can be made by mixing red and green.<br>
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 off-screen 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 off-screen 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 off-screen buffer. It is only in memory. When you write it down, it then goes onto the paper, or the screen.<br>
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>




Please note that all contributions to PSP Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PSP Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)