Næssén's Blog
-
And we are done!
The game is called Green Grappler and it's really fun. You can download the binary here: http://darkbits.org/~olof/files/db-08_green_grappler.zip
Now it's time for sleep as we need to get up for work tomorrow.
Comments
Log in to post a comment
You too? :(
I should probably be sleeping as well, but I'm still a bit nervous about my entry working correctly for everyone so I'm having some trouble with that :X
Also, where is the cross-platform love? Your game doesn't compile on Linux.
Using the official makefile gives me:
aviv@Lenneth:~/Downloads/Green_Grappler$ make
g++ -Iinclude -O3 -s -W -Wall -o obj/Animation.o -c src/Animation.cpp
In file included from src/Animation.cpp:1:
src/Precompiled.hpp:14:21: error: allegro.h: No such file or directory
In file included from src/math3d/math3d.h:8,
from src/Precompiled.hpp:16,
from src/Animation.cpp:1:
src/math3d/vectorfunc.h:147: error: stray ‘\226’ in program
src/Precompiled.hpp:21:20: error: aldumb.h: No such file or directory
src/math3d/vectorfunc.h: In function ‘float math3d::length(math3d::float2)’:
src/math3d/vectorfunc.h:26: error: ‘sqrtf’ is not a member of ‘std’
src/math3d/vectorfunc.h: In function ‘float math3d::length(math3d::float3)’:
src/math3d/vectorfunc.h:27: error: ‘sqrtf’ is not a member of ‘std’
src/math3d/vectorfunc.h: In function ‘float math3d::length(math3d::float4)’:
src/math3d/vectorfunc.h:28: error: ‘sqrtf’ is not a member of ‘std’
src/math3d/vectorfunc.h: In function ‘T math3d::slerp(T, T, float, bool)’:
src/math3d/vectorfunc.h:138: error: no matching function for call to ‘clamp(double&, float&, float)’
src/math3d/vectorfunc.h:147: error: expected ‘,’ or ‘;’ before ‘a’
In file included from src/math3d/math3d.h:9,
from src/Precompiled.hpp:16,
from src/Animation.cpp:1:
src/math3d/quaternion.h: In function ‘void math3d::transformMany(math3d::quaternion, ItInOut, ItInOut)’:
src/math3d/quaternion.h:82: error: ‘It’ was not declared in this scope
src/math3d/quaternion.h:82: error: expected ‘;’ before ‘i’
src/math3d/quaternion.h:82: error: ‘i’ was not declared in this scope
src/math3d/quaternion.h:84: error: ‘m’ was not declared in this scope
src/math3d/quaternion.h: In function ‘void math3d::transformInverseMany(math3d::quaternion, ItInOut, ItInOut)’:
src/math3d/quaternion.h:91: error: ‘It’ was not declared in this scope
src/math3d/quaternion.h:91: error: expected ‘;’ before ‘i’
src/math3d/quaternion.h:91: error: ‘i’ was not declared in this scope
src/math3d/quaternion.h:93: error: ‘m’ was not declared in this scope
src/math3d/quaternion.h: In function ‘void math3d::transformMany(ItOut, math3d::quaternion, ItIn, ItIn)’:
src/math3d/quaternion.h:100: error: ‘ItI’ was not declared in this scope
src/math3d/quaternion.h:100: error: expected ‘;’ before ‘i’
src/math3d/quaternion.h:100: error: ‘i’ was not declared in this scope
src/math3d/quaternion.h:102: error: ‘m’ was not declared in this scope
src/math3d/quaternion.h: In function ‘void math3d::transformInverseMany(ItOut, math3d::quaternion, ItIn, ItIn)’:
src/math3d/quaternion.h:110: error: ‘ItI’ was not declared in this scope
src/math3d/quaternion.h:110: error: expected ‘;’ before ‘i’
src/math3d/quaternion.h:110: error: ‘i’ was not declared in this scope
src/math3d/quaternion.h:112: error: ‘m’ was not declared in this scope
In file included from src/Animation.cpp:2:
src/Animation.hpp: At global scope:
src/Animation.hpp:12: error: ISO C++ forbids declaration of ‘BITMAP’ with no type
src/Animation.hpp:12: error: expected ‘;’ before ‘*’ token
src/Animation.hpp:16: error: ‘BITMAP’ has not been declared
In file included from src/Animation.cpp:2:
src/Animation.hpp:18: error: ‘BITMAP’ has not been declared
src/Animation.hpp:21: error: ‘BITMAP’ has not been declared
src/Animation.hpp:25: error: ‘BITMAP’ was not declared in this scope
src/Animation.hpp:25: error: template argument 1 is invalid
src/Animation.hpp:25: error: template argument 2 is invalid
In file included from src/Animation.cpp:4:
src/Resource.hpp:11: error: ISO C++ forbids declaration of ‘BITMAP’ with no type
src/Resource.hpp:11: error: expected ‘;’ before ‘*’ token
src/Resource.hpp:12: error: ISO C++ forbids declaration of ‘BITMAP’ with no type
src/Resource.hpp:12: error: expected ‘;’ before ‘*’ token
src/Resource.hpp:15: error: ISO C++ forbids declaration of ‘SAMPLE’ with no type
src/Resource.hpp:15: error: expected ‘;’ before ‘*’ token
src/Resource.hpp:22: error: ‘BITMAP’ was not declared in this scope
src/Resource.hpp:22: error: template argument 2 is invalid
src/Resource.hpp:22: error: template argument 4 is invalid
src/Resource.hpp:25: error: ‘SAMPLE’ was not declared in this scope
src/Resource.hpp:25: error: template argument 2 is invalid
src/Resource.hpp:25: error: template argument 4 is invalid
src/Animation.cpp: In constructor ‘Animation::Animation(const std::string&)’:
src/Animation.cpp:9: error: ‘BITMAP’ was not declared in this scope
src/Animation.cpp:9: error: ‘allFrames’ was not declared in this scope
src/Animation.cpp:9: error: ‘getBitmap’ is not a member of ‘Resource’
src/Animation.cpp: In constructor ‘Animation::Animation(const std::string&, int)’:
src/Animation.cpp:18: error: ‘BITMAP’ was not declared in this scope
src/Animation.cpp:18: error: ‘allFrames’ was not declared in this scope
src/Animation.cpp:18: error: ‘getBitmap’ is not a member of ‘Resource’
src/Animation.cpp: In destructor ‘Animation::~Animation()’:
src/Animation.cpp:29: error: request for member ‘size’ in ‘((Animation*)this)->Animation::myFrames’, which is of non-class type ‘int’
src/Animation.cpp:30: error: invalid types ‘int[unsigned int]’ for array subscript
src/Animation.cpp:30: error: ‘destroy_bitmap’ was not declared in this scope
src/Animation.cpp: At global scope:
src/Animation.cpp:34: error: expected constructor, destructor, or type conversion before ‘*’ token
src/Animation.cpp: In member function ‘int Animation::getFrameCount() const’:
src/Animation.cpp:39: error: request for member ‘size’ in ‘((const Animation*)this)->Animation::myFrames’, which is of non-class type ‘const int’
src/Animation.cpp: At global scope:
src/Animation.cpp:50: error: variable or field ‘drawFrame’ declared void
src/Animation.cpp:50: error: ‘BITMAP’ was not declared in this scope
src/Animation.cpp:50: error: ‘dest’ was not declared in this scope
src/Animation.cpp:50: error: expected primary-expression before ‘int’
src/Animation.cpp:50: error: expected primary-expression before ‘int’
src/Animation.cpp:50: error: expected primary-expression before ‘int’
src/Animation.cpp:50: error: expected primary-expression before ‘bool’
src/Animation.cpp:50: error: expected primary-expression before ‘bool’
src/Animation.cpp:50: error: expected primary-expression before ‘blending’
make: *** [obj/Animation.o] Error 1
– Slartibartfast
Team darkbits kicking ass as usual. :X Seems quite a long game, so time to give it quite a play. :D – Dario ff
This is very impressive. :D
An excellent, fun, retro game. Hard as hell, too! Congratulations on another fantastic entry! – Rodrigo Monteiro