Tag Info

Hot answers tagged

20

Take a look at this picture: It shows the process of mapping a (random) value to a curve. Suppose you generate a uniformly-distributed random value X, ranging from 0 to 1. By mapping this value to a curve - or, in other words, using f(X) instead of X - you can skew your distribution in whatever way you like. In this picture, first curve makes higher ...


18

The concept hasn't really died, it's just changed a bit and been given a new name. In fact, if you have an iPhone you can see it in action right now! Many 'free' or 'lite' games offer a sampling of gameplay and allow you to purchase DLC to promote it to the full title. On the PC use has declined, but I believe part of the reason for this is the lack of a ...


11

I'm speaking on behalf of CheapProFonts. ;) Obtaining a license for one of our fonts for inclusion in a software is easy and inexpensive: Just let us know that the font you purchase IS for that purpose, and then purchase two licenses for the font. So for $20 you will be allowed to include the font in your game and distribute as many copies of that game as ...


11

(Disclaimer: I am not a lawyer) In the United States a font face is not copyrightable (Eltra Corp. v. Ringer, 579 F.2d 294 (4th Cir. 1978)). But font software is copyrightable. A TrueType font (such as one you might download from cheapprofonts.com) contains instructions for how to render that font and is therefore a copyright piece of software. A bitmap ...


9

You can precompile lua using the luac tool in the standard distribution: luac myluafile.lua -o mycompiledluafile.luac To obfusticate the file, use the -s option to remove all the debug info. This won't make you immune to decompiling, but why does that matter? The -l option produces an annotated bytefile, which is really nice for learning how lua works ...


8

The main point is that the end user should not be required to install any Java JRE, nor should the installer contain a JRE and install it for the user You can use Java source/bytecode to machine code compilers. There are Excelsior JET for Windows and Linux (requires license) and GNU Compiler for Java which is old. If it's ok to contain Java with ...


6

It's still around. We just no longer call it Shareware. We call it the "freemium" model: free to play but with premium content available for cash. The only difference between now and the old days is that we have better ways of accepting payment today: accepting credit cards over the internet (no more "mail a check to this address and we'll send you the full ...


6

If the output bitmap matches the look of the font (the typeface) then it essentially IS the font, and yes you would be violating the license. You may embed the font in electronic documents, but you may NOT include the font in a software product - this requires a special license. Even though it's just an image it would still be the exact font, which is ...


6

A longer explanation: If you have a desired probability distribution such as the gradient didito asked for, you can describe is as a function. Let's say you want a triangular distribution, where the probability at 0 is 0.0, and you want to pick a random number from 0 to 1. We might write it as y = x. The next step is to calculate the integral of this ...


5

Your co-workers need to have the .Net Framework 3.5 and the XNA Framework 4.0 installed. I don't think there's an easy way around that. Get them to install these first, then you can distribute the exes in a zip file with no problems.


5

You'd probably get a close approximation to what you want by utilizing an exponential system. Make the x based on something like 1-(rnd^value) (Assuming rnd is between 0 and 1) and you'll get a few different behaviors of left to right skewing based on what you use. A higher value will get you a more skewed distribution You can use an online graphing ...


5

Usually, when you're making something that will be ported to different systems (whether a game for multiple consoles, or an app for various mobile devices), it's common to wrap your code so that anything that is specific to one system (rendering, event handling, etc) can be completely replaced without touching the code for the logic. SDL (and SFML) are ...


4

Because people played the Shareware version of the game and then when it was done. They stopped playing and did not buy it. So the turnover rate was very low. The old shareware model you speak of "died" when the internet came to be popular, since a large part of the old shareware model was the shareware distributes and the copy/delivery fee you had to pay ...


4

A few reasons that I can think of off the top of my head -- I'm sure others will have reasons as well. They have to distribute patches for the existing users no matter what. By doing it this way, they minimize the amount of work they have to do on their end. Building new complete distributions takes a lot of time -- especially QA time. They would have to ...


4

