H3XED
April 24, 2014  Web and Internet

MOBILE DEVICE RESOLUTION AND PIXEL RATIO LIST

Here is a list of smartphones and tablets with their resolution and device pixel ratios. This was extracted from Chrome Emulation Console and made user-friendly in a nice searchable table. I hope you find it useful!
Continue Reading
April 4, 2014  PC Gaming

TURN-BASED STRATEGY HEXAGON RISK-LIKE JAVASCRIPT CANVAS GAME

I have never made a turn-based or hexagon-based game before, so I decided to try it out. Using rules similar to Risk, four players compete for dominance of the game board. When the game starts, you can choose how many of the players will be under human control. The rest are controlled by the AI. You can select 0 humans if you want to just watch the AI play itself.
Continue Reading
March 6, 2014  Web and Internet

HOW TO INSTALL THE LATEST PHP ON WINDOWS

This is a quick and easy guide for installing the latest version of PHP on your Windows computer. You need to already have the Apache httpd server. If you don't yet, please follow the Apache Windows installation guide first. This PHP guide was written specifically for Windows 7, but the steps should be similar for Windows 8 and other versions.
Continue Reading
March 6, 2014  Web and Internet

HOW TO INSTALL THE LATEST APACHE SERVER (HTTPD) ON WINDOWS

This is a quick and easy guide for installing the latest Apache server (httpd) on your Windows computer. This guide was written specifically for Windows 7, but the steps should be similar for Windows 8 and other versions.
Continue Reading
February 26, 2014  PC Gaming

TOP-DOWN BULLET HELL SHOOTER JAVASCRIPT CANVAS GAME

My third game built in JavaScript Canvas (HTML5). It's a top-down "bullet hell" shooter. The goal is to defeat all of the enemy fortresses, which are randomly generated and come in various difficulty levels. At later stages it is impossible to avoid enemy fire and you need to rely on having fast health regeneration and max health.
Continue Reading
February 18, 2014  Programming

JAVASCRIPT CANVAS - USING OBJECT POOL TO REDUCE GAME GARBAGE COLLECTION AND STUTTERING

If your JavaScript Canvas game suffers from intermittent stuttering, it may be the result of garbage collection. A lot of games utilize particles, bullets, and other objects that are created rapidly and then discarded. Storing these unused items in a pool, and then drawing from that pool the next time you need one, is one way to reduce stuttering and improve performance.
Continue Reading
February 18, 2014  Programming

JAVASCRIPT - HOW TO GET MOUSE SCROLL WHEEL EVENTS IN BOTH FIREFOX AND CHROME

Firefox and Chrome use two different JavaScript events for the mouse wheel, and the delta attribute is under a different name in each. Fortunately, there is a simple work-around that will be sufficient in most situations:

// For Chrome
window.addEventListener('mousewheel', mouseWheelEvent);

// For Firefox
window.addEventListener('DOMMouseScroll', mouseWheelEvent);

function mouseWheelEvent(e) {
    var delta = e.wheelDelta ? e.wheelDelta : -e.detail;
}
Continue Reading
February 17, 2014  PC Gaming

SIDE-SCROLLING PLATFORMER JAVASCRIPT CANVAS GAME

My second game built in JavaScript Canvas (HTML5). It's a side-scroller with building elements and destructible terrain. Like a super-simple Terraria. It features:

Continue Reading
February 17, 2014  Programming

JAVASCRIPT CANVAS - GETTING MOUSE POSITION WHEN PAGE IS SCROLLED

If the user has scrolled the page that your canvas game is on, or used the browser zoom feature, it can mess up the accurate calculation of the mouse position. An easy solution is to use the getBoundingClientRect method of the canvas object. This returns a rectangle object that gives you the current offset of the canvas relative to the page.
Continue Reading
January 31, 2014  PC Gaming

ROGUELIKE JAVASCRIPT CANVAS ENDLESS SHOOT 'EM UP

This is my first JavaScript Canvas (HTML5) game. It's an endless shoot 'em up where the objective is to stay alive and rack up kills. The game starts off slow, but continually picks up speed. Eventually you will be overwhelmed.
Continue Reading
January 14, 2014  Programming

COMPLETE ROGUELIKE FLASH GAME IN 1649 BYTES

I was inspired by this blog post by Emanuele Feronato about making a sub-2KB Roguelike Flash game. Using his game as inspiration, I decided to try it out. I used BitmapData to display the game objects instead of TextField and ended up getting it down to 1649 bytes. The game rules are very similar, though it is programmed from scratch. The result is embedded below:
Continue Reading
December 19, 2013  PC Gaming

JUST CAUSE 2 WINDOWS 7 NOT ENOUGH STORAGE FIX

Many are receiving this error message when trying to start Just Cause 2 on their PC:

Not enough storage is available to complete this operation
The first solution is to make sure you have enough free storage space and memory (RAM), and close any memory hog programs. This is often not the real solution to the problem though. The error message may be very misleading.
Continue Reading
September 20, 2013  Computer Hardware

HOW TO REMOVE ICON BADGE NOTIFICATIONS ON ANDROID SAMSUNG TOUCHWIZ

Launcher icon badge notifications are available in Samsung TouchWiz devices with Android Jelly Bean. They resemble the badge notifications in iOS. Social, messaging, and email apps can utilize this functionality to display a number showing how many new notifications there are.
Continue Reading
July 18, 2013  Web and Internet

QUICK MINIFY CSS WEB TOOL

I wrote a quick and simple minify CSS web tool. It removes all line breaks, tabs, comments, trailing semi-colons, and any unnecessary spaces. It performs no sorting or compressing of values, so it won't have any impact on how your CSS executes. It is CSS3 safe.
Continue Reading
Newer Posts   Page 1 of 11   Older Posts
© Nick VogtApril 24, 2014Disclosure PolicyPrivacy PolicyFacebookTwitter