Recent posts by Danishdragon on Kongregate

Flag Post

Topic: Kongregate / Say Hello to Your New CEO

Originally posted by jimgreer:
Originally posted by Lehoric:

I’ve been a proud member of Kongregate since… a long time ago.
Goodbye, Jim and hello Emily.
Keep up the good work!

It checks out: MEMBER SINCE Apr. 11, 2008

Member since 2008 february checking in! – Congrats to Emily, and good luck with whatever project you are about to start on, Jim!

Thanks for creating a community that helped me get into programming :)

 
Flag Post

Topic: Game Programming / Best C# IDE Mac?

I know that Xcode should do the job just fine.

 
Flag Post

Topic: Game Programming / How to Give Yourself a Heart Attack

Hey, no other service provided me over 20gb free ;)

 
Flag Post

Topic: Game Programming / How to Give Yourself a Heart Attack

Or that minute when you see that the whole project on dropbox is being deleted by another project participant by mistake.

Good thing you can recover files >_>

 
Flag Post

Topic: Game Programming / Rotation difference [SOLVED]

If I understand you correctly… I am only going to look into what direction my objects are currently pointing towards, rather than looking at how much they have rotated in total.

-180 to 180 is coming from the rotation property

 
Flag Post

Topic: Game Programming / Rotation difference [SOLVED]

Cheers! That seems to have done the trick – my previous attempt was close, but not close enough :)

 
Flag Post

Topic: Game Programming / Rotation difference [SOLVED]

I feel like a dumb dumb having problems with this, and probably just need a pair of fresh eyes. My problem is simple:

Rotation in AS3 goes as -180 to +180, and I want to find the difference between two rotations. So finding it – only having one direction in mind is simple, but if I want to take the other direction in regards, it get slightly more tricky.

 
Flag Post

Topic: Game Programming / Newsgrounds player «sound wave effects» (!?)

I have never worked with sound and flash together in such depth before… But yep, they would simply be reading the data of the sound and visualize it. As you say they do this by the drop of the music, it sounds like they’re basing it on the current volume of the sound.

I bet you should be able to find plenty of tutorials upon playing with AS3 and sound.

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

Originally posted by Aesica:

@Danishdragon: I’ll be honest, right now the controls feel pretty clunky, and getting myself to actually aim at the enemy ship makes me hate life. It should never feel like a chore to make your character do something as simple as properly aiming itself at a target. To simplify the controls a bit, consider something like this: Ship steers toward the mouse (using the same turning formula—don’t instantly face it to the mouse, obviously). Mouse button fires both cannons—is there ever a strategic advantage to only firing one?) Some other key puts on the brakes

Oh, and I wouldn’t get all overly scientific about the steering, moving, extra sails, etc. You want your controls to be intuitive, not some convoluted form of rocket surgery. I’d only add that stuff if you think it will contribute to the gameplay experience in a positive way.

My end-goal is having a strategic game where most battles are aimed to be somewhat difficult – I plan on having the steering mechanicsm as it is now, and then find a good balance between having realistic vs fun sails.

For the cannons – you’re going to have cargo on the ship, cannonballs being one of the commodities – you will have to stock up when you’re at islands – so you should aim for not wasting too many balls on just plopping them in the ocean. You will be able to install additional cannons on the ship.
"
I’ve gotten the overall ideas for the game from the Pirates of the Caribbean video game

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

Originally posted by vesperbot:

To control a sail-propelled ship, you set amount of sails (assumed constant for many maneuvers, also it shouldn’t change as rapidly as throttle – those pirates have to climb masts to set or remove extra sails), you provide tiller angle relative to ship (up to PI/4 to either side) and sail angle to the ship (up to PI/2 to either side), then let the wind blow and calculate reaction of the ship. There are two phases to determine the resultant force: calculate mass of the wind (wind speed x square of sails x sin(sails vs wind)) that hits the sails, multiply it by another sin(sails vs wind) to determine effective momentum applied against masts, then multiply it by sin(ship vs sails) to find out the resultant force that pushes the ship forward. Because a ship has a lot less resistance moving towards its nose (or how is it called) than laterally, you can ignore the component of force moving the ship laterally. But, I’d wish you make it count… Then, you now have the forward-propelling force applied to ship, divide by its mass, get acceleration, add to velocity. Then, get square of tiller blade (that’s under water, about a constant for a ship), multiply it by sin(tiller vs ship) x cos(tiller vs ship) x water density x ship speed, and apply the resultant force as steering force.

Thanks for the wall of text there! I will definitely give it a throughout read when I’m going to brainstorm later on the details.

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

Starting to work on a pirate-themed game, and have worked a bit on how I want the battles to be controlled:
http://danishdragon.com/pirates/
(W to accelerate, A and D to steer the rudder, Q and E to fire cannons) – as of now I’m thinking about changing the acceleration to work with sails and wind.

(note… just ignore my 2-minute AI, it’s pretty much just sailing in circles shooting xD)

 
Flag Post

Topic: Game Programming / bad API?

Originally posted by nirkingking:
Originally posted by Drakim:

Please use the < pre > < /pre > tags so that your code is readable.

what do you meen? how do i do that

http://www.kongregate.com/forums/4-game-programming/topics/39889-proper-forum-code-formatting-guide

 
Flag Post

Topic: Game Programming / Embed font [SOLVED]

Ah – found out I had forgotten to set embedFonts to true in my textfield – got it fixed now. Thanks for the variety of answers though!

 
Flag Post

Topic: Game Programming / Embed font [SOLVED]

Thanks I’ll give it a try.

 
Flag Post

Topic: Game Programming / Embed font [SOLVED]

Hey!

Since I started doing some Flash programming I slowly went to do it all in FlashDev rather than Flash Proffesional, and I’m now for the first time in the situation where I want to embed a font – whilst it was easy for me to figure out in Flash Prof. I have no clue why I can’t get it done in Develop – Could someone be so kind to share a snippet where they embed and use a font?

With my attempt I just ended up getting one error after another >_<

 
Flag Post

Topic: Game Programming / Picking the right song for my game [Help me!!!]

In case I have any music on my Newgrounds profile you want to use, feel free to – only requirement is that you put a reference to my profile there.

Probably the most fitting thing I have… so yeah… Probably not anything you wanna use xD
http://www.newgrounds.com/audio/listen/374301

 
Flag Post

Topic: Game Programming / Software to make music?

Originally posted by ErlendHL:
Originally posted by Danishdragon:

I personally only got some experience with Reason and programming it from the bottom with Max.

Programming reason from the bottom; what do you mean?

Ah no, with Max by Cycling74.
http://www.cycling74.com/

Fun program to play around with, had to use it for my Sound and Music computing course.
-

It features some different parts, but the Max MSP part gives you a nice tool to program some different sound stuff.

 
Flag Post

Topic: Game Programming / Software to make music?

Whilst they might not be simple, you can pretty much do that in any music production software such as Reason, Cubase, Fruityloops, Ableton…. Whatever. I think a virtual piano has become pretty much standard in all the software these days, but I personally only got some experience with Reason and programming it from the bottom with Max.

 
Flag Post

Topic: Game Programming / HOw to ask someone to make a game?

If you don’t care about getting credit, money or whatever for this to happen, I would say you could try your luck just sharing the game concept…. Could be lucky enough for someone to point you to a similar game.

 
Flag Post

Topic: Game Programming / How Do You Pronounce...

I’m at an international education here in Denmark where everything is conducted in English – so during a day I switch a lot between English and Danish, and I would pronounce them a bit differently:

English:
http://vocaroo.com/i/s0vxed6wtI08

Danish:
http://vocaroo.com/i/s0NsKmCA34GU

(I might want to add that the JSON one sounds a lot different in Danish as I would pronounce it J (the letter) – Son)

Some of these I’ve never heard of, so that might change it a bit.

 
Flag Post

Topic: Game Programming / I am looking to make a game...

Originally posted by The_Valkyr:

Do not ahve the time to learn anything at the moment, I am in a private school and get tons of homework to do so when I have free time I like to game.

Use the time on creating games instead of playing them if you are actually serious about wanting to make one.

 
Flag Post

Topic: Game Programming / Google Code Jam 2013

Round 1A was happening at like 3 AM for me, so I’m glad round 1B is possible for me, as I so far have no plans for that day :D… Even though I don’t count even passing through to next round xD

 
Flag Post

Topic: Game Programming / Show us a screenshot of what you're working on!

http://i.imgur.com/vwVNEPT.png
link because of a full-size screenshot.

My project with making music that fits the current environment is going along nicely. Need to tweak a few calculations, but I’m getting some decent results in my environment detection now :)

(Data of the surrounding blocks is being sent from Minecraft, and Max is taking care of calculations (what the image is showing) and later on the music as well)

 
Flag Post

Topic: Game Programming / Unity discontinues Flash support

And even if you were to make Unity games and want to publish them… It’s easy enough with the normal unity player really.

 
Flag Post

Topic: Game Programming / GiTD [#32] Entries and Discussion

Originally posted by Ace_Blue:
Originally posted by Danishdragon:

Random theme ideas:

Elements

Oooh, awesome! I vote for that one. It’s been a long time since we had a theme as good as ‘elements’. Oh, wait…

I’ve never been part of any GITD competition, so I have no idea what themes has already been used xD