Jump to content



2

Bit Operations are Cool!


2 replies to this topic

#1 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 20,911 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Fri May 9, 2008 11:24 AM

I almost forgot about bit operations. Besides turning a variable into 8 mini-variables, we can use bit operations to mess with the playfield variables and turn specific pixels on or off. I think that's pretty cool. Seems like batari Basic is more fun to use than some other BASIC-like languages I have tried. I keep discovering and rediscovering all kinds of cool stuff.

#2 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!

  • 16,745 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Fri May 9, 2008 11:36 AM

Welcome to the "real" coder's world. :)

#3 MausGames OFFLINE  

MausGames

    Dragonstomper

  • 851 posts
  • Location:MO, USA

Posted Fri May 9, 2008 11:16 PM

Using bit operations to manipulate the playfield can be superior to using playfield commands in a lot of situations. Looking back on old code, I wish I had learned more about this when I started. Most of the ASM programmers around here who would grasp most aspects of bB immediately seem to have little or no interest in it. For me, it's taken something like two years to even get close to being able to program something I would be satisfied with, but I agree with you that it is more fun than most other BASICs. Most games I wrote when I was a kid were very heavy on text, so I've been forced to learn how to create games that depend almost completely on graphics, with incomparably limited resources.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users