Recent posts by Draco18s on Kongregate

Flag Post

Topic: Game Programming / Movement within function doesn't work

Why is j used as an array index inside rg() but defined in global scope? That’s probably completely screwing you up.

You should pass j to the function as a parameter.

 
Flag Post

Topic: Game Programming / Unity/WebGL: Memory issue on startup

Originally posted by Pulsaris:

My PC runs on Intel HD Graphics and I think it has something to do with the problem.

I have an ATI Radeon 5570 with 2GB of video ram. Your graphics card is not the problem.

 
Flag Post

Topic: Game Programming / Ideas and best practices for advertising.

Actually new games aren’t on the front page any more because there are so freaking many.

I just looked at the sort=newest link and the entire page, except seven, were all uploaded today.

When Kongregate first launched the number of new games was about 4-8 in a 24 hour period, and I played and rated every single one.

 
Flag Post

Topic: Game Programming / A site called Y8 seems to have stolen my game

Yeah, a lot of sites are really quite nice about removing your stuff when it shows up. Even the ones that scrape Kongregate themselves. They’ll be all “no problem, we’ll remove that” and actually do it. Most even go in and add your game to a blacklist so it doesn’t get scraped again.

 
Flag Post

Topic: Game Programming / A site called Y8 seems to have stolen my game

Requires having an ad system that tracks based on an ID, which…are dwindling now that Mochi died.

 
Flag Post

Topic: Game Programming / A site called Y8 seems to have stolen my game

Kongregate gets scraped regularly by a huge number of sites. You’re hardly the first person to have stuff used without your permission.

The best defense is to write site-locking code so that the game only runs if it is being hosted by the sites you want it running on.

 
Flag Post

Topic: Game Programming / WebGL Security Error

See this thread:
http://www.kongregate.com/forums/4-game-programming/topics/612237-unity-webgl-memory-issue-on-startup

 
Flag Post

Topic: Game Programming / Unity/WebGL: Memory issue on startup

Aww, I just went to play both of those exact games and couldn’t for this exact reason. :(

 
Flag Post

Topic: Game Programming / How do I specify API Callback URL?

Originally posted by DouglasA83:

So basically you can’t have statistics unless you host it on another server?

(Protip: there’s an edit button)

You absolutely can! The callback URL is for iframe games only because iframe games must be hosted elsewhere and without the callback URL method, they would be unable to have statistics.

Flash and Unity games can access the API directly.

 
Flag Post

Topic: Game Design / Teaching the mechanics of the game

Is there a reason why the game board is completely wiped upon failing?

Also, holy shit undertow tiles are a nightmare to try and compute in my head.

 
Flag Post

Topic: Game Programming / The good old days of this forum

Originally posted by Aesica:

Yeah, back then I thought programming something efficiently was far more important than having top-notch, attractive graphics. In the end, I’m pretty sure that’s what tipped my game off into the “pile of buried and forgotten crap” vs “the games that get shown off, badged, and featured.” Graphics, storytelling (if your game tries to be story-driven), and overall design matter immensely and contribute a lot more to making a game good than just “i no how 2 progrum gud.” If I try again, those are all things I’ll need to pay more attention to. Especially the art, both in terms of keeping a consistent style and using better-quality assets overall.

Pretty sure for Kongregate today all you need to do is make it an idle game, slap some vague theme on it and quarter-decent art, and you’ll end up on the front page in no time as long as the math is decent. Adventure Capitalism had amazing math, where things would shift about and change up over time as you progressed making it a constant reevaluation on what was the most cost efficient.

And then they added the Moon. The moon basically ruined the game because the strategy for the moon was “Oxygen Bars.”

 
Flag Post

Topic: Game Programming / The good old days of this forum

I am a pro dev, now. So you know what, HA!

Also, 5 years ago? Pfft, try 9. Nine years ago this place was the best. I played and rated every single game that got posted.

 
Flag Post

Topic: Game Programming / WTF is wrong with the Kongregate Community?

Ok, so my first attempt was also my best out of three (I died during wave 2).

1) At some point during the fight I had clicked an “add soldier” button, had a guy die and the buy menu closed and I could click on nothing. Not that I could buy anything (the menu had been open as I had 2 tp and was waiting on a third). Had 2 soldiers, 1 anti-tank, 1 medic, 1 sergeant.
2) Second run was also my second best, I killed 8 dudes. Did not encounter the same problem as I had in my first run, but also did not receive any additional tp. Had 2 soldiers, 2 medics, an anti-tank, an anti-air, and a signaler (by accident, whatever).
3) Third run, my worst, I have NO IDEA WTF HAPPENED. I started with 2 soldiers, a signaler, a medic, and an anti-tank guy and I killed ONE INFANTRY. Second run told me “hey, the signaler can get TP for me” so I bought him right off, got an anti-tank, two soldiers, a medic, and went “goooo!” Signaler was literally the last guy to die.

