Recent posts by Draco18s on Kongregate

Flag Post

Topic: Game Programming / hitTestPoint bug[as3]

You translate the point to global coordinates, then use those as local coordinates (all of your ground objects exist inside a parent container).

Flag Post

Topic: Game Programming / Loading external XML

Yeah, if you don’t mind having conflicts. Dropbox resolves those by copying and renaming the file that couldn’t sync due to a simultaneous edit on another machine.

It would also not be fast. No one would see your changes for up to 10 minutes after you made them.

Flag Post

Topic: Game Programming / Loading external XML

You can’t just “edit” an external file, you’re going to need some kind of server process (built in PHP, ASP, etc.) to act as a “middle man” for you.

Flag Post

Topic: Game Programming / How to upload a game?

Flag Post

Topic: Prime World: Defenders / Ideas and suggestions

Chiming in on the auto-pause. It wouldn’t be so bad if it auto un-paused too, but it doesn’t.

Flag Post

Topic: AdVenture Capitalist: Developer / ** Suggestions **

Add a “Buy to Next Unlock” amount. With the unrelated unlock-values on the moon, it is basically impossible to figure out if it’s worth waiting for 17 X or buy 65 Y now.

Earth had it good with many of the businesses having unlocks every 100 (and the “buy 100” button).

Flag Post

Topic: AdVenture Capitalist: Developer / Space Expansion Bugs Thread

Originally posted by dirtyzucchini:

I’m not sure how the Five of Everything speed-up works. Does it speed up things that are already running? My Giant Laser had five hours to go, and it was still at 5 hours after I bought more lasers and the little achievement sign popped up. A reload didn’t change anything. Is this a bug, or is the speed-up supposed to go into effect with the next run?

Its possible that it went from 5/20 hours remaining down (15/20 incremental) to 5/10 hours remaining (cashing out and advancing 5 additional hours: 15/10 incremental).

Have a mis-organized upgrade

Flag Post

Topic: AdVenture Capitalist: Developer / Space Expansion Bugs Thread

Seems some of the progress bars on the moon have a subtle green edge on the forward part of the arrow, so that when it fills it it doesn’t have clear aliasing issues (due to using a Transparent Cutout shader)

Top bar is missing the green edge and the pixels are easily seen, the bottom one has the green edge.

May I also recommend Alpha Cutoff Shaders with Aliasing which I wrote to specifically handle these kinds of uses.

Flag Post

Topic: Game Programming / Scratch

By the way, this thread is 3 years old.

Flag Post

Topic: Game Programming / Tips on code organization

Arrays, compared with other collections, have downsides. For instance, lookup times are slower than a HashMap. Binary trees have super-fast lookup times when searching for an arbitrary object with some condition (quad trees also exist and are a good way to store objects by location if you want to know “if there are any objects near here”—say…collisions—because those x/y coordinates are your lookup values in your quadtree).

Not that an array is bad but depending on how you’re accessing the objects, another method might be better.

Flag Post

Topic: Game Programming / Tips on code organization

Is it normal to have two files with just static variables and functions?


I recommend looking into Minecraft modding, just enough to go “ooh…that’s how its organized.” I thought I was doing pretty OK with my AS classes, then got into modding, and after a few small projects I adopted the organization used by Minecraft. Which is very close to “any time an class extends another class, it goes into a new sub-package.”

Minecraft is a huge program, so the organization is important. And understanding the technique for organizing a large project will help when organizing a much smaller one (but the reverse isn’t true!)

Flag Post

Topic: Game Programming / Сinematic mode problem

Then you needed to clarify your problem. Which you have now done.
Unfortunately, you’re still probably going to have to contact Kongregate directly, as I think it’s supposed to “just work” (I can’t find any API or developer “how to use” documents)

Flag Post

Topic: Game Programming / Сinematic mode problem

You’re not a developer, you’re a player. This board is for people seeking help with development. You need this link or this link.

Flag Post

Topic: AdVenture Capitalist: General / When to multiply

Originally posted by keith_ewen:

As far as I can see, the multipliers get applied to that companies profit at the time of purchase, not an ongoing multiplier if the company as a whole, so I have a horrible feeling I have been waiting a lot of time/money.

This statement is wrong. Any purchase made anywhere effects ALL future earnings.

Buying to 200, then buying a x2, or buying a x2 then buying to 200…same cash/sec gains from that point forward both ways.

Flag Post

