Page 4 of 4

Re: Sprite3D engine with FX [cross-platform]

Posted: Wed Oct 14, 2009 10:27 pm
by Rook Zimbabwe
This is very well done! :mrgreen:

Re: Sprite3D engine with FX [cross-platform]

Posted: Tue Oct 27, 2009 3:33 pm
by jamirokwai
eddy wrote:Todo:
- text sprites
- text FXs
- bitmap font generator
This is great :)

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 12:53 am
by eddy
Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.

Code: Select all

InitKeyboard()
InitSprite()

#w=300
#h=300
OpenWindow(0, 0, 0, #w, #h, "Screen")

contain=ContainerGadget(1, 5, 5, 200, 200, #PB_Container_Double)
OpenWindowedScreen(contain, 0, 0, 512, 512, 0, 0, 0)

Repeat
   StartDrawing(ScreenOutput())
      Box(5, 5, 32, 32, RGB(255, 0, 0))
   StopDrawing()
   FlipBuffers()
   ClearScreen(RGB(0, 0, 0))
   ExamineKeyboard()
Until KeyboardPushed(#PB_Key_Escape) Or WaitWindowEvent(0)=#PB_Event_CloseWindow

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 2:06 am
by eddy
Image

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 8:45 am
by jamirokwai
eddy wrote:Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.
I had to change OpenWindowedScreen(contain, 0, 0, 512, 512, 0, 0, 0) to OpenWindowedScreen(WindowID(0), 0, 0, 512, 512, 0, 0, 0).
The slightly changed code displays:

Image

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 9:21 am
by jamirokwai
eddy wrote:Image
Wow. The font-editor looks promising. Me thinks, the biggest advantage of using TTF-Fonts for this is, that you already own a license for the system-fonts on Mac OS or Windows. And there also are lots of free TTF-Fonts out there...

Maybe you should set up some donation-site when you reach v1.0?
I would donate maybe 10 or so Euros for a commercial grade engine if this engine works as I assume at the moment :)
Probably I will be using the Sprite3D engine for a bigger commercial project soon!

Thanks again!

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 11:30 am
by jamirokwai
I found a typo in line 1767. Is Procedure RandomSpriteAgnle(Sprite, angle1.f=0, angle2.f=360), should possibly be RandomSpriteAngle.

A little :wink: feature request...
Could you add collision detection? Would be very useful to detect if the mousecursor is actually touching another sprite.
Or for some kind of minimal physics-simulation, like in Billards, where you don't want to use the full physics package of Ogre.

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 12:16 pm
by eddy
jamirokwai wrote:
eddy wrote:Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.
I had to change OpenWindowedScreen(contain, 0, 0, 512, 512, 0, 0, 0) to OpenWindowedScreen(WindowID(0), 0, 0, 512, 512, 0, 0, 0).
The slightly changed code displays:
Hmm... :|
I'll try to use an MDI window. I hope a MDI child window can contain a windowed screen.

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Oct 29, 2009 3:09 pm
by Fluid Byte
This is insane! Thanks eddy! 8)

Re: Sprite3D engine with FX [cross-platform]

Posted: Fri Oct 30, 2009 3:59 am
by byo
This is an amazing work, eddy!
Thanks a lot for sharing.

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Nov 05, 2009 2:13 am
by eddy
PB 4.40b6
you must replace the previous engine3d.DLL (or engine3d.so) file in your project directory.
If not, you can't test any examples.

Re: Sprite3D engine with FX [cross-platform]

Posted: Sat Jan 09, 2010 8:35 pm
by Rook Zimbabwe
Yep in 4.4 I get a compiler error that DirectX is not installed. I have DX9.0 installed aaccording to DXDIAG...

And the engine is in the same folder as the PB COde it is running from. And it is the PB4.4 dl from the fist page in the thread!

I am however using XP Pro SP3

Re: Sprite3D engine with FX [cross-platform]

Posted: Thu Feb 04, 2010 1:11 am
by eddy
PB 3D engine has been updated, DirectX 9 is now the default PB subsystem.

You don't need to specify the subsystem in the compiler options.

Re: Sprite3D engine with FX [cross-platform]

Posted: Sun Feb 20, 2011 10:15 pm
by marc_1024
Hi Eddy,

The link :arrow: download : http://www.datafilehost.com/download-a1f2edf8.html
don't work anymore.

Where can I find the file or link ?

Thanks,
Marc

Re: Sprite3D engine with FX [cross-platform]

Posted: Mon Feb 21, 2011 12:26 am
by Rook Zimbabwe
I too have been waiting for news of this update!!! eddy dontcha luv us no more??? :mrgreen: