Jump to content

Visual bB 1.0 - a new IDE for batari Basic


531 replies to this topic

#26  

    )66]U('=I;B$*

  • 6,193 posts
  • Joined: 20-September 04
  • begin 644 contest

Posted Sun Apr 6, 2008 1:56 PM

View PostSpiceWare, on Sun Apr 6, 2008 1:50 PM, said:

View Postjwierer, on Sat Apr 5, 2008 7:19 PM, said:

Prerequsites
- If you are not running Vista then you'll need to make sure the .NET Framework 3.0 isinstalled

View Postbatari, on Sat Apr 5, 2008 9:06 PM, said:

That said, do you have any plans to release the source (privately would be OK) as I wonder if it will build under Mono?
That would be slick, but, in reading that wiki link I see an issue:

Quote

Implementation of .NET Framework 3.0 is under development under an experimental Mono subproject called Olive, but the availability of a Mono framework supporting .NET 3.0 is still not planned yet.
I saw that too, but I was hoping this would build under the 2.0 framework. Or if it's replying on just one or two APIs from 3.0, maybe with a little work, it could be rewritten to build under 2.0.

#27  

    Quadrunner

  • 5,752 posts
  • Joined: 19-February 03
  • Medieval Mayhem
  • Location:Planet Houston

Posted Sun Apr 6, 2008 2:02 PM

here's hoping!

#28  

    River Patroller

  • 4,272 posts
  • Joined: 12-March 02
  • Location:westchester,IL

Posted Sun Apr 6, 2008 3:34 PM

this will really progress Laserman a lot faster.
I'm going to try it out later on.

#29  

    Cookie Meister

  • 2,131 posts
  • Joined: 30-April 07
  • Braindead
  • Location:Hueco Mundo

Posted Sun Apr 6, 2008 4:03 PM

This is awesome!!! :thumbsup:

#30  

    Space Invader

  • 12 posts
  • Joined: 08-June 07

Posted Mon Apr 7, 2008 7:44 AM

I wish I could say it was awesome...

'Could not locate vbdwizcode.bas.bin and could not recompile. Please check to make sure it was compiled correctly.'

WTF?

And yes, I did try to compile...but it seems to blissfully ignore me clicking compile.

Edited by Kamaria, Mon Apr 7, 2008 7:51 AM.


#31  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Mon Apr 7, 2008 9:08 AM

View PostKamaria, on Mon Apr 7, 2008 8:44 AM, said:

I wish I could say it was awesome...

'Could not locate vbdwizcode.bas.bin and could not recompile. Please check to make sure it was compiled correctly.'

WTF?

And yes, I did try to compile...but it seems to blissfully ignore me clicking compile.

Hmmm... wrong location for your batariBasic compiler? If bB isn't installed configured correctly, that's a likely response.

-Jeff

#32  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Mon Apr 7, 2008 9:11 AM

View PostMausGames, on Sun Apr 6, 2008 2:24 AM, said:

What are your favorite games created with bB so far? What would you most like to see developed using this IDE? Any suggestions on how the language could be improved? I wish there was an official spiral bound bB manual. I don't have a printer and I'm sick of reading it on my screen. It looks like this will really help shorten the "staring at the same s^&*" aspects of using this language for me. I hope you will be able to release an update for use with 1.1 as well.
Well I am actually a big fan of your work and I would like to see a successful side scroller released at some point. The thing that I find limiting about bB is really the playfields. I wish I could make more granular playfields and I wish there was an easier way to detect the direction of playfield collisions. Seems like a lot of logic has to written for graceful collision detection. Most everything else I can live with.

-Jeff

#33 ONLINE  

    Visual batari Basic User

  • 20,539 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Apr 13, 2008 8:34 PM

The next time I feel like doing something besides what I'm supposed to be doing, would an unofficial VbB page on my web site be helpful? Although I'm not that good at it, I could do my best to write instructions and list some of the cool features that may not be obvious to a new user. I could also make a couple of YouTube videos showing some of the cool things you can do.

#34  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Mon Apr 14, 2008 8:25 AM

View PostRandom Terrain, on Sun Apr 13, 2008 10:34 PM, said:

The next time I feel like doing something besides what I'm supposed to be doing, would an unofficial VbB page on my web site be helpful? Although I'm not that good at it, I could do my best to write instructions and list some of the cool features that may not be obvious to a new user. I could also make a couple of YouTube videos showing some of the cool things you can do.

Yes please do. I'm terrible with documentation and there are a lot of hidden features that are not intuitively obvious.

-Jeff

#35 ONLINE  

    Visual batari Basic User

  • 20,539 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Mon Apr 14, 2008 6:10 PM

View Postjwierer, on Mon Apr 14, 2008 10:25 AM, said:

View PostRandom Terrain, on Sun Apr 13, 2008 10:34 PM, said:

The next time I feel like doing something besides what I'm supposed to be doing, would an unofficial VbB page on my web site be helpful? Although I'm not that good at it, I could do my best to write instructions and list some of the cool features that may not be obvious to a new user. I could also make a couple of YouTube videos showing some of the cool things you can do.

Yes please do. I'm terrible with documentation and there are a lot of hidden features that are not intuitively obvious.
OK, whenever I feel like procrastinating, I work on the new page. I might have to send you a few PMs for clarification.

#36  

    Chopper Commander

  • 161 posts
  • Joined: 21-April 06

Posted Wed Apr 16, 2008 7:11 PM

Beware! the .NET framework totally broke a bunch of apps on my computer, most noticeably activesync to my Phone.PDA and bluetooth... it also made my machine run even more like a dog than normal...

Although this app is very cool, it's obvious that it is too much for my machine.... Older computer users beware!!!!

#37  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Thu Apr 17, 2008 2:43 AM

View Postlord_mike, on Wed Apr 16, 2008 9:11 PM, said:

Beware! the .NET framework totally broke a bunch of apps on my computer, most noticeably activesync to my Phone.PDA and bluetooth... it also made my machine run even more like a dog than normal...

Although this app is very cool, it's obvious that it is too much for my machine.... Older computer users beware!!!!

That sounds more like a coincidence. My understanding is that .NET frameworks don't override. If an application was written for 1.0, 1.1, 2.0, etc... they continue to use those binaries. Regarding: ActiveSync. That frigging applicatin stops working for me unexpectedly all the time regardless if I make changes or not :) I just sync over the wire now - always works.

-Jeff

#38  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sat Apr 26, 2008 7:32 PM

OK, something's not right. I started a new project. I had it include the default sprite and default playfield. I made a couple of playfields and put the code into default.bas. With the default.bas screen showing I go to the Build menu and click Compile. Nothing happens. Right clicking default.bas in the Project Explorer window doesn't do anything either. The path to 2600basic.exe is in the bB Compiler part of Settings. What do I need to do?

#39  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Sat Apr 26, 2008 10:54 PM

View Postjbs30000, on Sat Apr 26, 2008 9:32 PM, said:

OK, something's not right. I started a new project. I had it include the default sprite and default playfield. I made a couple of playfields and put the code into default.bas. With the default.bas screen showing I go to the Build menu and click Compile. Nothing happens. Right clicking default.bas in the Project Explorer window doesn't do anything either. The path to 2600basic.exe is in the bB Compiler part of Settings. What do I need to do?

Post a screenshot of your settings.

-Jeff

#40  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sat Apr 26, 2008 11:19 PM

No problem.

Attached Thumbnails

  • Attached Image: Settings.PNG


#41  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Sat Apr 26, 2008 11:26 PM

View Postjbs30000, on Sun Apr 27, 2008 1:19 AM, said:

No problem.

Configuration looks fine, assuming the paths are correct. No errors or messages after compiling? I can't tell because you have it minimized across the bottom. You can post your .bas file and I can see if it compiles on mine.

-Jeff

#42  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sun Apr 27, 2008 12:06 AM

It's not really a program. I just wrote some code to test out this new IDE. Sorry about the bottom, I wasn't thinking. Here's what it looks like when I compile, and then, when I try to run it.

Attached Thumbnails

  • Attached Image: Compile.PNG
  • Attached Image: Run.PNG


#43  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sun Apr 27, 2008 12:10 AM

Oh, and shutting down gets me the error below.

Attached Thumbnails

  • Attached Image: Error.PNG


#44 ONLINE  

    Visual batari Basic User

  • 20,539 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Apr 27, 2008 2:25 AM

I see one problem already. Although I can't see all of the code, I can see that set kernel multisprite isn't indented.

#45  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sun Apr 27, 2008 3:06 AM

Good catch. I fixed that, but still got the same errors. Anyway, since everybody wants to see the code, here it is:
rem batari Basic Program
rem Created 4/26/2008 4:09:39 PM by Visual bB Version 1.0.0.526
set kernel multisprite
El
playfield:
...............XX...............
................................
..............XXXX..............
................................
.............XXXXXX.............
................................
............XXXXXXXX............
................................
...........XXXXXXXXXX...........
................................
..........XXXXXXXXXXXX..........
end
drawscreen
playfield:
................................
..............XXXX..............
................................
.............XXXXXX.............
................................
............XXXXXXXX............
................................
...........XXXXXXXXXX...........
................................
..........XXXXXXXXXXXX..........
................................
end
drawscreen
goto El
ETA - The code in the IDE is indented, even though it doesn't show in this post.

Edited by jbs30000, Sun Apr 27, 2008 3:09 AM.


#46  

    River Patroller

  • 4,411 posts
  • Joined: 07-August 05
  • Location:Georgia, USA

Posted Sun Apr 27, 2008 3:18 AM

I haven't read the whole thread yet, but one thing I notice is that you have several spaces in your directory path. Do you have the compile option and run (emulator) option set up to handle that sort of directory path correctly (i.e., by enclosing things in quotes where appropriate)?

Michael

#47 ONLINE  

    Visual batari Basic User

  • 20,539 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Apr 27, 2008 3:27 AM

In your settings, you don't have Add bB Environment Variable or Add bB Compiler to System Path checked. Those might need to be checked for VbB to work properly.

Edited by Random Terrain, Sun Apr 27, 2008 3:27 AM.


#48  

    Moonsweeper

  • 459 posts
  • Joined: 25-February 07

Posted Sun Apr 27, 2008 3:35 AM

Nope, still no go. Oh well, no problem, Crimson Editor works just fine.

#49 ONLINE  

    Visual batari Basic User

  • 20,539 posts
  • Joined: 23-April 01
  • Controlled Randomness

    Replay Value

    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Apr 27, 2008 3:48 AM

View Postjbs30000, on Sun Apr 27, 2008 5:35 AM, said:

Nope, still no go. Oh well, no problem, Crimson Editor works just fine.
Have you tried closing VbB and restarting it? The only problem I've had that is similar to this is when I screw up the code of a program with some silly mistake and the bin file can't be found because it didn't compile. If you try it with a .bas file that is error-free that you know is working properly and you still get the error, I don't know what to tell you. If all paths are correct, your program has no errors, and you have that .NET Framework 3.0 stuff on your computer, it should be working.

#50  

    Dragonstomper

  • 729 posts
  • Joined: 16-September 04
  • Location:Seattle,WA

Posted Sun Apr 27, 2008 8:48 AM

View Postjbs30000, on Sun Apr 27, 2008 4:35 AM, said:

Nope, still no go. Oh well, no problem, Crimson Editor works just fine.
As far as I can tell it's just a problem with your code. Technically it will compile, but it's not going to show anything for a multisprite kernel. This is what I think you want to accomplish.

Attached File  test.bas   690bytes   149 downloads
BTW if compilation succeeds it will tell you in the message area on the bottom. From your screenshot I can only see it's started. BTW no need to put quotes around path, I handle that internally. Also since you know Qbert compiles you can create new project and copy the code into a .bas file. If you right click on the .bas file from the explorer you can generate items and it will create all the sprites and playfields that are in the code so you don't have to recreate them from scratch.

 rem batari Basic Program
 rem Created 4/26/2008 4:09:39 PM by Visual bB Version 1.0.0.526
 set kernel multisprite
 const screenheight=12
 pfheight = 7

 COLUBK = $0F :  COLUPF = $00

El
 playfield:
 ...............X
 ................
 ..............XX
 ................
 .............XXX
 ................
 ............XXXX
 ................
 ...........XXXXX
 ................
 ..........XXXXXX
end

 drawscreen
 playfield:
 ................
 ..............XX
 ................
 .............XXX
 ................
 ............XXXX
 ................
 ...........XXXXX
 ................
 ..........XXXXXX
 ................
end

 drawscreen
 goto El






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users