Flash screen while loading
Moderators: Shine, Insert_witty_name
Flash screen while loading
hi can anyone help how to flash a screen while loading my app? lets say something like ill put a credits and the name of the app(image file) in 3 soconds then dissappear?
			
			
									
									
						Code: Select all
function VSH_SplashScreen(image, time)
	local DebugTimer = os.clock()
	screen:clear(Color.new(0,0,0))
	screen:blit(0, 0, image)
	screen.waitVblankStart()
	screen.flip()
	while true do
		local CHECK_TIME = os.clock() - DebugTimer
		
		if (CHECK_TIME >= time) then
			break
		end
	end
end