Dark Bit Factory & Gravity
PROGRAMMING => Purebasic => Topic started by: Hotshot on June 24, 2011
-
It is from John P. Logsdon's book "Programming 2D Scrolling Games in 2005 as it used purebasic 3.93 and I have fixed most of the code for Purebasic 4.51....
So far....
Chapter 3 - Hello World - Done
Chapter 4 - Hello World2 - Done
Chapter 5 - Loop - Done
Chapter 6 - Arrays - Done
Chapter 7 - Arrays Struct - Done
Chapter 8 - Memory - Done
Chapter 9 - Procedure - Done
Chapter 10 - File 0/1 - Done
Chapter 11 - 2D Graphics - Done
Chapter 12 - Sprites - Done
Chapter 13 - Sprite Anim - Done
Chapter 14 - Collisions - Done
Chapter 15 - Inputs - Done
Chapter 16 - Sounds - Not Done
Chapter 17 - Timer - Done
Chapter 19 - ZOrdering - Done
Chapter 20 - Map - Not Done
There is some of them that I couldn't do hence why I put here for one of purebasic Expert to finished it off :) ;)
-
To be honest there's no need to be an expert to convert that, you just need the patience to get rid of all the errors. The debugger tells you exactly where things need to be changed... ;) Most errors are caused due to a slightly changed command set ("Locate" doesn't exist anymore for example) or the compiler being more strict about things. ( I.e. it complains about "File.l" and "File" not being the same type... )
The PB Source Converter might also help to eliminate some of the errors: http://www.purearea.net/pb/showcase/show.php?id=334&d=1 (http://www.purearea.net/pb/showcase/show.php?id=334&d=1) :whisper: ;)
-
thanks padman
that is Excellent PB Source Converter that does convert some of them :)
I will be able finish it by this sunday
-
By Krylar of Blitzcoder fame.. Why oh why did he sell that site to Idigicon!
-
By Krylar of Blitzcoder fame.. Why oh why did he sell that site to Idigicon!
I guess it do with Moneys! :boxer:
-
I have manager to get some of fixed and when come linklist or dim as I put Global on side of it and it work magic
So far....
Chapter 3 - Hello World - Done
Chapter 4 - Hello World2 - Done
Chapter 5 - Loop - Done
Chapter 6 - Arrays - Done
Chapter 7 - Arrays Struct - Done
Chapter 8 - Memory - Done
Chapter 9 - Procedure - Done
Chapter 10 - File 0/1 - Done
Chapter 11 - 2D Graphics - Done
Chapter 12 - Sprites - Done
Chapter 13 - Sprite Anim - Done
Chapter 14 - Collisions - Done
Chapter 15 - Inputs - Done
Chapter 16 - Sounds - Done
Chapter 17 - Timer - Done
Chapter 19 - ZOrdering - Done
Chapter 20 - Map - I Couldnt do it as best to leave it for someone to do it
Just need two problem to fixed then Purebasic Tutorials will be Finished ;D
Everythings is done and you can download here
http://www.mediafire.com/?kbhu73aj50pye7a
-
UPDATE....Download Links is Above! :)
-
great !
will take a look, just to see if something is new for me :D
-
From Chapter 1 to 19 work fine on PureBasic 5.11 where Chapter 20 doesnt work due change of coding
I can post the links here again if someone want to learn Purebasic :)
I have not test 5.21 yet
-
Thanks for your efforts, the links are long dead, Anychance for it`s reuped?
Im very interested
-
I will post it the latest version upload when my proper broadband get back up running !
-
Everythings been fixed but I cant seem get the sound working on chapter 16!
-
:goodpost:
Thanks so much hotshot, don't worry too much about the sound, I'll try to figure it out ;)
karma for your efforts
-
I figured out the sound issue in chapter 16
"SoundFrequency" should be "SetSoundFrequency"
It works fine with these changes ;D
-
Thanks for reminding me and all in all hope help every newbie purebasic on wanting to learn :)
-
Thanks again for doing this, i probably overlooked just how good it was at the time :clap: