Recent posts by farquay on Kongregate

Flag Post

Topic: Ninja Warz / Feedback and Suggestions

So now that Drills no longer give Karma, how is it fair for players that have been farming them compared to newer players who never even had the chance? Game is already imbalanced.

 
Flag Post

Topic: Ninja Warz / Getting 1000 wins in a row

So I couldnt help but notice that the person who broke my streak was someone level 61 and I am level 39 (at the time of writing this). How does it make any sense to allow a level 61 person attack someone almost 30 levels below them? I was under the impression that you can only attack someone 10 levels below and of course anyone above that level. This shouldnt be allowed to happen. Anyone else experience something similar to this?

 
Flag Post

Topic: Game Programming / How to make a save/load function.

I was wondering how to make a Save/load function. I figured I could make a button and a variable to work accordingly for save and load but I dont understand how to save it IN the flash file to actually allow it to load up on every SEPERATE use. MY game is posted below, Im trying to edit it to make more powerups available based on your score total. Thanks

http://www.kongregate.com/games/farquay/spaceescape

 
Flag Post

Topic: Ninja Warz / Ally Finder

add me TOO!

 
Flag Post

Topic: Kongregate Labs / How to make boundaries for the shooturial

And of course to prevent OBJECT or “HERO SHIP” from scrolling infinitely UP and DOWN, you use the same coding but tweak it to change the _x to _y. And example to stop it from scrolling infinitely down is below. Use all that you learned here to make the boundary for preventing your ship to infinitely scroll UP.

if (_y > 300)
{
_y = 300
}

 
Flag Post

Topic: Kongregate Labs / How to make boundaries for the shooturial

But the above code still allows the OBJECT or “HERO SHIP” to go beyond the point of 0 or go all the way to the left of screen without stopping. To prevent this add the code below. The code below makes it so that when the OBJECT or “HERO SHIP” goes beyond the width of 0 (or all the way to the left) it will “teleport” it back to 0, which never actually lets the OBJECT go beyond 0 or in other words prevents it from scrolling to the left infinitely.

if (_x < 1)
{
_x = 0
}

 
Flag Post

Topic: Kongregate Labs / How to make boundaries for the shooturial

Okay thanks to the suggestion from Danny_Phantom_ I figured out how to make “boundaries” and I thought I’d share my code with others in case they need some direction.
The code below makes it so that if the OBJECT goes beyond the 600 range width of the stage, then the OBJECT is “teleported” back to the position of 600, making it impossible to ever really go pass the 600 range width.

if (_x > 600)
{
_x = 600
}

 
Flag Post

Topic: Kongregate Labs / How to make boundaries for the shooturial

I couldnt help but notice that your “Hero Ship” is allowed to leave the 600 × 300 frame. Can anyone help me make a code to limit the Hero Ships movement to the 600 × 300 frame? It doesnt make sense to allow it to move freely since the enemies self destruct after a certain range so to “Beat” the game all you have to do is go outside the boundary. Thanks for your help.