Recent posts by pugzy on Kongregate

Flag Post

Topic: Game Programming / Choosing Multiplayer server

Originally posted by Furjoza:

Doing server’s logic is nothing scary. I dont want to host on my own. I need some kind of external 24/7 server.

If I want to make a 1v1 game is it really nessesery to use a server? Shoudnt I be able to make one of the players a server and the 2nd the client? Actually its should work even with bigger number of players.

Unless you do it on the same computer (such as share a single keyboard), you’re going to need a server. The server sends each players data to represent on the client, so yes, even in 1v1, you will still need a server. You can do some sort of host player system, if you want one player to run the server. But if you plan on doing some kind of game list, you’re still going to need a main server to send data to players on where to go and to receive data to put/remove games in the pool.

 
Flag Post

Topic: Game Programming / The future of flash

Originally posted by EndlessSporadic:

or Java.

Ermagerd, you don’t have complete hate on Java. Just kidding.

Originally posted by theruss16:

i dont understand why these people always say flash is dead, flash is dying, wth flash is not dying why would they say its dying, flash is still a powerful platform for indie games most large companies are still using flash like zynga or etc. they’re saying that flash is dead is because of the outdated language? because of comparing to other platforms that are newly updated and made wth, developers have their own way making games and using platforms whether is flash or openfl it doesn’t matter, so i dont understand why the heck would they say flash is dead. if they dont want to use flash then let them.

No, they’re saying it’s dying because currently we’re having so many technologies come out being better and/or easier, while Flash is still being the same. Think of it in terms of previous technology advancements in history, would you rather use an iron or copper sword, versus using a stone or wooden sword?

 
Flag Post

Topic: Game Programming / Choosing Multiplayer server

Either way you’re going to be doing most of the server’s logic, so it really depends on if you don’t want to make/host your own and how much the cost is to use an API.

 
Flag Post

Topic: Game Programming / What is a 'package'?

Think of a package as a way to organize classes, as well as being the path to the classes.

 
Flag Post

Topic: Game Programming / What game engine was used to make Contract Wars and Ballistic?

Originally posted by ArminDragonheart:
Originally posted by pugzy:

Making a 3D game would be faster in Unity.

Yeah but you can make better graphics in Flash , or so ive heard.

…For 2D, sure.

 
Flag Post

Topic: Game Programming / What game engine was used to make Contract Wars and Ballistic?

Making a 3D game would be faster in Unity.

 
Flag Post

Topic: Game Programming / Any ways to speed up exporting of SWF when debugging movie in Flash?

Originally posted by dibbie:
Originally posted by Levgre:

It takes a pretty long time, 10-30 seconds it seems, depending somewhat on if I alt-tab. It gets pretty annoying and can slow down coding at times. Is this something you just have to put up with? Would a computer with a faster cpu help?

Yeah, a faster CPU helps, though I think your times are long because of how you import and code everything. For example, if you have a lot of loops and threads and timers and all that running for no reason, even if their doing small functions, it going to slow down your project a bit, not exactly sure if thatll initially affect the startup time, but for sure, if lets say 20 different loops/timers start working the second the app starts, that might contribute…

Also, how you import images, you know, if you have a lot of images and movie files and all this, then regardless if its in use, its going to take time to read them and load them in your project.

If your testing small functions in your code, making light changes, then I would maybe suggest making a new scene, or running a second project window, and pasting everything your using currently, so you can test and load stuff faster, when you get it working right, bring it all back to your actual project.

And just a question with Draco18s first post, im not sure if flash games would get that long, I could see a decent length animation taking a while, but a regular “kill em” flash game with like even something like 20 levels, not take 5 minutes… MAYBE if the game used super high graphics and images, and had something like 100 levels, but then at that point, the question is why are you still on Flash lol

Code itself shouldn’t effect the project being built. And nothing should be a problem unless you have the code execute during start up.

 
Flag Post

Topic: Game Programming / Can Anyone Recommend A C++ IDE?

I haven’t used VistualStudio for C++, but I have for VisualBasic, and C# and thought it was a pretty good IDE.

Eclipse would be a good one if you started out as a Java dev, because aside from some language and some C++ things, it’ll feel the same.

And one that I’ve mostly used for C++ was Code::Blocks, which was pretty good.

 
Flag Post

Topic: Game Programming / PlayerIO lifespan

Pricing of PlayerIO, now;

Originally posted by PlayerIO/Yahoo
If your game has less than 5000 Daily Active Users: No charge.
If your game is exclusive to the Yahoo Games Channel: 0% revenue share.
If your game is on the Yahoo Games Channel but not exclusive: 5% revenue share
If your game is not on the Yahoo Games Channel: 10% revenue share.

Basically, if your daily active users is < 5000, and/or exclusive to Yahoo Games, you owe nothing. If your game is on Yahoo Games Channel, but not exclusive, you owe 5%. If it’s not on Yahoo Games Channel, you owe 10%.

 
Flag Post

