October 9th, 2011 | Categories: game development, games, programming, technology | Tags:

What could possibly make me any geekier than working on a Star Wars game? All the languages I’ve used while working on said Star Wars game.

In rough descending order of how much time spent with each:

  • C++
  • HSL (proprietary engine-specific language, VM — gameplay/game systems scripting)
  • C#
  • XML
  • HLSL
  • PL/SQL
  • Python
  • Lua
  • A proprietery IDL
  • VB  (Excel)
  • Javascript, HTML… server process control web-UIs
  • JSON

And this is just me, of course coworkers on the project have used various others not on my list. I’m probably forgetting one of my own at this point!

I think it speaks to the number and variety of different problems to solve when creating a ginormous MMO. And of course, for each problem different languages are going to be more the right tool for the job than others.

If you’re looking to get into the games industry, you should see this and realize that you’re going to need to be flexible and able to pick up new languages/other tech quickly. I would say worry less about knowing every intricacy of C++ and more about knowing general concepts that apply no matter what language you are using — like when to use different data structures, being able to examine the performance of your code with both empirical measurement tools and mathematical functions describing performance as input grows, various ways to try to write easier to read/maintain/extend code such as OOP, aides to help you design like UML or CRC cards, and on and on.

April 4th, 2011 | Categories: game development, games, graphics, programming, projects, technology | Tags:

I’ve been using Unity3d to bring some game ideas of mine to life lately in my spare time. This particular one is just a little recent experiment though. I’m not building this into a game, but just thought it would be cool to recreate some gameplay from good ole’ Donkey Kong Country as well as adding some debug renders to help in level editing.

Specifically, platforms that follow an animation curve trace it out in world space and barrels trace out a sort of ballistic simulation of what the character will do when firing out of them (the size of the red arrows corresponds to the strength of the blast from each barrel or the speed at which the platforms play their animations).

Blue lines are shown for barrels which spherically linear interpolate their rotation towards a target point/transform when the player hops in.

Unity is very impressive. At SXSW it was funny to see so many of the indie projects using it. Of course with any game engine there are going to be times where some part of how it’s implemented has you fighting against the engine to achieve what you want, but I’ve found Unity to be very flexible. A lot of things you think might be difficult end up being very easy. And being able to use the Mono runtime and have a choice of languages (I go with C# myself for a few reasons) is so nice. A script debugger! Yay! You can iterate really, really fast. I think Unity, maybe UDK and others are changing the industry more than the traditional players realize, but that’s another post for another time.

January 4th, 2011 | Categories: charity, games | Tags:

Or in general, how frequently do some charities get far more funding than others that might be in more dire need of funds and able to do more good with the money? How often do people making donations consider this? There’s plenty of research you could do before deciding where to send your money, as websites like Charity Navigator help support. Like small purchases, I think people aren’t likely to research small donations they make. Not that it should deter anyone from giving.

Before looking at the numbers, I think Child’s Play is a wonderful idea and I’m sure the program has brought joy to thousands of kids. I’ve given a bit myself too in the past. But of all the causes out there gamers can give to, has this one gotten a bit too big a share of the generosity? It’s amazing what gamers have accomplished with this cause, what can we do with another one? Especially seeing the explosive growth in donations towards Child’s play in recent years.

childs-play-logo-490

This recent Kotaku article quotes the “lifetime earnings” at $10 million. In 2010 the donations totaled 2.3 million, double their goal bar that appears on the Child’s Play main page. Wikipedia totals revenue so far at $9 million. Child’s play’s website quotes 2-3% of revenue has to be spent on shipping/etc administrative costs to get the goods to the kids. So that leaves ~$8,775,000 since 2003 and $2.25m in 2010. Remember, here I’m only looking at numbers for *one* of the many charities that in some way benefits hospitalized children (in this case, targeted towards getting them games to play during the hospital stay). Children’s charities are quite popular.

Let’s do some back of the envelope calculations with U.S Department of Health and Human Services data to see if Child’s Play is funded well beyond what they’d need to cover games for kids with that amount of funding and the enormous growth in donations in the past few years. It’s a sad thing that there are sick kids out there, but thankfully there aren’t very many in hospitals at any one time. There’s only a finite amount of money needed to get them all plenty of games to play, and it’s really not that much.

Care of Children and Adolescents in U.S. Hospitals study

Figure 3. Percentage of Childrens Hospital Stays, by Age Group

Figure 3. Percentage of Children's Hospital Stays, by Age Group


Figure 18. Length of Hospitalization, Pediatric Subgroups

Figure 18. Length of Hospitalization, Pediatric Subgroups

Babies don’t really play video games, so what we’re really looking at as far as number of sick kids needing hospital stays are the pediatric illness numbers. But more specifically, we can use the 6-12 and 13-17 age bracket percentages of children’s hospital stays as the ones who’d be playing video games, giving us 1.2 million stays for gaming-age kids (and even teens included!). This is for 2000, and the total US population has grown 9.7% since then according to the 2010 census. Let’s just approximate that the child population grew by that percentage too and along with it, their hospital visits. Using that and what we see in that charts that’s about 4.7 million patient-stay-days for game playing age group kids estimated for 2010. So on average, that’s about 13,000 hospitalized kids per day in the US that could use some games to play.

So that means as a kid in a hospital in the US, you thus far have access to ~$686 worth of gaming goodness from Child’s Play alone. So every kid could have access to his or her own personal Wii and about a dozen games depending on what’s paid for them in additional to any portable gaming system they brought with them. I’m guessing many of these games are purchased at a nice discount too. From the Child’s Play website it sounds like the hospitals keep a library of games kids can check games out from, so with that in mind they have tons to choose from now. Also, some kids could probably play multiplayer games together so a console-per-child might be more than are needed. They surely aren’t utilized 100% of the time during the stay either. Not every kid plays games all the time as much as kids love games, right?

The Child’s Play website mentions that some kids get to take games home as presents, which is nice. But then again, should that just be targeted at lower income kids who might not have plenty of games at home and family/friends very able to buy gifts for their sick kid rather than any kids being discharged from one of the participating hospitals?

The Wikipedia article on child’s play mentions this though:
“100% of all donations are distributed to the hospitals, paying for pediatric research, facility improvements, etc.”

So, perhaps once the games are covered, which is probably pretty quickly, the remaining money is not exactly going to waste according to this. Though this means that if you thought your money was paying for games for a sick kid, that’s not entirely true. Still great for the hospitals to use the extra money for anything they want, but I think most folks giving assume they’re buying actual games the kids will be playing. Maybe further research in deciding where to send your donation could involve seeing how well funded these hospitals are overall, not just for games. 5% of the visits were uninsured, so you might decide to look at charities that help those folks out as one direction to go in. One way to look at this is as a good way to bring in a nice chunk of change for various causes that benefit the kids with one part of that being games to play, even if that’s what most people think it is when they think of Child’s Play.

Taking a quick look at one children’s hospital’s funding, St. Jude’s Children’s Research hospital is a non-profit one where even parents who cannot pay do not have to, the hospital’s funding covers the uninsured. According to Charity Navigator, in 2009 they had an extra $41.2 million excess left over after covering all of their expenses. That’s 18 times Child’s Play’s total revenue in 2010 from a single hospital’s funding to put things in perspective. That’s just one hospital, but if they’re all that well funded you might be able to find a cause that needs your money more. Another thing to remember is medicaid/medicare are federal programs that you fund if you pay taxes, so that’s covering a lot. I’m sure there’s a lot of state programs too.

Time to make a note here, huge success? In participating hospitals in the US, it looks like the kids would by now have access to all the games they could want. The Child’s Play website mentions branching out into more hospitals in the world, though it’s mostly been US-based so far I believe.

There are a handful in other countries with Child’s Play hospitals. But there are only ~70 participating hospitals that receive their donated goods right now; maybe the best way to help is to just get more hospitals in the program? If every children’s hospital stay in the US gets some funding though, that’s still quite a lot to go around per kid. This Wikipedia article alone lists 126 US-based children’s hospitals. So if Child’s Play covers half of those as the numbers suggest, that would mean each kid has access to a treasure trove of $1372 per visiting kid worth of gaming goodness. That’s enough for every kid to have his/her own personal use of all three current gen consoles and games for each. Wow! It’s safe to guess most of the money by now must be going towards facilities/pediatric research/etc. Most children’s hospitals are non-profits, perhaps the ones outside of the program have plenty of other charity funding and already felt they’d purchased enough games for kids to play on their own. Then again, that’s just a guess.

Annualized might be a better way to look at this, so the $2.3 million in 2010 is about $180 bucks a year per kid, $360 just looking at participating hospitals. Discs eventually get scratched beyond repair and things break, as well as new systems and games coming out, so of course continued funding for games themselves isn’t a waste. But this is a lot for how much strictly game funding per kid is needed though. I don’t even spend that much in a year on games myself to last me all year, let alone a week or two in a hospital out of the year.

But if gamers start another charity organization, what should it be for? Perhaps we could do something related to games in education. So many schools are woefully hurting for funds, right? Maybe set up some programs that teach kids math through game development to make it fun. What about giving Wiis to retirement homes? That’s just a couple ideas though, what do you think the next gamer charity should be? Or are there some good lesser known ones that need the exposure Child’s Play has received?

But don’t forget, this post isn’t to make anyone not want to give, but mostly to encourage thinking about where you feel your donation will do the most good.

October 19th, 2010 | Categories: Uncategorized | Tags:

Ever feel like you’re in a place that’s really stuck in the past?

payphone graveyard

payphone graveyard

I’m traveling on business, and my company set me up in this Embassy Suites again. It wasn’t the first choice as there are closer options, but they were full.

So they charge you $10 a day for WiFi access in your room. Which is crazy enough in 2010, but then the speeds are basically like going back to dialup. This is not a cheap hotel by the daily rate.

I ended up just using tethering on my Android phone for internet access. This is actually faster than the WiFi! I’m using PdaNet, working great so far. Thanks to the developers there.

But hey, the hotel gives me a free newspaper every morning! Great! Who needs Internet access? There’s also plenty of payphones in the lobby for all the business people staying here who do not have cell phones. Each room has not one, but TWO landline phones with a little pad next to it that tells you how much long distance calls cost. They even discovered computers some time back in the 90s, there are two Pentium III or so really old computers in this business center that have free internet access! For two people. Only problem is, these boxes have hardware too slow to even handle javascript-driven web apps like google maps.

Maybe they have complimentary paper maps and could draw me a route somewhere. Maybe they can loan out some VHS tapes too.

So hats-off to you Embassy Suites. Maybe you’re pulling in the $10 extra per day from some folks, but for me all you accomplished was making me avoid Hilton hotels for personal travel. Good job!

February 26th, 2010 | Categories: Uncategorized | Tags:

My girlfriend thought it would be fun to try writing online, so I helped her set up her own site. She’s a Physical Therapy student, so of course she writes about that. One of her goals is to distill all the PT-jargon into plain English explanations anyone can understand. Maybe one day people googling various Physical Therapy related treatments and options will find practical advice on her site. Maybe they’ll even learn to avoid letting a chiropractor milk their wallet!

Here’s her site, check it out:


cookiesandpt.com

As the name suggests, also expect hunger-inducing posts about baking and cooking. It’s good to get to benefit from those hobbies of hers! I set up Google Analytics for her too because it’s fun to see how people get to your site (what are they Googling?) as well as to see where in the world they come from. She enjoys writing and isn’t too worried about how much traffic she gets like me, but it’s cool to learn about what traffic you do get.

Out of what must have been incredible luck, I got invited to the StarCraft II Beta in the first wave last week. It’s been a lot of fun so far. Not without bugs and crashes of course, and it makes me feel better about my own work to realize that even Blizzard’s betas have issues. But that’s what it’s for. Funny enough, I found a bug that I’ve actually fixed in the game I’m working on now already! I wish bug reports I got also told me how to fix the bug like the one I sent them. I’ll have to write more about it later but it’s been a lot of fun. There are balance issues, and I’ve taken to playing Protoss so I wish they’d stop nerfing that race while buffing the other guys. Give Protoss a real Mutalisk counter guys!

February 6th, 2010 | Categories: dc | Tags:

So we’re getting hit by a huge snowstorm up here in DC/Northern VA. I was living in the South long enough for this much snow to be worthy of posting some pictures. (Click these for bigger pictures and more of them on flickr).

DC Blizzard 2010

My car is under there somewhere. How I dug it out is an interesting story. I had no shovel so I set out to find one Sunday afternoon. I didn’t see anyone nearby right away, so I went to the leasing office to see if they had any. I was told they had twenty, but every single one was still out on loan. Only one had even made it back, and it was immediately given out to someone else. Hopefully people were sharing them rather than stealing them! I’ll have to ask the folks in the leasing office if they ever got many back.

So I left empty handed and went back towards my apartment, looking for someone with a shovel. Then I saw a guy with a metal detector scanning the snow! Turns out he lost his wedding ring in the deep snow piles around his car, and he was out there with his wife trying to find it. They’d been there for about four hours when I showed up. At some point they’d headed out and purchased the metal detector just to help find the ring. So I start talking to them, learning about what happened and just getting to know a couple of the other residents in this huge complex for once. It’s odd, you don’t see too many people out and about, and this place just feels so devoid of anything social. I know a few people here who work at Mythic, but that’s about it. So this was a nice change.

So not a couple minutes after I start talking to them, his wife who was down in the snow searching by hand yells out with joy. She’s found the ring! You don’t often see someone who’s THAT happy about something that just happened. Due to the weather my original Superbowl plans got canceled, so when they invited me over to their party I of course headed over. Turned out to be a fun evening. Their story actually got on the local news too!

DC Blizzard 2010

I-66 snow blizzard

I-66, seems to be plowed enough now for people to drive.

DC Blizzard 2010

Getting to work on Monday will be interesting, but at least work is only a mile away right now.

January 23rd, 2010 | Categories: travel | Tags:

Over my holiday break I made a trip down to Florida. I spent a good bit of my childhood in Melbourne, FL and still remember it as the most beautiful place I’ve lived. It’s always great to visit again, however more commercialized and developed it may be today. It’s a strange feeling to return to somewhere you lived so long ago as a kid… everything seems so much smaller!

I took a quite a few pictures while I was there this time, including a lot from a few nature preserve/park places I visited. I’ll post more later, but the first one I want to mention is Six Mile Cypress Slough Preserve.This is over by Fort Myers on the Gulf coast, and this trip was actually my first time over to that side of the state.

This preserve is a little different. It’s all wetland, and thankfully, rather than try to wade through the swampy terrain you go along a long boardwalk. To see larger versions of these pictures, click on them and then click All Sizes.

Six Mile Cypress Slough Preserve

There are maps of where the boardwalk takes you. Every now and then you come across some benches or other places to stop and quietly try to see what you can observe living there. It’s very relaxing to just slowly go through this place, and it helps you see more critters if you’re able to avoid making too much noise. There are many varieties of birds, turtles, gators, and we even saw a wild boar foraging around in the brush.

Six Mile Cypress Slough Preserve

Six Mile Cypress Slough Preserve

That’s no duck, it’s a Grebe!

Six Mile Cypress Slough Preserve

Sometimes you can see eerie bubbling from under the water. Good thing you’re on that boardwalk, right?

Six Mile Cypress Slough Preserve

Epiphyte plant

Six Mile Cypress Slough Preserve
Kind of like the Channelwood Age in Myst =).

