Recent posts by EndlessSporadic on Kongregate

Flag Post

Topic: Game Programming / Can an Android app use Kongregate's user login

You need the Kongregate API object for the respective platform. They have one for Unity, JavaScript, and ActionScript. They do not have one for what I assume to be Java. As far as I know this object is only available within the iFrame that the game is hosted in when uploaded to Kongregate. I highly suspect your workaround won’t work, and even if it does asking for Kongregate login information outside of Kongregate is extremely sketchy, sort of unethical, and most definitely against Kongregate terms of use.

 
Flag Post

Topic: Off-topic / PC Gaming is awesome. Steam is suck.

DRM isn’t a bad thing, but it’s current implementation is atrocious. If you do not like Steam GOG has just released the GOG Galaxy.

 
Flag Post

Topic: Game Programming / Unity C# API Tutorials?

Originally posted by Draco18s:

Namespaces are fine, provided that you tell other scripts referencing that one that you’re using it!
Note the using UnityEngine; line at the top? That’s a namespace. So to use yours you’d just have to add using MyNamespace;

Thanks for that clarification. I haven’t touched Unity in ages, and sometimes creating a new unity3d C# script via MonoDevelop’s file menu added the namespace line for you, so I assumed it didn’t particularly matter and that Unity handled resolution for you.

Glad to hear you got it working, MrCatastropher!

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

To be honest I thought School Days was kind of refreshing. It was weird and the guy was a jerk, but it was nice to see a story that wasn’t stereotypical anime bullshit.

 
Flag Post

Topic: Game Programming / scrach games uploading

Kongregate only accepts HTML, .swf, and .unity3d files.

 
Flag Post

Topic: Game Programming / Unity C# API Tutorials?

You need to reference the GameObject the script is attached to. This game object needs to persist between scenes.

