Search found 75 matches

by pg
Thu Oct 13, 2011 7:51 pm
Forum: Announcement
Topic: PureBasic 4.60 RC 1
Replies: 41
Views: 23395

Re: PureBasic 4.60 RC 1

The memory usage is huge when using the Engine3D.dll. Is this just because of the RC1 version?

btw, my programm just uses CreateEntity(#Cube.... and a camera
by pg
Sun Dec 21, 2008 2:51 pm
Forum: Game Programming
Topic: Screen-Mouse doesn't work when Screen in Container?
Replies: 10
Views: 7207

Just a little modification:


InitSprite()
InitKeyboard()
InitMouse()

ExamineDesktops()
DWidth = DesktopWidth(0)
DHeight = DesktopHeight(0)

Global hwnd

GSize = DHeight
GPos = ( DWidth - DHeight ) / 2

hwnd=OpenWindow( 0, 0,0, DWidth, DHeight, "test", #PB_Window_BorderLess | #PB_Window ...
by pg
Sat Jul 19, 2008 9:13 pm
Forum: Game Programming
Topic: Display sprite too slow
Replies: 14
Views: 5095

you are assuming that every computer uses a GPU? Right?
by pg
Sat Jul 19, 2008 7:32 pm
Forum: Game Programming
Topic: Display sprite too slow
Replies: 14
Views: 5095

It is still faster to copy cpu mem to screen mem :wink:
You can try it with CopyMemory() or Poke Commands....
by pg
Sat Jul 19, 2008 3:07 pm
Forum: Game Programming
Topic: Display sprite too slow
Replies: 14
Views: 5095

it's correct ... it's not true :-) I have tested it now and it's even slower.
I get this idea because it's faster to access memory locations of a sprite, but this does aparently not happen when using the DisplaySprite command.



If InitSprite() = 0 Or InitKeyboard() = 0 Or InitMouse() = 0 ...
by pg
Sat Jul 19, 2008 9:16 am
Forum: Game Programming
Topic: Display sprite too slow
Replies: 14
Views: 5095

You should use #PB_Sprite_Memory to load the Sprite, it's faster.
by pg
Fri Nov 10, 2006 10:15 am
Forum: Game Programming
Topic: Purestein2
Replies: 9
Views: 4465

I did not test it with version 3.94 but it should be compatible. If not, I
could convert it.
by pg
Wed Nov 08, 2006 8:45 pm
Forum: Game Programming
Topic: Purestein2
Replies: 9
Views: 4465

Here is the Raycasting Lib with the new functions and updated helpfile.
The camera now can also move in the y-axis. The Game is also
new compiled with the lib.




http://www.mypage.bluewin.ch/bithandler ... brary4.zip

http://www.mypage.bluewin.ch/bithandler ... stein2.zip
by pg
Thu Nov 02, 2006 9:45 pm
Forum: Game Programming
Topic: Purestein2
Replies: 9
Views: 4465

Purestein2

Hello

I have made another Purestein game (v2) with 6 levels made
with the Raycaster lib. This time with a machine gun :lol:

http://www.mypage.bluewin.ch/bithandler ... stein2.zip
by pg
Wed Oct 25, 2006 9:54 pm
Forum: Game Programming
Topic: What OGRE mesh converter is the best and why?
Replies: 5
Views: 2976

:) well you have to pay for it after a period of 2 weeks or so....
by pg
Wed Oct 25, 2006 8:18 pm
Forum: Game Programming
Topic: What OGRE mesh converter is the best and why?
Replies: 5
Views: 2976

A very good converter is a 3D Tool that coverts from and to many formats, also OGRE- xml. Animations from X to OGRE-xml are also converted perfectly, you then only need the free xml- converter from OGRE. Also you can create models and animations. It's free but you have to register for only 20 ...
by pg
Fri Oct 20, 2006 12:33 am
Forum: Game Programming
Topic: SuperSprite3D
Replies: 37
Views: 22218

Thanks. This should be implemented into PureBasic :idea:
by pg
Sun Nov 27, 2005 9:33 pm
Forum: Game Programming
Topic: Collision detection and response ( with codes )
Replies: 48
Views: 19068

Good work! Runs without problems. Collision detection is the most important functionality in 3D that nobody is talking about....
by pg
Sat Nov 12, 2005 12:41 pm
Forum: General Discussion
Topic: C++ static libs
Replies: 20
Views: 5438

Maybe your lib needs other libs to be linked, like

this: #pragma comment(lib, "mylib.lib"), if you use such comments?
by pg
Sat Nov 12, 2005 11:18 am
Forum: General Discussion
Topic: C++ static libs
Replies: 20
Views: 5438

I did not find the solution until now. Just to repeat again. I'm trying to link a c++ static lib, not dll. To use DLL is not a problem :-)