Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!

We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.

King of Men

Member Since 16 Apr 2004
Offline Last Active Dec 23 2013 06:34 PM

Posts I've Made

In Topic: Game Design Theory

11 December 2013 - 03:01 PM

why are physics engines convincingly fake when we have all the equations and the real physics data that we could input to create a real-life physics engine?

Because nobody has the computer power to simulate even an atom using the actual, real laws of physics. There are people using months of running time on supercomputers to approximately simulate single protons. Yes, we know the physics, but it's just insanely frackin' intractable.

Ok, so maybe you don't want to do things down to the level of quantum chromodynamics. You never got all that quantum stuff, anyway. Plain Newton and Maxwell is good enough for a game! Very good. We'll put in Newton and Maxwell, and arbitrarily designate atoms as the, um, atomic minimal objects of our physics sim. How many do we need? Well, in a gram of hydrogen there are Avogadro's number of hydrogen atoms; 6.02 x 10^23. The number of interactions per time-tick is, of course, O(n^2) in the number of atoms. So, if we optimistically assume that an interaction can be calculated in one floating-point operation, a computer would need to run at (*)... 181 GGGGGHz to do one frame per second. For one gram of hydrogen.

* Footnote: A GGHz is a billion GHz; a GGGHz is a billion GGHz... Yes, I'm aware I'm somewhat simplifying the conversion between FLOPS and clock speed; bear with me, it doesn't affect the argument.

In Topic: Prove that every non zero vector u in R^n is an element of some orthogonal b...

11 December 2013 - 11:06 AM

You assert that given a vector u, there exists an orthogonal vector v if "the components are inverse identity of each other", which is not meaningful - what's an "inverse identity"? Perhaps you meant "inverse" (or "negative inverse"), but that still wouldn't be true, as demonstrated by your concrete example, in which the components are not inverses. In addition to which, you have not shown that the vector with "inverse identity" components exists, just that if it exists then there is an orthogonal vector. (Perhaps, if you clarified what the "inverse identity" is supposed to be, it would be obvious how to construct it, and then you would at least have demonstrated that the orthogonal vector exists.) But even if your assertion were accurate, this would not demonstrate that u and v form a basis, just that there exists an orthogonal. 


Back to the drawing board. 

In Topic: In what ways can a text adventure have combat?

10 December 2013 - 03:25 PM

Skill in games is largely about resource management. Randomisation does not change this, it only means you have to integrate over a probability distribution. So, allow the player to say (for example) "I hit the monster with 10 mana". This does a deterministic, not stochastic, amount of damage, ranging from blowing a goblin to Jupiter up to scratching the hide of a dragon. The challenge is to maintain your limited mana (and other resources) until you get a chance to stock up; so skill consists of not using 10 mana on a goblin, because that's a waste, but recognising that the dragon must be hit with 100 mana, or it will hit you back and that will not be nice. Add other resources to make the management more multidimensional (also, maybe mana is scarce and even one point is overkill on a goblin - hit it with your sword, instead, thus only expending rapidly-replenishable stamina points). This also allows monsters to have different vulnerabilities, thus allowing the player to acquire "lore skill", that is, skill that consists of knowing water elementals are vulnerable to fire mana, but not to edged-weapon attacks, and deploying their resources optimally accordingly. Of course, all this is basically just bog-standard RPG combat; the only difference is that it doesn't have to be stochastic. Make the damage algorithm deterministic and be done. 

In Topic: Senate mechanic (strategy)

05 December 2013 - 01:43 PM

You may want to think in terms of a cabinet rather than a Senate. So you appoint the Minister of Trade from the Yellow faction, but you give Internal Security to the Blues. (Or else!) That way there are more constraints on the skill matchup. With 20 "senators-without-portfolio" to appoint, you can probably find some combination of them who have the skills you need even with the 5-from-each faction problem. But if you need specifically to have someone good at math in the Trade department, well, better hope there's someone like that in the Yellow faction. Especially if the factions care about different things; maybe the Yellow faction really likes trade and finance, and won't be anywhere near as happy to be given Internal Security - even if the Green guy who got Trade is actually really good at it. (Maybe especially then: Those dang Greens believe in subsidising nano-manufactures and taxing hydroponic farmers!) Also, you can have Cabinet positions of different weight; if you give the Treasury to the Yellows, and Internal Security to Blue, then Green has to get Education, Agriculture, and Propaganda to get the same satisfaction level. In Britain, for example, the Treasury was the position with most prestige - for two centuries or so, the "Prime Minister" would usually take the Treasury as his actual departmental responsibility; being "Prime" wasn't a separate title - followed by the Foreign Minister. Then the list goes on down through Admiralty, Board of Trade, "Air Minister" for a while in the thirties... until you get down to the likes of the "Captain of the Yeomen of the Guard", which nobody has ever heard of; but you could give it to the Yellows as a sort of consolation prize for not getting anything important. Sort of like the Admiral position in Junta, if you ever played that. 

In Topic: Learning modern OpenGL

11 November 2013 - 02:31 PM

Wups, I forgot about my own thread. Thanks for the pointers, gentlemen, I'll start looking at them this week.