Jump to content

  • Log In with Google      Sign In   
  • Create Account

Alpha_ProgDes

Member Since 05 Jul 2002
Offline Last Active Jul 20 2014 04:56 PM

Topics I've Started

So no one was impressed with E3?

10 June 2014 - 06:56 PM

I only watched the Nintendo portion. And I must say, Nintendo brought it. I thought the Wii U was dead but that lineup was superb. I wish the games came out sooner though.

 

Sadly, I never played the Witcher (any of them), but the Witcher 3 had one hell of a trailer. So I'm intrigued.


Why does this work?

06 May 2014 - 11:37 AM

/**
* The animation loop. Calls the requestAnimationFrame shim to
* optimize the game loop and draws all game objects. This
* function must be a gobal function and cannot be within an
* object.
*/
function animate() {
    requestAnimFrame( animate );
    game.background.draw();
}
/**
* requestAnim shim layer by Paul Irish
* Finds the first API that works to optimize the animation loop,
* otherwise defaults to setTimeout().
*/
window.requestAnimFrame = (function(){
    return window.requestAnimationFrame ||
            window.webkitRequestAnimationFrame ||
            window.mozRequestAnimationFrame ||
            window.oRequestAnimationFrame ||
            window.msRequestAnimationFrame ||
            function(/* function */ callback, /* DOMElement */ element){
                window.setTimeout(callback, 1000 / 60);
            };
})();

Shouldn't the call to animate result in an infinite recursive loop with the draw() being unable to be called?

 


NES console remade in HD

06 May 2014 - 08:58 AM

http://finance.yahoo.com/news/gorgeous-remake-classic-nintendo-system-160000952.html;_ylt=AwrTWVWt92hTmzwA6PDQtDMD

 

Though the remade console looks amazing. I wonder who is going to buy for $500. Given the price, I expect the company are targeting collectors or similar people.

 

Although, I wonder if those Nintendo 3D glasses are made by Nintendo itself or Analogue.


Can someone give me a quick code review for HTML5 site?

19 April 2014 - 08:29 AM

So basically, I'm trying to get a better handle of code organization and how HTML5 (really HTML) stack works in general. I've worked mostly with ASP.NET Webforms and done some MVC as well. Let me say now, "I hate magic". I hate figuring out the magic. I just want it to work in the manner that it's supposed to. That's why I'm using neither. I basically created an empty web site and added the files I needed. No more, no less.  So I posted this little HTML5 site on GitHub. Nothing fancy. At all.

 

However, I did structure the folders and files in a MVC-like way. And also I used razor/cshtml file to mimic code-behind. Completely separating the HTML from the server-side code. Also, the JQuery and Javascript is in its own file as well, again, completely separated from the HTML. I have one line of CSS in the HTML.

 

All I'm using is: HTML, Javascript, JQuery, no CSS, and CSHTML (as codebehind).

 

So in short, is this good? Is this bad? What could be better?

 

The link.

 

 

 

Note: If anyone wants to test it, all the files are on GitHub. Even the scripts to create the database. All anyone has to do is: create an empty web site in WebMatrix or Visual Studio. Download the project from GitHub and copy them straight into the website. Configuration files are already setup. All that has to be done is replace DB\DBExpress with the name of the actual database.


Will Steam the platform make Steam the OS viable?

10 April 2014 - 11:49 AM

I hear about SteamOS. I hear the fanboys giggle to their hearts' content. But personally I don't see a real future in it. What's making anyone leave their current environment to develop or play games on SteamOS? What is it bring to the game that Windows, Mac, or Linux isn't? Or even PS4, X1, or WiiU isn't? All I see is a bunch of hype. A loud minority. And sales rivaling the WiiU... if they're lucky.

 

But I honestly would like to hear everyone else's take on this.


PARTNERS