Jump to content

Photo

Visual bB 1.0 - a new IDE for batari Basic

batari basic

619 replies to this topic

#26 batari OFFLINE  

batari

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

  • 6,468 posts
  • begin 644 contest

Posted Sun Apr 6, 2008 1:56 PM

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

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:

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 SpiceWare ONLINE  

SpiceWare

    Quadrunner

  • 8,114 posts
  • Medieval Mayhem
  • Location:Planet Houston

Posted Sun Apr 6, 2008 2:02 PM

here's hoping!

#28 Dan Iacovelli ONLINE  

Dan Iacovelli

    Quadrunner

  • 5,393 posts
  • 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 Impaler_26 OFFLINE  

Impaler_26

    Cookie Meister

  • 2,580 posts
  • Braindead
  • Location:Hueco Mundo

Posted Sun Apr 6, 2008 4:03 PM

This is awesome!!! :thumbsup:

#30 Kamaria OFFLINE  

Kamaria

    Space Invader

  • 12 posts

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 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Mon Apr 7, 2008 9:08 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.


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

-Jeff

#32 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Mon Apr 7, 2008 9:11 AM

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 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,820 posts
  • 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 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Mon Apr 14, 2008 8:25 AM

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 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,820 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Mon Apr 14, 2008 6:10 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.


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 lord_mike OFFLINE  

lord_mike

    Chopper Commander

  • 164 posts

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 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Thu Apr 17, 2008 2:43 AM

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 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

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 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Sat Apr 26, 2008 10:54 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?


Post a screenshot of your settings.

-Jeff

#40 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

Posted Sat Apr 26, 2008 11:19 PM

No problem.

Attached Thumbnails

  • Settings.PNG


#41 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Sat Apr 26, 2008 11:26 PM

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 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

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

  • Compile.PNG
  • Run.PNG


#43 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

Posted Sun Apr 27, 2008 12:10 AM

Oh, and shutting down gets me the error below.

Attached Thumbnails

  • Error.PNG


#44 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,820 posts
  • 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 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

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 SeaGtGruff OFFLINE  

SeaGtGruff

    Quadrunner

  • 5,454 posts
  • 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 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,820 posts
  • 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 jbs30000 OFFLINE  

jbs30000

    Moonsweeper

  • 464 posts

Posted Sun Apr 27, 2008 3:35 AM

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

#49 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,820 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Apr 27, 2008 3:48 AM

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 jwierer OFFLINE  

jwierer

    Dragonstomper

  • Topic Starter
  • 889 posts
  • Location:Seattle,WA

Posted Sun Apr 27, 2008 8:48 AM

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   260 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 = $00El playfield: ...............X ................ ..............XX ................ .............XXX ................ ............XXXX ................ ...........XXXXX ................ ..........XXXXXXend drawscreen playfield: ................ ..............XX ................ .............XXX ................ ............XXXX ................ ...........XXXXX ................ ..........XXXXXX ................end drawscreen goto El






Also tagged with one or more of these keywords: batari basic

1 user(s) are browsing this forum

0 members, 1 guests, 0 anonymous users