Git Product home page Git Product logo

defect-process's People

Contributors

incoherentsoftware avatar sumeet 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

defect-process's Issues

Door won't open

Hi! Very nice game!
Don't know if this is the appropriate place for bug reports,
but at one game at a "hit bouncing ball" level,
I couldn't progress from there:

Screen Shot 2021-10-10 at 13 05 44

This is with version from Steam, on macOS 11.5.2 on M1 MBP

Might be a great addition to nixos

I'd be up for packaging this for nixos.

would you accept a flake.nix into the root of your repo?

Would you consider giving nixos users a limited game experience, perhaps a single level for running on this via nixos?

Doesn't run after upgrading macOS to Monterey 12.0.1

After upgrading macOS to 12.0.1 today, it won't run.

Running from the terminal, I get the following interesting output:

yairchu@Yairs-M1-MBP-4 ~ % /Users/yairchu/Library/Application\ Support/Steam/steamapps/common/Defect\ Process/defect-process.app/Contents/MacOS/defect-process 
objc[19705]: Class SDLApplication is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68618) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c84c0). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLAppDelegate is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68668) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8510). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLTranslatorResponder is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b686e0) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8588). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLMessageBoxPresenter is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68708) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c85b0). One of the two will be used. Which one is undefined.
objc[19705]: Class SDL_cocoametalview is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68758) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8600). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLOpenGLContext is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b687a8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8650). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLWindow is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b687f8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c86a0). One of the two will be used. Which one is undefined.
objc[19705]: Class Cocoa_WindowListener is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68820) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c86c8). One of the two will be used. Which one is undefined.
objc[19705]: Class SDLView is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68898) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8740). One of the two will be used. Which one is undefined.
objc[19705]: Class METAL_RenderData is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b688e8) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c8790). One of the two will be used. Which one is undefined.
objc[19705]: Class METAL_TextureData is implemented in both /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x117b68938) and /Users/yairchu/Library/Application Support/Steam/steamapps/common/Defect Process/defect-process.app/Contents/MacOS/lib/libSDL2-2.0.0.dylib (0x1123c87e0). One of the two will be used. Which one is undefined.
defect-process: SDLCallFailed {sdlExceptionCaller = "SDL.Video.clear", sdlFunction = "SDL_RenderClear", sdlExceptionError = "Invalid renderer"}

It looks like my x86_64 brew setup has a libSDL and that confuses the app which doesn't know which version to use?

After removing my brew setup it does work.

Quit prompt cancel button does not cancel

As reported by a user:

When the game is in progress and the user goes back to the main menu and selects 'Quit', they are unable to click on 'Cancel' to continue playing. So the only option is to exit once you reach that dialog prompt.

The steam build and this repo will have the fix (https://gist.github.com/incoherentsoftware/6c744ccd69456d4930bc2b187d01efd2) added as part of a larger update towards the end of this month. Workaround in the meantime is to press Esc (or B/O depending on gamepad) which will also close the quit prompt.

Input not detected when compiled with SDL 2.0.20

Compiling with SDL 2.0.20 has problems with input detection (e.g. mouse clicks/keyboard presses not registering) due to an open upstream issue (haskell-game/sdl2#245). Will need to use an earlier SDL version between [2.0.10, 2.0.18] for now, the Steam build is using 2.0.10.

Have reproduced the issue on Arch Linux and Ubuntu so far, this may also affect Windows and macOS.

FMOD libs require setting LD_LIBRARY_PATH

I managed to build the game including Game Audio by following the steps in linux-setup.md. However, when trying to start the game with ./defect-process I get the error ./defect-process: error while loading shared libraries: libfmod.so.13: cannot open shared object file: No such file or directory.

When setting the LD_LIBRARY_PATH to <project root>/lib it works. Not sure if it is an issue with my system (Ubuntu 21.10) but maybe it helps to add this info to linux-setup.md.

Windows build issues - fixes/workarounds

For the pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf step:
If you see a package signing error, run pacman -Sy msys2-keyring.

For the stack build --local-bin-path . --copy-bins step:
If you see a SDL2 build error about undefined reference to __stack_chk_guard use the temporary workaround in haskell-game/sdl2#277 (comment).

Won't build on Ubuntu 21.10

I have cloned the repo and am following the instructions under linux-setup.md, omitting Enable Game Audio. I have succesfully installed all SDL libraries by sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev. However, when buildling with stack (Version 2.7.3, Git revision 7927a3aec32e2b2e5e4fb5be76d0d50eddcc197f x86_64 hpack-0.34.4) I get the follwowing output:

> stack build --local-bin-path . --copy-bins
sdl2          > configure
sdl2          > Configuring sdl2-2.5.3.0...
sdl2          > Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7: The pkg-config package 'sdl2'
sdl2          > version ==2.0.6 || >2.0.6 is required but it could not be found.
sdl2          > 

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.