6,221 reputation
2142
bio website bartnett.com
location Brooklyn, NY
age 25
visits member for 4 years
seen Nov 9 at 12:27

Programmer/Sound Guy/Game Chef at Eppy Games

@michaelbartnett


Mar
29
comment Basic hierarchical component access in Unity: GetComponent vs. Find
Have you read through the Scripting Reference docs for each of these three functions?
Dec
6
comment Why should I separate objects from rendering?
It would also be helpful if you provide an example of what you mean when you say you're not using the entity system pattern, and how you think that relates to whether or not you should separate the concern of rendering from the concern of entity/game logic.
Oct
10
comment What input and window handler should I learn for complement OpenGL?
This is a "which technology should I use" question, and there's usually no definitive answer, so everyone just ends up posting their own opinions. StackExchange tries to encourage questions that can have a definitive answer.
Oct
1
comment Is a game view “stack” really a Stack?
+1 with the edit, "So yes, its still a stack, regardless of implementation. Its about access patterns." Stacks are most useful as a structural metaphor, not a rigid interface definition. Don't get caught up in design pattern jargon.
Sep
26
comment What makes game sound effects “good”?
Way too broad. Touches on both playback behavior, mixing levels, and aesthetics without any specificity beyond "cartoon-like style".
Sep
24
comment Maximum sensible audio sample rate
+1. You don't want to be setting everything at some maxed out sampling rate. You should encode each audio file based on its frequency content. Saves tons of memory. And it's not a fixed 0.5 * highest frequency in your spectrum analyzer. Sometimes you encode above, and sometimes you encode below the Nyquist. Use your ears.
Sep
18
comment What's the purpose of layers in map editors?
Correct, but maybe also mention the painter's algorithm and entity layers in your answer? I know the tutsplus article touches on it, but it's best to actually write out a full answer since you never know when a webpage you cite may disappear.
Sep
12
comment HTML5 Jump and Run Game Performance issues
Also, youtube.com/watch?v=hAzhayTnhEI&feature=plcp
Sep
12
comment do games use multiple threads to play music?
This is correct and thorough, but the major ideas might be a bit tough to grok if you're not already familiar with the subject material. Maybe some more organization, and headings to give future readers some anchoring concepts?
Sep
6
comment Physics Loop in a NodeJS/Socket.IO Environment
let us continue this discussion in chat
Sep
5
comment Physics Loop in a NodeJS/Socket.IO Environment
Also, what is your collision model? Are your characters always occupying their current tile and the tile they are moving to like in early pokemon, or is the movement unrestricted? Do your characters have an acceleration, or is their speed always constant when moving?
Sep
5
comment Physics Loop in a NodeJS/Socket.IO Environment
@ThomasMosey That's sort of a broad and difficult question to answer, and is pretty dependent on the specifics of your game. Especially the method where the server isn't running its own logic loop. A good place to start thinking is to answer: who owns each object at every point in the game, what causes those objects to change owners, and what must be objectively tracked and arbitrated--that is, owned by the server.
Sep
5
comment Physics Loop in a NodeJS/Socket.IO Environment
@eBusiness Looks like I misread the question, updated with material relevant to server code and nodejs.
Jun
24
comment C# and Unity - Learning to Develop a game by developing the game I want to develop
Also recommended: Walker Boys Studio tutorial. Just keep plowing away, alternating between learning Unity, and studying C# concepts and making toy programs to test your understanding of the language. You'll learn a lot by trying to do things and having the compiler yell at you or having the program crash in a way you didn't expect.
Jun
18
comment sample project that mix unityscript and c#
@Katana314 Unity's JavaScript isn't really JavaScript (and has a lot of gotchas for people familiar with AS3 or browser scripting), so people have taken to calling it UnityScript.
May
5
comment What are some common 3D modeling tools?
The sorts of questions that ask about what tools to use don't really fit well in this site since the answer to that question can change so rapidly and is almost always purely about opinion. There are plenty of websites that maintain lists of these sorts of things though. Here's one: gamefromscratch.com/page/Graphic-Applications.aspx
May
2
comment How do I determine if one value is within a certain range of another in Python
@Zolomon Maybe add a bit to your answer about how you can save on the cost of a sqrt call by comparing against the square of the radius?
May
2
comment How do I determine if one value is within a certain range of another in Python
Your title includes this text: "(How to say + or - in python)". Plus-or-minus is another name people give to a specific mathematical function. Do you know what the name of that function is?
Apr
24
comment Sound Delay With AVAudio Player
+1 Because whatever else is contributing, part of this likely has to do with decoder delay since the file is an mp3, and it looks like the prepareToPlay message prepares the first frame of audio. Sound effects are usually stored in a format that takes little or no work to decode, or else decoded at load time and stored uncompressed in memory so they can be played instantly.
Apr
11
comment Is it possible to make isometric game of 200 * 200 tiles per map in Unity?
Can you elaborate with a little more than "make your own renderer" for the benefit of the asker and future readers? It's not like you can just toss Unity's renderer out the window. You have to change how you use it.