Search found 4 matches

by mako
Tue Feb 21, 2006 1:55 pm
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4913

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 libr...
by mako
Tue Feb 21, 2006 8:47 am
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4913

thank alot. How can I edit the code to prevent this error every time arial is called as a font? Can I use a different font extension? Can I somehow leave it as default. I don't wanna go through the whole code and replace "arial" with whatever I'd need...
by mako
Tue Feb 21, 2006 8:38 am
Forum: PSP Development
Topic: Setting up Dev-C++ with PSPSDK
Replies: 64
Views: 57367

Schmede wrote:@Agoln: Somehow your links is dead.
So would someone please post a new
link to the tutorial?

Thx
ditto. Please link us, as I would love to be able to c for psp, but cygwin didn't work for me...
by mako
Tue Feb 21, 2006 8:22 am
Forum: PSP Lua Player Development
Topic: error: (a nil value)
Replies: 6
Views: 4913

error: (a nil value)

Okay, so I can load pictures alright, but no matter what I try and change and mess about with, I can't get: arial = Font.load("arial.ttf") to work I always get: error: index.lua:10: attempt to index global `Font' (a nil value) The font file's most defintely in the right directory, as I can...