Quickest way to get started?

Hi,
What’s the quickest way to start a new project using cocos-html5?

I just want to start a new project with my own name - that I can modify.

Familiar with git, npm etc - seems cocos has changed a lot in the last few months
so various tutorials I’ve tried don’t seem to work.

Cheers,
Stuart

there is a template dir in source code.
use it and modify it. test it inside your apache

cc huang wrote:

there is a template dir in source code.
use it and modify it. test it inside your apache

If I go into the template folder, then start python as a webserver:

  1. python -m SimpleHTTPServer
    Serving HTTP on 0.0.0.0 port 8000 …

Then go to localhost:8000 I see a black screen.

There is a message in the chrome console “GET http://localhost:8000/cocos2d/platform/jsloader.js 404 (File not found) cocos2d.js:77
(anonymous function)”

If I open index.html using the filesystem I can see the Cocos loading screen. I’ve tried in firefox and also get the same result.

Ah … just had a look inside cocos2d.js and saw “enginedir = …” … ran SimpleHTTPServer in the parent directory and now things work.

Didn’t realise about engineDir !