Recent posts by kratoskiller4 on Kongregate

Subscribe to Recent posts by kratoskiller4 on Kongregate

Nov 2, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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();
}
}
}

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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.

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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?

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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.

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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?

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Kongregate Labs / kongregate preloader

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

 
Oct 30, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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

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

 
Oct 29, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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?)

 
Oct 23, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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

 
Oct 23, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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.)

 
Sep 22, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Programming / FlashDevelop

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

 
Sep 12, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

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

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

 
Sep 2, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Games / Amorphous+ Complete Reward/Award guide!

Can people just put one on Kongregate, rather than posting a link? CNP, please? :\

 
Aug 23, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Technical Support / Not getting Brute Wars Badge

I completed Brute Wars before the game had badges on it, but now it won’t give me the medium badge. I have the hard badge though…So that should be proof that I’ve beaten all castles. If not,

 
May 29, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Off-topic / The origin of YOUR name

suprisingly, mine came from my neopets name. XD. i’m suprised i still remember it, but i chose this because my friend already had a neopets except his was kratoskiller3. (coming from Tales of Symphonia). and that’s about it…

 
May 28, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Kongregate / A Hacker!!!!(not)

Can I be the cousin who always lives at the Kongrehouse?

 
May 28, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Off-topic / TEA!!!!

drink tea and u end up like that

nice billyfred-like response. :P

 
May 27, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Off-topic / Mostly Harmless mafia, perhaps?

Players currently:

CDAWGSHEE1

I0wrld3r

floaton

Selttiks

Yurian

mostly Mostly Harmless locals.

 
May 27, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Off-topic / Mostly Harmless mafia, perhaps?

Well, we’re looking for some players for a game right now if you want to. We’ve got 5 or 6.

 
May 27, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Off-topic / Mostly Harmless mafia, perhaps?

I was just here wondering if anyone perhaps wanted to play some live chat mafias in Mostly Harmless. I’d be willing to “narrate”. And yes, I already know about epicmafia, but I figured why not combine the best 2 things (Kongregate+epicmafia) to form one (insert real fun thing here)-like thing! And I know I could open 2 windows/tabs, but it makes it rather difficult to switch back and forth between them, assuming I want to play well.

 
May 25, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Games / Zunderfury Feats

I screenshotted them and pasted them into paint, but yeah.same thing. and massively unnecessary bump, Colino…

 
May 25, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Games / BLOONS TD CHEATS????!!!!

Does it strike anyone as odd that this topic has just 15 posts, yet 2,160 views? O.o

And you super-bumped, machinechaos. :P

 
May 25, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Games / New Super Mario Bros.

I can beat it in less than an hour, too. Use the World 5 cannon on World 1.(Must be blue, go inside the door where you have to wall-jump to get to and go to the right side near the top in an invisible tube) Then use the World 8 cannon on World 5. (look in the ghost house, there are some invisible blocks above some bricks then a vine above those, duck-jump to get to it).

 
May 25, 2008
avatar for kratoskiller4 kratoskiller4 218 posts

Topic: Kongregate / VOTE NOW: THE FINAL: the best chatroom

Funny how Stolz makes so many alts just for this competition. Waste of time IMO. :P

Propoganda- Exhibit A: