Search found 2 matches

by bstripp
Sat Oct 18, 2003 7:36 pm
Forum: Game Programming
Topic: Lurker with some questions...
Replies: 4
Views: 2370

(1) Does PB have clasic objects that you can attach function and the like too?

Don't really know what you mean there..

Something like this:


class player
dim xpos
dim ypos

function moveplayer(dx,dy)
drawsprite(xpos + dx, ypos + dy)
end function
end class

player.xpos = 5
player.ypos = 7 ...
by bstripp
Fri Oct 17, 2003 3:30 pm
Forum: Game Programming
Topic: Lurker with some questions...
Replies: 4
Views: 2370

Lurker with some questions...

Hi, I have been a long time coder in Blitz Basic, but have kept an eye on Pure Basic and love a lot of the functions and libraries that are available.

What I was wondering is if anyone who has coded in both PB and BB could tell me if making the conversion to PB would work well for 2D games. Even ...