Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by amadeus

I know you're probably as giddy as a school girl so I'll keep this brief.

Here is an all python development server for ImpactJS that requires no dependencies beyond Python (if you're on a Mac, then you're good to go).

Just drop this little bad boy into any impact game folder and it should just work (fingers crossed anyways).

You can check out the code and get proper instructions on Github:

https://github.com/amadeus/python-impact/

I hope this is valuable for at least some of you. I plan on porting the bake script as well.

Also, if you find any bugs, please let me know here or on Github issues so I can get them rectified as quickly as possible.

Cheers

P.S. Yes, it works with Weltmeister!

P.P.S. It also doesn't have those darned permissions problems that Apache always ran into when it came to saving levels in Weltmeister.

1 decade ago by quidmonkey

Awesome. I'll give this a try when I get home tonight.

1 decade ago by stahlmanDesign

Sounds good

1 decade ago by fugufish

very cool. hook it up to AppEngine, it'll give the scaling power you need.

1 decade ago by jul

Just tried it works great! Cheers

1 decade ago by quidmonkey

This is amazing. I'm so impressed. Tell your friend Armon he's the fucking man.

1 decade ago by audionerd

Nice! This is very thorough.

I've been using this Ruby port, due to a similar aversion to PHP!

https://github.com/chrisdarroch/impactrb/blob/master/impact.rb

1 decade ago by audionerd

The Ruby/Sinatra port is mountable in Rails, if that's your sort of thing.

if Rails.env.development?
  match "/game/" => ImpactApp, :anchor => false
end

1 decade ago by quidmonkey

For those interested, I forked the repo and rewrote the source to Python 3.x as well as fixed a Windows error with MIME requests.

1 decade ago by stahlmanDesign

This is so easy to set up and it worked on the first try.

It means I don't have to develop in my localhost/~myname/Sites folder on Mac anymore.

Since OS X Mountain Lion doesn't have Apache built in anymore, I needed to use XAMP.

But this python server means I don't even have to use XAMP.

I hope this gets developed further and I hope it works with Node.js and Impact 2.0

@quidmonkey & @amadeus Thanks for such a great contribution to the community.

1 decade ago by fulvio

Thass what I'm talking about! High-five Armon next time you cross paths with him. Thank you very much for this.

1 decade ago by quidmonkey

I pushed a fixed to my fork that removes module loading issues with Weltmeister and added the print message tweak by amadeus on the main repo. Both should now be more or less in sync.

1 decade ago by jameztcc

Thanks! Appreciate it for the fact that Linux distro comes with python and no messy setup with Apache/PHP and the gang. Cool!

1 decade ago by taddeimania

I went ahead and made this a bit easier to use.

pip install pyimpact

And then from the root folder of your impact project just type

startimpact 

You can pass command line args as such:

--host=hostname (defaults to localhost)
--port=port (defaults to 8080)

Feel free to contribute any bug fixes or features to:

http://github.com/taddeimania/pyimpact

1 decade ago by svenanders

Fantastic. I use this all the time, and now it just got that much easier. Thanks :)
Page 1 of 1
« first « previous next › last »