
Sprite3D engine with FX [cross-platform]
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Sprite3D engine with FX [cross-platform]
This is very well done! 

-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Sprite3D engine with FX [cross-platform]
This is greateddy wrote:Todo:
- text sprites
- text FXs
- bitmap font generator

Regards,
JamiroKwai
JamiroKwai
Re: Sprite3D engine with FX [cross-platform]
Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.
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]

-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Sprite3D engine with FX [cross-platform]
I had to change OpenWindowedScreen(contain, 0, 0, 512, 512, 0, 0, 0) to OpenWindowedScreen(WindowID(0), 0, 0, 512, 512, 0, 0, 0).eddy wrote:Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.
The slightly changed code displays:

Regards,
JamiroKwai
JamiroKwai
-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Sprite3D engine with FX [cross-platform]
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!
Regards,
JamiroKwai
JamiroKwai
-
- Enthusiast
- Posts: 796
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
Re: Sprite3D engine with FX [cross-platform]
I found a typo in line 1767. Is Procedure RandomSpriteAgnle(Sprite, angle1.f=0, angle2.f=360), should possibly be RandomSpriteAngle.
A little
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.
A little

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.
Regards,
JamiroKwai
JamiroKwai
Re: Sprite3D engine with FX [cross-platform]
Hmm...jamirokwai wrote:I had to change OpenWindowedScreen(contain, 0, 0, 512, 512, 0, 0, 0) to OpenWindowedScreen(WindowID(0), 0, 0, 512, 512, 0, 0, 0).eddy wrote:Could you test this on Mac OSX / Linux ?
I want to know if containerGadget can contain a WindowedScreen.
The slightly changed code displays:

I'll try to use an MDI window. I hope a MDI child window can contain a windowed screen.

- Fluid Byte
- Addict
- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
Re: Sprite3D engine with FX [cross-platform]
This is insane! Thanks eddy! 

Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
Re: Sprite3D engine with FX [cross-platform]
This is an amazing work, eddy!
Thanks a lot for sharing.
Thanks a lot for sharing.
Proud registered Purebasic user.
Because programming should be fun.
Because programming should be fun.
Re: Sprite3D engine with FX [cross-platform]
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.
you must replace the previous engine3d.DLL (or engine3d.so) file in your project directory.
If not, you can't test any examples.

- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Sprite3D engine with FX [cross-platform]
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
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]
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.
You don't need to specify the subsystem in the compiler options.

Re: Sprite3D engine with FX [cross-platform]
Hi Eddy,
The link
download : http://www.datafilehost.com/download-a1f2edf8.html
don't work anymore.
Where can I find the file or link ?
Thanks,
Marc
The link

don't work anymore.
Where can I find the file or link ?
Thanks,
Marc
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Re: Sprite3D engine with FX [cross-platform]
I too have been waiting for news of this update!!! eddy dontcha luv us no more??? 