Since Connect() is called in the Start() method you do not need to worry about connecting. You can explicitly call “Connect” to ensure the connection is established. To submit a score, you call “MyGameObject.GetComponent<KongregateAPI>().Submit(”Highscore", ScoreManager.score);". Note that you may need to make these methods non-static (remove the “static” keyword from the method declaration).

If you are so inclined you can add a queue to the class and add all stat submissions to it. A coroutine will continue to check the “connected” status and submit them all when the object finally connects. This way your stat submits aren’t completely lost if the object doesn’t connect.

EDIT: You definitely do need to make Submit non-static – this was a bug in my code. I have updated the original code post with the updated code as well as a few bug fixes.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Originally posted by uzzbuzz:

So I finally finished School Days, and I take back what I said. It started out alright, but it just got worse and worse. What the fuck was that ending ;-; Crazy people. At least I’m done with it now, for now.

Aside from the twisted plot, the ending has a little story to it.

 
Flag Post

Topic: Game Programming / Player Prefs for each user

Serialize your data or use a naming convention.

By serializing your data you store all of the data into a 2D array then save the serialized string with the key of the user. To get the information you getString the user’s name then deserialize the information back into a 2D array. Note that this is expensive as changing a single value means you need to reserialize the entire 2D array.

By using a naming convention you work around serialization but sacrifice clear naming. For example, you save your data with the key “Username_KeyName” (via string concatenation).

 
Flag Post

Topic: Game Programming / Unity WebGL only build

That may be your best bet. The people here are mostly ActionScript developers and won’t know too much about Unity’s build process. I used to know a bit about Unity but I moved onto Unreal and haven’t touched the web builder in either of them. The input issues seem to be a common issue though as I’ve heard complaints about it numerous times before. I’m sure they have some information for you on their official forums.

 
Flag Post

Topic: Game Programming / Unity WebGL only build

The index.html file should not be within the zip. Remove it from your zip file and reupload it. You can do this by going to your profile, hovering over the game image, and clicking on the “edit” button that appears.

 
Flag Post

Topic: Game Programming / Question about maximum game width

If you are wondering how your game will look you can upload a dummy project and preview the dimensions to see how it looks. I recommend lowering your desktop resolution to see how it looks in other resolutions as well. I highly advise staying at or below 800px wide. Keep in mind that web development is different than desktop development – your UI needs to be designed differently. If you are finding yourself running out of real-estate you will need to redesign your menus.

 
Flag Post

Topic: Game Programming / Question about maximum game width

800 is not the maximum. It is the recommended size that will allow the game to be displayed properly on the widest set of monitors. There are still users playing on weird resolution monitors while others barely cut it with 720p.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Originally posted by Fishstickz13:

oh my god to-days episode of Ore was too much for me. I was laughing so hard throughout the entire thing but the ending was just too much oh my god my sides are non existent anymore

Seriously? I found it to be the most obnoxious episode yet. It’s like they are shoving the love into my face. It’s overloaded and way too much.

 
Flag Post

Topic: Game Programming / JavaScript Good OR Not Good

Originally posted by player_03:
Originally posted by EndlessSporadic:

To my knowledge they are no longer going to produce new “Adobe Flash” products and will no longer include it in their creative suites.

You’re going to have to cite a source. The link I posted makes it look like Flash Pro is still going strong.

Unless you’re talking about how Creative Suite was discontinued in favor of Creative Cloud, or something…

That may be it…hmm…

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

To each his own. Nozaki-kun was also really good. Both of the shows relied extremely heavily on character investment, so if you don’t like the characters you are shit out of luck.

 
Flag Post

Topic: Game Programming / JavaScript Good OR Not Good

Originally posted by player_03:
Originally posted by EndlessSporadic:
(I know for a fact that CS6 is their last Flash iteration)

CS6?

Adobe Flash CS6. To my knowledge they are no longer going to produce new “Adobe Flash” products and will no longer include it in their creative suites. Adobe has stated that it will no longer be included in their creative suite products, but for all I know they will support some other Flash product outside of that.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Originally posted by Indy111:

Anyone having trouble with MAL signing you out all the freaking time recently?

It is a bug with their systems. They just integrated facebook/social media logins and they are moving away from cookies (I assume by using sessions). There are a few bugs they need to iron out – the default session login time is 24 minutes, so it will log you out after 24 minutes of inactivity. It’s annoying, I know, but you can sort of work around it by refreshing your page every time you update it.

 
Flag Post

Topic: Game Programming / JavaScript Good OR Not Good

Originally posted by Drakim:
Originally posted by EndlessSporadic:

Further javascript can run on Android, unlike Flash.

As far as I know Android can run Flash. iOS can’t run Flash.

Well, both yes and no. There is Flash for android, but it has been discontinued by Adobe, meaning the flash player is getting more and more out of date, and you have to do some tricky things to install it. Eventually you can pretty much count on “regular users” not having Flash on android anymore, juts like iOS.

http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-update.html

I see. Thanks for the clarification. I had no idea they stopped updating it. I mean I heard rumors that Adobe was dropping full support for Flash Player and Adobe Flash (I know for a fact that CS6 is their last Flash iteration), but I didn’t think it was happening this quickly.

Originally posted by Draco18s:
Originally posted by player_03:
Originally posted by Draco18s:

Until I can hover over a function name and see the comment applied to it, then ctrl-click to jump to the object definition, with full support for my own classes, then the IDE is terrible.

FlashDevelop can do that for both variables and functions, though it uses a hotkey (F4 by default) rather than ctrl+click. Also, the comment has to be Javadoc-style.

Good to know; I’ll have to mess with it next time I head up a flash project. Eclipse spoiled me, and despite my HATE for MonoDevelop, I’m using it because it’s at least got a modicum of features (and v4 is better than v2).

I tried using MonoDevelop alongside Unity, and I always had issues with it – it was slow, intellisense didn’t always work, and it was missing a lot of important debugging features. I used Eclipse for a while too and it also seemed to have it’s share of issues, mostly relating to sleep and ease of use. I’ve tended to stick to Visual Studio since most game engines have some kind of integration with it (for example Unreal 4 requires VS2013 in order to compile the engine binaries, though you can use the free version for it). As with any other IDE it has its own share of issues.

Out of curiosity how well do other IDEs handle system resources? Visual Studio doesn’t take much resources unless you have larger files and require intellisense, and it utilizes the entire CPU for compilation.

 
Flag Post

Topic: Game Programming / JavaScript Good OR Not Good

Further javascript can run on Android, unlike Flash.

As far as I know Android can run Flash. iOS can’t run Flash.

As for your scene problem, you will benefit using css and jquery. It’s easy enough to add onclick events to buttons and have the html change with css animations applied. Sizzle.js is another popular alternative. There are also a few javasript/html5 game engines out there, surprisingly. At this point I think you can drop your worries at not hitting people who don’t have HTML5-compatible browsers. At this point these people fall out of your target audience anyway. Most mobile devices come with an HTML5-compatible browser pre-installed. From what you’ve said it’s not like that matters to you since Canvas is HTML5 anyway.

 
Flag Post

Topic: Game Programming / 3D Five Nights At Freddy's In Unity

No, just no. I do not support the cloning of games. Additionally, there is no point posting an artist request in a programmer forum.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Originally posted by CowFriend:

Finished watching the first three episodes of Barakamon. But damn, it’s ridiculously mediocre so far. Most of the characters are generic and annoying (e.g. the yaoi fangirl trope has no place in this show). The whole “everyone in the village is happy and nice to the MC” thing is getting boring to watch. I lived in a rural place before, so I get that people are more intimate there, but the way the show portrays it is just over the top.

Don’t get me wrong, I love shows like this. But Silver Spoon and Non Non Biyori both did a much better job in the first three episodes than Barakamon. I guess the one thing that Barakamon did better than Non Non Biyori is the realism of actually having old people in the countryside.

I’ll continue watching it because it’s probably gonna get better. But man, there’s really nothing spectacular about this show that I can point out right now.

I think it gets better. I was pretty turned off by the first few episodes, but I stuck with it and it is now one of my top rated shows. I can’t say the show gives anything of value and it is rather slow, but character investment plays a huge role in enjoying that show.

Originally posted by Meistheman:

Just read that there’s going to be a second season of Noragami
I really loved the first season, so I’m pretty pumped for it

Yeah, that’s good to hear. The first season was good but left a lot to be desired. Standard BONES fashion.

 
Flag Post

Topic: Game Programming / Has anyone put a game made in Unity on here?

I was just wondering if anyone has ever had success with putting a game project made in unity up on this site?

Yes.

Is it hard to update your game once posted on here?

No. It’s a simple file upload with .unity3d files. It will replace your existing project, but the links and stuff will remain the same.

Would it be wise to put out a game here that has a few areas that updates are needed if you want some feedback and testing, or would it be best to do the testing other places and then post the full final product up on kongregate?

That depends. There is no early access program on Kongregate. As with any business worth their salt, you should do your testing internally (or through friends and family) before releasing a product to the public. You can release it early if you want, but that doesn’t matter to the people who come play your game. If your product sucks they will rate it as such and never come back. It will reflect poorly on your overall rating.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Originally posted by sddsdd:
Originally posted by EndlessSporadic:

Ore is kawaii as fuck and I love it

I’m in a love-hate relationship with that show. While it is overall good, the girl is rather obnoxious to me. This may be changing with the events of last week’s episode, but as it stands she only gets on my nerves.

Yamato is the most adorable thing ever. If you think that SHE’s obnoxious wait till you see some of the other shoujo heroines out there.

Is it just me, or is the unlimited blade works second season incredibly boring?

By the way, Sanctuary is classy as HELLLLLL. Read it!

90% of the shit I watch is romance anime bullshit. I’ve seen other heroines. Like with real people, each one has their own issues. For me Yamato is lovey-dovey for no real reason, I don’t really like the voice actress (more specifically how she is voicing Yamato), and some of her mannerisms are a little irritating. Keep in mind that this is all subjective.

UBW has felt boring since the first season, but I understand how you feel. Archer surprisingly brought a lot to the series, and with that gap that he was inactive it just felt really slow and boring. As they say, you don’t know what you got til it’s gone.

 
Flag Post

Topic: Off-topic / World's Top 100 Favorite Anime

This is such a cringe-worthy image. People who actually care about the state of anime know why.

 
Flag Post

Topic: Off-topic / Anime Addicts Anonymous (AAA)

Ore is kawaii as fuck and I love it

I’m in a love-hate relationship with that show. While it is overall good, the girl is rather obnoxious to me. This may be changing with the events of last week’s episode, but as it stands she only gets on my nerves.