Coder Social home page Coder Social logo

derp's Introduction

Derp Project

Subprojects

  • Derp is the library.
  • Derper is the loader (runtime) for fully scripted applications.
  • HerpDerp is the editor.

# Derp - Engine

Derp is a very simple and yet to be powerful game engine for 2D and 3D games written in D. It is supposed to be a hybrid engine, providing both a D and a Lua interface. Thus it will be possible to write application code both in D (compiled) or Lua (scripted, dynamically loaded and executed with LuaD).

Goals

It is planned that derp features

  • 2D and 3D Graphics via OpenGL
  • audio via OpenAL
  • simple, extensible resource loading, with many already supported types (ASSIMP)
  • simple distribution (see also Derper)
  • powerful scene graph with entity/component system
  • full scene serialization (level files etc.)
  • full access to engine API from LUA
  • and probably more

# Derper - Loader

Derper is a simple to use loader for fully scripted derp applications. Similar to the distribution method of Löve2D packages, derper will be able to open a package containing all application data. This should make it very easy to distribute (open-source) projects for all supported platforms.


# HerpDerp - Editor

HerpDerp is a planned scene graph editor for the derp engine. This subproject has not yet been started.

derp's People

Contributors

opatut avatar svenstaro avatar zetaron avatar zoadian avatar

Stargazers

 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

derp's Issues

Compiling derp engine fails under dmd v2.060 linux

When I run make code compilation fails with this error message:

orange/util/Reflection.d(497): Error: function orange.util.Reflection.newInstance (TypeInfo_Class classInfo) is not
callable using argument types (const(TypeInfo_Class))
orange/util/Reflection.d(497): Error: cannot implicitly convert expression (classInfo) of type const(TypeInfo_Class) to string
make[1]: *** [lib/32/orange/util/Reflection.o] Error 1
make[1]: Leaving directory `/home/erdem/Çalışmalar/derp/externals/orange'
make: *** [dep] Error 2

I tried to delete orange directory. Reclone orange library and it compiles fine.

Fix shader on Catalyst Drivers

Currently herpderp will not run on my system with Catalyst for driver, Catalyst returns the message "Failed to compile shader" when I try to run herpderp while trying to use the fragment shader.

Plan GameState structure

There have to be gamestates... what do we need, how can they be implemented?

  • intelligent resource loading/unloading
  • transitions
  • stacking / peeking

Implement render system

Proposed call stack

  • `Window.render()?
  • each viewport in the window: viewport.render()
  • viewport.camera.render()
  • camera.node.rootNode.render()
  • recursively, each child node node.render()
  • each component: component.render()

MeshComponent and SpriteComponent override the render() method to do their stuff.

Suggestions?

Windows Support

do we support windows yet?
i know 3 people who want to test derp, but don't want to install linux.

(i'm stll on the project btw, just no spare time atm)

Text rendering

Low-level text rendering

  • Font loading
  • Render text to a texture
  • Calculate text width
  • Colours (should be fairly easy with the vertex color attribute - would even support gradients)
  • Maybe the TextComponent should be/have a sprite internally?

Plan Scene Graph

How will the entity/component system look like?

Keep in mind

  • extensibility
  • performance
  • initialization/deinitialization order
  • deep serialization (orange)

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.