Topic: Game Programming / Squeezing as much audio into a game

Eh I don’t have a problem with Java, but that’s mostly because I never use it in browser.

Unity compared to Flash imo, is better overall. Which was the question you had asked. C# > AS3 anyday. While their platform isn’t optimized, or at least not to the way we want it, it’s better than Flash.

Lua was more or less a joke, but I know that Love2D has their own little project for getting Lua and WebGL to work together.

 
Flag Post

Topic: Game Programming / Squeezing as much audio into a game

Originally posted by Amibtious:
Originally posted by EndlessSporadic:

Flash is really cool for UI stuff (<3 scaleform), but I really wish it would die as a means of making games. God, Flash brings out the worst in me. Sorry =(

Dya know of a better platform for browser games?

Unity? HTML5? Java?… Lua?

 
Flag Post

Topic: Game Programming / My passion for game development is wearing out

Gas can create heat too. Although, life without Internet would suck. c:

 
Flag Post

Topic: Game Programming / My passion for game development is wearing out

Originally posted by Aesica:
Originally posted by truefire:

Ever since I started working…

Stop working, obvious solution.

Unfortunately, doing so often causes the food, water, electricity, and shelter to start going away. Those are kind of important.

Only food, water, and shelter. :)

 
Flag Post

Topic: Game Programming / Did I market my game incorrectly?

Originally posted by Lunergy:

So far, my game that I uploaded this morning has gotten about 200 plays. I think that I can credit this to the fact that I marketed very heavily on reddit and imgur today.

However, my game’s rating is 2.7 stars. Is this due to the fact that I marketed to the wrong audience? One user even commented on the game saying that they saw the game on imgur, and decided to rate it 2/5 just like that.

Have I traded the rating of my game for the number of plays? Have I attracted the attention from reddit and imgur, but negative attention from users annoyed with marketing and self-promotion? And what can I do to salvage my game’s ratings?

I’m not a regular to Reddit, nor Imgur, so I cannot simply say the reasons, but it could be possibly they don’t like your game? And with Reddit, it might have just been where you advertised your game. 200 plays isn’t really a lot and if people like it, you will see an increase in ratings, if not then you’ll see a decrease. Only time will tell.

 
Flag Post

Topic: Game Programming / As3 incorrect number of arguements

You have a few errors here,

When you are creating a player, you don’t give it a name.

var Player = new Player() 

should be,

 var p:player = new player(SomeGameObject); 

Next, you’re not passing in a game object, in this case I assume the game object you want to pass is the current class, so it should be,

 var p:player = new player(this);

Next you cannot Add Player as a child, you need use your variable’s name, like,

 AddChild(p); // the name is p above, change it to whatever you name your variable.

Just some of the things I caught. It was hard to read due to formatting. One thing you should do, also is to change class names to CamelCase (capital letter for each word).

 
Flag Post

Topic: Game Programming / What's with all the hate on Unity?

Originally posted by EndlessSporadic:
Originally posted by momoguru:

Snip

Im throwing my warning here now. Unreal Engine 4 is going to throw Unity out the door in the mobile department.

Originally posted by pugzy:
Originally posted by EndlessSporadic:
Originally posted by Draco18s:

Unity itself is unoptimized. This is pretty well known. Hopefully you will see fixes in Unity 5.

Yes, sort of.
Its because it’s a do-everything platform. The more things you support, the less optimized it will be, by definition: Optimized and Flexible are inversely proportional.

Optimized <———————> Flexible

This is the story of Java ;)

Eh, C# is Microsoft’s Java.

Except it isn’t. C# doesn’t have all of the bullshit overhead that Java has since it tries to run on every machine known to man. Since C# is Windows only it has the potential to run at near-C++ speeds in many situations. Java does not.

C# isn’t Windows only, you have Mono, and you have Xamarin. You don’t seem to understand the concept of virtual machines. Because they’re multiplatform, or not, doesn’t mean one is faster than the other, especially, since they’re just languages and only that. Now, with that said, it’s the implementation of runtimes (JVM, or similar vs CLR, or similar) that are fast than one over the other. And both run close to native speeds nowadays anyways. Usually there isn’t much difference in the JVM from being on Linux vs Windows, aside from different OS specific exceptions, anyways.

This test JVM beat .NET

 
Flag Post

Topic: Game Programming / What's with all the hate on Unity?

Originally posted by Drakim:
Originally posted by pugzy:

Unity is working toward WebGL, as well.

That’s the same as “porting to HTML5”.

Either way, it’s a very good thing.

WebGL vs Canvas, however.

 
Flag Post

Topic: Game Programming / What's with all the hate on Unity?

Originally posted by Drakim:

Or you know, just be one of the unlucky (me included) who can’t get the Unity plugin to work on our computers, because the Unity team didn’t bother. You can’t frame this as a acceptance thing when I literately cannot play Unity plugin games on my computer.

Unity is working toward WebGL, as well.

 
Flag Post

Topic: Game Programming / How to make Flash games

Originally posted by HitmanPwner:
Originally posted by gamerman227:

Probably a stupid question and I’ll probably get a stupid answer. But is it possible to make a game for other than in Flash? For example, I have experience in C++ and C# (specifically XNA). Would it be possible for me to create a game in that and then post it here? If not is there a possible program to convert it to Flash?

Kong doesn’t support files made with C#, C++, or XNA. AS3 is extremely similar to all of those however, and it shouldn’t take too long to convert your code to AS3. I know it stinks, but coding is extremely fragile, one wrong keystroke and the whole thing may not even work.

Not entirely true, about C#. You have Unity.

 
Flag Post

Topic: Game Programming / AS3 Applying

Originally posted by HitmanPwner:
Originally posted by pugzy:
Originally posted by CaptMilkshake:

What programs would I apply my knowledge of AS3 to? Are there any free or generally cheap ones?

Sticky post is stickied for a reason

You need FlashDevelop, Adobe Flash CS/CC, or similar. FlashDevelop is free, but comes without the drawing and timeline portion. Which means you’ll have to do those in another program.

Not necessarily. You can use any text editor, ie Notepad++, FlashDevelop. Then you can just compile it using Adobe’s Flex or Flash Builder, but Flex is free.

As I said, “or similar”. Not to mention, he’s relatively new to AS3, so I wouldn’t think getting him started on a harder development environment. Not to mention FlashDevelop is better for organization.

 
Flag Post

Topic: Game Programming / AS3 Applying

Originally posted by CaptMilkshake:

What programs would I apply my knowledge of AS3 to? Are there any free or generally cheap ones?

Sticky post is stickied for a reason

You need FlashDevelop, Adobe Flash CS/CC, or similar. FlashDevelop is free, but comes without the drawing and timeline portion. Which means you’ll have to do those in another program.

 
Flag Post

Topic: Game Programming / Learning Actionscript 3.0

Originally posted by CaptMilkshake:
Originally posted by pugzy:
Originally posted by CaptMilkshake:
Originally posted by pugzy:

Not to mention projects you think will be short are usually longer.

I have read up thuroughly on the does and don’ts of making games. I’m not trying to make a project that is too big for me to handle. I think its a good sized one for a beginner.
I am willing to take a while to learn how to code and everything. I am not overestimating myself.

You can read up on the do’s and don’ts all you want, it doesn’t mean you’re not going to encounter design problems or logic errors. You may read up on a tutorial, for one thing, then another and try adding them together, only to see the difference in design will break your game, and the fact that there’s no single do’s or don’ts that will fit any or every game.

Don’t think that because you read up on a few books and learn how to do the language, that you’re never going to make a logic mistake. Some of us who have been programming for a while slap ourselves because of how trashy we make code because we were in a hurry or tired because we stayed up all night programming. Sometimes, I swear I was drunk when writing code, especially when I come back to a project over time. Most people over estimate their projects all the time. My group did when we were supposed to make a sidescroller for an event.

Well no shit we aren’t going to make mistakes. I never said we weren’t I just stated that I feel that we are prepared… ish :P I’m not acting like I am a professional programmer so why am I being given this lecture?

Because you think it’s going to be a few weeks, expect a few things. Expect that it might never be completed, or that it will take longer. Chances are it will take longer.

 
Flag Post

Topic: Game Programming / Learning Actionscript 3.0

Originally posted by CaptMilkshake:
Originally posted by pugzy:

Not to mention projects you think will be short are usually longer.

I have read up thuroughly on the does and don’ts of making games. I’m not trying to make a project that is too big for me to handle. I think its a good sized one for a beginner.
I am willing to take a while to learn how to code and everything. I am not overestimating myself.

You can read up on the do’s and don’ts all you want, it doesn’t mean you’re not going to encounter design problems or logic errors. You may read up on a tutorial, for one thing, then another and try adding them together, only to see the difference in design will break your game, and the fact that there’s no single do’s or don’ts that will fit any or every game.

Don’t think that because you read up on a few books and learn how to do the language, that you’re never going to make a logic mistake. Some of us who have been programming for a while slap ourselves because of how trashy we make code because we were in a hurry or tired because we stayed up all night programming. Sometimes, I swear I was drunk when writing code, especially when I come back to a project over time. Most people over estimate their projects all the time. My group did when we were supposed to make a sidescroller for an event.

 
Flag Post

Topic: Game Programming / Learning Actionscript 3.0

Not to mention projects you think will be short are usually longer.

 
Flag Post

Topic: Game Programming / My First Game

Originally posted by CaptMilkshake:I dont think you have tried Game maker. Its not nearly like stencyl at all. With Stencyl you drag and drop boxes together. In Game Maker you actually have to code. Yes the coding is easier compared to many other types of game engines but, you still have to know quite a bit. Game Maker shouldn’t be compared to Stencyl.

I don’t know how long you’ve been using GameMaker, but it used to be a pure drop and drag (similar to Stencyl) system.