New game : Divide And Succeed!

New game : Divide And Succeed!

Postby MCMic » 29 Jan 2011, 21:42

Hi!
I'm working with a friend on a new free game, named "Divide and succeed".
It's inspired by the game "Slice it!" for Iphone/Android.
The idea is to cut polygons in equal parts with a specific number of lines:
Image

I think it's now playable enough to be tested by people, so if you feel like it, download the source code and compile it!

There are only 9 levels atm, so if you want to provide us levels, it would be great help.
There is no level editor thought, you have to use a text-editor and respect the level syntax.

The game miss a level selector and a progression saving system, I should work on that soon.

Official website : http://projects.haxx.es/p/divide-and-succeed/

Source code is under GPLv3.
Last edited by MCMic on 19 Apr 2011, 17:28, edited 1 time in total.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby KroArtem » 29 Jan 2011, 23:54

{l Code}: {l Select All Code}
git clone git://haxx.es/divide-and-success.git
Cloning into divide-and-success...
haxx.es[0: 91.121.172.115]: errno=Connection timed out
haxx.es[0: 2001:41d0:1:ed73::1]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)

That's sad, it isn't my connection problem, internet works ok for me last days.
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: New game : Divide And Success!

Postby MCMic » 30 Jan 2011, 02:24

KroArtem {l Wrote}:
{l Code}: {l Select All Code}
git clone git://haxx.es/divide-and-success.git
Cloning into divide-and-success...
haxx.es[0: 91.121.172.115]: errno=Connection timed out
haxx.es[0: 2001:41d0:1:ed73::1]: errno=Network is unreachable
fatal: unable to connect a socket (Network is unreachable)

That's sad, it isn't my connection problem, internet works ok for me last days.

I can't test right now, my connection is limited, I'll get back to you later.
Last edited by MCMic on 02 Feb 2011, 02:09, edited 1 time in total.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby MCMic » 31 Jan 2011, 01:47

Ok, there was actually a problem with the git server, it's back online now.

I also added a menu to select the level, and the saving system for the progression.
Last edited by MCMic on 02 Feb 2011, 02:09, edited 1 time in total.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby KroArtem » 31 Jan 2011, 18:52

While typing cmake . :
{l Code}: {l Select All Code}
-- Configuring done
CMake Error at CMakeLists.txt:31 (add_executable):
  Cannot find source file "Progress.h".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: New game : Divide And Success!

Postby MCMic » 01 Feb 2011, 11:38

KroArtem {l Wrote}:While typing cmake . :
{l Code}: {l Select All Code}
-- Configuring done
CMake Error at CMakeLists.txt:31 (add_executable):
  Cannot find source file "Progress.h".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

Arh, I forgot to add some files, it's done now.
But I've broken some features since, your progression won't be saved. (but you can still play)
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby KroArtem » 01 Feb 2011, 21:47

{l Code}: {l Select All Code}
Linking CXX executable bin/divideandsuccess
/usr/bin/ld: cannot open output file bin/divideandsuccess: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [bin/divideandsuccess] Error 1
make[1]: *** [CMakeFiles/bin/divideandsuccess.dir/all] Error 2
make: *** [all] Error 2

KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: New game : Divide And Success!

Postby Sindwiller » 01 Feb 2011, 21:52

Building is the devil. :lol:
My gamedesign blawg!
<remaxim>well, it is called freegamedev... means you develop games for other people for free xD

.Net/Mono is a rabid beast cursed with M$-specific limitations and sh*t. XNA isn't much better. Remember that, kids.
User avatar
Sindwiller
 
Posts: 115
Joined: 05 Dec 2009, 12:23
Location: Zurich, Switzerland

Re: New game : Divide And Success!

Postby MCMic » 02 Feb 2011, 02:08

KroArtem {l Wrote}:
{l Code}: {l Select All Code}
Linking CXX executable bin/divideandsuccess
/usr/bin/ld: cannot open output file bin/divideandsuccess: No such file or directory
collect2: ld returned 1 exit status
make[2]: *** [bin/divideandsuccess] Error 1
make[1]: *** [CMakeFiles/bin/divideandsuccess.dir/all] Error 2
make: *** [all] Error 2


You just have to do "mkdir bin".
I don't know how to tell cmake to create a folder. And I think I can't add an empty directory to a git.

[EDIT] Ok, CMakeLists.txt updated on the git repo, now the build should work even without doing the mkdir.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby KroArtem » 02 Feb 2011, 18:32

Lol, continue finding problems:
{l Code}: {l Select All Code}
(gdb) run
Starting program: /home/artem/SVN/divide-and-success/bin/divideandsuccess
[Thread debugging using libthread_db enabled]
Problem while loading levels: No such file or directory
no progression file found

Program received signal SIGSEGV, Segmentation fault.
0x000000000042c218 in std::vector<Level, std::allocator<Level> >::end (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:454
454         { return const_iterator(this->_M_impl._M_finish); }
(gdb) bt
#0  0x000000000042c218 in std::vector<Level, std::allocator<Level> >::end (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:454
#1  0x000000000042bc00 in std::vector<Level, std::allocator<Level> >::empty (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:583
#2  0x0000000000434eaa in Game::Game (this=0x7fffffffe0d8, p=0x0)
    at /home/artem/SVN/divide-and-success/src/Game.h:32
#3  0x0000000000431733 in Interface::Interface (this=0x7fffffffe070,
    m=Interface::NORMAL)
    at /home/artem/SVN/divide-and-success/src/Interface.cpp:38
#4  0x000000000041fde1 in main ()
    at /home/artem/SVN/divide-and-success/src/main.cpp:31
(gdb)

Segfaulting just because there are no levels is not a good idea ;)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: New game : Divide And Success!

Postby MCMic » 02 Feb 2011, 19:26

KroArtem {l Wrote}:Lol, continue finding problems:
{l Code}: {l Select All Code}
(gdb) run
Starting program: /home/artem/SVN/divide-and-success/bin/divideandsuccess
[Thread debugging using libthread_db enabled]
Problem while loading levels: No such file or directory
no progression file found

Program received signal SIGSEGV, Segmentation fault.
0x000000000042c218 in std::vector<Level, std::allocator<Level> >::end (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:454
454         { return const_iterator(this->_M_impl._M_finish); }
(gdb) bt
#0  0x000000000042c218 in std::vector<Level, std::allocator<Level> >::end (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:454
#1  0x000000000042bc00 in std::vector<Level, std::allocator<Level> >::empty (
    this=0x0) at /usr/include/c++/4.5/bits/stl_vector.h:583
#2  0x0000000000434eaa in Game::Game (this=0x7fffffffe0d8, p=0x0)
    at /home/artem/SVN/divide-and-success/src/Game.h:32
#3  0x0000000000431733 in Interface::Interface (this=0x7fffffffe070,
    m=Interface::NORMAL)
    at /home/artem/SVN/divide-and-success/src/Interface.cpp:38
#4  0x000000000041fde1 in main ()
    at /home/artem/SVN/divide-and-success/src/main.cpp:31
(gdb)

Segfaulting just because there are no levels is not a good idea ;)

Hum, I'll check that.
Meanwhile, you need to launch the game in the main folder with "./bin/divideandusccess", or it does not find the levels.
Last edited by MCMic on 02 Feb 2011, 19:40, edited 2 times in total.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Re: New game : Divide And Success!

Postby KroArtem » 02 Feb 2011, 19:37

this is what I was speaking about : crashing only because the program cannot find the levels is not good, don't you think so? ;)
KroArtem
 
Posts: 375
Joined: 26 Aug 2010, 19:04

Re: New game : Divide And Success!

Postby MCMic » 02 Feb 2011, 19:40

KroArtem {l Wrote}:this is what I was speaking about : crashing only because the program cannot find the levels is not good, don't you think so? ;)


I pushed a fix, now the game won't crash, but it still won't launch if you're not in the good folder.
User avatar
MCMic
 
Posts: 723
Joined: 05 Jan 2010, 17:40

Who is online

Users browsing this forum: No registered users and 1 guest

cron