Six Mile Cypress Slough Preserve
Sort of a man-made island in a man-made pond, but at least there’s a lot of wildlife to see.

Six Mile Cypress Slough Preserve
Notice all the Cypress trees with their odd “knee” roots sticking out of the water.

Even on an unusually cold day this was a great trip. If you like nature walks and you’re in this part of Florida, don’t miss it!

January 23rd, 2010 | Categories: humor, internet | Tags:

mostache fighting league-best t-shirt ever!, originally uploaded by nomegusta.
If only I could find somewhere to buy this shirt…

Someone should start a real Mustache Fighting League.

January 19th, 2010 | Categories: food, games | Tags:

My girlfriend had a nice surprise in store for me when she flew up this past weekend. Pac-Man cookies!!

Pac-Man Cookies 1

Pac-Man Cookies 2

These guys didn’t last long. Pac-Man is down to one life left as of this writing. I was a little worried about biting into the ghosts without first ingesting a power pellet, but I think milk must work too.

Here are the recipes she used:

Sugar Cookie Recipe

Icing Recipe

So other than those, you only need to know a few extra details to make these. For the ghosts, use a tulip cookie cutter. For Pac-Man, just use a glass or a circle cutter and then cut out the mouth with another cookie cutter that has a corner, like a house or a heart cookie cutter. She also used vanilla extract in the cookies and lemon extract in the icing, yummmm.

