• October 21, 2018, 02:39:01 PM
  • Welcome, Guest
Advanced search  

News:

Author Topic: Convex Wars FB  (Read 2417 times)

relminator

  • Jupiter Ace
  • *
  • Offline Offline
  • Posts: 30
    • Genso's Junkyard
Convex Wars FB
« on: October 14, 2012, 07:53:33 AM »

Hello guys, I made a new little game.

Screens:



Download:
http://rel.phatcode.net/junk.php?id=128

Controls:
   -See in-game instructions

About the game:

   Just a minigame I made over the week to showcase Easy GL2D for FreeBasic.
   Original game was an even smaller minigame I made in C++ to showcase Easy GL2D for C/C++.
   It is also notable that because I wanted this game (the source at least)
       to be a sort of a teaching material, I used the "easiest" ways to make this game.
      Which means that I used internal FB commands almost exclusively, major absence of
      pointers and use dim/redim as opposed to new[] (except for the polygon class).
      Doing so did not really hamper the game's speed in any way so I guess FB's dynamic
      allocation with run-time checks for arrays are not that slow as anyone might think. ;*)
      I also commented the source like crazy so that anyone reading it could understand
      the gist of what the code does.
   Don't expect much from this as my purposes in making this game are:
   - Stresstest and showcase Easy GL2D
   - Make a game that only use the GlowLine() sub
   - To make an example of how to make games in FB easily using some
      of the most commonly used coding techniques( FSM, Factories, SAT(Separating Axis Theorem), etc )
   - Share some of the most common classes I use (Keyboard, Joystick, Mouse, Vector2D, Polygon2D, etc)
   - Brush up on my FB knowledge. I keep forgeting "then" and type {} in my for-loops, typing "switch"
       for select cases, etc. but it was fun.
   
Gameplay:

   An asteroids clone with a funky experimental control system.
   Just shoot everything that moves.
   This is a "vector" game so GFX are made of simple glowlines.
   Gameplay is kinda boring to say the least.
   
Sourcecode:
   Sourcecode is provided for learning purposes.
   Use to your hearts content, but I would enjoy knowing the things you used it for.
   Code should never be used to harm anyone.
   I used FBedit to code this game
Logged
SHMUP is my middlename.
http://Rel.Phatcode.net

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Convex Wars FB
« Reply #1 on: October 14, 2012, 08:57:46 AM »

Looks damn sweet though. I will certainly have a play.

Thanks for the post.
Logged
Coding for the love of it!

relminator

  • Jupiter Ace
  • *
  • Offline Offline
  • Posts: 30
    • Genso's Junkyard
Re: Convex Wars FB
« Reply #2 on: October 16, 2012, 05:18:16 AM »

Thanks, don't expect much though. ;*)
Logged
SHMUP is my middlename.
http://Rel.Phatcode.net

Flash

  • Administrator
  • Blue Gene Super Computer
  • **********
  • Offline Offline
  • Posts: 13176
Re: Convex Wars FB
« Reply #3 on: October 16, 2012, 08:49:11 AM »

I make a point of never expecting too much - married life has made me that way!  :)  :)
Logged
Coding for the love of it!