Recent posts by feartehstickman on Kongregate

Flag Post

Topic: Game Programming / Web development - processing on server

Ok. Yeah, I guess I’m leaning towards the complex side then. I’m looking into C# with ASP.NET now. It’s looking somewhat promising.
That website is very helpful.

 
Flag Post

Topic: Game Programming / Web development - processing on server

I’ll look into php then. Thanks.

 
Flag Post

Topic: Game Programming / How to make a 3D game without C++ (HTML, no WebGL)

We should just go back to using punch cards.

 
Flag Post

Topic: Game Programming / Web development - processing on server

I’m trying to make a website where the user uploads an image, it is sent to a server for background processing, then sent back to the user.

Being completely new to web development, how would I go about this?

I assume you need some HMTL/javascript on the webpage side to handle the image upload? This is somehow communicated to the server which is made with some other language and communicated back post-processing.

What setups (with regards to languages/libraries) would be most appropriate? The processing itself is reasonably but not enormously performance-critical, so I guess C#/C++/something similar would be nice to use?

Cheers.

 
Flag Post

Topic: Game Programming / GiTD #42 - *Pirates*

I am indeed alive, just lurking. But I’ll throw my few cents in.

I keep meaning to participate, but never really get enough time to come up with something solid, sadly. A longer time for theme selection would probably be a good thing. It might lead to a greater theme variety but, perhaps more importantly, it would give people more time to stumble upon GiTD before it starts. At the moment it’s most likely that someone (not a regular, but the new people who need to be attracted) will find out about the contest when it’s already half over.

Being able to sticky the GiTD threads would be really useful, but without an active mod’s help, not really possible. I guess you could ask other mods, or people at Kong if they wouldn’t mind pinning things, but it is a fairly frequent occurrence and could become a hassle I guess?

Any extra means of publicity would also be good. If someone could post a thread to FGL each month, or something along those lines, that might help to attract more people. Some might disagree, but I’d prefer a contest with lots of participants where not every entry and vote is from someone well-known. This adds the possibility of people using alts to sway the vote, but without any prize, I don’t really see how that would be an enormous issue. Attracting new people will likely add more variety to entries, and we should hopefully see more interesting and amazing things.

Finally, with regards to feedback: feedback is my main reason for taking part in the GiTD (or trying to but not quite managing it, in my case). I could make a game with a random theme in a limited amount of time by myself, but it wouldn’t be as fun a process, and the end result would likely suffer too. Everyone giving each other feedback is what helps to make everyone’s games better. Of course, the feedback provided can be blunt, or come across as harsh, which could scare people away I guess. But without feedback and ideas provided by everyone, I feel the GiTD would be worse off.

 
Flag Post

Topic: Game Programming / Suggestion: Shootorials in HaXe

Indeed it can. The main pain with ios is doing all of apple’s certification stuff. Put apart from that, publishing for ios is simple enough.

 
Flag Post

Topic: Game Programming / How To Use Regular Expressions

There may well be a way to do what you want with RegExp, but I’m not that familiar with it, so I find the simpler way better.

var tileVector:Vector.<int> = Vector.<int>([1,1,1,1,1,1,0,0,0,1,1,0,0,0,1,1,0,0,0,1,1,1,1,1,1]);
var tilesPerRow:int = 5;

var length:int = tileVector.length;
var string:String = "";
for(var i:int = 0;i<length;i++){
     string += tileVector[i];
     if(i != length-1)string += ",";
     if(i % tilesPerRow == tilesPerRow-1)string += "\n";
}
 
Flag Post

Topic: Game Programming / Should I start making flash games?

The debate regarding Flash’s future rages on, but I’d say that there is no harm in starting off in AS3. Especially as the transition to other platforms/languages is fairly straightforward. In my experience, learning C# after AS3 has been easy (particularly if you use FlashDevelop as opposed to Flash Pro). A lot has been said about going from AS3 to Haxe. It looks promising but I’ve not made the leap myself.

Also, I’m not sure if this is exclusive to Flash Pro, but a very useful aspect of Flash is that you can publish to iOS/Android/desktop with minimal to no code changes. I believe this is also true of Haxe though.

 
Flag Post

Topic: Game Programming / Google Code Jam 2014

Hello World Open does look intriguing indeed.

 
Flag Post

Topic: Kongregate APIs / Should i get into Game Development

