Recent posts by kratoskiller4 on Kongregate

Flag Post

Topic: Game Programming / [SOLVED] Stopping one animated object but leaving another alone (example given)

Care to share your solution for future Googlers? :P

 
Flag Post

Topic: General Tyrant Discussion / Sawblade is overpowered

Dracorex OP

 
Flag Post

Topic: General Tyrant Discussion / Sawblade is overpowered

Oh ho ho ho. Good one.

 
Flag Post

Topic: General Tyrant Discussion / Black Ops

Originally posted by pacaholic:

Dramallama is OP. However Black Ops AND Covert Ops could take em down in an unfair 2v1 faction war

Looks like someone wishes he had a card named after his faction.

 
Flag Post

Topic: General Tyrant Discussion / .

Originally posted by ArcanisX:

You’ve got to be alternatively gifted BIGTIME to compile “please don’t attack us” and “let’s assemble a gang and take them out” in a single post.

qft

 
Flag Post

Topic: General Tyrant Discussion / Covert Ops - Lv.15+ ONLY

Are there still spots open? I’m level 23 looking to join..

 
Flag Post

Topic: General Tyrant Discussion / Covert Ops - Lv.15+ ONLY

If I apply when it’s full, do I need to re-apply when more spots are open?

 
Flag Post

Topic: General Tyrant Discussion / Great Deck FORMULAs!

Originally posted by Mastertek:

No, I can guarantee the deck I mention above has winning rate of above 85% on both auto offense and auto defense. That’s why I stick to those principles in the first place.

How’s it possible to guarantee a deck will win 85% of the time on defense? You don’t get to attack first. The odds of getting destroyed are very high.

 
Flag Post

Topic: General Tyrant Discussion / Tyrant Errors

Originally posted by Phobus:

Found a bug: a unit that has “anti air” has its attack strength reduced to 0 by the ability weaken. If it would attack the flying unit it would at least cause the damage from its anti air ability – but it doesnt even attack, making the ability useless

This is true, and needs to be fixed. It’s really annoying and makes missions harder than they should be :S

 
Flag Post

Topic: Off-topic / Are you (YAH! YOU!) a badgewhore?

1. C. See which one looks more fun.
2. A. Go to another site.
3. A. It was your favorite game.
4. A. You get your cup of coffee ready.
5. B. Whenever.

 
Flag Post

Topic: Off-topic / Would you kill your best friend in order to save your life?

I’d grab the steel box with my friend and throw it at the tiger. Win/win, unless the tiger doesn’t die, but just gets angry.

 
Flag Post

Topic: Kongregate Multiplayer Games / [Remnants of Skystone] Beta Testers Needed for Remnants of Skystone

I would very much enjoy being a part of this.

 
Flag Post

Topic: Kongregate Labs / My Collision Detection Messed Up =|

At first, my collision detection worked fine. But after messing with a pause function that I ended up deleting and erasing all trace of it and simplifying it to using a simple variable, my collision detection doesn’t work.

Upon being hit with a missile, the missile disappears, but the enemy ship does not, and the explosion graphic does not play. When the enemy ship hits my ship, the enemy ship does not dissappear, and the explosion graphic plays many times (I would assume once per second) in the top-right corner (0,0). This makes me believe that the problem is caused by the EnemyShip’s removeMovieClip function, though I am unsure. Any suggestions? =\.

EDIT: The EnemyShip’s removeMovieClip function is fine. I checked by changing
if(y > 700) { this.removeMovieClip(); }

to a y value I could actually see. The EnemyShip removed fine. So now I think that the explosion function is the actual problem.

EDIT TWO:
When I test it, and list the variables. One part says this:


Variable _level0.ship.enemies = [object #10, class ‘Array’] [
0:[movieclip:<broken>],
1:[movieclip:<broken>],
2:[movieclip:<broken>],
3:[movieclip:<broken>],
4:[movieclip:<broken>],
5:[movieclip:<broken>],
6:[movieclip:<broken>]
]


Does that look right? AKA is broken supposed to be there? O.o

For reference, my game is played vertically where the ship is at the bottom and the enemy ships come from the top.

(In file: EnemyShip.as)

class EnemyShip extends MovieClip

{
var speed;
var shootTimer;
function onLoad() {
x = Math.random()400+50;
_y = -100;
speed = Math.random()
4+4;
shootTimer=0;
function removeMovieClip() { //Thanks to (Kongregate Developer Forums) for this
super.removeMovieClip(); // Calls MovieClip’s removeMovieClip() function so that this
// performs normally.
for (var i = 0; i < _root.ship.enemies.length; i++) { //iterate through all the enemies
if (this == _root.ship.enemies[i]) { // if this enemyship is at the ith index
_root.ship.enemies.splice(i,1); //removes the ith object from the array
break; //once you’ve found the ship in the array, you can break out of the loop
}
}
}
}
function onEnterFrame() {
if(!
root.paused.paused){
y += speed;
shootTimer +=1;
if(shootTimer > 43) {
shootTimer = 0;
var missile = _root.attachMovie(“EnemyMissile”,“EnemyMissile” + _root.getNextHighestDepth(), _root.getNextHighestDepth());
missile.
x = x – 2;
missile.
y = y + 50;
}
if(
y > 700) {
this.removeMovieClip();
}
if(this.hitTest(root.ship)) {
explode();
}
}
function explode() {
var explosion = _root.attachMovie( “Explosion” , “Explosion” + _root.getNextHighestDepth(), _root.getNextHighestDepth() );
explosion.
x = x-10;
explosion.
y = _y;
this.removeMovieClip();
}
}
}

 
Flag Post

Topic: Off-topic / Eye frames per second?

Why would your brain be faster? The “resolution” of your eye doesn’t change, and your brain does not process the images it sees like a computer; the only reason a computer lags is because it’s computing how everything in what is loaded reacts to whatever data is being inputted into it, your eye just tells your brain what it sees.

 
Flag Post

Topic: Off-topic / Eye frames per second?

Okay then. How many times per second can the brain process all of what the eye can see?

 
Flag Post

Topic: Off-topic / Eye frames per second?

Well, I know the eye doesn’t see constant images. An example of this is when you look at a car tire when you’re driving next to it on the highway. If you’re going fast enough, the tire slowly rotates forward, slowly rotates backwards, or may not even move at all. This is because in the time it takes you to process a “frame”, the tire has already gone around one more time.

 
Flag Post

Topic: Off-topic / Eye frames per second?

DISCLAIMER: I wasn’t sure if this belonged here or not, but I couldn’t find any better place to put it. So if it doesn’t belong, let me know, and I’ll delete it.

I was just wondering how many frames per second can the human eye see? (I’m looking for a number answer. >_>) I was wondering because I’ve gotten pretty good times on Madness Reaction Time (A game on Kong) and it just got me thinking. Anyone know the answer?

 
Flag Post

Topic: Kongregate Labs / Shootorial Array Question

Blackdrazon, would you mind me using that garbage collection method if I gave you Special Thanks in the credits? :o

 
Flag Post

Topic: Kongregate Labs / kongregate preloader

No offense to Kongregate or anything, but why would you want to make less money? :P

 
Flag Post

Topic: Kongregate Labs / Contest+Upload? Or not?

Ahh, thank you. That is what I like to hear. :D

 
Flag Post

Topic: Kongregate Labs / Contest+Upload? Or not?

Can people entering the contest upload a game the regular way and through the Scion labs? (Because if not, won’t the game get deleted after the contest is over?)

 
Flag Post

Topic: Kongregate / Kongregate IRC

Just because I want to connect using IRC doesn’t mean I’m never gonna play Kong…If I just wanted to chat, I could go to a chatroom on any one of the thousands of websites out there. And are you sure Kong doesn’t use IRC? O.o

 
Flag Post

Topic: Kongregate / Kongregate IRC

Is getting on Kongregate IRC using an IRC client legal? And if so, are the ip/port/channels listed anywhere for each room? I just think it would be cool to be able to chat on Kongregate without having to play a game. (I know about Idle/Kongregate Chat/etc.)

 
Flag Post

Topic: Game Programming / FlashDevelop

Can FlashDevelop (See Sticky for link) draw and compile decent flash games or is it just a ActionScript compiler?

 
Flag Post

Topic: General Gaming / top 5 shooters (first or third person)

Starsiege: Tribes is number 1…
007 Goldeneye is number 2…
(Insert random stuff for 3-5)