Types...

Blitz3D Forums/Blitz3D Beginners Area/Types...

Yahfree(Posted 2007) [#1]
Someone mind explaining how types work? from what i know its a group of things that share the same attrbutes...

what i'm trying to do is make the walls in a breakout game, how would i go about doing that... heres my code at the moment, i want to learn types, the last time i used them it was just copy and paste..




DGuy(Posted 2007) [#2]
Check out this archived article from BlitzCoder. It's Title says "Blitz2D" but it is still relevant to Blitz3D:

Blitz2D Newbies: Definitive Guide to Types:
http://web.archive.org/web/20050319160810/www.blitzcoder.com/cgi-bin/articles/show_article.pl?f=mutteringgoblin09232002232208.html


b32(Posted 2007) [#3]
I tried writing a program that will hopefully clear up the usage of types a bit: