Code Monkey home page Code Monkey logo

Comments (9)

knewter avatar knewter commented on August 16, 2024

If you download extris_web you might have better luck. Same thing, but getting SDL or Wx to compile is always moderately complicated - though you will still have to deal with that a bit since they are dependencies of extris, now that I think of it.

Just run iex -S mix and tell me what happens. Also, what OS are you using?

from extris.

zack-bitcoin avatar zack-bitcoin commented on August 16, 2024

** (Mix) Could not compile dependency esdl2, make command failed. If you
want to recompile this dependency, please run: mix deps.compile esdl2

and typing "mix deps.compile esdl2" causes the same error again.
I am running Ubuntu linux 14.04

Thanks for the help.

On Thu, Jan 15, 2015 at 2:22 PM, Josh Adams [email protected]
wrote:

If you download extris_web you might have better luck. Same thing, but
getting SDL or Wx to compile is always moderately complicated - though you
will still have to deal with that a bit since they are dependencies of
extris, now that I think of it.

Just run iex -S mix and tell me what happens. Also, what OS are you using?


Reply to this email directly or view it on GitHub
#1 (comment).

from extris.

knewter avatar knewter commented on August 16, 2024

Try sudo apt-get install libsdl2-dev libsdl2-image-dev

On Fri, Jan 16, 2015 at 4:57 PM, zack-bitcoin [email protected]
wrote:

** (Mix) Could not compile dependency esdl2, make command failed. If you
want to recompile this dependency, please run: mix deps.compile esdl2

and typing "mix deps.compile esdl2" causes the same error again.
I am running Ubuntu linux 14.04

Thanks for the help.

On Thu, Jan 15, 2015 at 2:22 PM, Josh Adams [email protected]
wrote:

If you download extris_web you might have better luck. Same thing, but
getting SDL or Wx to compile is always moderately complicated - though
you
will still have to deal with that a bit since they are dependencies of
extris, now that I think of it.

Just run iex -S mix and tell me what happens. Also, what OS are you
using?


Reply to this email directly or view it on GitHub
#1 (comment).


Reply to this email directly or view it on GitHub
#1 (comment).

Josh Adams
CTO | isotope|eleven http://www.isotope11.com
cell 215-3957
work 476-8671 x201

from extris.

zack-bitcoin avatar zack-bitcoin commented on August 16, 2024

Now I can go to localhost:4000 and see the board, and pieces fall. but I cannot control the pieces. It isn't capturing key presses.
or maybe I am using the wrong keys?

from extris.

knewter avatar knewter commented on August 16, 2024

Click on the window, but it should be capturing keyup. Any js errors?
On Jan 16, 2015 7:12 PM, "zack-bitcoin" [email protected] wrote:

Now I can go to localhost:4000 and see the board, and pieces fall. but I
cannot control the pieces. It isn't capturing key presses.
or maybe I am using the wrong keys?


Reply to this email directly or view it on GitHub
#1 (comment).

from extris.

zack-bitcoin avatar zack-bitcoin commented on August 16, 2024

Looks like it is a firefox specific bug. Chromium is able to run correctly.

In firefox, clicking on the window doesn't help.
I installed firebug, and it gives messages like this repeatedly:
message origin=ws://localhost:4000, data={"topic":"play","message":{"board":[[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,4,4,0,0,0],[0,0,0,0,0,0,4,4,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]},"event":"extris:board","channel":"extris"}

Chromium gives the same message in the console.
I have written games in js that are similar to tetris: http://zackbitcoin.pythonanywhere.com/

from extris.

knewter avatar knewter commented on August 16, 2024

the keyhandler has a bug in firefox then, should be trivial to fix but i
didn't know of it till now. give me a sec :)

On Sun, Jan 18, 2015 at 1:17 PM, zack-bitcoin [email protected]
wrote:

Looks like it is a firefox specific bug. Chromium is able to run correctly.

In firefox, clicking on the window doesn't help.
I installed firebug, and it gives messages like this repeatedly:
message origin=ws://localhost:4000,
data={"topic":"play","message":{"board":[[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,4,4,0,0,0],[0,0,0,0,0,0,4,4,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]},"event":"extris:board","channel":"extris"}

Chromium gives the same message in the console.
I have written games in js that are similar to tetris:
http://zackbitcoin.pythonanywhere.com/


Reply to this email directly or view it on GitHub
#1 (comment).

Josh Adams
CTO | isotope|eleven http://www.isotope11.com
cell 215-3957
work 476-8671 x201

from extris.

knewter avatar knewter commented on August 16, 2024

Pull master - fixed in ff

On Sun, Jan 18, 2015 at 1:17 PM, zack-bitcoin [email protected]
wrote:

Looks like it is a firefox specific bug. Chromium is able to run correctly.

In firefox, clicking on the window doesn't help.
I installed firebug, and it gives messages like this repeatedly:
message origin=ws://localhost:4000,
data={"topic":"play","message":{"board":[[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,4,4,0,0,0],[0,0,0,0,0,0,4,4,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0]]},"event":"extris:board","channel":"extris"}

Chromium gives the same message in the console.
I have written games in js that are similar to tetris:
http://zackbitcoin.pythonanywhere.com/


Reply to this email directly or view it on GitHub
#1 (comment).

Josh Adams
CTO | isotope|eleven http://www.isotope11.com
cell 215-3957
work 476-8671 x201

from extris.

zack-bitcoin avatar zack-bitcoin commented on August 16, 2024

it works!

from extris.

Related Issues (1)

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.