Coder Social home page Coder Social logo

lengine's People

Contributors

sirramesq avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lengine's Issues

do_lookup_x crash

Currently on program exiit, the engine will crash upon calling SDL_Close()
#0 0x00007ffff7de0ef4 in do_lookup_x (undef_name=undef_name@entry=0x7ffff54c1edd "pa_pdispatch_unregister_reply", new_hash=new_hash@entry=1863888327, old_hash=old_hash@entry=0x7fffffffdb60, ref=0x7ffff54bca50, result=result@entry=0x7fffffffdb70, scope=, i=34, version=0x0, flags=5, skip=0x0, type_class=1, undef_map=0x7ffff7fc64f8) at dl-lookup.c:366
#1 0x00007ffff7de1b1f in _dl_lookup_symbol_x (undef_name=0x7ffff54c1edd "pa_pdispatch_unregister_reply", undef_map=0x7ffff7fc64f8, ref=ref@entry=0x7fffffffdc28, symbol_scope=0x7ffff7fc6850, version=0x0, type_class=type_class@entry=1, flags=5, skip_map=0x0) at dl-lookup.c:829
#2 0x00007ffff7de6ac6 in _dl_fixup (l=, reloc_arg=) at ../elf/dl-runtime.c:111
#3 0x00007ffff7deeeef in _dl_runtime_resolve_sse () at ../sysdeps/x86_64/dl-trampoline.h:112
#4 0x0000000000582688 in SDLInit::CloseSDL () at Source/Engine/SDLInit.cpp:24
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Seems to be a bug in glibc(?)

Would be great to find a workaround / solution

More info may be found here:
http://lists.linuxfromscratch.org/pipermail/lfs-dev/2011-September/065023.html

Shrink LuaInterface

Remove some responsibility from LuaInterface. Have each class that wants to register provide its own function for doing so.

Have A Better Way to Create Entities

Currently, Creating a new entity entails calling a monolithic function attached to LuaInterface. This functionality needs broken up a bit more.

Lookup entities by name Returns an Array

If multiple entities in a stage have the same name, then user scripts should be able to call a function that returns an array containing all of the entities with a specified name. Will make it easier to group together entities.

Remove Coord2df

Very silly name, already have a class that encapsulates a 2d coordinate point, Vec2d
Use that exclusively.

Controller Support

Controller input needs to be able to be mapped to input events.
There also must be a way to navigate the GUI using only a controller.

Remove Events From Engine

The Events serve no purpose. Event queues should be used to handle events async (across time), no events currently work that way. Instead, have observers and callbacks.

Gui World Position

Be able to create windows based on world position instead of screen position

Audio Ear and positional Sound

Have two kinds of sounds.
Normal sounds that are simply played.

Sounds with a position that will use the closest entity with a "Listener Component" (or similar name) that acts as an ear. The sound will then be modified based on where the ear is
So if the ear is far away, the volume is decreased
If the ear is underwater, all the sounds it hears can have reverb.
IF there are no ears (no listener components) no sound will be played.

May want to look into OpenAL, as SDL_Mixer seems a bit lacking

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.