<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Geckojsc</id>
	<title>Pandora Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://pandorawiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Geckojsc"/>
	<link rel="alternate" type="text/html" href="https://pandorawiki.org/Special:Contributions/Geckojsc"/>
	<updated>2026-04-23T16:11:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.32.0-alpha</generator>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Development_tutorials&amp;diff=2397</id>
		<title>Development tutorials</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Development_tutorials&amp;diff=2397"/>
		<updated>2010-06-09T16:25:55Z</updated>

		<summary type="html">&lt;p&gt;Geckojsc: /* SDL Tutorials */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== General Game development ==&lt;br /&gt;
Just start basic. Follow the Jump'n'Run tutorial (or any of the others). Copy their code. Change bits. Break it.. fix it. Write it over and over until you know what is happening where and why. Get a pandora or GP2X and cross-compile it for those platforms. Run your little creations on other devices (Android phones and iPhones are great). Little milestones like this will keep you motivated to continue learning.&lt;br /&gt;
&lt;br /&gt;
Making a game, or programming a whole project is a massive undertaking. Be prepared to fail the first few attempts... quit at least 5 times only to come back and give it another go... and even then you might have only programmed Mahjong. If, at the end of all this, you are still keen, you can step it up to 3D graphics and start working on &amp;quot;bigger projects&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Remember.. no one can learn to program in a day... and I wouldn't expect anyone who started programming tomorrow to be able to produce a Mario clone, let alone quake 4 in a month.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ARM Cortex A8 Tutorials ==&lt;br /&gt;
* [[Floating Point Optimization]]&lt;br /&gt;
* [[Assembly Code Optimization]]&lt;br /&gt;
&lt;br /&gt;
== SDL on Pandora ==&lt;br /&gt;
&lt;br /&gt;
SDL is NOT a game engine, but it will provide you with the foundations for putting stuff on the screen, getting keyboard and controller input and making sounds. All of these are basics in programming games.&lt;br /&gt;
&lt;br /&gt;
You can locate a lot of SDL specific information at [http://www.libsdl.org]&lt;br /&gt;
&lt;br /&gt;
=== Getting started with SDL on the Pandora ===&lt;br /&gt;
(This portion assumes you already have a dev environment ready)&lt;br /&gt;
&lt;br /&gt;
First, you need to grab the SDL libraries, you can either compile them yourself or grab some pre compiled libs.&lt;br /&gt;
You can get the sources for SDL [http://www.libsdl.org here] and compile it yourself.&lt;br /&gt;
&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
You can get the pre compiled libraries [http://www.angstrom-distribution.org/unstable/feed/armv7a/base/ here] (they are named libSDL... etc).&lt;br /&gt;
These are ipk files so windows user might need 7zip in order to open them.&lt;br /&gt;
You will need both the 'normal' lib and the -dev library.&lt;br /&gt;
You might want to get the SDL_image, SDL_mixer and other SDL_* libraries, since these add to general functionality of SDL.&lt;br /&gt;
&lt;br /&gt;
=== Basic Pandora specific SDL Information ===&lt;br /&gt;
&lt;br /&gt;
SDL maps the controlls on the Pandora in the following fashion:&lt;br /&gt;
&lt;br /&gt;
* The Left and Right nubs are represented as Joystick 1 and 2.&lt;br /&gt;
* The D-Pad is linked to SDLK_LEFT/RIGHT/UP/DOWN.&lt;br /&gt;
* The abxy / lr buttons are (A):home (B):end (X):pgdn (Y):pgup (L):right shift (R): right ctrl&lt;br /&gt;
* START(ALT) button : SDLK_LALT&lt;br /&gt;
* SELECT(CTRL) button : SDLK_LCTRL&lt;br /&gt;
&lt;br /&gt;
=== SDL Tutorials ===&lt;br /&gt;
&lt;br /&gt;
These tutorials assume you know the basics of C++ programming, and know your way around a C++ compiler.&lt;br /&gt;
&lt;br /&gt;
* [http://www.lazyfoo.net/SDL_tutorials/index.php Lazy Foo's Tutorials].  Not Pandora specific, but a good guide to getting your programming environment set up, along with many SDL tutorials.&lt;br /&gt;
* [http://iki.fi/sol/gp/ Sol's Graphics for beginners].  Not Pandora specific, but a good place to get started with SDL graphics coding.&lt;br /&gt;
* [http://jnrdev.72dpiarmy.com/ 2D Jump'n'Run Tutorial]&lt;br /&gt;
* [http://gpwiki.org/index.php/Category:All_SDL_articles The Game Programming Wiki's tutorials]&lt;br /&gt;
&lt;br /&gt;
==OpenGL on the Pandora==&lt;br /&gt;
&lt;br /&gt;
*[[OpenGL ES 1.1 Tutorial]]&lt;br /&gt;
&lt;br /&gt;
*[[OpenGL ES 2.0 Tutorial]]&lt;br /&gt;
&lt;br /&gt;
*[[Combining OpenGL ES 1.1 and SDL to create a window on the Pandora]]&lt;br /&gt;
&lt;br /&gt;
== The Kernel ==&lt;br /&gt;
* [[Kernel build instructions|Compiling the Kernel from Git]]&lt;br /&gt;
* [[Kernel interface|Kernel Interface]]&lt;br /&gt;
&lt;br /&gt;
== Matchbox Window Manager ==&lt;br /&gt;
&lt;br /&gt;
* [[Matchbox|Matchbox version]]&lt;br /&gt;
* [[xoo on ubuntu|Setting up xoo on Ubuntu 8.04/8.10]] (Theme Testing and Development)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Development Tools]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Geckojsc</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Development&amp;diff=2377</id>
		<title>Development</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Development&amp;diff=2377"/>
		<updated>2010-06-04T13:52:42Z</updated>

		<summary type="html">&lt;p&gt;Geckojsc: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* You can [[Setting up a cross-compiler|set up a cross-compiler]] to compile code for the Pandora on your PC.&lt;br /&gt;
* Or you can [http://www.gp32x.com/board/index.php?/topic/53964-cross-compiling-is-bollocks-toolchains-are-bollocks-use-your-pandora-to-build-apps/ set up and compile directly on the Pandora]!&lt;br /&gt;
* Porting &amp;amp; programming:&lt;br /&gt;
** If porting existing software, try the [[porting guide]].&lt;br /&gt;
** If creating new code, the [[development tutorials]] may be useful.&lt;br /&gt;
* [[Libpnd hub|Package]] your software in PND fromat for distribution.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Geckojsc</name></author>
		
	</entry>
	<entry>
		<id>https://pandorawiki.org/index.php?title=Cross-compiler&amp;diff=2376</id>
		<title>Cross-compiler</title>
		<link rel="alternate" type="text/html" href="https://pandorawiki.org/index.php?title=Cross-compiler&amp;diff=2376"/>
		<updated>2010-06-04T13:48:23Z</updated>

		<summary type="html">&lt;p&gt;Geckojsc: Changed the indroduction slightyl because you don't *need* a cross compiler.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;One of the ways to compile your applications to the ARM architecture is through a cross-compiler.&lt;br /&gt;
&lt;br /&gt;
== Using the SDK-Installer ==&lt;br /&gt;
Cpasjuste on the GP32X forums has made a nice script to get a build environment and libraries installed on Ubuntu/Debian systems. Download links and a brief explanation can be found in [http://www.gp32x.com/board/index.php?/topic/52343-pandora-sdk-installer/ this thread].&lt;br /&gt;
&lt;br /&gt;
== Manual Installation ==&lt;br /&gt;
If you want a bit more control, Code-Sourcery hosts a bunch of cross-compiling suites for various platforms on their site, some editions have to be paid for, but they do have &amp;quot;lite&amp;quot; editions without support that are completely free.&lt;br /&gt;
&lt;br /&gt;
Head up onto [http://www.codesourcery.com/sgpp/lite/arm/portal/subscription3057 here]. The recommended release at time of writing is [http://www.codesourcery.com/sgpp/lite/arm/portal/release1039 2009q3].&lt;br /&gt;
&lt;br /&gt;
Installers are available for Linux and Windows. Alternatively, download and unpack the tarball, then add the bin directory to your path.&lt;br /&gt;
&lt;br /&gt;
== Example: Setting up a cross compiler using Code Sourcery, and doing so inside a VM ==&lt;br /&gt;
&lt;br /&gt;
Skeezix makes some notes in [http://www.rjmitchell.ca/~jeff/blog2009/2010/06/02/getting-up-and-going-with-a-crosscompiler-for-pandora-arm-in-5-minutes/ his blog] about setting up CodeSourcery's prebuilt toolchain in a VM very quickly.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]]&lt;/div&gt;</summary>
		<author><name>Geckojsc</name></author>
		
	</entry>
</feed>