Giter Club home page Giter Club logo

featherkit's People

Contributors

cptasgard avatar danhedron avatar dementati avatar fredyeye avatar genuineaster avatar jefvel avatar kimchi-jjigae avatar lheckemann avatar therocode avatar zsbzsb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

featherkit's Issues

Make audio survive tab switch in the browser

13:50:22 < clb> I recommend in that case to separate the audio update function to a C interface, which you use EM_ASM() with setTimeout (don't use setInterval!) to call it periodically
13:50:54 < clb> setTimeout()s will happen even if another tab is active or the browser was minimized

Parallax documentation ambiguity in Drawable2D

The documentation doesn't really explain much:

void fea::Drawable2D::setParallax   (   float   parallax)       
Set the parallax.

What is the "parallax" exactly? :)
The rest of the class's documentation feels a bit bland too.
Might update this myself.

Code quality (possible errors found by cppcheck)

This is what cppcheck found when ran with --enable=performance,portability,style,warning --inconclusive --std=c++11 on the incoming branch, excluding errors from generated C source files:

[src/audio/audiofilestream.cpp:11]: (style) Variable 'desiredSampleAmount' is assigned a value that is never used.
[src/audio/audioplayer.cpp:185]: (style, inconclusive) Consecutive return, break, continue, goto or throw statements are unnecessary.
[src/rendering/textsurface.cpp:15]: (style) Variable 'error' is assigned a value that is never used.
[src/rendering/textsurface.cpp:318]: (style) Variable 'currentWordStart' is assigned a value that is never used.
[src/ui/inputhandler.cpp:99]: (performance) Possible inefficient checking for 'newEvents' emptiness.

Support for vertical text

Hi, just started looking into featherkit - looks really nice.

I was just wondering if there is support for vertical text (text running down vertically), and perhaps other text features

ex. designating a max text width/height, so that if passed, the text starts showing on the next line, stopping if it passes a designated maximum height.
ex. changing font colour / font size within the text (so that despite being the same string, parts of the string have different sizes, colours)

And this is slightly off topic, but from what I hear, sfml has a few opengl context management limitations compared to sdl - does featherkit implement it's own context management method, or does it succeed sfml's?

Networking Module

Featherkit would benefit greatly from a networking module. Instead of planning on it - it should implemented with # 1 priority.

Get rid of unintended std::hash usages

Right now Feather Kit has a few cases where std::hash is used in a way not intended by the C++ standard. The effect of this is that in very very very very rare cases (or less rare depending on the stdlib implementation) there will be collisions and things will break.

Symbol export for VS 2013

Must add symbol exporting to the classes that are exposed in the public API for visual studio to generate .dll files. This can also be useful to combine with the visibility flag of gcc/clang. With this solved, Feather Kit can officially support VS2013

Building on MinGW

Hello there,
I tried to compile featherkit on my machine: Windows 7 x64 with MinGW 4.8.1 x86.
I had to change a few things (I won't speak about CMake headaches or screw GCC headers) to do so. Here there are:

include/featherkit/freetype-gl/platform.h
src/freetype-gl/platform.c
round does exists in GCC, but not in Visual Studio prior to VS2013. double round(double) and float roundf(float) -> removed

src/rendering/projection.cpp
src/rendering/renderer2d.cpp
src/rendering/shader.cpp
src/util/entity/glmtypeadder.cpp
uses of degree is deprecated in the latest version of GLM, so I had to add #define GLM_FORCE_RADIANS before all GLM includes.

also in src/rendering/projection.cpp
far and near collide with some other things, so I had to change their names

error: expected primary-expression before ')' token
      GLfloat tz = -(far + near) / (far - near);

after investigated a little, I found that it's a macro with:

#ifdef near
#error "macro"
#endif

but didn't found its origin. EDIT: http://stackoverflow.com/a/8731967/1938200

These are only my 2 cents, you do what you want. ;)

Optimise tilemap

This can be done by using an unordered_map to keep track of tiles indices

FindFeatherkit.cmake bug?

It doesn't seem possible in at least one context to set the library variables to a custom one that is not found automatically without it being overwritten when generating. investigate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.