<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AEasy_Map_Making</id>
	<title>TI-BASIC:Easy Map Making - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3AEasy_Map_Making"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Easy_Map_Making&amp;action=history"/>
	<updated>2026-04-30T11:47:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Easy_Map_Making&amp;diff=583&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Easy_Map_Making&amp;diff=583&amp;oldid=prev"/>
		<updated>2016-02-24T18:08:30Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Map making is a key part of making many types of games.&lt;br /&gt;
&lt;br /&gt;
Most maps are created use pre-drawn images on the graph screen, while a select few make use of the home screen. The graph screen is more versatile with its larger size and compatibility. Pxl-test( is often used to keep a character on or within the boundaries of a map.&lt;br /&gt;
&lt;br /&gt;
== Pxl-test( ==&lt;br /&gt;
&lt;br /&gt;
[[TI-BASIC:Pxl_Test|pxl-Test(]] is what the whole programs runs off.&lt;br /&gt;
The command pxl-Test( returns either 1 or 0, indicating whether a pixel is activated or not. Using this, you can use a movement loop where the character will not move onto (5,2) If Pxl-Test(5,2)-&amp;gt;A. If A=1 then the program will not move onto the spot. &lt;br /&gt;
&lt;br /&gt;
== Code ==&lt;br /&gt;
&lt;br /&gt;
Type in this code into your calculator:&lt;br /&gt;
&lt;br /&gt;
 ClrDraw&lt;br /&gt;
 RecallPic 1&lt;br /&gt;
 55→X&lt;br /&gt;
 60→Y&lt;br /&gt;
 Repeat A=45&lt;br /&gt;
 Pxl-On(Y,X&lt;br /&gt;
 Repeat Ans&lt;br /&gt;
 getKey→A&lt;br /&gt;
 End&lt;br /&gt;
 Pxl-Off(Y,X&lt;br /&gt;
 X-(Ans=24 and not(pxlTest(Y,X-1))+(Ans=26 and not(pxl-Test(Y,X+1→X&lt;br /&gt;
 Y-(A=25 and not(pxlTest(Y-1,X))+(A=34 and not(pxl-Test(Y+1,X→Y&lt;br /&gt;
 End&lt;br /&gt;
&lt;br /&gt;
== Instructions ==&lt;br /&gt;
&lt;br /&gt;
Make any random map that pleases you and press [2ND] + [DRAW] + [LEFT] + [ENTER] + [1] + [ENTER] (Storepic 1). This will override Pic1 with whatever map you created. The movement loop will need to be customized for your map though. A simple maze game is easier to make then a platformer that requires jumping, shooting, moving, etc.&lt;br /&gt;
&lt;br /&gt;
== Things to make sure of ==&lt;br /&gt;
&lt;br /&gt;
1)     Make sure that the pixel at (55,2) is not activated (black)&lt;br /&gt;
2)     Make sure that your window settings are as follows: Xmin=0, Xmax=94, Ymin=0, Ymax=62. This makes sure that the resolution on the screen fits the pt-On( command (this makes life easier)&lt;br /&gt;
3)     Remember that Pxl-On( follows the syntax of Output where it is Pxl-On(Row, Column).[[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>