Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

infinitecats

3
Posts
A member registered Mar 15, 2017

Recent community posts

Oh, okay, thanks!

(1 edit)

Thanks for getting back to me about this. I appreciate it sooo much, I really do.

This is what the file has when I downloaded it.


--called once at the start of the program.
function Init()
apiBridge:ChangeBackgroundColor(0)
apiBridge:RebuildScreenBuffer()
--apiBridge:PlaySong ( false )
end


The PV8 manual has these functions under v0.7.0a API changes, so I altered it to


--called once at the start of the program.
function Init()
apiBridge:BackgroundColor(0)
apiBridge:RedrawDisplay()
--apiBridge:PlaySong ( false )
end


But it has the same error as above. Line 54 is the BackgroundColor function. 

I worry that i'm going to pass invalid arguments into these functions that are all defined somewhere else. How do I find out whether the background color 0 is even initialized? I would have gone and checked that next, but the BackgroundColor function is hidden away somewhere in PV8 I guess, and I'm not sure how I would go looking for it. Sorry for my confusion, but I don't know what I would do next to find the problem.

(1 edit)

Hi, I was hoping to use this, but when I load it up into Game Creator Pro and attempt to play it, I get: ScriptRuntimeException:code.lua:(54,11-35): attempt to index a nil value.

I saw that some of the methods were deprecated, so I tried to replace them with the new ones. But it still seems to have the same error...