Open zachio opened 9 years ago
I added you as a collaborator. Maybe that will help. We will figure this out sooner or later.
I think I'm taking a simpler approach... Just give it a list of stuff to load, and a callback for when it's done.
game.assets.load( ["asset", "asset", "asset"], function(){callbackstuff} )
Downloaded assets will be stored in game.assets[assetName]
It would automatically differentiate between graphics and sounds by file extension, and eventually also provide lists of current downloads, their statuses, stuff like that.
Now we are cooking with gas. I made another repo called JavaScriptlater. It's a website templater that just uses the client instead of the server. So you can use it on free hosting sites.
On Sat, May 2, 2015 at 1:38 AM, unknwnc notifications@github.com wrote:
I think I'm taking a simpler approach... Just give it a list of stuff to load, and a callback for when it's done. game.assets.load( ["asset", "asset", "asset"], function(){callbackstuff} ) Downloaded assets will be stored in game.assets[assetName] It would automatically differentiate between graphics and sounds by file extension, and eventually also provide lists of current downloads, their statuses, stuff like that.
— Reply to this email directly or view it on GitHub https://github.com/zachdyer/pong/issues/8#issuecomment-98319963.
[image: ZachDyerDesignHeaderGoogle.png] Zach Dyer 1471 W South St. Ozark, MO 65721 417.582.5445 www.zachdyerdesign.com hosting.zachdyerdesign.com
Breach of confidentiality & accidental breach of confidentiality
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
I have not looked it it in detail, but it looks like it has a similar function to HTML5 Imports: http://www.html5rocks.com/en/tutorials/webcomponents/imports/
I had no idea this existed. Awesome!
On Tue, May 5, 2015 at 12:27 PM, unknwnc notifications@github.com wrote:
I have not looked it it in detail, but it looks like it has a similar function to HTML5 Imports: http://www.html5rocks.com/en/tutorials/webcomponents/imports/
— Reply to this email directly or view it on GitHub https://github.com/zachdyer/pong/issues/8#issuecomment-99151269.
[image: ZachDyerDesignHeaderGoogle.png] Zach Dyer 1471 W South St. Ozark, MO 65721 417.582.5445 www.zachdyerdesign.com hosting.zachdyerdesign.com
Breach of confidentiality & accidental breach of confidentiality
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
It looks like development has slowed a bit recently, hasn't it... Do you have any major plans to continue this project? My asset manager is still in the works, but I've been sidetracked by life recently. I may still be too busy to be working on this for another week or so. I believe the last commits I made are uploaded in the branch I made, if you want to look at them.
That's because I'm working on a Golang project, a language created by Google. I have a handful of code written for it. I'm calling it Golang CMS. Do you want me to upload it to GitHub so you can take a look at it. Move been having a blast writing it. Also we can compile it to all operating systems when we release it.
On Tuesday, May 26, 2015, unknwnc notifications@github.com wrote:
It looks like development has slowed a bit recently, hasn't it... Do you have any major plans to continue this project? My asset manager is still in the works, but I've been sidetracked by life recently. I may still be too busy to be working on this for another week or so. I believe the last commits I made are uploaded in the branch I made, if you want to look at them.
— Reply to this email directly or view it on GitHub https://github.com/zachdyer/pong/issues/8#issuecomment-105752424.
[image: ZachDyerDesignHeaderGoogle.png] Zach Dyer 1471 W South St. Ozark, MO 65721 417.582.5445 www.zachdyerdesign.com hosting.zachdyerdesign.com
Breach of confidentiality & accidental breach of confidentiality
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
By the way I have a repo for the Game Library right here https://github.com/zachdyer/game-library
You know what we need is some sprite handlers for the game library so we can even do the autotiling. Also I would like to get stuff like random seed number. You know like on minecraft. And the whole procedural programming thing. http://en.wikipedia.org/wiki/Procedural_generation
I think we should keep the main library relatively lightweight. Consider the possibility of adding plugins or addons for larger functions like procedural generation. I'm also suggest the possibility of using GitHub Pages to host the game library; That way, we wouldn't have to copy it into every project that may eventually use it.
Hey that is a good idea. I see people do that quite a bit. You know what we could keep the game library core very simple and depending on what you want to do you could add to it and since the game library is an object we could just prototype it to add to it. For example Game.prototype.procedural = {...}. I'm not sure if that is how it is usually done but it seems to be a natural fit for the language.
On Wed, May 27, 2015 at 11:07 PM, unknwnc notifications@github.com wrote:
I think we should keep the main library relatively lightweight. Consider the possibility of adding plugins or addons for larger functions like procedural generation. I'm also suggest the possibility of using GitHub Pages to host the game library; That way, we wouldn't have to copy it into every project that may eventually use it.
— Reply to this email directly or view it on GitHub https://github.com/zachdyer/pong/issues/8#issuecomment-106164819.
[image: ZachDyerDesignHeaderGoogle.png] Zach Dyer 1471 W South St. Ozark, MO 65721 417.582.5445 www.zachdyerdesign.com hosting.zachdyerdesign.com
Breach of confidentiality & accidental breach of confidentiality
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Need to have a couple of functions to load images and sound. Let's do
Game.loadSound(path)
andGame.loadImage(path)
.