AllBASIC

BASIC Developer & Support Resources => Compilers => Topic started by: piradyne on February 14, 2014, 05:10:48 PM

Title: PiraBASIC - Make.Games
Post by: piradyne on February 14, 2014, 05:10:48 PM
(http://piradyne.com/images/pirabasic.png)

Download: Direct Link (http://piradyne.com/temp/pirabasic-v1.r1.alpha-20140129.zip)
Version: 1.1.alpha

OVERVIEW
PiraBASIC™ Game Development System is a modern, modular, object oriented game programming language based on a modern version of BASIC®, a light-weight IDE (integrated development environment)  and an advanced 2D game engine for Windows® PC. The engine uses Direct3D® for hardware accelerated rendering. It's robust, designed for easy use and suitable for making all types of 2D games and other graphic simulations. There is support for surfaces, textures, sprites, audio, streams, archives, configuration files, render targets, swap chains, databases and much more.

LANGUAGE FEATURES

IDE FEATURES

GAME ENGINE FEATURES

My name is Jarrod Davis, I'm the proprietor of Piradyne Games. A small indie developer and publisher of games and game development solutions.
Title: Re: PiraBASIC - Make.Games
Post by: piradyne on February 14, 2014, 05:11:12 PM
A small Asteroids Demo (http://piradyne.com/temp/pbabdemo.zip) made with PiraBASIC, fully implemented in OOP style showing some advanced features of PiraBASIC and the integrated game engine:


 
(http://piradyne.com/temp/pbabdemo.png)
Title: Re: PiraBASIC - Make.Games
Post by: piradyne on February 14, 2014, 05:11:54 PM
Here is a peek at the IDE I'm working on. I was able to make good progress and it should be in the next release.

(http://piradyne.com/temp/pbds-1.2.alpha.png)
Title: Re: PiraBASIC - Make.Games
Post by: John on February 14, 2014, 05:26:11 PM
Welcome Jarrod!

I tried your asteroid demo under Wine and it worked fine. (sound worked as well)

 
Title: Re: PiraBASIC - Make.Games
Post by: piradyne on February 14, 2014, 05:50:40 PM
Hi, thanks. Oh that is good to know it works under Wine. Thanks for testing there.
Title: Re: PiraBASIC - Make.Games
Post by: wangrenxin on December 14, 2015, 12:18:16 AM
Hi Jarrod,

Exciting to read your post, but unfortunately I'm not able to access anything of your website from China, neither download links, images nor inputing http://piradyne.com/ manually.

I'm just curious, is PiraBASIC a freeware or commercial? Is the compiler a totally new or based on an existing?

I'm considering to do almost the samething to MY-BASIC for Windows. I'm going to add some libs such as Thread, DB, Encryption, File, Audio, HTTP, Network, Text, Zip, and the most important pert: Game Engine (including physics, scene management, resource management, rendering system, component based entity system etc.); further more, I'd like to add some high level abstraction of game algorithms and AI behaviours to make it as quick as possible to build from prototype to a done game of some specific categories.

I know it's a big task, especially for indie developer. It's very good to see I'm not alone on the way. Best wishes!
Title: Re: PiraBASIC - Make.Games
Post by: Cybermonkey342 on December 14, 2015, 08:31:00 AM
I think the site isn't available anymore ... (http://downforeveryoneorjustme.com/http://piradyne.com/)
Title: Re: PiraBASIC - Make.Games
Post by: John on December 14, 2015, 02:42:55 PM
You can add another one to the list.

http://downforeveryoneorjustme.com/http://forum.basicprogramming.org

Title: Re: PiraBASIC - Make.Games
Post by: wangrenxin on December 15, 2015, 06:02:11 PM
So that's not just me. I'd like to know how is PiraBASIC going. Am I alone again now :(
Title: Re: PiraBASIC - Make.Games
Post by: John on December 15, 2015, 06:13:20 PM
Quote
Am I alone again now.

Why aren't you working with Cybermonkey342 and his implementation of your BASIC?
Title: Re: PiraBASIC - Make.Games
Post by: wangrenxin on December 15, 2015, 07:32:19 PM
I think it's different practice. Cybermonkey342's implementation uses BASIC as the main language including main loop, I guess. I'll use BASIC as a DSL which drives the native engine. For the moment I'm developing prototype-based OOP to MB, maybe I'll write a detail plan description after that to see whether I'm on an interesting way.
Title: Re: PiraBASIC - Make.Games
Post by: Cybermonkey342 on December 16, 2015, 11:27:01 AM
Yes, I want it more retro like. No OOP is required. Although user defined types would be nice to have in MY-BASIC.
OTOH I am actually rather lucky with the Pulsar2D library for FreeBASIC which gives me an easy to use 2D game programming framework (rather retro like).
Here's an example:
Code: [Select]
' shows how to load an image and turn that into a sprite

#include once "pulsar2d.bi"

using p2d

TYPE player
x as integer
y as integer
image as p2d.sprite
END TYPE

dim win as p2d.window
dim image as p2d.image
dim grass as p2d.sprite
dim key as integer
dim knight as player

win = openwindow ("Simple Sprite Example",-1,-1,800,600)
setactivewindow (win)
setframetimer (100)

image = loadimage ("media/sprite.bmp")
knight.image = createsprite (image)
freeimage (image)

image = loadimage ("media/grass.bmp")
grass = createsprite (image)
freeimage (image)

knight.x=windowwidth()/2
knight.y=windowheight()/2
textsize (2)

do
key=p2d.getkey()
clearwindow()

if keystate (SDL_SCANCODE_RIGHT) then
knight.x=knight.x+1
end if
if keystate (SDL_SCANCODE_LEFT) then
knight.x=knight.x-1
end if
if keystate (SDL_SCANCODE_UP) then
knight.y=knight.y-1
end if
if keystate (SDL_SCANCODE_DOWN) then
knight.y=knight.y+1
end if

for i as integer = 0 to windowwidth() step spritewidth (grass)
for j as integer = 0 to windowheight() step spriteheight (grass)
drawsprite (grass,i,j,1,1,0,false,false)
next
next

drawsprite (knight.image,knight.x,knight.y,1,1,0,false,false)

color (255,255,255,255)
drawtext ("Cursor keys to move knight, ESC to quit",0,0)

sync()
loop until key = SDL_SCANCODE_ESCAPE
freesprite (knight.image)
freesprite (grass)
closewindow (win)
closeapplication()
Title: Re: PiraBASIC - Make.Games
Post by: John on December 16, 2015, 06:06:52 PM
Why use FreeBASIC at all? Doesn't standard C libraries and gcc do what you need?
Title: Re: PiraBASIC - Make.Games
Post by: Cybermonkey342 on December 17, 2015, 11:05:36 AM
Why use FreeBASIC at all? Doesn't standard C libraries and gcc do what you need?
Yes that's right, although I still would need to port Pulsar2D to C.
Title: Re: PiraBASIC - Make.Games
Post by: John on December 17, 2015, 11:08:31 AM
Maybe you could use FreeBASIC just for your Pulsar2D library and use gcc for everything else.
Title: Re: PiraBASIC - Make.Games
Post by: John on December 17, 2015, 04:56:51 PM
Too bad. www.basicprogramming.org has been deleted.

http://today.domains/deleted-org-2015-12-16-p1.php

@Cybermonkey342 - Were you able to do a backup from the admin panel of the site before it went down for the last time?

If you're into retro BASIC / Games, @Cybermonkey342's  forum is an establish well maintained forum that doesn't get enough use. IMHO

http://retrogamecoding.org/board/index.php

There is the Programmer's Haven run by Garrett that has a bunch of BASIC folks you probably know.

http://codecraft.proboards.com/

Aurel is administrating a free forum if you want to check it out.

http://basicprograming.free-forum.net/index.php

Note: Free-Forum's web site looks like a WordPress template they still haven't filled out. There is no incentives for this company to host forums with unlimited storage for FREE. (see attached for web site page) Fly trap? (sell your e-mail address, hope you used a password you use for other sites, gain personal info you post, ...)


Title: Re: PiraBASIC - Make.Games
Post by: Cybermonkey342 on December 19, 2015, 01:36:20 AM

@Cybermonkey342 - Were you able to do a backup from the admin panel of the site before it went down for the last time?

Unfortunately I was not able to do a backup ...  :(
I'll try to contact Tom, but I think it will be a useless undertaking ...  >:(
Title: Re: PiraBASIC - Make.Games
Post by: John on December 19, 2015, 09:17:51 AM
I agree, folks don't need more of the same. Just let it go. There were only a hand full of posters anyways.  ::)

Title: Re: PiraBASIC - Make.Games
Post by: Cybermonkey342 on December 20, 2015, 02:33:34 AM
I added some of the old board of basicprogramming.org to my forum. Anyone is kindly invited to visit and register at the forum... (this should be no competition to the allbasic forum!).
The forum is now also accessable via: http://basicprogramming.pulsar2d.org
Title: Re: PiraBASIC - Make.Games
Post by: John on December 20, 2015, 10:20:38 AM
I hope the game and retro group takes your invitation seriously. You do a great job facilitating a forum. All BASIC is for developers that wish to work together on mutual projects that benefit everyone. I wouldn't recommend this forum for hobbyist or BASIC users in general.

Title: Re: PiraBASIC - Make.Games
Post by: wangrenxin on December 20, 2015, 06:21:36 PM
Too sudden. There's even no time to invite folks from BP to AB and Cybermonkey342's forum.
Title: Re: PiraBASIC - Make.Games
Post by: John on December 20, 2015, 06:39:50 PM
I wouldn't worry about a few BASIC hobbyists that liked to chat more than code losing their social circle.