bfattori / therenderengine Goto Github PK
View Code? Open in Web Editor NEWCurrently rewriting in ES6 and removing a lot of old polyfills
Home Page: http://bfattori.github.com/TheRenderEngine
License: MIT License
Currently rewriting in ES6 and removing a lot of old polyfills
Home Page: http://bfattori.github.com/TheRenderEngine
License: MIT License
I would like to use the sprite tool, but i can't make it work, the top menu don't load, and when i try to acces it, it dissapear, i need to install anything? i'm running it on an windows 7 OS, and the files are inside Wamp server, i tryed to run the .bat file, but nothing happens... Some clue?
When I use the mouse component in FireFox 4.01 it breaks with the following being logged to the console:
x is undefined
[Break On This Error] if (x.length && x.splice && x.shift) {
At source point2d.js(line 106)
Happens also in the Physics demo.
Using latest 2.0 from git.
Hi,
I was wondering if it is intentional, that the mouseDown and mouseUp events are sent to all HostObjects in the scenegraph (assuming, there are multiple of them, which contain a MouseInputCompent). I somehow expected, that a HostObject would only receive mouseDown and mouseUp events, if they are happening in the HostObject's bounding box. This way, I wouldn't have to check for the event's position and compare it to my bounding box, every time I receive a mouseDown/Up event.
But maybe there are good reasons to implement it the way you did?
It should be no problem to change this behaviour, as the bounding box is already used to check, whether mouseOver events should be sent.
Hi,
I noticed, that the event position of mouse events is the same as for the events sent by the browser itself. So they are relative to the browser's window. That leads to problems, when I want to embed the game's render context into an HTML page, and the context is not positioned in the top left corner (f. ex. because it's preceded by other HTML-elements). As the event's position is not relative to the games top left corner, I may get wrong or no behaviour, when clicking on the canvas.
I think it should be possible to transform the position of the browser's event, before propagating it to the HostObject's event handler.
If you agree, I could look into this and send you a pull request, once I'm done. If you want ;-)
Is the touch input demo incomplete, or am I that overtired and just not seeing where the touch input handlers are implemented?
Once I found the typo in the R.Engine.define for Tutorial3, and my attempts to get Tutorial3 working, it made me wonder if I would be able to crank up the error reporting in the console log.
Is this possible?
app.version=2.0.0.10
build.version=v2.0.0.10 beta
build.date=7/20/2011
client=Google Chrome 11.0.672.2
app.version=2.0.0.10
build.version=v2.0.0.10 beta
build.date=7/20/2011
client=Google Chrome 11.0.672.2
I am trying to use the XMLLoader to load XML. I can load the XML, but I am not sure how to iterate through my XML using this object. I notice that the load method for XMLLoader has a third parameter of doc
"[Object] doc - The document that was loaded"
How is this used? Something like this?
this.xmlLoader = XMLLoader.create();
var obj = new Object();
this.xmlLoader.load("NormalXML", this.getFilePath("resources/plist/Normal.xml"), obj);
And should I now be able to access my XML via this.obj? Or do I need to access the XML through the XMLLoader object (ex. this.xmlLoader.getXML('NormalXML'))?
Thanks,
Alex K
I'm working on Mac OS X and switching between Firefox 3.6.16 and Chrome 10.0.648.205.
Whenever I try to run the tutorials I'm getting various errors. Not sure if other browsers are getting these, but here's what I get:
Steps to reproduce:
* go to the base directory and start up jibble with run.bat
* In Chrome, go to http://localhost:8010/tutorials/tutorial2/
* In the console, you should see the following errors:
GET http://localhost:8010/tutorials/tutorial2/game.config 404 (File Not Found)
GET http://localhost:8010/tutorials/tutorial2/game_chrome.config 404 (File Not Found)
GET http://localhost:8010/tutorials/tutorial2/game_chrome_MacIntel.config 404 (File Not Found)
math2d.js:219 Uncaught ReferenceError: Math2 is not defined
I'll dig in and see if I can find why Math2 is not defined, but just an FYI because if I read the commit messages of the tutorials correctly, I believe at least Tutorial2 should work.
app.version=2.0.0.10
build.version=v2.0.0.10 beta
build.date=7/20/2011
client=Google Chrome 11.0.672.2
description=while testing the isometric demo, switching browser tabs will cause losing the mouse control.
In general I'll submit a pull request, but this one is pretty straight forward:
game.js in Tutorial three looks like it has a copy-paste error. The third line should probably read:
// Load all required engine components
R.Engine.define({
"class": "Tutorial3",
not Tutorial2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.