Feedback wanted on code style

BlitzMax Forums/BlitzMax Beginners Area/Feedback wanted on code style

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Thanks Otus and jsp that helps a lot!

No game at this stage jsp, just learning the ropes. Its been years since I've had to do any code and damn but I'm rusty. I've always learned better by doing but when I get around to my game I'll do a design doco first - hopefully so I don't make rookie mistakes like the ones you guys have helped me with. Once I get to that point I'll need to track down a competent artist (although I've been looking into programmer art and procedural generation and it looks interesting).

Thanks a lot everyone, you've all helped a lot... I've already made some changes and have added in a 'square' that I convert to a pixmap then move around on top of a scrolling 'starfield'. I'm hoping to add in some collision logic and background music today. The only issue is I get 'tearing' in windowed mode of the starfield, I figure its probably better to create the starfield, covert the whole thing to a tiled background, then scroll it... so more stuff to learn :)

Although first I think I might go back through the code and make some changes to my Types to make them a little more flexible based on jsp's feedback.