PB5.x bowling demo

Everything related to 3D programming
G-Rom
User
User
Posts: 45
Joined: Sat Mar 19, 2011 3:49 pm
Contact:

PB5.x bowling demo

Post by G-Rom »

This is a simple bowling demo

move with arrow key
look around with the mouse
press & lock first button of mouse for aim and ajust force and ball effect
release mouse button for launch ball

==> Bowling démo

Image

Be advised :
for shadow volume , Prefer to use a lot of small entity for your scene , because ogre3d store vertices index for shadow volume inside a word , your mesh is limited by 65535 vertices.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PB5.x bowling demo

Post by Polo »

Works on Mac (though I haven't been able to shoot any ball when releasing the mouse button).
Good job!
G-Rom
User
User
Posts: 45
Joined: Sat Mar 19, 2011 3:49 pm
Contact:

Re: PB5.x bowling demo

Post by G-Rom »

Possible bug with mousebutton() on mac ?
User avatar
STARGÅTE
Addict
Addict
Posts: 2067
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: PB5.x bowling demo

Post by STARGÅTE »

nice demo :D
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: PB5.x bowling demo

Post by Polo »

G-Rom wrote:Possible bug with mousebutton() on mac ?
Probably:

Code: Select all

       Debug MouseButton(#PB_MouseButton_Left)
       Debug MouseButton(1)
Always return 0.
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: PB5.x bowling demo

Post by jesperbrannmark »

Super nice. I will start doing 3D stuff definitely.
BUT, I tried to compile (mac os) and I cant run the binary. (i tried putting a messagerequester at start and it shows that, but doesnt show the window that lets you select fullscreen/windowed etc)
Post Reply