Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Open Source 2d shooter  (Read 7155 times)

0 Members and 1 Guest are viewing this topic.

ReturnZero

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://returnzerogames.blogspot.com
Open Source 2d shooter
« on: February 08, 2010, 06:14:33 am »
A shmup game created for Windows and Linux primarily.OpenPandora, and OSX ports are on the way. The game features 4 action-packed levels with 8 weapons,bosses,bombs, and explosions! Released under the GNU GPLv3 license, the artwork and music licenses are included with the game.

Features lua scripting to allow for the player to mod the levels without recompiling the game.

More info and screenshots at my sfml project site. http://www.sfml-dev.org/wiki/en/projects/explosions

and my google code project. http://code.google.com/p/shmup/

and my blog  :D  http://returnzerogames.blogspot.com/


by ReturnZero games.
My blog:
http://returnzerogames.blogspot.com

Remember to delete when you new, and delete[] when you new[].

Andy

  • Newbie
  • *
  • Posts: 18
    • View Profile
Open Source 2d shooter
« Reply #1 on: June 11, 2010, 04:26:04 am »
ported to GNU/Linux-x64

Download:
http://www.mediafire.com/?mqiwjmzymnu

I just had to adjust the header files.
The file just has the release binary and the readme.

Canni get a cookie now? :3

[edit]
I almost forgot!
All the dependencies can be found in the repository, I built it on Ubuntu and with lua5.1
...I hope this helps.
and yes, I'd like to do what I can to help/contribute to this project. (though I'm an amateur C++ programmer)

WitchD0ctor

  • Full Member
  • ***
  • Posts: 100
    • View Profile
    • http://www.teleforce-blogspot.com
Open Source 2d shooter
« Reply #2 on: June 11, 2010, 06:44:23 am »
How did u bind your classes/functions to lua?
John Carmack can Divide by zer0.

Andy

  • Newbie
  • *
  • Posts: 18
    • View Profile
Open Source 2d shooter
« Reply #3 on: June 11, 2010, 09:38:54 am »
modifications done to port this game:
It was pretty easy, I just followed the G++ errors pretty much.

in globals.h (like... lines 3-9):
Code: [Select]

#include <lua5.1/lua.hpp> // contains all includes
/* commented out these
extern "C" {
  #include "lua.h"
  #include "lauxlib.h"
}*/


in Boss2.h (line 11ish):
changed:
Code: [Select]

#include "Boss2Minion.h"

To:
Code: [Select]

#include "Boss2minion.h" // linux filesystems are case-sensitive


in cGameEngine.h
Code: [Select]

#include <lua5.1/lua.hpp>
/*
 same-ish as globals.h
extern "C" {
  #include "lua.h"
  #include "lauxlib.h"
  #include "lualib.h"
}
*/


I also had to change the luabind header (as root) to point to the lua5.1 headers. (I don't know whether this is "playing with fire" or not)[/code]

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile
Open Source 2d shooter
« Reply #4 on: June 12, 2010, 04:45:57 am »
That's pretty hectic :)

Haven't looked at source or Lua stuff yet.

Are you going to do some more work on the artwork and perhaps polish up the GUI?

May I suggest cleaning out the bin and obj folders to get a smaller download? Also, is the main executable a debug mode one? Using release mode should get it considerably smaller.

One (two) more thing! It crashes when I exit (memory at (address) referenced by (address) could not be "read") and the window lets me resize and maximise.

ReturnZero

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://returnzerogames.blogspot.com
Open Source 2d shooter
« Reply #5 on: October 10, 2010, 12:14:28 am »
Quote from: "Andy"
ported to GNU/Linux-x64

Download:
http://www.mediafire.com/?mqiwjmzymnu

I just had to adjust the header files.
The file just has the release binary and the readme.

Canni get a cookie now? :3

[edit]
I almost forgot!
All the dependencies can be found in the repository, I built it on Ubuntu and with lua5.1
...I hope this helps.
and yes, I'd like to do what I can to help/contribute to this project. (though I'm an amateur C++ programmer)


I haven't checked up on this project in awhile, but now that I am a much better programmer, I will start working on a version 2.
I'll put your version on my google code project.

EDIT:

@Walker: And yes, I will do more work on the art side of the game(this was mostly a test game).

This game is going to be completely rewritten from scratch.
My blog:
http://returnzerogames.blogspot.com

Remember to delete when you new, and delete[] when you new[].