Author Topic: Programming 2D Tutorials For Purebasic 4.51  (Read 2507 times)

0 Members and 1 Guest are viewing this topic.

Offline Hotshot

  • Pentium
  • *****
  • Posts: 1814
  • Karma: 73
    • View Profile


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 - Not Done
Chapter 11 - 2D Graphics - Done
Chapter 12 - Sprites - Not Done
Chapter 13 - Sprite Anim - Done
Chapter 14 - Collisions - Not Done
Chapter 15 - Inputs - Not Done
Chapter 16 - Sounds - Not Done
Chapter 17 - Timer - Not 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 :)  ;)
« Last Edit: November 12, 2011 by Hotshot »

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 835
  • Karma: 153
    • View Profile
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #1 on: June 24, 2011 »
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  :whisper:  ;)
Challenge Trophies Won:

Offline Hotshot

  • Pentium
  • *****
  • Posts: 1814
  • Karma: 73
    • View Profile
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #2 on: June 24, 2011 »
thanks padman

that is Excellent PB Source Converter that does convert some of them :)

I will be able finish it by this sunday
« Last Edit: June 28, 2011 by Hotshot »

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17296
  • Karma: 489
  • evil/good
    • View Profile
    • My Homepage
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #3 on: June 24, 2011 »
By Krylar of Blitzcoder fame..  Why oh why did he sell that site to Idigicon!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Hotshot

  • Pentium
  • *****
  • Posts: 1814
  • Karma: 73
    • View Profile
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #4 on: June 24, 2011 »
Quote
By Krylar of Blitzcoder fame..  Why oh why did he sell that site to Idigicon!

I guess it do with Moneys!    :boxer:

Offline Hotshot

  • Pentium
  • *****
  • Posts: 1814
  • Karma: 73
    • View Profile
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #5 on: June 25, 2011 »
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
« Last Edit: November 12, 2011 by Hotshot »

Offline Hotshot

  • Pentium
  • *****
  • Posts: 1814
  • Karma: 73
    • View Profile
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #6 on: November 12, 2011 »
UPDATE....Download Links is Above! :)

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 364
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Re: Programming 2D Tutorials For Purebasic 4.51
« Reply #7 on: November 22, 2011 »
great !

will take a look, just to see if something is new for me :D
Challenge Trophies Won: