ahockersten / liero Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gliptic/liero
This is a fork of Liero made by and for the community of Liero players in Göteborg
This project forked from gliptic/liero
This is a fork of Liero made by and for the community of Liero players in Göteborg
We need an icon that should be used both as an icon for the binary and as the icon for the window when running Liero. See discussion in #2 for suggestions on icon to use and requirements on it.
$ cmake -G 'Unix Makefiles' ..
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "FindSDL2_Image.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"SDL2_Image", but CMake did not find one.
Could not find a package configuration file provided by "SDL2_Image" with
any of the following names:
SDL2_ImageConfig.cmake
sdl2_image-config.cmake
Add the installation prefix of "SDL2_Image" to CMAKE_PREFIX_PATH or set
"SDL2_Image_DIR" to a directory containing one of the above files. If
"SDL2_Image" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/jose/tmp/liero/build/CMakeFiles/CMakeOutput.log".
SDL2_image
however is installed:
pacman -Ql sdl2_image
sdl2_image /usr/
sdl2_image /usr/include/
sdl2_image /usr/include/SDL2/
sdl2_image /usr/include/SDL2/SDL_image.h
sdl2_image /usr/lib/
sdl2_image /usr/lib/libSDL2_image-2.0.so.0
sdl2_image /usr/lib/libSDL2_image-2.0.so.0.2.2
sdl2_image /usr/lib/libSDL2_image.so
sdl2_image /usr/lib/pkgconfig/
sdl2_image /usr/lib/pkgconfig/SDL2_image.pc
sdl2_image /usr/share/
sdl2_image /usr/share/licenses/
sdl2_image /usr/share/licenses/sdl2_image/
sdl2_image /usr/share/licenses/sdl2_image/LICENSE
@ahockersten could you explain what exactly this code in worm.cpp doing?
if(reacts[RFDown] < 2)
{
if(reacts[RFUp] > 0)
{
if(reacts[RFLeft] > 0 || reacts[RFRight] > 0)
{
//Low or none push down,
//Push up and
//Push left or right
pos.y -= itof(1);
next.y = pos.y + vel.y;
iNext.y = ftoi(next.y);
calculateReactionForce(game, iNext.x, iNext.y, RFLeft);
calculateReactionForce(game, iNext.x, iNext.y, RFRight);
}
}
}
if(reacts[RFUp] < 2)
{
if(reacts[RFDown] > 0)
{
if(reacts[RFLeft] > 0 || reacts[RFRight] > 0)
{
//Low or none push up,
//Push down and
//Push left or right
pos.y += itof(1);
next.y = pos.y + vel.y;
iNext.y = ftoi(next.y);
calculateReactionForce(game, iNext.x, iNext.y, RFLeft);
calculateReactionForce(game, iNext.x, iNext.y, RFRight);
}
}
}
}
Is it special code for climbing? If not, do you know part of code, which handle moving by ascending surface?
Very appreciate any information. Thanks for great port of awesome game!
There needs to be a way to generate maps. There are a few old and perfectly ok options for this, but they are quickly becoming outdated.
I see a few alternatives:
To complicate option 3 there needs to be a way to get an image of the map as it is displayed inside Liero, which is not the same as the source image (since it applies textures and whatnot).
I would really like to have something like option 3 for ease of use and for easy testing of new maps.
While doing this, it's worth considering expanding the scope of maps to include stuff like using all available colors and adding new types of terrain (for example, while there is terrain that can be shot through but not moved through, I believe there's no terrain that can be moved through but not shot through).
I don't like the fact that the source code is placed directly in the root of the repository. It should get moved.
It would be nice if README.md
mentions the instructions how to convert TC. Something like this: https://www.reddit.com/r/linux/comments/3u9hna/how_to_get_liero_v136_running_on_linux/
Hey, not sure if this is the right place, but I just wanted to let you know about one issue which I discovered about Liero orbmit edition.
Some Liero soundpacks (.snd files) are missing (mostly intentionally) single sounds, e.g. a soundpack in Liero TC called Tank Wars II by Runestorm is missing DROPSHELL and BURNER sound. However, you can still run such TCs normally (either using 1.36 openliero.exe or without it, e.g. when you run liero.exe in dosbox) and this has no impact on the game - even if you set such "empty" sound as a launch sound for any weapon, the game will not crash.
However, when you convert such TC (with such "incomplete" soundpack) to the 1.38+ orbmit version, the game will crash when you try to open this TC in the game. After conversion, the "missing" sound is in fact represented as empty .wav file in the TC/X/sounds subdirectory, but the game cannot read it and the game crashes (with no "warning message" printed).
PS. big respect to you guys for making Liero still alive & developing it, you are the best!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.