That's when the fun began. I asked one friend to make sure he had the DirectX runtime installed and even to reinstall it - no luck. I then learned the C++ runtime was required and had the same friend perform that install - no luck. I tried two different machines with the same installations - no luck. Finally I learned it was not just requirements on the target systems; it turns out I had included a debug version of a DirectX library in my project, which allowed the program to be created and executed, just not in a way that it would work!
You see, as a developer, I have all of the tools required to run any program I create. But other machines don't necessarily have these tools/environments. So I think I'll use the following plan for deploying my next game.
Create a game, coding and testing in DEBUG modeChange the project from DEBUG to RELEASE modeReplace DEBUG libraries with RELEASE librariesBuild the project in RELEASE modeCreate an installer project to install the game, the C++ runtime, and the DirectX runtime
- Create a Flash game that can be played from a web page in any browser!
I remember trying to get your Pong clone running a while back. Never could get it working; that explains why.
ReplyDeleteAS3 isn't that hard to pick up once you've learned the language. There's some quirks using the Flash IDE and hooking it to your codebase (check out FlashDevelop for the coding IDE), but you should be able to pick up the syntax in no time.
Just be careful to structure your code so that it de-references everything- Flash does not allow you to directly delete classes. Google "AS3 Garbage Collection" and read up a bit before you start on any big project, or you'll spend 5 hours rewriting code to fix memory leaks.
Speaking of Flash, I need to finish a game that's several months past due.
/off and away
It's cool to see how you are working through the process to better yourself as a game developer.
ReplyDeleteKeep moving forward...
Wishing you and your prettier half a very Merry Christmas!
Jeff