Author Topic: Full 2D Games with Code?  (Read 2107 times)

Mindfield

  • Guest
Full 2D Games with Code?
« 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.
« Last Edit: 2010-Jan-31 by Mindfield »

Offline Quentin

  • Prof. Inline
  • *****
  • Posts: 915
    • View Profile
Re: Full 2D Games with Code?
« Reply #1 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.

Offline Ian Price

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4176
  • On the shoulders of giants.
    • View Profile
    • My Apps
Re: Full 2D Games with Code?
« Reply #2 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 came. I saw. I played.

Mindfield

  • Guest
Re: Full 2D Games with Code?
« Reply #3 on: 2010-Feb-01 »
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.

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.

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.  :)