Game development is a great way to use up a lot of your time doing something productive, but then again, so is painting, drawing, playing music, writing and reading novels (to a lesser extent). It depends on what you are passionate about. If you do feel passionately about making games, by all means go ahead and do it. These days it is very easy to get into and start making things without a massive amount of expertise or time required.

 
Flag Post

Topic: Game Programming / I do it for the comments

UG could probably concoct a magic script for you, but he’s not around so often anymore.

 
Flag Post

Topic: Game Programming / Mochi alternative solution?

FlashGameDistribution is a child of FlashGameLicense (I believe), who also offer an in-game ads service like Mochi did, called FGLAds.

 
Flag Post

Topic: Game Programming / [AS 3]Some Advice about Accessing objects in an Array

Putting your code on the timeline can very easily lead to problems if you don’t know exactly what you’re doing.

Controlling the animation of a MovieClip within a Class is fine though.

 
Flag Post

Topic: Game Programming / As3: rotation according to a movieclip

Putting all the calculations (dy,angle,rotation) inside the if statement mightn’t fix your problem, but it’d make more sense.

 
Flag Post

Topic: Game Programming / Keyboard command for AS3

I believe using switch is generally comparable to a straight if,else if, else if, else tree. It’s faster to do something like this

var num:int = Math.random()*8; //num is 0-7
if(num < 4){
  if(num < 2){
    if(num==0){} //0
    else{} //1
  }
  else{
    if(num==2){} //2
    else{} //3
  }
}
else{
  if(num < 6){
    if(num==4){} //4
    else{} //5
  }
  else{
    if(num==6){} //6
    else{} //7
  }
}

I think the newer AS compiler automatically converts switch statements into the branching binary tree form, but normally it’d be faster (but more of a hassle to code) to use if statements as above.

 
Flag Post

Topic: Game Design / alternative ads besides mochi!

You used to be able to use FGL’s sponsor code and they wouldn’t take any of the revenue. But since they launched FGLAds, they no longer offer that service (as far as I’m aware).

 
Flag Post

Topic: Kongregate APIs / When using quickkong, does quickkong.as also has to be submitted as additional file?

If you put quickkong.as in with your game’s files and your game compiled successfully, then it should work fine. Make sure you have “show in leaderboards” checked on your game’s API page.

Uploading quickkong.as as an additional file won’t do anything, you need to compile it with your game.

 
Flag Post

Topic: Game Programming / my website

That’s better.

 
Flag Post

Topic: Game Programming / GiTD #39 - *Lost*

Originally posted by Shalmezad:

Bonus (not required, but I think it’d be worth it): Be lost yourself by trying a new technology. Be it an engine, style of coding, new programming language, etc.

This article is great. Anyone willing to challenge themselves to using only play(), stop(), gotoAndPlay() and gotoAndStop()?
 
Flag Post

Topic: Game Programming / Mochi Shutting Down

You’d probably have to host a version on your servers, then have all uploaded swfs load and play that version. Then, if you update the version on your server, all of the swfs should load that new version.

 
Flag Post

Topic: Game Programming / Mochi Shutting Down

Indeed. Being able to make something in Flash and then release it for web, desktop, ios and android with a relatively small amount of fuss will likely keep it viable after the time if/when it is no longer so dominant as a platform for web games.

I wonder if it’d be possible to make an AS3 ad-serving platform which works for all of Flash’s target platforms. Mochi or similar could then continue to remain viable. Of course, if people are playing offline, there’d be a problem.

 
Flag Post

Topic: Game Programming / Mochi Shutting Down

Wow.

I’ve never got around to setting up ads in my games, but I guess it’s time to jump on FGLAds for however long they last? This is rather momentous news though. Condolences to all the affected.

 
Flag Post

Topic: Game Programming / Game Crash when Loading Kongregate API_AS3_Local.swf crash

I believe that’s because Flash player has a security issue when you try to access both online and local content at the same time and it’ll only let you access one.

Are you getting the shadow services alert?

 
Flag Post

Topic: Game Programming / Problems

Having Ethan without quotation marks makes the compiler think there’s a variable called Ethan somewhere, when there isn’t. So it gives you the error that Ethan is not defined.

I assume you want Ethan to be a String, so you need the quotation marks. “Ethan”.substring(0,2).

 
Flag Post

Topic: Game Programming / Game Crash when Loading Kongregate API_AS3_Local.swf crash

I assume you’ve defined apiPath somewhere.

It may be an issue with Flash Player’s security settings while playing the game locally. Try uploading it as a preview to Kong and see if it’ll connect then.