10.03.2019 - Round 1 results of our "A Love Letter For FreeBASIC" game dev competition have been published. Please be sure to check the results thread: http://games.freebasic.net/forum/index.php?topic=629.0. Don't forget that the competition is continuing with a round 2, lasting till 29th of April, 300 USD first prize. Stay tuned!

Author Topic: Convex Wars FB  (Read 6590 times)

relsoft

  • Recruit
  • **
  • Posts: 48
    • View Profile
    • Email
Convex Wars FB
« on: October 14, 2012, 02:44:08 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

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: Convex Wars FB
« Reply #1 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!
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

BadMrBox

  • Forum Sage
  • *****
  • Posts: 411
    • View Profile
    • BadMrBox.com
Re: Convex Wars FB
« Reply #2 on: October 17, 2012, 01:54:38 PM »
Itīs a enjoyable little game. Good stuff Rel :)

Lachie Dazdarian

  • Double dipper
  • Administrator
  • Forum Sage
  • *****
  • Posts: 1308
    • Yahoo Instant Messenger - lachie13
    • View Profile
    • The Maker Of Stuff
    • Email
Re: Convex Wars FB
« Reply #3 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!
"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist

ssjx

  • Forum Howler
  • ****
  • Posts: 174
    • View Profile
    • ssjx.co.uk
Re: Convex Wars FB
« Reply #4 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! :)

SMC

  • Recruit
  • **
  • Posts: 37
  • 9999HP
    • View Profile
Re: Convex Wars FB
« Reply #5 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.