I did three runs, learned nothing about how the game plays, get no information as to what’s going on, have no information about what any of the units do, what they’re good at, who I should bring because suddenly tanks, medics don’t appear to actually heal people (or the rate of attrition change is so low to actually not be beneficial). Nothing.

The graphics don’t even bother me, literally do not care. My problem is that the game is an opaque black box where I pull some levers, things happen, and I lose. I have no idea which levers I pulled made me lose more slowly or more quickly, as the simulation and its results were outside my control of influence. I quite literally would have had a better idea of what to do if all of my buttons did actually nothing and the results were based off the stock markets moving up and down (there’s an actual psychological study that was done with this setup).

Edit:

Played a 4th game, had the same problem in game 1 occur. The engineer’s buildings helped, right up until he died and I had no TP to get another one. I almost beat wave 3 (Headline: “Man With Gun holds of advancing troops, dies at the last second”)

 
Flag Post

Topic: Game Programming / What is the best (or easiest) way to get enough ratings for your game?

The performance impact comes from the string concatenation and output. There’s very little of it going on in your game (no every-frame message) but I do happen to know from experience that there are only so many messages you can log before it starts chewing into the frame rate.

 
Flag Post

Topic: Game Programming / Player question,Y u no make games like these?

Because raisins.

 
Flag Post

Topic: Game Programming / What is the best (or easiest) way to get enough ratings for your game?

None, really, other than making the game look unfinished. It also eats a little performance (not that anyone would notice for your game).

 
Flag Post

Topic: Game Programming / What is the best (or easiest) way to get enough ratings for your game?

It’s a checkbox in the Unity build menu.
File → Build Settings

Uncheck that.

 
Flag Post

Topic: Game Programming / What is the best (or easiest) way to get enough ratings for your game?

Your game needs a ton of polish.
1) The grid numbers need to use a larger font size, those pixels are larger than the balls.
2) The UI is super basic. Your title font, for instance, is just Arial.
3) You compiled with development mode on
4) Because it compiled with debugging, I see there are null reference errors occurring sometimes, although it doesn’t actually break anything.
5) You have no tweening at all. Aside from the boxes spinning there is no animation what so ever. Smooth transition of the balls and the camera would go a long way.

 
Flag Post

Topic: Game Programming / How are most games made right now?

Unity 5 is just heads and shoulders better than Unity 4.

 
Flag Post

Topic: Game Programming / Side Scrolling Doesn't Fit :P

What.

Words.

Use them.

 
Flag Post

Topic: Game Programming / made this really cool raytracing video

The audio track is full of noise.

 
Flag Post

Topic: Game Programming / Need a Balancing Mechanic

See also: C – Control: The Money of Soul and Possibility

 
Flag Post

Topic: Game Programming / [AS2] How do you set depth height limit?

I’ve done similar depth-controlling in AS3.

 
Flag Post

Topic: Game Programming / Idle game large number system

https://code.google.com/p/as3crypto/source/browse/trunk/as3crypto/src/com/hurlant/crypto/rsa/BigInteger.as?r=3

You have to use the functions AddTo, SubTo, etc. as AS3 can’t override operators.

 
Flag Post

Topic: Game Programming / Is Flash/Unity games always preferred when compared to HTML games?

Originally posted by EndlessSporadic:

I prefer HTML5 games over Flash and Unity since I don’t need a plugin to play it, and I know it will work on any device I own.

Not entirely true. I know several HTML games that don’t work correctly on my tablet. Last I checked, Dominion was one.