Results 1 to 5 of 5

Thread: [Release] LuaPlayer Euphoria V3 - Yet More Speed + IntraFont!

                  
   
  1. #1

    psp [Release] LuaPlayer Euphoria V3 - Yet More Speed + IntraFont!

    Hola

    Hey.

    So after a bit of work I bring you LuaPlayer Euphoria V3.

    New Features, Improvements, Bug Fixes & Changes :

    New Features :

    1) IntraFont support. You can now load and blit fonts without the huge slowdown the built in font function has

    How to use it ? Go to Samples/IntraFont for a working usage example.

    Improvements :

    1) Speed increase. Roughly between 20>40fps.
    2) screen:clear() is now faster.

    Bug Fixes :

    1) screen:clear() now actually works. (it didn't in V2)
    2) Image alpha on created images, colors, and loaded images now works.
    3) 3D things I broke are now fixed (so 3d wise it is the same as .20 was).
    4) FPS counter no longer flickers when not using waitVblankStart().
    5) Checking for input (i.e pad = Controls.read()) no longer caps the framerate to 60fps. I suggest you use waitVblankStart() if you need to cap it to 60

    Changes :

    Ok, so all of the function names in V1 & 2 have changed. I meant to do this from the beggining but rushed so much I didn't quite get to it. The function names now ring true to the default LuaPlayer naming convention.

    Here are the new functions and names (also included in the download) :

    -- New Functions & Features List. Including Usage --

    -## System Functions

    System.setCpuSpeed(number) -- Set the Cpu speed. Options : 100, 222, 266, 333.
    System.showFPS() -- Show the current FPS.
    System.quit() -- Exit back to the XMB.

    --REQUIRED SYSTEM FUNCTIONS (must be called in your loop)

    System.startGu() -- Start the GU
    System.endGu() -- End the GU

    -!! Please see Either Samples/Mp3 or Samples/IntraFont for usuage examples

    System.

    -## MP3 Functions

    Mp3.init() -- Initialize the Mp3 System.
    Mp3.load(filename) -- Load a Mp3.
    Mp3.play() -- Play a Mp3.
    Mp3.stop() -- Stop a Mp3.
    Mp3.pause() -- Pause a Mp3.
    Mp3.end() -- Stop and Free a Mp3.
    Mp3.free() -- Free a Mp3.
    Mp3.endOfStream() -- Get the end of a Mp3 (ie . if Mp3.endOfStream == 1 then).
    Mp3.getTime(string) -- Retrive the current play time position of the mp3.

    -!! Please see Either Samples/Mp3 or Samples/IntraFont for usuage examples

    -## IntraFont Functions

    IntraFont.init() -- Initialize the IntraFont System.
    IntraFont.load(filename) -- Load a font using intrafont (ie. font = IntraFont.load("font.pgf")).
    IntraFont.print(font, x, y, textSize, color, text) -- x, y & textsize are floating point variables (ie. 0.1, 1.0).
    IntraFont.unLoad(font) -- Unload the loaded font.

    -!! Please see Either Samples/Mp3 or Samples/IntraFont for usuage examples

    -## Automatic Functions (Do not need calling)

    Image swizzling -- Automatic upon loading an image
    All the readme/function files have been updated to reflect this release.

    Future :

    Plenty of stuff planned, MP3 Playback on the media engine, ogg playback on the media engine, more optimizations, additions of PSP Sce features such as savedata dialogue, OSK etc.

    If you would like to request a feature be added, please do so at the official forum : LuaPlayer Euphoria Forum

    If you use this please leave a comment!

    Download & Give Feedback Via Comments
    My Business (Games, Apps & More):

    Gremlin Interactive

  2. #2

    Default

    how do you use this? it is very confusing.. there's always an error null or system error

  3. #3
    DCEmu Pro osgeld's Avatar
    Join Date
    Jan 2007
    Posts
    822
    Rep Power
    67

    Default

    just like normal luaplayer, write script save as index.lua and go

    (course this is in the instructions that come with the package)

  4. #4
    DCEmu Pro dangee's Avatar
    Join Date
    Feb 2007
    Posts
    531
    Rep Power
    65

    Unhappy

    PHP Code:
    System.startGu()
    im Image.createEmpty(480,272)
    im:fillRect(16,16,256,256,Color.new(0,255,0))
    System.endGu()
    repeat
     System
    .startGu()
     
    screen:blit(0,0,im)
     
    System.endGu()
     
    screen.waitVblankStart()
     
    screen.flip()
    until Controls.read():circle()
    screen:save("ms0:/swizz.png")
    System.quit() 
    V
    V



    ?

  5. #5

    Default

    Quote Originally Posted by dangee View Post
    PHP Code:
    System.startGu()
    im Image.createEmpty(480,272)
    im:fillRect(16,16,256,256,Color.new(0,255,0))
    System.endGu()
    repeat
     System
    .startGu()
     
    screen:blit(0,0,im)
     
    System.endGu()
     
    screen.waitVblankStart()
     
    screen.flip()
    until Controls.read():circle()
    screen:save("ms0:/swizz.png")
    System.quit() 
    V
    V



    ?
    Here is the correct way (or working way at least) to do it :

    PHP Code:
    im Image.createEmpty(480,272)
    im:fillRect(16,16,256,256,Color.new(0,255,0))

    while 
    not Controls.read():circle()
     
    System.startGu()
     
    screen:blit(0,0,im)
     
    System.endGu()
     
    screen.waitVblankStart()
     
    screen.flip()
    screen:save("ms0:/swizz.png")
    end
    System
    .quit() 
    You only need to start the gu and end it in your main loop. Only during blitting. Not loading too

    Sorry I suck at documentation ( I don't put enough effort into it).

    Hopefully someone will help me with the documentation and samples at some stage
    Last edited by Zack; May 20th, 2009 at 00:42.
    My Business (Games, Apps & More):

    Gremlin Interactive

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Release] LuaPlayer Euphoria V2 - Even more speed!
    By Zack in forum Sony Consoles News Forum
    Replies: 8
    Last Post: May 17th, 2009, 16:19
  2. [Release] LuaPlayer Euphoria V1 - Lightning Fast LuaPlayer
    By Zack in forum Sony Consoles News Forum
    Replies: 4
    Last Post: May 15th, 2009, 17:33
  3. blackSPEED v1.0beta - memorystick performance benchmark
    By wraggster in forum Sony Consoles News Forum
    Replies: 14
    Last Post: January 28th, 2007, 23:14
  4. How you can help with daedalus
    By Wally in forum DCEmu Gaming & General Discussion Forum
    Replies: 22
    Last Post: July 22nd, 2006, 04:29

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •