AppleBasic Programming

Blitz3D Forums/Blitz3D Programming/AppleBasic Programming

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I was wondering if anyone new how to make blitz act like AppleBasic using GR and HGR


As I already stated:
it's best to rewrite them in Blitz or create a function to handle the command.


Function GR()
  Graphics 320, 200
End Function

Function HGR()
  Graphics 640, 400
End Function
BTW, I don't remember the actual resolutions of GR and HGR (but I think it was 40x25 and 320x200)

Sounds are actually probably easier than you think. I think all the Apple could actually do was perform a series of 'beeps' or tones at different frequencies. This is easy to do in Blitz. Create a sound that is just a short (say) 4KHz tone. Then use the SoundPitch or ChannelPitch commands to raise or lower the pitch in order to play all of the other tones.