Neo TeAm Forum

NEO Coding Competitions => NEO Summer Coding Compo 2006 => NEO Compo 2006 => The past Neo Coding Compos => NEO summer coding contest 2006 for PSP Games => Topic started by: Kagato on August 20, 2006, 01:46:55 PM

Title: [Entry] Reactor v1.0
Post by: Kagato on August 20, 2006, 01:46:55 PM
Hello all!

Here's my entry for the Summer Coding Competition:
Reactor v1.0

It's a Lua game, in which the goal is to eliminate all the particles from the Reactor. You do this by firing a Proton into the chamber, and directing it with a Deflector Shield (controlled with the analog stick). Don't let the Proton hit the Reactor wall, or you'll lose energy.

It's a little bit like Breakout, only circular... and harder!

Here are some screenshots:



See readme.txt in the zip file for more details.
Title: [Update] Reactor v1.1
Post by: Kagato on August 21, 2006, 11:22:57 AM
I've had a couple of reports that the font call isn't working on some PSPs, so I'm guessing that call is not supported under 2.0+. (I've recently downgraded to 1.5, but I couldn't get devhook working with 2.5 to test under eloader...)

Here's Reactor v1.1 -- a very minor update that replaces the font calls with standard print calls. (No gameplay changes at all. If 1.0 works, stick with that.)

I still can't test for 2.0+ compatibility myself, but hopefully this will fix it for those who were having trouble.
Title: Re: [Entry] Reactor v1.0
Post by: eblank8 on August 22, 2006, 01:43:36 AM
i cant get either version to load past the start screen
Title: Re: [Entry] Reactor v1.0
Post by: LMelior on August 22, 2006, 04:49:18 AM
Same problem here.  The error is quick but it says:

Error: index.lua:369: attempt to call table value

Title: Re: [Entry] Reactor v1.0
Post by: Kagato on August 22, 2006, 06:12:39 AM
Can you let me know the firmware versions and Lua versions where you're getting the errors? I'll try and get devhook to boot today, and test against those versions.

I think the very latest version of Lua (v0.20) has slightly changed some APIs, so I'll test that today as well...

It works well on my 1.5 PSP under v0.19...

Title: Re: [Entry] Reactor v1.0
Post by: LMelior on August 22, 2006, 06:53:13 AM
Ah, yeah, sorry about that.  I should have thought of that.  I'm on a 1.5 PSP with Luaplayer 0.20.  I'll test it on 0.19 now then.
Title: [Update] Reactor v1.2
Post by: Kagato on August 22, 2006, 10:47:18 AM
Ah, it was right there in the changes.txt for LuaPlayer 0.20. A common shorthand form of table iteration is no longer supported under Lua 5.1.

Here's another update, this one using expanded table iterators. It should work well on LuaPlayer 0.20, as well as earlier versions (well, at least 0.19...)

Again, no other gameplay changes, just a compatibility fix.