Just BASIC Games
Posts: 27
Joined: Fri Aug 26, 2005 2:54 pm
Location: Moberly, MO


Post by brahn »

Just some fun with turtle graphics and wav files.
You do not have the required permissions to view the files attached to this post.
Last edited by brahn on Thu Nov 03, 2005 6:06 pm, edited 2 times in total.
Site Admin
Posts: 117
Joined: Wed Nov 24, 2004 2:49 am

Post by JanetTerra »

Very patriotic, Brian! :) At least if you're from the USA. ;)
You have 2 bmp's that are 'hard coded.' That means that you have included the path from your computer and expected us all to have that path. Not so.

bmpbutton #main.last, "C:\Program Files\Just BASIC v1.01\Freeform Gui Constructor\bmp\LBTTN.BMP", [last], UL, 30, 75
bmpbutton, "C:\Program Files\Just BASIC v1.01\Freeform Gui Constructor\bmp\RBTTN.BMP", [next], UL, 240, 75

are not valid paths for my computer. I copied and pasted the LBTTN.BMP and RBTTN.BMP files from the \BMP\ folder of Just BASIC and added them to the Patriot folder along side with the midi files. Then I changed the code to

bmpbutton #main.last, "LBTTN.BMP", [last], UL, 30, 75
bmpbutton, "RBTTN.BMP", [next], UL, 240, 75

and that worked just fine.