Goodbye wordpress, hello github
03/26/2013 09:14am | 0 Comments
Hi,
If you happen to arrive here, please know that I now use my github page as my main blog:
http://toumorokoshi.github.com/
Find more recent articles there :)
Thanks!
My focus is on implementing technologies for back-end preformance and test evaluation.
Hi,
If you happen to arrive here, please know that I now use my github page as my main blog:
http://toumorokoshi.github.com/
Find more recent articles there :)
Thanks!
XACT is a audio application used to manage audio for games using the XNA framework. Here are some resources to help you get started.
you may need Visual Studio 2010 express to use it:
Visual Studio 2010 install links
Make sure to install the C# express version.
After that, try following this tutorial to build XACT projects.
After doing some searching online, it looks like paint.net is a common tool people use to create and animate sprites. Here's a small tutorial on how to get some basic sprite sheet testing running.
To install it, simply go to http://www.getpaint.net/ (be careful about others sites you go to, I end up at a couple of malware sites before I arrived at the proper one).
The direct download URL is http://www.dotpdn.com/files/Paint.NET.3.5.10.Install.zip. If that doesn't exist, try to navigate to getpaint.net and click download, and then "download paint.net 3.5". Be careful! There's a lot of adword links that look like download pages.
Next, you need to download the plugin! There's a couple of sprite sheet plugins out there. I chose the spritesheet animation plugin:
Just download the "PDNSpriteSheetAnimation.zip", which will contain a dll file. Drag and drop that into C:\Program Files\Paint.Net\Effects. C: is of course, interchangeable with whatever drive you installed paint.net on.
After you've installed the plugin, restart paint.net. It is now available via:
Effects > Animations > SpriteSheetAnim :
And there you go! The plugin opens up and you can test various animations with it.
Credit for the sprite sheet in the picture goes to 10firstgame's wordpress blog.
http://yuilibrary.com/projects/yui3/ticket/2529324
You just add a "headers": { "YOUR_PARAM": "disabled"} in the request.
from tg import json_encode, response
from tg.render import _get_tg_varsdef render_jsonp(template_name, template_vars, **kwargs):
callback = template_name or kwargs.pop('callback', None) or 'callback'
for key in _get_tg_vars():
del template_vars[key]
response.headers['Content-Type'] = 'text/javascript'
return '%s(%s)' % (template_name, json_encode(template_vars))from myapp.config.app_cfg import base_config
base_config.render_functions['jsonp'] = render_jsonp
base_config.mimetype_lookup = {'.jsonp': 'text/javascript'}
courtesy of Pederson:
https://github.com/TurboGears/tg2/issues/2
int main(){
int i = 0;
for(i = 0; i < 15; i++)
{
i++;
}
return i;
}