Recent posts by UnknownGuardian on Kongregate

Flag Post

Topic: Game Programming / Flash, Browser, Kongregate, Performance?

Yes. Submit only at level completion. No reason to submit faster.

 
Flag Post

Topic: Kongregate / Badge of the day

At night.

 
Flag Post

Topic: Kongregate APIs / Load save data?

You cannot load stats from Kongregate. You can check if the user is a guest. And there is the Developer docs on submitting scores should run you through the process.

 
Flag Post

Topic: Game Programming / [as3]This had me bugging for a long time.

b is the drop condition. i.e. (i % 13 == 0 || i % 11 == 0)

!b is the keep condition.

 
Flag Post

Topic: Game Programming / AS3 Tips and Tricks

Speed of that function is largely dependent on where elements are being removed at, since that loop preserves array order. Likely you’ll find the existing (and unordered) vec[i] = vec[length-1] to be faster in certain scenarios. (i.e. long arrays, with elements being removed near the front)

 
Flag Post

Topic: Game Programming / [as3]This had me bugging for a long time.

Not sure if I wrote this right (I checked a case or two and it seems right), but could you bench this too? Just combined your 2 loops into 1.

var current:int = 0;
for (var i:int = 0; i < a.length; i++)
{
	if(i != current)// if not same slot
	{
		a[current] = a[i];
	}
	if (!b) //keep condition << this is not throw away condition! (should be !b)
	{
		current++;
	}
	
}
a.length = current;
trace("end", a);

 
Flag Post

Topic: Game Programming / [as3]This had me bugging for a long time.

You could always test it in your browser…

It shrinks the array length before accessing the element at the end.

 
Flag Post

Topic: Game Programming / [as3]This had me bugging for a long time.

@fear what about Option 4 which is option 3 with backwards loop.

Write ALL the options! [missing graphic here]

 
Flag Post

Topic: Game Programming / First Game: Help ;p

http://www.kongregate.com/forums/4-game-programming/topics/160453-how-to-make-flash-games

 
Flag Post

Topic: Kongregate / really

Zshadow picks usernames in close clusters. *

* not really

 
Flag Post

Topic: Game Programming / AS3 Tips and Tricks

http://gaming.adobe.com/technologies/scout/

 
Flag Post

Topic: Kongregate APIs / How to "Adds" add on the game

Kongregate’s ads are automatically placed on your game page and sometimes prior to the game itself. You do not need to do anything special.

 
Flag Post

Topic: Kongregate / New Kongregate Version: Changes to trending pod, speeding up developer tools and collaborator replies

I don’t think the “reply to comments” update is working at all.

I cannot reply to comments on any games I’m the developer of or ones I’m listed as a collaborator.

 
Flag Post

Topic: Kongregate / Scheduled downtime 10/14 (9pm PST)

Originally posted by adv0catus:

Good to know. It must be major if the site’ll be down, so that’s good news, I suppose.

Probably something like giving Candyman actual candy dispensing powers. That would be an awesome feature. And it’d be major too.

 
Flag Post

Topic: Kongregate APIs / Submitting stat when player's a guest

Nothing gets saved on the highscore board. I believe the notification for “you got a highscore” box will pop up, if necessary though.

 
Flag Post

Topic: Game Design / A new project

Back eases are usually better in the end. (and not all in the same direction/as a massive group)

Your menu is very plain as well, emphasized by the plain background and skinny text.
In game, things that might be good

  • health bars/visual for enemies
  • bullet reaction to enemy collisoin
  • non-plain background
  • less-static cursorhair
  • more interesting enemy paths
  • more interesting enemies that move (animation)
  • more interesting player mechanics and visuals
  • blood trails on ground from hurt zombies
  • enemies shouldn’t stack
  • visual variation between spells
  • maybe spell trails/effects
  • in-game upgrade menus (don’t shove back to menu to allow them to upgrade. That indicates that the game is over)
  • make visuals for the upgrades. If my spell is upgraded, it better look different AND cooler

Upgrade menu should be fixed

  • use a tree type one with different starting points for each spell
  • make the hover tooltip be a different color than the background
  • fix the capital A in Name in the tooltip
  • tooltip doesn’t work on the fire upgrade panel

Also, nice swf hosting site. Simple and clean.

 
Flag Post

Topic: Game Programming / (True === False) ???

Amazing. Someone else has seen that. Definitely a great watch for people looking for some quick comedy and absurd “features” of Javascript.

 
Flag Post

Topic: Game Programming / PHP or Javascript (+HTML)

so you can exploit their strengths

Haha. You mean weaknesses. Cough. Both super insecure if done wrong. Cough. Just be careful

 
Flag Post

Topic: Game Programming / (True === False) ???

Originally posted by I_love_you_lots:

This is silly!

At least it makes more logical sense than javascript.

 
Flag Post

Topic: Kongregate / accounts

Be a kwll (cool, hehe) kid!

http://www.kongregate.com/accounts/availability?username=something_here

 
Flag Post

Topic: Game Programming / Overriding the + Operator

Point.add is the closest you will get. As said earlier, AS3 does not support overloading.

 
Flag Post

Topic: Kongregate APIs / Kongregate and Stage3D support

Yes.

 
Flag Post

Topic: Technical Support / wmode=direct and Kongregate

As I know, Kongregate currently doesn’t support wmode=direct (Starling, Stage 3D).

Usually a good idea to check before posting. :D

 
Flag Post

Topic: Game Programming / (True === False) ???

Originally posted by player_03:

As long as we’re calling people on minor mistakes…

Originally posted by truefire:

0 < [positive number] is false.

Wouldn’t

0 < int.MAX_VALUE + 1

work. Or some variation thereof?

 
Flag Post

Topic: Game Programming / (True === False) ???

For those of us that are too lazy.

That doesn’t sound like tutorial code. I concur with slugrail; that does look like obfuscated code as pointed out.