"This Is Art!" - A PureBasic Demo in 60kb
Very entertaining. Good music - you're pretty talented with that synth!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
-
- Addict
- Posts: 2344
- Joined: Mon Jun 02, 2003 9:16 am
- Location: Germany
- Contact:
orange-blue wrote:don't you wan't to publich source code?
Sorry, I just can't break the tradition hereRalf wrote:will you release and share the source

If you happen to have any specific questions I'd of course be happy
to help you as much as I can.
Good programmers don't comment their code. It was hard to write, should be hard to read.
Please do it if it's easyDarkDragon wrote:NoPolo wrote:And set up OpenGL in linux is a nightmare![]()
OpenGL in Linux is often easier than in Windows. SDL is a shorter way to initialize OpenGL.


Because i've tried for DAYS to do that, and still not managed to do it, i've given it up since a few weeks

-
- Enthusiast
- Posts: 362
- Joined: Wed Aug 06, 2003 2:49 pm
- Location: Venice - Italy, Japan when possible.
- Contact:
I whish to know if you have coded DirectX "directly" (as you could do in C++ and in many other languages) or if you have used some built-in comands, such as the Sprite3D lib...traumatic wrote:If you happen to have any specific questions I'd of course be happy to help you as much as I can.
Anyway, don't matter your reply, your demo is still amazing

Except for 'Memory', 'Library' and 'Window' no PB libraries have been used.Blade wrote:I whish to know if you have coded DirectX "directly" (as you could do in C++ and in many other languages) or if you have used some built-in comands, such as the Sprite3D lib...
(Right, I could have done without them as well, that saved another 1-2kb
compressed

So yes, it's all 'direct' Direct3D programming. Doing this in PB is almost the
same as in C (NOTE: not C++).
It's really not that hard at all:
Call "Direct3DCreate8" or "Direct3DCreate9" respectively from d3d8/9.dll,
setup a screen (GetAdapterDisplayMode) and finally call "CreateDevice".
That will return you a pointer to IDirect3DDevice*. Done.
Now you can go on like you would do in C or any other language.
All the interfaces you need have already been declared for you.
Everything else you need to know is inside the DX-SDK

Thanks again for all your nice comments!
Take care of yourself!

Good programmers don't comment their code. It was hard to write, should be hard to read.
-
- Enthusiast
- Posts: 372
- Joined: Sun Apr 03, 2005 2:14 am
- Location: England
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact: