Sign in to follow this  
uyerdna

VS2013 Typescript custom server

Recommended Posts

I'm starting to re-work my game using TS and now using Visual Studio 2013. IIS works perfect for me to test and iterate my game rapidly but I need to test it on my device as well. 

 

When working with Phaser JS, I need only to set up gruntfile.js, launch grunt, edit a little something and it will work. Can anyone please tell me how to test my game on my device or if needed, set up custom web server in VS?

 

Thanks!

Share this post


Link to post
Share on other sites

Hmm I see it now. I guess I'll just need to the grunt work myself if I want live-testing on my device

I think I can just copy my game files to www folder of mongoose or any server and then run it on my device. Should work that way but I need some one to throw that idea at me. Thanks Tom!

Share this post


Link to post
Share on other sites

You can do whatever you want after VS build - just set it in Project properties in "Build Events" tab. There is "Post-build event command line" window and you can write there what should be done. I am using it to do some extra processing of build output for release like this:

if $(ConfigurationName) == Release (  copy ..\js\mygame.js ..\js\mygame_orig.js  metascript ..\js\mygame.js > ..\js\mygame_meta.js  uglifyjs ..\js\mygame_meta.js -m -c "unused=true,dead_code=true,drop_console=true" --output ..\js\mygame.js) ELSE (  rem do nothing)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.