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! / Tracy's Platform Blaster Prototype (src)

Author
Message
Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 7th Jun 2007 20:25 Edited at: 28th Mar 2011 04:32
This is the source code of an shoot-em up / platform game/demo written in PlayBasic V1.33 way back in 2004. While graphically it's a mishmash of thrown together artwork, and various effects. For a first game, it plays rather well, and includes a something like 12 different test weapons for the player. Since Tracy is a med student and no longer has time to work on the project, he's kindly donated it to us to share with other PlayBasic users.


Have fun !


Download Source

Tracy Blaster Proto Type (Source code + media)



Note: As of 2010 visit www.PlayBasic.com for updates.


Pic attached bellow

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 7th Jun 2007 20:26 Edited at: 22nd Aug 2010 23:43
zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 7th Jun 2007 21:53
looks great KP... I really need to get PlayBasic soon!

Shadow heart
18
Years of Service
User Offline
Joined: 2nd Dec 2006
Location: US
Posted: 7th Jun 2007 22:10
looks coool!!!

to the ones thats trapped inside of you, this is it!!
Hummanoid Typhoon
20
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 8th Jun 2007 01:06
is play basic worth getting?

My meaning is can DB pro not do all the same stuff at the same speed??

I'm extra curious because i'm about to embark on a rather large 2D project so want to use the best engine. I have bias as i am considering using some 3D and shaders but only cuz DBpro can do it and they look cool

zenassem
22
Years of Service
User Offline
Joined: 10th Mar 2003
Location: Long Island, NY
Posted: 8th Jun 2007 01:29
@Hummanoid Typhoon,

Kevin Picone would be the best person to answer your question, although there are some others who can fill you in as well. From what I understand PlayBasics larger set, and faster handling of 2D commands is it's strong suit. More control over sprites, and pixel perfect collision. Faster 2D routines, which in DBpro are just slow.

I believe you can do most of the same in DBPro, but be prepared to use some plugins, more coding, and perhaps your own extensions to get equal results (like pixel perfect collision, and fast drawing commands, ink etc..)

Hummanoid Typhoon
20
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 8th Jun 2007 01:39
ahh when i get time i'll download the demo and compare speed to dbpro. My current basic frame is already needing render speed hacks in the main loop. Just because my sprites are so large and have many animations.

This is off topic totally but do you know if it's faster to make an animated sprite or load the images in and animate manually??

Kevin Picone
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 8th Jun 2007 17:30 Edited at: 28th Mar 2011 04:33
Hummanoid Typhoon,


Quote: "My meaning is can DB pro not do all the same stuff at the same speed?? "


They work with different interfaces, therefore each is more suited to different things. So without a context, it's difficult to give an accurate assessment of either. PB (versions bellow 1.64) use the Direct Draw interface (DriectX3) (hardware blitter + software blitting) While Dbpro uses a combination of DX9 (direct3D) sprite wrapper and software blitter methods for 2D rendering.

Quote: "I'm extra curious because i'm about to embark on a rather large 2D project so want to use the best engine. I have bias as i am considering using some 3D and shaders but only cuz DBpro can do it and they look cool"


That's a rather vague description. But If your objective is to combined 3D elements with 2D elements, then it's often simpler (from programmers perspective) to just use 3D in the first place, with a fixed (over head) camera.

PB 1.70 has some new modes and feature than can accomplish this and more, but rather than re-reiterate take a look at the FAQ or the WIP thread


Note: As of 2010 visit www.PlayBasic.com for updates.

Hummanoid Typhoon
20
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 8th Jun 2007 19:14
Thanks Kevin. I didn't give much information but my game is a 2D fighter the sprites are very large and as you can imagine there are a few hundred animation frames per character each so they eat alot of memory. I am quite far on in the main game design so probably won't switch now.

Saying that I have been considering playbasic for another project because as i understand it dosen't require DX9 hardware to run the compiled programs?

Thanks for the source also it will give me something to play with when I download the demo

Login to post a reply

Server time is: 2025-08-09 02:15:57
Your offset time is: 2025-08-09 02:15:57