Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Psuedo 3D in PlayBasic (mode7 even)

Author
Message
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 2nd Aug 2006 09:11 Edited at: 28th Mar 2011 05:41
Here's a bit of an example of how PB users can build their own 3D engine in PlayBasic.

The example makes a flat matrix (in DB terms) with full your standard mouse look controls to roam around over it. It's a little more hands on (of course) then DB say, since PB is a 2D tool, but it's not rocket science either, since PB includes mesh/rotation/texture mapping and clipping functions built in.

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 2nd Aug 2006 15:51 Edited at: 28th Mar 2011 05:42

Attachments

Login to view attachments
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 2nd Aug 2006 16:14
Looks cool - I was impressed enough with your 2D/3D engine port - but a matrix like that in a 2D language is damn impressive.

Someone use PB to make a Mariokart remake right now!.

Aegrescit medendo
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 2nd Aug 2006 17:42 Edited at: 28th Mar 2011 05:42
Going to have a quick crack at that tonight, well now actually. Just going to roll basic object layer and hey presto.

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 2nd Aug 2006 21:01 Edited at: 28th Mar 2011 05:44
Some Mode 7 styled ground + tree's

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 4th Aug 2006 18:58 Edited at: 28th Mar 2011 05:44
Testing a sub-division idea... this is WIP. The ides is to sub-divide the scene to help hold perspective. ATM, you'll notice the near polygons are drawn as single colour filled, while ones in the distance are textured.

Attachments

Login to view attachments
warship45
20
Years of Service
User Offline
Joined: 24th Jul 2004
Location: uk
Posted: 5th Aug 2006 00:54
wow thats look cool

dbpro plugins
www.0z0.co.uk
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 6th Aug 2006 17:57 Edited at: 28th Mar 2011 05:45
Well, since Blink sent me some very cool ground textures + sprite anims, going to try and quickly slap bit of racing demo together. Dunno how much i'll get done in the allocated time, but what-ever it is that will have to do.

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 6th Aug 2006 20:27 Edited at: 28th Mar 2011 05:45
So far i've set up the basic game scene and have moved onto mapping the racing line

Attachments

Login to view attachments
Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 7th Aug 2006 09:16
Wow!

Just Wow!

Aegrescit medendo
Silvester
19
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 7th Aug 2006 14:00
Wait,that looks freaking awesome for a 2D program!

WHAT DO YOU WANT?
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 9th Aug 2006 21:38 Edited at: 28th Mar 2011 05:46
Added Cars + some basic (follow the racing line stupid) AI...

Attachments

Login to view attachments
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 9th Aug 2006 21:39 Edited at: 28th Mar 2011 05:46

Attachments

Login to view attachments
Silvester
19
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 9th Aug 2006 21:50
This is more of a WIP then an image show off!

But it looks great!

WHAT DO YOU WANT?
Big Man
20
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 9th Aug 2006 22:31
This game is awsome its better than some games made with DBP

BM

Our aim is to keep the loo's clean, your aim can help.
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 11th Aug 2006 22:16 Edited at: 28th Mar 2011 05:49
PlayBASIC Racer Tech Demo

Here's the PB Racer tech demo. Currently you don't actually play the game, you control the scene camera. Which can be a bit odd now, as i've wired some of the scene clipping to the camera orientation. Which during play the camera would only rotates around the Y axis.

The full source code is include, but you'll need the latest PB beta (1.46c) to compile and run it.

Download PB Racing Mode7 Tech Demo

Silvester
19
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 12th Aug 2006 18:50
Its cool,but even when i look at them in a bend from an agle i should have seen the front,im seeing theyr back

e-Drome Productions website,we renewed one with 1GB of webspace and Paypal!w00t!

e-Drome website
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 12th Aug 2006 19:13 Edited at: 28th Mar 2011 05:50
yes, because the sprites only have one side

Silvester
19
Years of Service
User Offline
Joined: 7th Dec 2005
Location: Netherlands
Posted: 12th Aug 2006 19:27
ow

didnt knew that

e-Drome Productions website,we renewed one with 1GB of webspace and Paypal!w00t!

e-Drome website
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 13th Aug 2006 22:33 Edited at: 28th Mar 2011 05:51
PlayBasic V1.47 has now been released, which means PB retail users can tinker with 3D styled effects in their own programs..

What's in PlayBAsic V1.47 ?

indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 14th Aug 2006 05:06
very impressive work Kevin.

Login to post a reply

Server time is: 2025-05-15 12:42:15
Your offset time is: 2025-05-15 12:42:15