Search found 54 matches

by fullerlee
Wed Mar 22, 2006 3:34 am
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo 0.5
Replies: 2
Views: 2131

Thanks, I'll take note of that bug. Just to confirm - from the pause menu, are you talking about "Word Finder" or "Check Tiles"? The change letter feature is already there (although not documented on-screen): If you press Square when on the rack, the rack highlighter will change ...
by fullerlee
Sun Mar 19, 2006 2:45 am
Forum: PSP Lua Player Development
Topic: Can I make eboot.pbp from script.lua in Windows 98? :|
Replies: 5
Views: 3073

But sharing source code is the point of homebrew, it's all for fun and learning, not-for-profit, and should be open-source.

And how are you going to learn lua - probably by looking at other people's source code!

Don't worry about others reading or changing your code.

Lee
by fullerlee
Sat Mar 18, 2006 1:38 pm
Forum: PSP Lua Player Development
Topic: Fade Image (screen) to black
Replies: 2
Views: 2141

I've found that alpha values of 0 or 255 are the only ones that work correctly.
by fullerlee
Tue Mar 14, 2006 2:52 am
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo 0.5
Replies: 2
Views: 2131

[ RELEASE ] Wordingo 0.5

Wordingo v0.5 released Download: http://psplua.com/modules/uploader/index.php?action=downloadfile&filename=wordingo05.zip Release Notes: 0.5 -Removed 1P QuickPlay. -Invalid plays will now be removed from the board. -Added option to get to the Word Finder during the game using the Rack Letters - ...
by fullerlee
Wed Mar 08, 2006 3:52 am
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo v0.42
Replies: 5
Views: 4239

Hi, Here's the SOWPODS dawg: http://psplua.com/modules/uploader/index.php?action=downloadfile&filename=sowpods.zip Copy this into wordingo/data and rename it to dictionary.dawg Be warned though - This will be fairly slow on a PSP. I tested it on windows luaplayer, and with the highest level of A...
by fullerlee
Wed Mar 01, 2006 4:02 am
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo v0.42
Replies: 5
Views: 4239

Hi, glad you like Wordingo, thanks for the feedback. - I will add functionality for selecting alternative dictionaries. In the meantime, if you have a copy of the sowpods wordlist, you could send it to me (or send me the URL) and I'll send you the .dawg which you can then put into the data\ director...
by fullerlee
Sat Feb 25, 2006 3:39 pm
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo v0.42
Replies: 5
Views: 4239

[ RELEASE ] Wordingo v0.42

Bug fix release. This fixes a crash which occurs when the timer option is set to 0 and the pause button it pressed during a game.

http://psplua.com/modules/uploader/inde ... ngo042.zip
by fullerlee
Fri Feb 24, 2006 8:54 am
Forum: PSP Lua Player Development
Topic: Testers required - Wordingo
Replies: 0
Views: 1254

Testers required - Wordingo

I'm looking for people with firmware 1.0, 2.0, 2.0+ willing to test Wordingo v0.4 under LuaPlayer 0.14+ I have a specific test in mind (focusing on possible problems with the Lua Timer object), and it will only take a small amount of time to test. If you are willing, please either reply to this, or ...
by fullerlee
Thu Feb 23, 2006 2:31 pm
Forum: PSP Lua Player Development
Topic: [ RELEASE ] Wordingo v0.4
Replies: 0
Views: 2307

[ RELEASE ] Wordingo v0.4

Here's Wordingo v0.4. There are many new features in this version: - AI player with customisable difficulty level - Board editor. - Tile score/freq editor. - Anagram / Word finder now takes notice of blanks. - Clock & battery monitor displayed on screen at all times. - Numerous bug fixes. [Edit:...
by fullerlee
Wed Feb 22, 2006 7:03 am
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3193

Another way would be to cache the drawing of things that don't change. So, say you have a background, and a bunch of windows to draw. You only really want to redraw windows that have changed, so you could draw each window to an image, and keep a reference to each image prior to blitting the images t...
by fullerlee
Wed Feb 22, 2006 3:31 am
Forum: PSP Lua Player Development
Topic: The mouse allways ontop?
Replies: 6
Views: 3193

You will generally have to redraw everything each cycle, even stuff that hasn't changed. If you bear that in mind, you should solve your problem. Lee eg: while true do clearScreen() drawBackground() drawWindows() drawMouse() flip&#4...
by fullerlee
Tue Feb 21, 2006 3:16 pm
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4850

If you only want to respond once per button press (as opposed to responding each cycle if a button is down), you can either use this function (put it just after you are handling the button press, it will basically pause execution until there are no buttons pressed): function Controls.waitpadup&#...
by fullerlee
Tue Feb 21, 2006 8:58 am
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4850

I also do all my testing on the windows luaplayer, and because of that, I have avoided using any of the 0.16 features such as TTF. If you want to write text to the screen, you'll either have to use screen:print (basic monospaced 8pixel font) or use a bitmap font (someone released a bitmap font libra...
by fullerlee
Tue Feb 21, 2006 8:42 am
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4850

TTF support (v0.16) is not available in windows luaplayer (v 0.14).

See: http://www.luaplayer.org/

Lee
by fullerlee
Mon Feb 20, 2006 4:37 am
Forum: PSP Lua Player Development
Topic: Wordingo (formerly LUA Scrabble)
Replies: 3
Views: 4867

