Jump to content

Photo

Visual bB 1.0 - a new IDE for batari Basic

batari basic

717 replies to this topic

#701 Coolcrab OFFLINE  

Coolcrab

    Moonsweeper

  • 419 posts
  • Location:Stockholm

Posted Sun Dec 10, 2017 11:51 AM

You are a hero! Thanks. :)

This totally beats editing in notepad and pasting it into VbB.


Edited by Coolcrab, Sun Dec 10, 2017 11:51 AM.


#702 pedgarcia OFFLINE  

pedgarcia

    Space Invader

  • 27 posts

Posted Sun Dec 17, 2017 6:00 PM

For some reason my VbB is very slow, it takes > 20s to type a character. Very strange. I'm on win 7.

 

 Coolcrab, maybe that is not your case, but I noticed Visual bB is slow like that when I load a sample file that has too many comments using semicolons. To "fix" that, I open the file using another text editor and replace all ";" to "rem". That woked for me.

 

I hope that helps

 

Paulo

 

Update: Didn't see the answers after posting that :) woops...


Edited by pedgarcia, Sun Dec 17, 2017 6:01 PM.


#703 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,965 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Dec 17, 2017 6:49 PM

Coolcrab, maybe that is not your case, but I noticed Visual bB is slow like that when I load a sample file that has too many comments using semicolons. To "fix" that, I open the file using another text editor and replace all ";" to "rem". That woked for me.

 

Are you using build 568? It shouldn't do that.



#704 MoonTurtle OFFLINE  

MoonTurtle

    Space Invader

  • 21 posts

Posted Thu Sep 20, 2018 12:26 PM

There are several questions here, though the first one is the most important, the others are only minor questions.

 

I don't know if anyone has had this happen to them, but for some reason, when I opened my project in Visual bB, My default.bas was completely gone... well not gone, but all of the text in it was gone, I have no idea what happened, I didn't do anything to it yesterday, not only that, but now I can't even open the sprite for Player 0, all of my code is gone, 

 

also, before that ever happened, yesterday I couldn't compile the default.bas (this happened the day before, when the code was still there before it vanished)

it told me that it "could not locate sed.exe" 

 

also, just a small little question about sprites, you know that Halo Master Chief sprite? (from Halo 2600) I notice the helmet towards the middle has yellow and green in the same horizonal line, despite the limitations of the A2600, how was that done? I don't know if its possible to do that in PlayerPal or Visual bB's sprite editor...

 

is there a programming trick that would allow for multiple sprites on screen without flickering? (like Saboteur, Berzerk, Phoenix, etc)



#705 Karl G OFFLINE  

Karl G

    Dragonstomper

  • 794 posts

Posted Thu Sep 20, 2018 12:51 PM

I don't use VbB at all, so I will let someone else answer about that part - although you may want to search your drove for default.bas in case your working copy is around elsewhere.

 

If you ever want to see how anything is drawn in an existing game, you can enable "debug colors" in Stella (control-comma on PC; command-comma on Mac).  In the case of the Master Chief sprite, it looks like he is drawn using the player 0 sprite, and the ball.  The background objects are copies of the player 1 sprite.  This can be done in bB if you use the multisprite or DPC+ kernel.

 

Screen Shot 2018-09-20 at 2.52.26 PM.png

 

Halo 2600 (2010) (Ed Fries).png



#706 MoonTurtle OFFLINE  

MoonTurtle

    Space Invader

  • 21 posts

Posted Thu Sep 20, 2018 1:20 PM

Okay, thank you! :)



#707 Gemintronic OFFLINE  

Gemintronic

    Jason S. - Lead Developer & CEO

  • 9,315 posts

Posted Thu Sep 20, 2018 1:32 PM

The 2600 has only a few resources that  can be drawn (besides then playfield) across the screen: 2 sprites, 2 missiles and the ball.  In batari BASIC game makers experience these objects as 2 8 pixel wide sprites and three rectangular solid boxes.   But, at a hardware level it's more like these are five different crayons that can be dragged across the screen.  Ed Fries chose to draw the player layer by layer with one crayon then switched to another part way through the helmet area with a different crayon.  So, he wasn't breaking any rules getting the player sprite to be two colors on the same line.



#708 MoonTurtle OFFLINE  

MoonTurtle

    Space Invader

  • 21 posts

Posted Thu Sep 20, 2018 3:39 PM

