I've posted a new game on my projects page, it's pretty simple in its current state.
Upon launch (it's in your browser, so when you load the page), the game will randomly pick a seed between 0 and 999 and generate a maze with it. The player controls a red circle which can be used to navigate the maze using the arrow keys. Best part? I've included the entire source code.
I just wanted to share a technique I discovered while working on a game for work.
The game involves digging into the ground with a drill, and to achieve this, I had to do several things...
I didn't really expect to write a second part to this, but I wanted to dynamically call functions instead of doing what I usually do which is something like this:
Writing a general console for game and application development is almost always an important first step in my experience, so I figured I'd write one I could reuse often. However, I also like using goofy fonts (like pixel fonts, where the default system caret just doesn't look right.
Fairly simple method to select the entire contents of a textfield when it's focused. This is useful for form entries and terminals where the user may want to erase content currently in a textfield.
Recently Adobe renamed Adobe Flash Professional to Adobe Animate.
I've held myself back from writing a post about this - and probably should have written something technically useful after my it's-been-a-month-are-you-still-alive but I've wanted to get this off my chest for a long time. My new project OMGx2 is getting a lot of (more than I'm used to) attention and with that come Emails and comments, several of which have asked the question:
Occasionally you want to make an application or game that responds to its window being resized. This can be useful in a desktop environment (resizing the window) or in a browser (resizing the browser the swf is in).
Check it out! You can blur images dynamically using only Actionscript. This can be useful for pause screens or image gallery interfaces (to name just two of the uses). It's surprisingly easy to do. Tutorial follows. Download the source at the bottom.