You already accepted an answer, which is fine. I'm just going to add the way you would do this in an ActionScript only Project (which is preferable for games IMHO, since it doesn't add the bloat of the flex classes). package { // Use the "Frame" metatag to add a preloader class at the first frame // of your compiled SWF. You have to enter the fully ...


4

Hm, I think you are making it too complicated. Your nodes can either be producing power or consuming it. And they can either have enough power or not. So can I suggest just having a single "power" variable and +ve is producing power and -ve is consuming it. Then you can calculate how much power each connected node needs with: (pseudo-code, sorry I don't ...


4

XNA games have the following dependencies: .NET Framework 3.5 Redistributable XNA Framework Redistributable (version depends on which version of XNA you use) To allow people to install your games on their computers without downloading these dependencies themselves, you need to bundle or allow downloading & installing those dependencies right in your ...


3

The term you are looking for is Weighted Random Numbers, most of the algorithms I have seen use trig functions, but I think I figured out a way that will be efficient: Create a table/array/List(whatever) that holds a multiplier value for the random function. Fill it out by hand or programatically... randMulti= {.1,.1,.1,.1,.1,.1,.2,.2,.3,.3,.9,1,1,1,} ...


3

Sitelocking keeps honest sites honest, and is useful when, for example, you've got an exclusive period on a site but plan to distribute the game afterward. It's not going to stop someone dedicated enough, and I agree that it's better to put in MochiAds or something to take advantage of the distribution. One case in which sitelocking is vital is when you ...


3

Don't. People will steal your game, no matter what you do. Trying to sitelock a flash game smells of DRM to me (OK, it's not quite DRM, but it's pretty close), and you can read all about why DRM isn't going to work. That's not to say you shouldn't use any protection system at all, just not something that you have to visit their site a particular way and do ...


3

Using it that way would not be allowed. You're not allowed to use or copy fonts in any way, up to and including in printed material, without a license to do so. Luckily, there are many sources of free and free-to-license fonts out there. Chances are very good you can find an acceptable alternative.


3

If you're using Flex in your project, i.e. you created a Flex project, including a preloader in your Application is very easy: set a class name in you Application declaration: <mx:Application usePreloader="true" preloader="com.example.Preloader"> Now, create a class called com.example.Preloader which extends Sprite, and implements ...


3

As Dennis said, it's mostly reason #2. It takes a lot of time and effort to create a new distribution version, and this is a seperate process from creating the patch version. Creating patches is simply faster and needs to be done anyway. But even more so, once you have had several complete versions of the product available for download, each new patch must ...


3

Regarding your example, OpenGL is always dynamically linked because its implementation is provided by the graphics card manufacturer, so each time OpenGL is patched you don't need to rebuild/re-link all the applications. OpenGL on windows is installed when you install the Graphics Card Driver like Nvidia, or ATI, and the OpenG32.dll is usually installed in ...


2

Ease of piracy did a lot to kill the PC shareware model. It was one thing when downloading the first episode of Wolf3D off a BBS was a big deal. Now you can find a full retail game before it even hits store shelves. It's just too easy to distribute large files. Places like Steam/iTunes/XBLA/PSN are showing a resurgence in the shareware/demo model as they ...


2

One important thing to note is that old-school shareware generally had copy protection that boiled down to 'if(strcmp(reg_code, "12345ABC")!=0) { nag_screen(); }'. Given that modern game pirates can effortlessly destroy even some pretty complex network-based DRM systems, this doesn't stand much of a chance.


2

"may NOT copy or distribute the font outside of the licensed household, company, school or institution. Please ask external contacts who want to use the font to purchase their own license at www.CheapProFonts.com." If you plan to sell the game with their font in it (whether you transfer it to a bitmap or not doesn't matter), then you are ...


2

I think what you ask for is the distribution achieved using a square root function. [position] = sqrt(rand(0, 1)) This will give a distribution in the single dimension field [0, 1] where the probability for a position is equivalent to that position, i.e. a "triangular distribution". Alternate squareroot-free generation: [position] = 1-abs(rand(0, ...


2

I see some issues with your currently planned system: Flood filter. Well-intentioned, but too harsh, if sensible at all. Once a month? Much too long. If your player wants to refer people, he wants to refer as many as possible (for reward and/or because he genuinely wants other people to enjoy your game), and you want as many players, most preferably paying ...


2

Addicting games has an upload page here, looks like the mobile submission process is via email. Same with Mini clip, they have a developers page, and you'll need to email them for a mobile submission. Neither looks like they do Java for PC, but both appear to do Android games. Desura can offer what you want with a Java PC game. As a bonus they also have ...



Only top voted, non community-wiki answers of a minimum length are eligible