FreeBasic Games Directory Forum

FreeBASIC Game Development => Showcase => Topic started by: relsoft on October 14, 2012, 02:44:08 AM

Title: Convex Wars FB
Post by: relsoft on October 14, 2012, 02:44:08 AM
Hello guys, I made a new little game.



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

   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 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
Title: Re: Convex Wars FB
Post by: Lachie Dazdarian on October 14, 2012, 02:27:10 PM
I'm sorry dude, but this is awesome. A brilliant example of dynamic and thrilling visual design.

I was taking sort of a break from the community work and game dev for a couple of weeks (which luckily is not so visible), but it only takes a single project and one designer to reinstigate the fire in me. Thanks for this great contribution to the community relsoft. Deeply appreciated. I had an Easy GL2D glowline game in development for a while in the old version, but the gameplay collapsed on me. This is a beautiful reason to try again with another idea.

Anyway, as always with these sort of showcase games, I wish you took that minimum effort to implement increasing difficulty and preset high-scores to beat. All that it takes to bring a game from simple showcase level to something with substantial replay and challenge value. Maybe you can consider making an update.

Thanks once more!
Title: Re: Convex Wars FB
Post by: BadMrBox on October 17, 2012, 01:54:38 PM
Itīs a enjoyable little game. Good stuff Rel :)
Title: Re: Convex Wars FB
Post by: Lachie Dazdarian on November 10, 2012, 06:22:17 PM
Hrm, on the second play I noticed the difficulty bar and the fact the game gets quite intensive fast. I only now miss a highscores table. Overall, superb work!
Title: Re: Convex Wars FB
Post by: ssjx on November 12, 2012, 01:27:58 PM
Hi, Just had a quick go on this, excellent game! I like the presentation style! Very cool! :)
Title: Re: Convex Wars FB
Post by: SMC on November 23, 2012, 09:23:36 PM
This is really cool.  I've always liked vector graphics.  I wouldn't mind seeing other types of games made using this technique.