Oxygen Basic

Programming => Example Code => Topic started by: Peter on May 07, 2013, 02:19:13 AM

Title: PacBug Game
Post by: Peter on May 07, 2013, 02:19:13 AM
Deleted
Title: Re: PacBug Game
Post by: Aurel on May 07, 2013, 02:39:42 AM
Peter
Just to say to you that this openGL game not work on my both
XP computers.-
I see only white background 800x600 :-\
Title: Re: PacBug Game
Post by: Aurel on May 07, 2013, 05:27:41 AM
But why then is resolution 800x600?   ??? ::)
This openGL sucks, how then your older pacman bug with GDI work fine ,
by the way most of your GL examples not work on winXP, just few work...
I must cach some time and tried all then i will tell you what not work...
Title: Re: PacBug Game
Post by: JRS on May 07, 2013, 06:54:50 AM
Peter,

I tried your example under Wine and it ran in full screen as if I was running under Windows.

Quote
You Lie! The resolution is 640x480!

I was expecting a larger full screen capture image and when I looked at the image file it was a small 640x480 png. You must be right and Aurel is lying.  :-*


John

X
Title: Re: PacBug Game
Post by: JRS on May 07, 2013, 09:28:57 AM
Quote
He is a traitor and must be punishes.

(http://www.allthetests.com/quiz28/picture/pic_1293313562_3.jpg)

I know of an available stake and reserved pile of kindling that isn't being used at the moment by the community.
Title: Re: PacBug Game
Post by: Aurel on May 07, 2013, 11:23:25 AM
No..
I don't lie...
I have all dll-s from zip file and latest oxygen dll and program compile file with Ok message,,,
so what was heapend with oopenGL i don't know.
So Peter maybe will be good if you say:
OS ...minimum windows7 with latest openGL drivers, ok  ;)
Title: Re: PacBug Game
Post by: JRS on May 07, 2013, 12:45:27 PM
If something will run under Wine as expected and not on your PC under a supported version of Windows, you have serious problems friend.

Title: Re: PacBug Game
Post by: Aurel on May 07, 2013, 03:18:02 PM
How you can then explain that every TBGL example from thinBasic openGL
work perfect....
I have in plan to try GLFW just to see what is this ,also
i have few games in openGL and work properly ....
Title: Re: PacBug Game
Post by: JRS on May 07, 2013, 03:39:49 PM
Quote
How you can then explain that every TBGL example from thinBasic openGL
work perfect....

Do you only have the runtime OpenGL libraries installed? ThinBasic is an interpreter and loads resources at runtime. As you know O2 is a compiler and requires a bit more definition and resources. Are you saying Peter's 'everything' zip and the compiled example didn't work for you? It may be time to invest in a PC that was built in this century.
Title: Re: PacBug Game
Post by: Charles Pegge on May 07, 2013, 04:59:05 PM
PacBug works fine on my Vista 64.

Aurel, does this binary work on your PC? You should be able to launch it directly from the zip/ It uses classical OpenGl.

X
Title: Re: PacBug Game
Post by: Aurel on May 07, 2013, 09:20:18 PM
Yes ...
And GLFW work to ,i just tested one app with this dll.
Title: Re: PacBug Game
Post by: Charles Pegge on May 07, 2013, 11:17:04 PM
We also have FreeGlut demos: examples/freeglut
Title: Re: PacBug Game
Post by: Aurel on May 08, 2013, 12:29:27 AM
Yes i know...
All freeglut examples work fine .
Title: Re: PacBug Game
Post by: Charles Pegge on May 08, 2013, 02:42:39 AM
If Peter is deploying an enlarged background texture, it may exceed the buffer space on older graphics cards. Just a theory.