Code Monkey home page Code Monkey logo

spooky's People

Contributors

darsto avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

spooky's Issues

Add cross-platform file reader

  • java bindings for Android builds, which would read files from inside the apk file
  • Windows version of dirent.h

This could also fix cross-platform support, as it's broken for now.

Optimize texture loading

Some cache could be useful.

Android devices loose OpenGL context with every app minimization, so it has to be reloaded. Right now it also causes texture atlases to load again and then manual mipmap generation slows down this process a lot.

OSX build

Just a quick try out, and found that it does not build on OSX. There seems to be some linux-specfics used, e.g. ".../" instead of "../../". A quick fix might be required if OSX support gets a chance to your list of goals?

venus:spooky wc$ mkdir -p build/android && cd build/android
venus:android wc$ cmake -DCMAKE_TOOLCHAIN_FILE=[...]/toolchain-android.cmake -DANDROID_ABI="armeabi" -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED=ON ../..
CMake Error at /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/CMakeDetermineSystem.cmake:104 (message):

Refactor render/ directory

Some render/ subdirectories have been already refactored, but the majority is still full of garbage.

As usually:

  • cleanup, remove unnecessaries
  • move to c++11
  • add exception handling (as no tests can be done)
  • add documentation
  • wrap in namespaces

Wrap everything in namespaces

Since Spooky is supposed to be a library, it might be wise to wrap everything in "spooky" namespace.
Also, particular parts of the engine could have their own sub-namespaces. (like rendering)

Cleanup CMake files

It's a real mess for now, completely unreadable. The structure is also very inconsistent.

Move GUI initialization to lua

Many features will follow.
The gui code will be heavily refactored, but there's no other way to decide on the code design.

Fix, rework and refactor GuiElementRender

  • fix position index handling of GuiElement
  • allow non-square textures to be used by the shader
  • manage memory more wisely, cleanup
  • add a common interface for regular textures & texture atlases
  • add documentation

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.