Recent posts by Jabor on Kongregate

Subscribe to Recent posts by Jabor on Kongregate

8 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Timer Help!!!

…you don’t know how your game works?

Are you just copy-pasting code from a tutorial or something?

 
8 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Kongregate / Depth in games

Ironically, your coverage of the subject material lacks depth.

It’s certainly an issue – I do believe that more budding game designers should read Sirlin’s articles on game design – but it deserves much better coverage than the superficial look-over you’ve given it.

 
11 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Timer Help!!!

What controls the flow of play in your game?

 
12 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Military Recruiters In Schools(& Anarchy)

So what’s to stop your “society” being turned into a single massive gang war?

 
12 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Timer Help!!!

Usually you’d stick it at the bottom of your onEnterFrame() function.

 
12 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Military Recruiters In Schools(& Anarchy)

Are rape and murder “minor crimes”?

Because a surplus of resources (which wouldn’t actually exist, because you have no economy to speak of) wouldn’t actually solve the majority of causes of those crimes.

And if you’re not going to have a means of trade, what are you going to have? More to the point, what are you going to have that wouldn’t work equally well on an island out in the pacific where the rest of the world doesn’t have to put up with you?

 
12 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / No God of Mine (faith)

The Commandments don’t prohibit lying – they prohibit bearing false witness against someone else.

Telling your mother that you didn’t actually steal the cookie from the jar doesn’t violate any of the commandments.

On the other hand, telling your mother that your brother was the one who stole the cookie does.

 
14 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / No God of Mine (faith)

A Heartwarming Reconciliation

Just because you’re not forcing people as well as you could (theoretically) be, does not mean you are not forcing them at all.

 
14 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Military Recruiters In Schools(& Anarchy)

And how exactly would this anarchist revolution create a better world?

How would your theoretical country’s economy be organized? How would they deal with other nations (you’re not going to take over the whole world overnight)? What would you do about criminals (no, overthrowing the government does not turn hardline criminals into model society members)? How about welfare? Education? Healthcare?

Have you actually given those some thought at all?

 
14 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / No God of Mine (faith)

Yes. It’s attempting to force people not to steal.

The same way DRM attempts to force people not to pirate. And I can go on and on about how this doesn’t work and how a non-forcing approach that appeals to our good nature and sense of reason works better.

 
14 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Bible

There are records of people dying for believing in what certain radical muslim leaders preach. And not just “being killed by others”, I mean “killing themselves to take a lot of ‘infidels’ with them”. So I guess, if what they preach wasn’t true, we would have much fewer suicide bombers?

 
14 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Timer Help!!!

What does your code look like right now?

When you add trace() statements, where does it get to? Does the if() statement evaluate to TRUE, or not?

Remember, this needs to be somewhere that’s being called repeatedly (like an onEnterFrame event) – if it’s not called after _root.timetxt2.text == '00:05', then it won’t work.

 
15 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Collab Petition!

/signs

 
15 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Need basic help

You seem to have completely the wrong idea about this.

onKeyDown is an event handler – like onEnterFrame. onEnterFrame is called once every frame of animation – onKeyDown is only called when the user presses a button on the keyboard. I’d recommend reading through the Events and Event Handlers tutorial if you don’t really understand it.

No-one here is going to write your code for you. Not only is it difficult to do without knowing how the rest of your game is set up, doing so would likely cause even more problems, and more importantly, it won’t teach you anything.

That said, I’ll give you a couple of snippets which you can look at and think about.

You’ll need a variable to hold the keycode.
var upKey;

In your control selection, you’ll need to give it a value.
upKey = Key.getKeyCode();

And then, in your game, you’ll want to use
if(Key.isDown(upKey)) { ... }
To check if the key is being pressed.

 
15 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Problem with flash cookies (AS 2.0)

If you only want something called once, you usually want it in the onLoad event handler. onLoad() is only called once, when the object is finished loading.

 
15 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / No God of Mine (faith)

“{do this} or you will be punished”. Sounds a lot like duress, no?

The only really definitive list of sins (if any) in the Bible is the 10 commandments, right? So anything else is down to interpretation?

 
21 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / using outside database

I don’t think that’s enough validation, personally. It would be easy to spoof a simple username packet, allowing you to easily trash other user’s save data.

You could do some sort of “remember me” feature with Shared Objects, though. So they only have to log in when they use a different computer (have “remember me” turned off by default, of course)

 
21 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Programming / Kong AS3 API questions about user data

Just the top 25 scores (the complete list on a game as popular as DTD would not only take ages to download, it would also likely crash low-memory machines).

So no, you can’t try to grab the user’s existing high score this way. Unless you limit your game to less than 25 people.

 
21 hours ago ago
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Bible

Wiki =/= reputable source.

Is the Encyclopedia Britannica a reputable source?

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Purpose of life - why are we here?

I don’t like drinking bear. The fur tickles my nose.

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Destroying the Economy could be good in the long run?

we wont run out of resources so soon

I disagree. Cutting sustainability programs in favour of short-term corporate survival (which is what would happen) means that any reduction in overall consumption is offset by reduced efficiency.

we would learn to recycle better

Not necessarily.

we would think of better ways to save money such as solar panels so you would save money on electricity

Not in an economy where you can’t borrow to purchase them. Solar panels represent a proportionately enormous up-front cost for a benefit over time – exactly the sort of thing that would no longer be purchased without access to easy credit.

we would reuse more and cause less waste

Not necessarily.

Without easy access to credit, corporations and individuals lean towards short-term savings rather than long-term sustainability. In the long term, this results in more waste and less efficiency.

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Purpose of life - why are we here?

So, is this a purely theoretical conjecture, or is there empirical evidence to support it?

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Kongregate / What if...

First off, if you have a concern about a particular moderator, email it to feedback@kongregate.com.

Secondly, I don’t think transdimensional time warps are things Kongregate needs to have an action plan to deal with.

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Allusion

Allusion is, in this context, drawing a comparison with something else. If you’re arguing against censorship, you want to allude to something widely considered “bad” and explain how censorship is similar to that.

 
Dec 3, 2008
avatar for Jabor Jabor 3668 posts

Topic: Serious Discussion / Purpose of life - why are we here?

“proves”? I sincerely doubt that. “Conjectures” or “Postulates”, maybe, but I doubt there is empirical evidence enough for it to be considered “proved”.