Recent posts by player_03 on Kongregate

Flag Post

Topic: Game Programming / Can Anyone Recommend A C++ IDE?

Originally posted by Valfrit:

Visual Studio is considered the best when developing on Microsoft platforms. [by whom?]

 
Flag Post

Topic: Game Programming / No blank screen, debugging mode or trace statements seen

If he can work through the questions despite being frustrated, he can work through programming bugs despite being frustrated. (I’m not sure if either clause is actually true; I’m just saying that everyone has difficulty, and the real determining factor is whether they can work through it.)

 
Flag Post

Topic: Game Programming / Any ways to speed up exporting of SWF when debugging movie in Flash?

There’s a good chance that a lot of that is packaging assets. Or possibly it’s just that Flash CSX has a bad compiler.

Either way, you should be able to get compile times well below 10 seconds by switching to FlashDevelop (or Flash Builder) as your code editor. Here’s how the new workflow will look.

You may also want to follow this tutorial for moving your code into a separate class file.

 
Flag Post

Topic: Game Programming / Can Anyone Recommend A C++ IDE?

I’ve used Eclipse with the CDT plugin. It wasn’t bad. Not quite as good as MonoDevelop/C# or FlashDevelop/Haxe, and far short of Eclipse/Java (my personal gold standard).

Though it’s worth noting that I don’t like C++ in the first place, so I’m probably underrating it.

 
Flag Post

Topic: Kongregate / If you own gamestop shares, you should have all your accounts on Kongregate unbanned

Originally posted by Borven2:

the many real world laws that dictate acceptable behaviour within an online forum

Example?

 
Flag Post

Topic: Kongregate / Most Online Players (70,007) - Over 70K!

I saw a number in the 705** range, but I figured someone else would take a screenshot. #BystanderEffect

 
Flag Post

Topic: Game Programming / Deleting letters

Originally posted by AshAbeAdd:

So if I had 8 characters, and deleted twice, then the 7th block will be blank, and the 8th would have the symbol.

Please elaborate on these blocks. Is each block a bitmap? A movie clip?

Or better yet, as dragon_of_celts said, let’s see some code.

 
Flag Post

Topic: Game Programming / Deleting letters

Originally posted by AshAbeAdd:

While I understand that there’s the possibility to have, in a sense, a box and let the player type in whatever they want until they hit the enter key, I want to do this in a different way.

What does this “different way” involve? We can’t help if you won’t tell us what’s going on.

Let me put it this way:
1) I press the “N” key.
2) ???
3) The letter “N” appears in the game.

Please explain step 2.

 
Flag Post

Topic: Kongregate / Questions about thegames8

So… show of hands: How many people here actually emailed support@kongregate.com, as adv0catus suggested?

 
Flag Post

Topic: Kongregate / Okay... that's it... get rid of that annoying RATE THIS GAME popup that overtakes the chat room! Updated 11th Aug!

The “opt-out after three cancels” thing has not been implemented yet. It’s still in the planning phase.

The only change that has happened is, the window won’t appear if you’re typing in chat. It doesn’t matter if you’re just looking at chat, the cursor has to actually be in the chat text box, or the popup will appear as normal.

 
Flag Post

Topic: Lionheart Tactics: General / SATISFACTION Survey: Rate from 1-10 how much you HATE/LOVE the new 1.1.8 update (Latest Results: Respondents = 40) (Overall Satisfaction = 4.4/10)

5 – the champion archer nerf hurts somewhat, but I hope to get a legendary archer eventually, so I realize the nerf was necessary.

Edit: Just to clarify, the 5 is based on the list in the OP, which basically stops at 6. Sure it claims to go to 10, but all the reactions described for 7 and up are unrealistic for such a minor update.

 
Flag Post

Topic: Game Programming / [AS3] Multiple keyboard presses at the same time

This is a problem with your keyboard, not with your code. (Look up “keyboard ghosting and masking” if you’re interested, but be prepared for a long read.)

The best workaround is to allow multiple keys:

if (keys[Keyboard.UP] || keys[Keyboard.W])
{
	this.y -=  speed;
}
if (keys[Keyboard.DOWN] || keys[Keyboard.S])
{
	this.y +=  speed;
}
if (keys[Keyboard.LEFT] || keys[Keyboard.A])
{
	this.x -=  speed;
}
if (keys[Keyboard.RIGHT] || keys[Keyboard.D])
{
	this.x +=  speed;
}
if (keys[Keyboard.SPACE] || keys[Keyboard.X])
{
	fire();
}

