Search found 6 matches

by Nells
Thu Mar 31, 2005 11:33 am
Forum: Game Programming
Topic: How to optimize my snake clone?
Replies: 4
Views: 2417

You can also make a multithreaded system, it's easy in PureBasic, so you have the main thread that draw (FlipBuffers()...) and a thread that make al the calculation every time step (i.e 25ms)

GetTickCount_() and ElapsedMilliseconds() are not really precise, better use QueryPerformanceCounter() (a ...
by Nells
Thu Mar 31, 2005 11:21 am
Forum: Game Programming
Topic: 3d Matrix Rotations
Replies: 8
Views: 4098

Well, i don't really know how work your stuff but i see that you use Angle\y in your third line but you've assigned Angle\y at the line before :

Angle\y = *mfChange\m33Rotation\v3X\y * Angle\y + *mfChange\m33Rotation\v3Y\y * Angle\y + *mfChange\m33Rotation\v3Z\y * Angle\z
Angle\z = *mfChange ...
by Nells
Tue Jan 18, 2005 1:35 pm
Forum: Feature Requests and Wishlists
Topic: [Implemented] Array and LinkedList in structures
Replies: 0
Views: 893

[Implemented] Array and LinkedList in structures

I think it would be very useful to be able to create structures with non global arrays or linked lists...

Well, what would be interessant, in my opinion, is to be able to create arrays dynamically... I mean, like variables.
by Nells
Sat Aug 14, 2004 2:53 pm
Forum: Coding Questions
Topic: Unable ti switch from windowed screen to fullscreen
Replies: 4
Views: 1607

Nobody can help me? :cry:

Well, it's not that important, but can be useful ;)
by Nells
Wed Aug 11, 2004 4:21 am
Forum: Coding Questions
Topic: Unable ti switch from windowed screen to fullscreen
Replies: 4
Views: 1607

Unable ti switch from windowed screen to fullscreen

Hi !
I did this code
Procedure switchScreen()
CallDebugger
If screen = 1
CloseScreen()
OpenWindow(0, 0, 0, 800, 600, #PB_Window_SystemMenu | #PB_Window_MinimizeGadget, #AppName)
OpenWindowedScreen(WindowID(), 0, 0, 800, 600, 0, 0, 0)
screen = 0
Else
CloseScreen()
CloseWindow(0)
If ...
by Nells
Mon Aug 09, 2004 9:08 pm
Forum: Announcement
Topic: Milkshape3D ASCII File Loader for PB
Replies: 20
Views: 8123

Thx Danilo, this is the one way I can import models from Milkshape :D :D :wink: