GLBasic forum

Main forum => GLBasic - en => Topic started by: Mindfield on 2010-Jan-31

Title: Full 2D Games with Code?
Post by: Mindfield on 2010-Jan-31
Are there any full games that come with source code in the gallery?  I've found a few games with code, but they all seem to be designed to demonstrate one specific feature, and none of the ones I've found are just a general sort of 2D game, whether it's a platformer or top-down game or whathaveyou.  Does anything like that exist?  I can work with the list of commands as needed, and the sample code, but that doesn't really tell me how the language is used in practical terms, so I'd like to see a full example top to bottom of how it's used in a common gaming application.
Title: Re: Full 2D Games with Code?
Post by: Quentin on 2010-Jan-31
There's a good tutorial from Steinbock

http://www.glbasic.com/forum/index.php?topic=2950.0

It explains many parts of 2D programming in GLBasic.
Title: Re: Full 2D Games with Code?
Post by: Ian Price on 2010-Jan-31
I provided full source code with my B'lox! game. It's a puzzle game, but you might get something useful from it. I think Gernot hosted it here, seeing as it was created for a GLBasic comp a couple of years ago (which it won).
Title: Re: Full 2D Games with Code?
Post by: Mindfield on 2010-Feb-01
Quote from: Quentin on 2010-Jan-31
There's a good tutorial from Steinbock

http://www.glbasic.com/forum/index.php?topic=2950.0

It explains many parts of 2D programming in GLBasic.

Ooh, that's perfect, yes, thanks.  Code and a breakdown -- just what I was looking for.

Quote from: Ian Price on 2010-Jan-31
I provided full source code with my B'lox! game. It's a puzzle game, but you might get something useful from it. I think Gernot hosted it here, seeing as it was created for a GLBasic comp a couple of years ago (which it won).

I couldn't find it in the showroom, but I did Google it and found that you had posted it in another forum, but the RAR archive didn't contain any source code.

Quote from: Ocean on 2010-Jan-31
Have you visited the SHOWROOM on the http://www.glbasic.com site?   Many examples over there, more than anyone could digest and study in the next couple of weeks...

Ocean

Yes, I went through it and downloaded a bunch of stuff, but it was pretty hit or miss, with only a few coming with source code, and most of those not specifically dealing with a simple 2D game; they were more about more specialized features like physics, blurring and shading, inline vector graphics, and so on.  The above shooter though is pretty much exactly what I'm after.  :)