Then you could avoid key combinations that your keyboard can’t handle.


Originally posted by darkjonas8:

Seems like you have done almost the same as http://code.tutsplus.com/tutorials/quick-tip-using-as3-keycodes—active-6347

Fixed the link for you; the two hyphens had been converted to a single dash.

Originally posted by darkjonas8:

i recommend you check whats different and
adjust your code to look more like the one i mentioned.

Actually, chocoman01’s code is better.

 
Flag Post

Topic: Game Programming / As3, how do i write this?

Vector() function

 
Flag Post

Topic: Game Programming / Looking for game devs

It would be more appropriate to ask in the Collaborations forum.

 
Flag Post

Topic: Game Programming / As3, how do i write this?

I think this is right, but I haven’t worked in AS3 in over a year, so it may require tweaks.

//The list of type identifiers, aka Classes.
var grassClasses:Vector.<Class> = Vector.<Class>([Grass1, Grass2, Grass3]);

//Pick a random grass Class.
var grassClass:Class = grassClasses[int(Math.random() * grassClasses.length)];

//Initialize it.
var grass:MovieClip = new grassClass();
 
Flag Post

Topic: Game Programming / Disable Browser Scrolling Within Game (AS3)

Yeah, that one’s based on Javascript. What you want to do is take advantage of the fact that text fields block mouse events. Try this instead. (Note: it attempts to pass mouse events down to the objects below, but it may not emulate them perfectly. Caveat emptor!)

 
Flag Post

Topic: Game Programming / Deleting letters

Originally posted by EndlessSporadic:

Depends on the style and requirements of the game.

Ok, but it sounds to me like the requirements are “Whatever the user types should appear in the text field.”

Originally posted by AshAbeAdd:

However, isn’t there a “clear” parameter? Similar to visible?

You can set alpha = 0; to achieve basically the same effect, though it may be slower. (Then alpha = 1; to make it opaque again.)

But if you can use alpha, you may as well just use visible.

 
Flag Post

Topic: Game Programming / Deleting letters

If you’re using a text field, why not just allow the user to type in it?

 
Flag Post

Topic: Game Programming / Deleting letters

Oh, right, you explained earlier that you’re displaying text using sprites or bitmaps or something.

Anyway, you can hide any display object by setting displayObject.visible = false. Just make sure to set displayObject.visible = true when you want it back.

 
Flag Post

Topic: Game Programming / Deleting letters

What programming language and platform are you using? ActionScript/Flash? C#/Unity? C++/Binary file? Java/Minecraft mods?

 
Flag Post

Topic: Kongregate / / help (closed)

Originally posted by cargo11900:

Kong will not help him recover it but if he already has it then they may do so.

Consider this situation:

1) SampleUser leaves his account logged into a public computer.
2) BlackHat uses the computer next and discovers the computer is logged in to SampleUser’s account.
3) BlackHat contacts Kongregate as SampleUser, making up reasons for why they should change the email and password for him.

The result, I think, would sound a lot like Spikatron’s post. Whether or not Spikatron is actually on the level, I suspect Kongregate will have to reject this request on principle.

 
Flag Post

Topic: Kongregate / Kongregate forums need serious improvements

I don’t think ranting is against the ToS, but reposting the same thread is going to get you in trouble one way or another.

I’d personally like the option to get reply notifications by email. It works well on other sites, and if you didn’t want it you could disable it.

 
Flag Post

Topic: Kongregate / Okay... that's it... get rid of that annoying RATE THIS GAME popup that overtakes the chat room! Updated 11th Aug!

If you keep your cursor in the chat text box, yes.

Seriously, don’t hold your breath for it to go away completely for everyone.

 
Flag Post

Topic: Game Programming / Squeezing as much audio into a game

Originally posted by EndlessSporadic:

Forgot you were using a subpar relic of a system.

I personally make games in OpenFL, so I use OGGs for all targets except one. (Guess which one.)

 
Flag Post

Topic: Game Programming / Squeezing as much audio into a game

Originally posted by EndlessSporadic:

you don’t want a bunch of potential legal fees hanging over your head.

And my point is that you don’t have potential legal fees hanging over your head.

Originally posted by EndlessSporadic:

It is more of a cautionary thing that requires no extra effort on your part.

No extra effort? What about the effort required to get the other format(s) working?

Originally posted by Adobe:

Although there are various sound file formats used to encode digital audio, ActionScript 3.0, Flash Player and AIR support sound files that are stored in the mp3 format. They cannot directly load or play sound files in other formats like WAV or AIFF.