Welcome 
Snop Productions is dedicated to producing entertainment applications for a variety of platforms.
(The Urban Legend Website is located at Snopes.com 
(we fully support what they do))

Cordova and Cocos2d-HTML 
In order for me to get Cocos2d-HTML to work using cordova, I had to upgrade to use 4.0-dev version of Cordova's ios build.

sudo cordova platform add ios@4.0.x --usegit

I could then use the local-webserver plugin (https://github.com/apache/cordova-plugins/tree/master/local-webserver)

and as a bonus got WKWebView (IOS 8.0) for added speed.

I did have to disable token/cookie 'security feature', so resource loading would work correctly.

In file CDVLocalWebServer.m
in function asyncProcessBlock, comment out the following block of code:

if (!hasToken && !hasCookie) {
complete([GCDWebServerErrorResponse responseWithClientError:kGCDWebServerHTTPStatusCode_Forbidden message:@"FORBIDDEN"] );
}


This

[ add comment ] ( 6 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
The Dare Postmortem 

New technology researched and used

  • Illuminate.js is an interesting library, but canvas only, but demo was inspirational for game
  • Krita graphics editor is not as intuitive as Photoshop.
  • Installed Photoshop CS3, but seems to not work well under Win8
  • Rather than write my own, I found a Quadtree.js library that I immediately put to use for determining shadow objects, collisions, and reducing FOV calculations.
  • Version 28.0 of Waterfox includes Javascript speed improvements
  • Installed Node.js locally, but not using it yet for production. (maybe next month)
  • Sound effects are handled by Howler.js, though we will see if it is much different from Cocos2d-html5 implementation.
  • May use Gamepad.js in the future.
  • I plan to compare Cocoon.js with Node webkit to see what best fits my needs.

What didn't work

  • Converting Illuminate.js to webGL would require batching buffers, etc. and be different from the compositing done by the library
  • Krita is not a go to graphics editor for me (Perhaps better suited for use with tablet). I tried it hoping to overcome years of Photoshop knowledge (and Gimp not being close enough).

Long Term Success

  • My shadow casting implementation worked well, should also be useful for vision detection in future games
  • Quadtree.js will be a staple from now on. Moving forward on large maps, it will be very useful for managing data.
  • Added a few new plug-ins to Paint.net for quick editing and prototyping sprites. Specifically for manipulating the Alpha channel. (one of the main reasons there is a need for a more advanced graphics editor)


[ add comment ] ( 54 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
How to get Cocoon.js and Cocos2d-Html5 to work together. #cocoonjs #cocos2d-html5 @ludei 
A quick note on how to get Cocoon.js and Cocos2d-Html5 to work together.

When I first attempted getting Cocoon.js to work with my Cocos2d-html5 project, I removed the canvas tag and tried to create it via javascript as the Cocoon.js website suggested. When I couldn't get Cocos2d to recognize the canvas, I final reverted back to the standard index.html canvas tag line, which surprisingly worked fine.

TL:DR Use canvas tag, don't use function.



[ add comment ] ( 46 views )   |  [ 0 trackbacks ]   |  permalink  |  related link
End of year clean up for #1GAM games 
Finishing up the last game for #1GAM and then preparing a launch page for all 12. Going back and fixing bugs, missing music, etc and also adding some basic branding.

[ add comment ] ( 38 views )   |  [ 0 trackbacks ]   |  permalink
Spine.js & Cocos2d-HTML follow up. 
I posted the ported javascript code to Github...

https://github.com/MadDugan/spine-cocos2d-html5

[ add comment ] ( 39 views )   |  [ 0 trackbacks ]   |  permalink  |  related link

| 1 | 2 | 3 | 4 | 5 | 6 | Next> Last>>