Vieur test.

Miscellaneous Forums/General Discussion/Vieur test.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've began testing the implementation of the "Vieur" in-game ad system, basically it's the same functionality that comes already integrated into igLoader, I've just ripped it out and made it available for standalone games. If can be used with ANY language that supports DLLs.

What is it?

"Vieur" is a DLL that ad-enables your games, it allows you to monetize your games even if they are not purchased. Anyone who has recently downloaded games from RealArcade will be familiar with the technology. When used together with a DRM system "Vieur" enables you to deliver ad-supported trials where the player has the option to purchase (unlock) the ad-free version.

Anyway, I just want to know if it works on your systems (Windows 95/98/2000/XP/Vista) : http://www.pjio.com/temp/vieur.zip - The bouncing ball should always be behind the advert.

You should see something like :


And implementation :
Global iPtr:Int = LoadLibraryA("vieur.dll")

Global Vieur_DisplayAdvert	(HWND:Int, URL:Byte Ptr, x:Int, y:Int, width:Int, height:Int)	"win32"	= GetProcAddress(iPtr, "_DisplayAdvert@24" )
Global Vieur_DestroyAdvert	() 	"win32"	= GetProcAddress(iPtr, "_DestroyAdvert@0" )

Graphics 800,600

Global HWND = PrimaryDevice.Hwnd

Vieur_DisplayAdvert (HWND, "http://www.pjio.com/ig_creative", 150, 120, 500, 360)

Local x:Float = Rand(20,780)
Local y:Float = Rand(20,580)
Local xvel:Float = Rnd(-4,4)
Local yvel:Float = Rnd(-4,4)

While Not KeyHit(KEY_ESCAPE)
	Cls
	DrawOval x-10,y-10,20,20
	x:+xvel
	y:+yvel
	
	If x < 0 Or x > 800 Then xvel = -xvel
	If y < 0 Or y > 600 Then yvel = -yvel
	
	Flip 1
Wend

Vieur_DestroyAdvert()