Categories
General

Giving ElectroServer more memory

So after last time, I thought I’d given ElectroServer more memory, but it turns out I hadn’t. I’m not exactly sure why, but I suspect it’s something about how Media Temple is set up. So rather than call the main ElectroServer app (which is just a shell script), I’m opening the ElectroServer jar file, and […]

Categories
General

ElectroServer security sandbox violation error

I suddenly started getting a really weird error from Flash when trying to connect to ElectroServer : Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: //games.seblee.me/moonlander/MoonLanderViewer.swf cannot load data from 72.47.193.154:9899. I posted to the ElectroServer forums and quick as a flash, Teresa got back to me – apparently ElectroServer was running out of […]

Categories
General

Predicting circle line collisions

In my previous collision detection post, I talked about predicting whether two objects would collide in between frames. This is to avoid the situation where the objects are moving so fast that they pass through each other before you’ve had a chance to see if they’re overlapping. This is often known as a sweep test […]

Categories
General

Lego-ize yourself

Pete Hellicar and Joel Gethin Lewis put me on to this iPhone app that creates a Lego portrait of you which is awesome. But I thought it’d be fun to do it in Flash in realtime.

Categories
General

Multi-user gaming in Flash – Lunar Lander tests

Anyone playing my Lunar Lander game won’t know it, but we’re spying on them! The game gets around 20,000 hits a month, which is very roughly one a minute or so, so I thought it’d be the perfect vehicle to test out some real-time gaming techniques. I’ve replaced the original game with one that transmits […]

Categories
General

Predictive collision detection techniques

In preparation for my upcoming Flash game programming training courses, I’m getting my head back into game physics, and I so I thought I’d share some useful collision detection methods I’ve discovered over the last few years. Reactive collision detection Collision detection in Flash games often occurs after things have moved. So you have a […]

Categories
General

Last day for early bird price on Flash game training

Tomorrow is the last day of early bird pricing for my Flash game programming training course. And there are also a few tickets left for the Papervision course too. Please don’t delay otherwise you may not get a space! Booking and information about the Flash game programming training course. Booking and information about the Official […]

Categories
General

Further adventures with ElectroServer

As there has been a lot of interesting talk on my recent live chat example I thought it’d be nice to actually see what you’ve been saying! So I checked out the Logging Chat By Room tutorial on the ElectroServer wiki. After some minor tweaks I got the Java extension compiled (the methods should not […]

Categories
General

ElectroServer Flex simple chat

I’ve just converted the code from the Simple Chat Tutorial on the ElectroServer wiki into Flex and I thought it may be useful to someone. Here’s what it looks like, and it’s connecting to an ES4 install with only 20 connections so forgive me if you can’t connect : [content no longer available, sorry] Here’s […]

Categories
General

Installing ElectroServer on MediaTemple

Further news to report on my ElectroServer adventures! I’ve now got an ES4 installation up and running on a MediaTemple Dedicated Virtual server. It was actually pretty easy too, thanks to this tutorial from Greg Sidbury. I had no problems following although there are a couple of bits that confused me. The first was that […]