January 7th, 2010 | Categories: technology | Tags:

UPDATE: YTMND RSS feeds are back! Now on Feedburner.

Update3: Now working with YTMND 2.0.
Update2: Fixed problems with certain sites not showing up in the rss. The regex needed to be updated/cleaned up as ytmnd has changed their code a bit since I last touched this. Having to use a web proxy so that feedburner can crawl my feeds may be a bit unreliable though, I think the one I was using started blocking one of the feeds. Luckily there are a lot of proxies out there until I figure something better out (or get an ISP that doesn’t have to be lame).

NSFW sites will show up now. If you don’t know what that means, just don’t click those at work.

Here are the URLs, just click and copy/paste:

Top Rated Today (NEW)

YTMND RSS Top Rated Today

↑ Grab this Headline Animator

Top Viewed Today

YTMND RSS Top Viewed Today

↑ Grab this Headline Animator

Top Rated This Week

YTMND RSS Top Rated This Week

↑ Grab this Headline Animator

Up and Coming

YTMND RSS Up and Coming

↑ Grab this Headline Animator

Recently Created

YTMND RSS Recently Created

↑ Grab this Headline Animator

Unfortunately at this time I’m not going to support the whole “use any YTMND browse URL you want” feature that I had before. Or the ability to do any user’s favorites/votes of a set # of stars. These are what you get for now. It really stems from my ISP blocking not only hosting a website on port 80, but also blocking crawlers like Feedburner’s from crawling my own PC. A web proxy helped me sidestep that crap. So for now this is actually still running in asp.net on my home PC and just getting cached byFeedburner, which is requesting it through the proxy. I quickly found out a php port isn’t an option since my host has disabled URL file access for fopen.

Protip: Add these feeds to your iGoogle to always be one click away from the latest Internets ridiculousness. From iGoogle, click Add Stuff near the top. Then click “Add feed or gadget” on the right side. Now, copy/paste one of the feedburner URLS above, like http://feeds.feedburner.com/YtmndRssTopRatedToday. Click Add and check it out on your homepage.

Old post below:

I don’t know why they don’t offer them. I put a feed on my site that uses a regular expression to parse out what I needed to get an rss feed for ytmnd working. You can point it at any of the pages that list sites I believe. Like http://www.ytmnd.com/browse/recent. It’s just http://www.andreworlando.com/rss/ytmnd/. Then add ?url=WhateverYtmndListYouWantInRSS if you wish, defaults to Up And Coming.

UPDATE:Now supports voting history for any user. Also fixed featured (pink) users’ sites not showing up.

Max’s votes (4 and higher)

Use the new (optional) MinUserVote parameter to specify the minimum vote the user has to have made on any specific site for it to show up in the feed. So you don’t see sites they (you?) hate.