Hi, Thanks for the feedback, glad you like Wordingo. I'm almost ready to make another release, with many (many) changes. - I've almost finished work on an AI player (I'm currently working on making him a bit worse of a player). - I've fixed the word lookup for blank tiles, and also added scoring inf...
by fullerlee
Sat Feb 18, 2006 7:28 am
Forum: PSP Lua Player Development
Topic: how does memory work with lua
Replies: 12
Views: 6423

This seems like a good place to ask about Garbage Collection in luaplayer.

- Are locals marked for GC as soon as they go out of scope?
- Will globals be marked for GC if we nil all references?
- When does GC run (every n secs, when mem usage reaches a threshold etc) ?

Lee
by fullerlee
Fri Feb 17, 2006 7:20 am
Forum: PSP Lua Player Development
Topic: Screen image copy question
Replies: 6
Views: 3326

Yeah, I could do all my blitting to an image, but I was hoping I wouldn't have to change all the stuff I've already written (a lot ). Looking at the error, it seems that screen is a table, probably with an image as an attribute. Oh hang on, I'll try a table.foreach(screen, print) to see if I can det...
by fullerlee
Fri Feb 17, 2006 5:20 am
Forum: PSP Lua Player Development
Topic: Screen image copy question
Replies: 6
Views: 3326

Screen image copy question

I'd like to cache the screen image so I don't have to generate it for each iteration. All of my current screen drawing logic eventually draws to the screen image, and I'd rather not have to rewrite it. I've tried doing this: scrCopy = Image.createEmpty(screen:width(),...
by fullerlee
Thu Feb 16, 2006 2:57 am
Forum: PSP Lua Player Development
Topic: .lua filesize limit
Replies: 4
Views: 2382

Try splitting the files and then including them with:

Code: Select all

dofile "filename.lua"
by fullerlee
Thu Feb 16, 2006 2:14 am
Forum: PSP Lua Player Development
Topic: .lua filesize limit
Replies: 4
Views: 2382

I've got several scripts, ranging in size from 1kb to 68k and all are loading without any problems.

Example:
http://dl.qj.net/Wordingo-v0.3p.2-Gamin ... /catid/194

Lee
by fullerlee
Thu Feb 09, 2006 8:02 am
Forum: PSP Lua Player Development
Topic: Windows luaplayer /n newline issue?
Replies: 3
Views: 2588

I generally only test on windows luaplayer, so I'm not sure about on PSP. I don't use any newlines, if I have multiple lines, I increment the y pos by 8 (the height of the bitmap font) and do multiple prints. screen:print(0,0, "Hello World", green) screen:pr...
by fullerlee
Tue Feb 07, 2006 11:30 am
Forum: PSP Lua Player Development
Topic: Wordingo update
Replies: 1
Views: 3581

Bump for new version including anagram solver.
by fullerlee
Tue Feb 07, 2006 3:42 am
Forum: PSP Lua Player Development
Topic: im a noob!!!!!!!!, need some advice
Replies: 8
Views: 5024

I could be way off here, but I believe that screen.waitVblankStart() will only wait as long as it needs until the end of the next clock cycle (1/60th ms), whereas System.sleep(miliseconds) will always wait the specified amount of time (and will also only resolve to a ...
by fullerlee
Tue Feb 07, 2006 1:58 am
Forum: PSP Lua Player Development
Topic: im a noob!!!!!!!!, need some advice
Replies: 8
Views: 5024

I think you'd be better adding screen.waitVblankStart() inside the loop. This will pause execution of the PSP until the next cycle. Without this line, you'll be throttling the CPU. Someone correct me if i'm wrong. Lee while timer&#58;time&#40;&#41; < 1000 do pad = Controls.read&#40;&...
by fullerlee
Sat Feb 04, 2006 11:16 am
Forum: PSP Lua Player Development
Topic: Wordingo update
Replies: 1
Views: 3581

Wordingo update

Here is release 0.3p.3 of Wordingo, a scrabble clone for PSP. The version 0.3p release suffered from a poor initial loading time. This has been fixed as of version 0.3p.1 This version adds a score summary along with 3 modes of dictionary lookup (none, strict, info) Download here: http://psplua.com/m...
by fullerlee
Tue Jan 31, 2006 11:35 am
Forum: PSP Lua Player Development
Topic: Wordingo (formerly LUA Scrabble)
Replies: 3
Views: 4867

Wordingo (formerly LUA Scrabble)

This is a preview release of Wordingo (formerly LUA Scrabble). This is the final release before I add AI functionality (it will currently support 1-4 human players). http://psplua.com/modules/uploader/index.php?action=downloadfile&filename=wordingo03p2.zip Please feel free to post feedback. Than...
by fullerlee
Thu Jan 26, 2006 8:02 am
Forum: PSP Lua Player Development
Topic: Quick help
Replies: 0
Views: 1089

Quick help

I'm at work and don't have access to a PSP, and I need something checked if anyone is able. I want to write appear/disappear functionality into my menus (similar to the start-menu in winxp). The logical way of doing this would be to increment/decrement the alpha value for each pixel until either 0 o...
by fullerlee
Thu Jan 26, 2006 7:45 am
Forum: PSP Lua Player Development
Topic: distorted image
Replies: 4
Views: 2866

As far as I know, the 512x512 limit still exists.

There's no reason why you wouldn't be able to tile images programmatically though, and I imagine that would perform better anyway.

Lee
by fullerlee
Thu Jan 26, 2006 7:25 am
Forum: PSP Lua Player Development
Topic: Windows luaplayer
Replies: 12
Views: 5532

My understanding is that if your LUA code writes to the MS, then you need to make sure the USB connection is closed prior to writing or bad things will happen.

If your LUA code doesn't write to MS, then you're fine.
by fullerlee
Thu Jan 26, 2006 5:12 am
Forum: PSP Lua Player Development
Topic: Drawing images with transparent parts
Replies: 9
Views: 6191

I've been using a paint program to specify transparent parts of the png. Blit in luaplayer will take into account whichever parts of the image are transparent. If you don't have a paint program capable of doing this (such as Paint Shop Pro or Photoshop), try GIMP ( http://www.gimp.org ) - it's free ...