Browsing Category

Tutorials

Number Systems: An Introduction to Binary, Hexadecimal, and More

Number Systems: An Introduction to Binary, Hexadecimal, and More

Ever see crazy binary numbers and wonder what they meant? Ever see numbers with letters mixed in and wonder what is going on? You’ll find out all of this and more in this article. Hexadecimal doesn’t have to be scary.

Build an HTML5 MP3 Player With SoundManager 2 – Tuts+ Premium
plus

Build an HTML5 MP3 Player With SoundManager 2 – Tuts+ Premium

It’s time for another Premium tutorial! This week, James Tyner will walk you through the process of building an HTML5 MP3 player, step by step, with the SoundManager 2 library, jQuery, and a little help from Flash (for extra audio functionality).

Circular Motion in AS3: Make One Moving Object Orbit Another

Circular Motion in AS3: Make One Moving Object Orbit Another

Having one object orbit another is a movement mechanic that’s been used since the early gaming era, and it remains handy to this very day! In this Quick Tip we will explore the mathematical function for orbiting, see how to modify it, and look at practical uses in actual game design.


This entry is part 10 of 10 in the You Do The Math Session
Render an MP3 Audio Spectrum in Flash With computeSpectrum()

Render an MP3 Audio Spectrum in Flash With computeSpectrum()

In this tutorial, I’ll teach you how to create a visual representation of a sound file’s audio spectrum, using Flash’s SoundMixer.computeSpectrum method. We’ll use four classes for this effect: Sound, SoundChannel, SoundMixer, and ByteArray. I’ll explain each classes as we use them.

Browser Extension: Arrange Tumblr Posts in Chronological Order

Browser Extension: Arrange Tumblr Posts in Chronological Order

Creating little browser extensions is a great way to learn JavaScript. You don’t need to worry about cross-browser compatibility, you can make the project as small or large as you like, and you can fix problems in other people’s websites that bug you, specifically. In this post, we’ll create a short script that automatically rearranges Tumblr archive pages to read in chronological order – and we’ll learn about NodeList on the way.

Quick Tip: How to Debug an AS3 Error #1203
basix

Quick Tip: How to Debug an AS3 Error #1203

In this Quick Tip, we’ll discuss the confusing AS3 error 1203, “no constructor found”, which crops up without provocation and is rather unfortunately worded. We’ll examine the scenario in which it will appear, and how to fix it.


This entry is part 10 of 10 in the How to Fix Bugs in Flash Session
Free Flash Debugger: Commando (With Premium Source Files)
plus

Free Flash Debugger: Commando (With Premium Source Files)

Commando is a Flash debugger that lets you change variables at runtime and run your own custom commands. It will allow you to try out whatever tweaks you want, without the hassle of changing your code and recompiling every time. This debugger also comes with its own memory monitor, and an output panel that is similar to the output dialog in the Flash IDE.

Create an HTML5 Canvas Tile Swapping Puzzle

Create an HTML5 Canvas Tile Swapping Puzzle

In this tutorial we will be working with the HTML5 canvas and Javascript to create a dynamic tile swapping game. The result will be a puzzle that works with any given image, and has flexible difficulty levels that are easily adjusted.

Vector Regions: Hiding From a Field of View

Vector Regions: Hiding From a Field of View

This entry is part 2 of 2 in the series Vector Regions

Previously, we explored the approach of using vector regions to implement the field of view of a turret. Troops approached the turret on open field and no hindrances lay between them. Now suppose there is a hinderance, say a wall, that obscures the visibility of troop from turret; how should we implment that? This tutorial suggest an approach to tackle this issue.

Quick Tip: Implementing the Bubble Sort in AS3

Quick Tip: Implementing the Bubble Sort in AS3

In this Quick Tip, I’ll show you how and why the Bubble Sort algorithm works, and how to implement it in AS3. You’ll end up with a class that you can use in any Flash project, for sorting any array.

Page 1 of 5412345678...Last »