Well, that's interesting, it's nearly just like drawing sprites on the Colecovision, which if you want to the sprite to be more than one color, you kinda have to draw several sprites on top of the main sprite, each with different details, pretty cool,

 

Thank You!



#709 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,965 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Sep 20, 2018 10:31 PM

There are several questions here, though the first one is the most important, the others are only minor questions.
 
I don't know if anyone has had this happen to them, but for some reason, when I opened my project in Visual bB, My default.bas was completely gone... well not gone, but all of the text in it was gone, I have no idea what happened, I didn't do anything to it yesterday, not only that, but now I can't even open the sprite for Player 0, all of my code is gone, 
 
also, before that ever happened, yesterday I couldn't compile the default.bas (this happened the day before, when the code was still there before it vanished)
it told me that it "could not locate sed.exe"


Are you using the latest version of bB (reveng41) and VbB (Build 568)?

Getting Started

 

How to 'Install' Visual batari Basic on a Windows PC

 

Also, I wonder if this would be helpful:

 

My .bin file can't be found (default.bas.bin can't be found)

 

If VbB is actually deleting your files, something is terribly wrong.



#710 MoonTurtle OFFLINE  

MoonTurtle

    Space Invader

  • 21 posts

Posted Fri Sep 21, 2018 7:24 AM

I have 566, so I guess I don't have it up to date, 



#711 MoonTurtle OFFLINE  

MoonTurtle

    Space Invader

  • 21 posts

Posted Fri Sep 21, 2018 7:33 AM

Did find a "default.inc" in my folder, would that have anything to do with the code vanishing?



#712 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,965 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri Sep 21, 2018 7:39 AM

Did find a "default.inc" in my folder, would that have anything to do with the code vanishing?

 

I'd make sure you have the latest bB and VbB, then see if anything changes. Also, did you look in your project folder using a real File Explorer folder and see what was there?



#713 KevKelley OFFLINE  

KevKelley

    Chopper Commander

  • 203 posts
  • Lots of hobbies, little time, loads of fun.
  • Location:Orlando

Posted Mon Feb 25, 2019 6:21 PM

Curious. I had an instance where VbB froze and when the next time my program loaded everything seemed okay nut when I went tO compile the program said it couldn't find the .bin.

I saw that the file missing from my folder. I saved the .bas as another name and tried again but the same thing happened again.

Has anyone ever had this happen?

#714 Muddyfunster OFFLINE  

Muddyfunster

    Moonsweeper

  • 300 posts

Posted Mon Feb 25, 2019 6:51 PM

I've had a few odd things happen with VbB which is why i'm looking to switch my dev environment to this by mksmith :

 

http://atariage.com/...r-batari-basic/



#715 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 28,965 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Mon Feb 25, 2019 8:38 PM

Curious. I had an instance where VbB froze and when the next time my program loaded everything seemed okay nut when I went tO compile the program said it couldn't find the .bin.

I saw that the file missing from my folder. I saved the .bas as another name and tried again but the same thing happened again.

Has anyone ever had this happen?

 

If I remember correctly, the only times the VbB/bB combination froze on me when compiling was when I did something goofy like not having a then in an if-then or something like that.



#716 KevKelley OFFLINE  

KevKelley

    Chopper Commander

  • 203 posts
  • Lots of hobbies, little time, loads of fun.
  • Location:Orlando

Posted Mon Feb 25, 2019 8:40 PM

I was interested in that. I figure once I am done with Bag Boy I may learn something else. I really like vbB and it has been a wonderful teaching tool so hopefully I can graduate.

Luckily it looks like all my code is good and other .bas files I loaded compiled so I might just copy it all into a new file and see if that works. It would suck to have to redo a weeks worth of work.

#717 KevKelley OFFLINE  

KevKelley

    Chopper Commander

  • 203 posts
  • Lots of hobbies, little time, loads of fun.
  • Location:Orlando

Posted Mon Feb 25, 2019 8:43 PM

Hmm. I just booted it up and was all cool. I'll just be certain to do more back ups just in case.

#718 KevKelley OFFLINE  

KevKelley

    Chopper Commander

  • 203 posts
  • Lots of hobbies, little time, loads of fun.
  • Location:Orlando

Posted Mon Feb 25, 2019 8:45 PM

 
If I remember correctly, the only times the VbB/bB combination froze on me when compiling was when I did something goofy like not having a then in an if-then or something like that.

Yeah. I had an asterisk at the end of a sentence. I accidentally deleted the number after it and noticed too late.





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

0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users