PSP Hacks - Forums

Go Back   PSP Hacks - Forums > PSP Community > PSP Programming & Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2008, 05:03 PM
InsertWittyName InsertWittyName is offline
PSP Newbie
 

Join Date: Jun 2008
Posts: 41
InsertWittyName Has a Beginner Reputation
Default



Phoenix Game Engine (PGE) is a fully featured engine for game development written by InsertWittyName and MK2k.

PGE Lua is the Lua wrapper of that engine.

-= FEATURES =-

pge.controls - Handling button and analog input.
pge.dir - Directory access and file system operations that deal with directories.
pge.file - File access and file system operations that deal with files.
pge.font - TrueType font loading and drawing.
pge.gfx - Graphic primitives drawing.
pge.math - VFPU math module.
pge.mp3 - MP3 playback for background music.
pge.net - Net and socket functions.
pge.texture - Image loading and drawing.
pge.timer - Timer module.
pge.usb - USB functions.
pge.utils - Utility functions for using the dialogs and retrieving system information.
pge.wav - WAV loading and playback for sound effects.
pge.zip - ZIP file access and extraction.

PGE Lua uses a port of the latest Lua release 5.1.4, which has been optimised specifically for the PSP.

PGE Lua comes with 23 fully commented samples demonstrating how each module is used.

Alongside that, full documentation is available via the homepage: http://pge.luaplayer.org/

There is an emulator for PGE Lua which runs on Windows, Linux, OSX and allows PSP-less development. This is almost complete and will be released at that time.

-= VIDEOS =-

Low resolution: http://www.youtube.com/watch?v=MT-9HJlmWkE

-= INSTALL =-

Copy the 'pgelua' folder to PSP/GAMEXXX/ (or PSP/GAME/ if your kernel is set to 3xx/4xx in the recovery menu).

-= KNOWN ISSUES =-

None as of this writing. With this being an initial release I would expect there to be a few undiscovered bugs. Let us know.

-= HOMEPAGE =-

http://pge.luaplayer.org/

-= CONTACT =-

tias_dp@hotmail.com

-= DOWNLOAD =-

http://pge.luaplayer.org/lua/downloads/pgelua_001.zip

-= CREDITS & GREETS =-

Coded in pure C and asm using the homebrew PSPSDK.

Thanks to TyRaNiD for psplink, which was used extensively in debugging.

Thanks to all in #psp-programming on freenode.net, where quality homebrew is produced. Special thanks to those in #lua who know so much about Lua it scares me.

Personal thanks to romero126 and Soulkiller, who tested, provided feedback and helped me steer PGE Lua to where it is.

Massive thanks to Raphael and Tomaz - the work we did on triEngine helped me really understand what an engine is.

Biggest thanks to MK2k for joining the project midway through development and making it much more than I ever expected.

-= NOTES =-

Please be aware that this is not Lua Player.

PGE Lua is it's own product and shares zero code with Lua Player.

For the C developers, the C API of Phoenix Engine will be released in due course, shortly.

PGE has been in development for over a year, it's not some mis-match of code copied from other people. This is the real deal.

There are lots more plans in store for PGE and PGE Lua, a roadmap will be released shortly showing the expected development.

-= SUPPORT =-

For further help that is not supplied by the samples or documentation, there are forums for PGE at http://pge.luaplayer.org/.

We are also on IRC, channel #psp-programming on irc.freenode.net, for one-to-one help.

-= UPDATE =-

Version 0.02 has been released.

Quote:
Originally Posted by CHANGELOG
Added pge.exit() to explicitely exit at any time.
Fixed pge.texture.draw() to only allow the correct number of parameters to be passed (reported by #Gianni#).
Added pge.texture.swizzle() to swizzle a texture.
Added pge.texture.unswizzle() to unswizzle a texture.
Added an optional parameter to pge.texture.load() and pge.texture.loadmemory() to specify whether to swizzle the texture on load.
Added pge.texture.pixel() to get or set the color value of a pixel within a texture.
Added an error check to pge.file.read(), returns nil if nothing could be read.
Added an error check to pge.file.readnum(), returns nil if the number could not be read.
Added a return value to pge.file.write(), returns the number of bytes written.
Fixed pge.mp3.loadmemory() which incorrectly checked for two parameters to be passed when it only requires one (reported by TheUnderminer).
Added pge.math.deg() to convert radians to degrees.
Added pge.math.rad() to convert degrees to radians.
Moved the socket functions to pge.net.socket.function() to give a layer of separation.
Moved the socketset functions to pge.net.socketset.function() to give a layer of separation.
Added an optional parameter to pge.net.socket.receive(), to specify how many bytes to receive.
Fixed pge.texture.save() to unswizzle the texture before saving, then re-swizzle if needed.
Download: http://pge.luaplayer.org/lua/downloads/pgelua_002.zip
__________________
Reply With Quote
  #2  
Old 08-24-2008, 07:43 PM
dlevans dlevans is offline
PSP Smarty
 

Join Date: Apr 2008
Location: kansas
Posts: 135
dlevans Has a Beginner Reputation
Default

wow that looks amazing good work guys
Reply With Quote
  #3  
Old 08-24-2008, 08:15 PM
SG57's Avatar
SG57 SG57 is offline
Homebrew Idol 2 Winner
PSP Guru
 

Join Date: Apr 2007
Location: Washington
Posts: 1,568
SG57 Has a Beginner Reputation
Default

Hey IWN - finall you released it ;) I take it the difference between what you gave me and this is just the samples are finished?

I have no intentions to develop anything in Lua (except for small tech demos) but still it feels good to know there's 'something' to fall back on with all the functionality i need ;)
__________________
...at what speed must I live.. to be able to see you again?...

Win money while playing Kitten Cannon!

Check out all my work on my new site - from Kitten Cannon to Boxhead to Light Cycle 3D
Reply With Quote
  #4  
Old 08-25-2008, 03:36 AM
PSdonkey's Avatar
PSdonkey PSdonkey is offline
Lop-sided Testicule Admin
PSP Titan
 

Join Date: Dec 2005
Posts: 9,404
PSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond reputePSdonkey has a reputation beyond repute
Default

Nice work. This should help a lot of people out.
__________________
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here http://www.psp-hacks.com/forums/f141...orial-t152466/
Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/f141...-your-t153653/
Want to learn how to program C++ ? Check out that tutorial here http://www.psp-hacks.com/forums/f124...ram-c-t122337/
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©