Recent posts by FunkyPear on Kongregate

Flag Post

Topic: Game Programming / [as3]Ghost object?

removeChild only removes the MC from being displayed (ie, you have to addChild it to make it show).

You need to actually null out the variable, or splice it from the array (depending on how you’re referencing it) to remove it.

 
Flag Post

Topic: Game Programming / Continuous jumping

Check if the character is on the floor before executing the jump code

 
Flag Post

Topic: Game Programming / How to make the stage bigger?

Extra monitor? Or hide away some panels if you have alot on screen

 
Flag Post

Topic: Game Programming / How to make the stage bigger?

Modify > Document

 
Flag Post

Topic: Game Programming / [AS3] String to number

var s:String = “123”
trace(int(s)+1)

 
Flag Post

Topic: Game Programming / A rather peculiar bug I've encountered...

Some keyboards do that. Try using different keys instead of 123

 
Flag Post

Topic: Game Programming / Special Thanks to everyone

Originally posted by UnknownGuardian:

:O You spelled vehicle wrong in your tutorial when describing Soulons. You speeellled it vehicule. (Unless your French?)

And tires is not tyres in the upgrade menu.

We spell it ‘tyres’ here in the uk.

 
Flag Post

Topic: Game Programming / No highscores?

Are you meant to be able to walk jump out of the playing field? And raindrops against background seems fine to me, but maybe not if colourblind…

 
Flag Post

Topic: Game Programming / Flash game development -- a realistic career?

Originally posted by GameBuilder15:

I know what you mean. I just got my new game sponsored and on the sponsor site all the noobs are complaining even the second level is too hard, when it’s extremely for me and my friend. But then again, shooter games are our passion. ._.

I died on the second level ;) Always good to test it on some people who haven’t played the game before. Getting the difficulty just right is tough!

 
Flag Post

Topic: Game Programming / Flash game development -- a realistic career?

Originally posted by nerdook:

it’s pretty tough to make a living as a flash dev, yes. i’ve only been doing this full time for a few months, and not a day goes by where I am not wondering if I’m doing the right thing. One day I’m happily coding, the next day I feel devastated by a string of feedback saying “your games suck, stop making them.”

it’s a wild and wonderful ride. also, I’d love to see a game by truefire, I think it’ll be something I enjoy very much.

Releasing a game is definitely a rollercoaster ride! Negative comments do sting, but you’re never going to please everyone. Some people are just jerks and their comments can be ignored :)

 
Flag Post

Topic: Game Programming / Multiplayer game

playerio.com for fully functional multiplayer stuff or you can try the nonoba multiplayer API, which I believe leads to shorter development times, but I’ve not actually used it so not completely sure.

 
Flag Post

Topic: Game Programming / Remake of Amiga game and Copyrights

Would love to know what Amiga game it is. So many fond memories on games on it :)

 
Flag Post

Topic: Game Programming / GiTD [#17] Voting

Bob

 
Flag Post

Topic: Game Programming / Kongregate Exclusivity vs MochiMedia

Kong pays a much better eCPM. But distributing it can get you more plays, so its a trade off.

 
Flag Post

Topic: Game Programming / Why is this happening?

Tried it and it doesn’t seem to like the semi colons. Removed them and it stopped giving me errors.

Edit: Multi ninja’d!

 
Flag Post

Topic: Game Programming / AS2 need help with some coding

A hacky way to fix it would be just to check if heromc.x is greater than enemy_mc.x, to work out which side the enemy is coming from, then use negative speed (or minus the speed), when its on the appropriate side.

The reason its happening is because you always add speed to this.x, and speed is always 5, so its always going to move this to the right.

 
Flag Post

Topic: Game Programming / [SOLVED] [AS3] Decimal Places

The way I do it is to multiply, round, divide…

var num:Number = 9.68532;
num = Math.round(num * 100) / 100
trace(num) // Traces 9.69
 
Flag Post

Topic: Game Programming / [solved] var a:Point == var b:Point -> False?

Have you tried using Point.equals()?

Edit: Ninja’d

 
Flag Post

Topic: Game Programming / [solved] I'm very surprised I cant get this to work

Try putting the cheatCode string definition into the onPress function. If that doesn’t work, try tracing out cheatCode when it fails.

 
Flag Post

Topic: Game Programming / Game survey

Originally posted by Attila0413:
Originally posted by BadEgg:
Originally posted by Attila0413:
Originally posted by FunkyPear:

2nd person?

Just like Gears of war and Resident Evil 4

Actually, those are 3rd person
http://en.wikipedia.org/wiki/Third-person_shooter

I have absolutely no idea what a second person game would be

I know that those are 3rd person games, but usually they are also referred as 2nd person, because of the “shoulder visual”

You learn something new every day!

 
Flag Post

Topic: Game Programming / Game survey

2nd person?

 
Flag Post

Topic: General Gaming / Gravitee Wars Trailer

Hey Guys,

I’m currently in the process of finishing off the last bits of my latest game ‘Gravitee Wars’. Its basically an artillery game based around my previous Gravitee games. I thought some of you might be interested in seeing the trailer.

To clarify, this is Gravitee Wars, a new thread of Gravitee games, its not Gravitee 3! I’m sure I’ll probably do a Gravitee 3 at some point, but I wanted to do something different with the Gravitee universe.

http://www.youtube.com/watch?v=eG59jrn909s

Quality isn’t great, and some of the colours came out wrong due to the compression.

 
Flag Post

Topic: Game Programming / Keeping Sound in Sync with Game

Use musicname.position to get the position in the song and use this for whatever it needs to be sync’d with.

 
Flag Post

Topic: Game Programming / Making Intelligent Enemies? [AS2]

Really! Look into line-line intersection.

My post wasn’t meant to be the best way of doing things. I was actually going to say that line of sight would be a better way of doing things. I was just trying to illustrate the implementation of the logic given. Work out the logic, then work out the code that executes the logic. Give a man a fish…

 
Flag Post

Topic: Game Programming / Making Intelligent Enemies? [AS2]

You’ve got the logic worked out, so now just work out how to code it. For example, every time your player moves, you check which room it is currently in, and set a variable (say, playerRoom = 1). Have a similar variable for the enemy (enemyRoom). Then, when executing the enemy code, you check if the playerRoom variable is equal to enemyRoom variable. If it is, turn the enemy to face the player and start shooting! This is just an example of how you could do it.