Topic: AdVenture Capitalist: General / Bug Reports

Originally posted by FraserM16:

you have it set to ‘Buy 100’. there are not 100 to buy (or you can’t afford it), so they are greyed out.

Except he clearly has it set to “Buy 1.”

Flag Post

Topic: AdVenture Capitalist: General / games similar to adventure capitalist?

It’s called an idle game. There are tons.

If you want a recommendation, I suggest Sandcastle Builder.

Flag Post

Topic: AdVenture Capitalist: General / I tend to upgrade everything evenly

My largest earners are doughnuts and shrimp boats. By several orders of magnitude (lemons, newspaper, and oil are my worst).

Buy whatever’s cheapest in order to hit the next achievement, not whatever makes the most money.

Flag Post

Topic: AdVenture Capitalist: General / I have a questions about the last batch of mangers

Originally posted by jonfelder:
Originally posted by murdock54:

So can anyone explain how it is 99.999% cheaper with the last batch of mangers? I can’t seem to understand.

It takes 5 zeroes off. Basically means you can buy another 100 or so.

Actually, it entirely depends on how many you have and which franchise. You’ll be able to buy more oil wells than news papers.

Flag Post

Topic: AdVenture Capitalist: General / My Game Calculator

Would let you use Y and N respectively

“100s to 1000s of seconds repay time” is tiny. You’re basically saying, “Welp, I can be arsed to wait 15 minutes, time to reset!”

Flag Post

Topic: AdVenture Capitalist: General / My Opinion about the last "web" update.

Originally posted by BlueSharkCZ:
Originally posted by TrapperHell:

The prices aren’t really increased.

Than explain to me why I was able to get all achievements before the update, and now I am stuck with 493/498 with next oil, donuts, pizza and car wash each more expensive than my all time earned. That to me looks like either the prices insanely increased for last purchases or price calculation is bugged.

Price calculation is bugged. If you bought more than 1 of each of those as your last purchase, the price displayed is equal to the cost for the next X where X is how many of them you purchased last.

Flag Post

Topic: AdVenture Capitalist: General / Opinions on 3/6/15 update

Originally posted by Suven:

I really do not understand how the new price-calculation is done. May somebody here enlighten me?

I’m at 6.7 Novemvigintillion angels, and can’t buy anything after waiting a whole night.

3 Things I discovered:

- When the first thingy of one type can be afforded (e.g. the lemonade shop), the counter goes very fast up afterwards.. So I’m waiting like 30 minutes for the first buy, wait another 60 secs and I am able to afford 100 of that thing. huh?
- Buying one thing does not reduce the amount of levels that can be bought at others.. Its like you pay with lifetime-earnings and your real money is not affected when buying stuff.
- Switching between the 1, 10, 100, Max-Buttons does not change any price-displays.. I have absolutly no way/indicator for knowing when I am able to buy something else..

I just don’t get it..

All of those things are releated. Here’s how:

When you use a “Buy X” (e.g. “Buy 10”) the price for the thing you bought gets permanently changed to display the price of the next X amount of that thing. It doesn’t actually cost that much to buy 1, but the price displayed shows the price for X (e.g. if you did a “Buy 10” the price shown for anything less than 10, shows the price for 10). And you’re prevented from buying more until you can afford the next X amount.

Which is why “Buy Max” will ruin you. You bought 1000 of them in one go? Good luck affording the next 1000.

When you finally can afford it and do a “Buy 1” the price is again altered to reflect your new purchase.

Flag Post

Topic: AdVenture Capitalist: General / Finally hit a wall. Quinquinquagintillion

I am amused. I am at a wall, you’re at a wall, and there’s another recent thread of someone else at a wall.

Here’s what I noticed:

The other thread is at Quindecillion
I’m at QuinQuadragintillion
You’re at QuinQuinQuagintillion

Flag Post

Topic: AdVenture Capitalist: General / Lemons vs Oil

I’m at some stupidly large number and doughnuts is my best earner (followed by shrimp and movie theater).

Flag Post

Topic: AdVenture Capitalist: General / first reset and what adds

50-100 Angle Investors.

Flag Post

Topic: AdVenture Capitalist: General / when to purchase 3x profit multipliers

Originally posted by Latyst:

The effects are cumulative. There are no bad times to purchase.

Unless you’re spending AI, then there are bad times (e.g. spending 90% of your AI to get a x3 to everything: not worth it).