
lekzd
Members-
Posts
11 -
Joined
-
Last visited
Everything posted by lekzd
-
Use Chrome Developper tools "Timeline" tab to find a heavy weight operations. Unfortunately, you provided so small info to predict something
-
Hi, jQuery is a powerful library for DOM manipulation. And if you want to make a game with a lot of HTML elements it is a not bad choise. But for most games we are using JS canvas libraries or complex game engines.
-
heh, better book about HTML5 it is a W3C specification http://www.w3.org/TR/html5/ all standarts goes from here but if you need some tuttorials, see here http://www.w3schools.com/html/html5_intro.asp
-
Read about CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS) If you want to load some ajax request data, you must to load it from same domain, where you run script, or from server, that allows requests from your server. try to make you local server for it, or disable Chrome security settings (http://stackoverflow.com/questions/3102819/disable-same-origin-policy-in-chrome)
-
Okay, remove walls and other isometric vertical facets, you can to make different planes without it
-
In top-down game, background must be in visual depth on back, select the main theme of your levels style with this perspective.Maybe it makes sense, to draw example scene in Paint with lights and shadows only, to find better light ballance, and changes textures bright for for needle lightness
-
On my opinion, background and foreground has contradictory styles, but main menu so good) Looks like artist spent a most part of time to buttons Maybe, if foreground objects has little shadows like buttons and don't have gradients it may to look better
-
get the pixelRatio value: var = pixelRatio = originallWidth / scalledlWidthand calculate result: this.bird.x = event.x / pixelRatio;
-
Maybe, it makes sense, to write some function for quering objects by attribute. It may looks like asteroids.get('big') //returns an array of asteroidsAsteroids.prototype.get = function(query){ //here you can make any type of objects storage //like asteroids = [..] and looping it //or asteroids = {big: [..], sm: [..], etc..} and get some pre-sorted array}
-
It's bad, if you want to start developping a "big" game with a lot of different entities and ui. But if you have a good programming skills, your idea has a some chance. Otherwise, try to make some small game