Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 Jun 2005
Offline Last Active Oct 21 2016 02:08 PM

#5207475 Programming

Posted by on 29 January 2015 - 12:06 PM


Drop your project for your own sake and for the sake of the others working with you. It is not fair to them that their hard work go to waste just because their programmer (you) has no clue how to program but just decided to jump into the deep end foolishly thinking he could learn to fly before learning to walk.




But the advice on how to learn programming remains constant.  You still need to start with small projects and work your way up.


Listen to her.  She knows what she's talking about.



#5206520 Windows 10 and Cortana

Posted by on 25 January 2015 - 04:49 AM

Okay, so I'm porting my game to Windows Metro, because I believe it will be pretty well suited for it due to it's mechanics and minimalist art style.  And of course, I'd like to target Windows 10 and take advantage of some of it's exclusive features, such as Cortana.  Now, I've never actually used any APIs for Cortana before and I'm still rather new to writing apps for Windows Metro, but I think it would be a rather nifty feature to use in my game.  So far, every example I find is for Windows Phone 8, which is great in all because I'm supporting that too, but nothing in C++ so far.  Every example uses C#, and that's not the language my game uses.


So my question is (for those of you who are actively dev'ing with the Windows 10 preview), are the APIs basically the same between Windows Phone 8 and Windows 10?  And where can I find the APIs for C++?  All I can find is C# so far.





#5206259 I am beginning to hate the IT and gaming industry.

Posted by on 23 January 2015 - 03:30 PM

Okay, 17 interviews later, finally got a new job.  It pays rather well for a position that doesn't require immediate coding ($70k). 


I guess I just had a Vegeta moment for a while there.



#5205696 I am beginning to hate the IT and gaming industry.

Posted by on 20 January 2015 - 10:00 PM

Guess I was wrong, I'm through to the next round.  Got lots of studying to do.



#5205635 I am beginning to hate the IT and gaming industry.

Posted by on 20 January 2015 - 03:52 PM

Well, I can at least recommend that you stick to making games and games-related stuff in your free time in indie projects or similar, even if you don't want to work for a game company ever again!

Yeah, that's the plan.



GL on the interview. I would love to take a C# job but I've pigeonholed myself into PHP at the moment and I don't want to become strongly identified with the language anymore. The junior hourly rates I was offered were even lower for me.

I already know I didn't get the job because I failed to answer the coding questions as efficiently as the interviewer wanted.  So that's out the window.



#5205432 I am beginning to hate the IT and gaming industry.

Posted by on 19 January 2015 - 06:53 PM

For the C# dev position, I negotiated my salary from $22/hr to $25/hr.  I still think that's rather low for a junior position, but oh well.  I refuse to make $22/hr for a 3rd time in a row!  Phone interview is tomorrow at noon.



bsr2000, on 15 Jan 2015 - 3:20 PM, said:

Hey just don't give up, I've been unemployed for a year, and I have more than 10+ years of experience in the gaming industry. No one wants to hire me...

How recent is your experience?



I worked on major AAA as a Level Designer, and I sent my resume to many companies but most of them never replied. Maybe because I don't have a US work visa to work there, and no one want to sponsor me...


That could be one reason.  Since I don't live outside of the US, I can't comment on that.  Aside from that, the level of pickiness has grown since the downturn of the economy.  But like I asked, how "recent" is your experience?

#5205184 I am beginning to hate the IT and gaming industry.

Posted by on 18 January 2015 - 07:33 PM

Hey just don't give up, I've been unemployed for a year, and I have more than 10+ years of experience in the gaming industry.  No one wants to hire me...

How recent is your experience?




To Shogun -- keep trying to achieve whatever path it is that you want. You can only do your best, and try to accept that at the end of the day the hiring is out of your hands, and is mercurial at best. Its frustrating to be turned down, and can be scary to be without work (like many, I've spent a 10 month stint unemployed too). Good luck. The only advice I can offer is don't compromise or sell yourself short out of frustration -- in the end it will only make you feel less valued.

Well, the most important thing is having a salary.  Right now, I have none.  I make $0.00.  Although I still have a sense of decency, and wouldn't find myself working for $12/hr in Microsoft's literal white collar sweatshop doing mindless manual testing for Xbox.




I know I am being underpaid, and often try to avoid stating my salary history to potential employers, because that will weaken my bargaining position. QFT on Frob saying that salary is a metric of your negotiation skills.

I personally just flat out refuse to talk about my past salaries.  If that matters to them that much, then chances are I don't want to work for them anyway...




to BlueShogun:
screw the fact no one wants to emply you, you do not need optimism, just stop speculating and bothering yourself with useless facts, trying to predict your own future. Do not develop disgust about making games and recreational software.

When do "facts" become useless?


And no, I don't have disgust about making games.  I only have disgust for the IT industry; the games industry in particular.  Even after admitting this, I can honestly say that IT is one industry that gives someone without a degree a fighting chance, however slim that chance might be.



You should try IndieDB if you haven't yet, I am not a programmer so I wouldn't know but I do something with probably way less jobs (sound designer) and I get some contracts all the time down there. They are not all paid but they do help to improve your overall knowledge of games and to work with a team. And I assume they are ok for the resume if they get released. So if you can do that on the side while having a job it's pretty cool.

For a sound designer I just put my website with my demo reel on a forum post and some people mail me. Only if there is a really cool project I apply. If all the projects I have/had were paid I would basically be full time so it is pretty cool.


I am pretty sure it is rather easy to get a contract as a programmer since it's almost always missing for these little teams.


Also you could keep doing this as a hobby only since it seems it is your passion even if you've come to hate the industry.


The problem with IndieDB is that a lot of contracts are trash and will never finish because some people don't really have a clue of what they do.

Thanks, but my interest in working for another game company is gone, permanently (this is a decision I made long before writing this thread).


I just applied for a junior C# .NET dev yesterday, and I've been contacted by the recruiter today.  Although I don't like C# (and I just got out of a heated argument in the chat about it; so please don't ask why), but it's something I'm willing to tolerate, just like I did with Objective-C.




EDIT: Sorry for the double post.  I was replying between two pages and forgot.

#5205176 I am beginning to hate the IT and gaming industry.

Posted by on 18 January 2015 - 07:10 PM

Wow, I forgot all about this thread...





Once, I was told to write X in Java using X framework, one that I was not familiar with, so they moved on, and they eventually asked me to do something else I was not familiar with, or wasn't told about on the job description.  So then he was like "Okay, I've got nothing else.  Do you have any questions for me?"  I wanted to say "No, because I already know I'm not getting the job", but I didn't want to be rude either.


I'm at least reasonably certain that it was your reaction to this, as much as (or more than) your experience or knowledge, that cost you that one.


This is something I'd like to home in on a little, because it's quite interesting.  From the way you describe it, your response was something along the lines of "no, I don't know X framework, next!"; right?  Can you see what's bad about that?  Can you see how that's not going to encourage any prospective employer?  How about next time you try something like "well I don't know X framework, but let's give it a try, anybody got a manual or cheat-sheet?"  Can you see how that's so much better?  Right away you're giving the impression that you're willing to take on work, to learn new skills, which you completely failed at first time around.


That doesn't mean jack s@#% to employers.  If you don't know it right then and there, they are not going to let you learn as you go, especially when they want X years of proven experience.  Trust me, I've tried it, and they'll let you know themselves.



So how do fresh-out-of-school junior developers get hired, then? ;)


By being trained by professionals, that's how.  If you have no professional experience, but have a CS degree showing you've been trained by a professional, they'll likely take a chance on you.





Oberon Command, your question totally derails the discussion on the OP's question. Please start a new thread, and reference this discussion if you need to.

I think Oberon intended it as a playful jab at the OP's continued insistence that only rockstar developers get hired.

Precisely, yes. If only rockstar developers get jobs, how did I and several of my university friends get jobs in the field before we'd graduated?

I think I probably got my present job as a junior dev by demonstrating passion for what I do in the form of side projects. In my experience bringing a demo, something concrete that you can actually play or use helps immensely. Of course, actually having skills and a demonstrable ability to learn on the job helps too... learning on the job is hardly impossible.


edit: terrible phone autoincorrect


Maybe it depends on your side projects.  No one ever gave a crap about mine, and it just confused employers more than anything.



Back to OP now, I'd be interested in seeing how that interview turns out.


I don't believe it went well.  The tech guy who interviewed me asked me some question(s) I could not thoroughly answer and interrupted me alot, then rather quickly went to the "do you have questions for me?"  That's a sure sign of not getting the job in my experience.  If I don't get it, fine.  I'm not going to go ape over it.

#5204861 Porting my game to Linux

Posted by on 16 January 2015 - 10:07 PM

2. It depends, if you stick to the LSB(you have to statically link any non LSB libraries, or replace them with a LSB equivalent) your game will run on all LSB compliant distributions (Using the LSB SDK is highly recommended), if you don't it is pretty difficult to say, it will most likely work on most debian based distributions atleast.

Thanks, but what does LSB stand for?



4. Any other helpful bits of advice.

You'll want to learn how to package your game distribution up as a .deb package. This is by far the friendliest way for your users to install your game on Debian/Ubuntu/Mint.


Ah, so it's a .deb that is the package type.  I've gotten used to having the all in one functionality of Apple's .app package.


While I'm at it, Ubuntu has an app store, and I hear that it's not working (or harder than it should be to install) on Linux Mint 17.  One of my goals is to get this on that distribution channel.  Do Mint users commonly have this installed?



#5204851 Porting my game to Linux

Posted by on 16 January 2015 - 08:06 PM

Recently, I've setup a VM of Linux Mint for the purpouse of porting my game(s) to Linux.  My game is already cross platform between Windows Desktop, MacOSX, iOS and Android/Amazon Kindle.  Now, I am quite familiar with Linux, but I've never dev'ed anything for it either.  So I was hoping to get a bit of advice from those who have done this before.


1. Will g++ suffice as my compiler?  My game uses C and C++.  I'm also a bit of a noob to makefiles...

2. Since Linux Mint is based off of Ubuntu (and in turn, based off of Debian), what Linux distributions will my game run on then?

3. My game uses GLUT (and I plan on switching to freeglut), do I have to install anything extra or does Mint come with this?

4. Any other helpful bits of advice.






EDIT: Figured out how to install freeglut, and got it working with g++ already.  That's a load off so far.

#5204167 I am beginning to hate the IT and gaming industry.

Posted by on 14 January 2015 - 03:23 AM

Fair enough Mr. Sloper.  I guess I can't argue with that.


This is a non-gamedev position, and I still have no more interest in working for gamedev companies anymore.


By the way, in your "outside-of-industry experiences", did you work with a team (of indie developers, for instance?). I do think teamwork is effectively what makes a team productive. Someone with mediocre programming skills but excellent teamwork skills will still create better results than an excellent lone genius programmer.

Yeah, but nobody cared about it (Cxbx).  In fact, it just confused employers even more, so I removed it. 

#5204067 I am beginning to hate the IT and gaming industry.

Posted by on 13 January 2015 - 05:06 PM


You seem to make it very personal and also have a hetz against Microsoft. Given your explanations it's easy to call it a sob story but you have to remember that everything is just business, nothing personal.


Maybe you should try and seek out startup companies?

Companies that can't expect to get the veterans right off the bat, companies that doesn't have the infrastructure of a giant, and so forth. This could benefit you a lot to break into the industry. Otherwise you would have to look at options, as mentioned earlier, like making your own company and start that way.

I see little to no difference with startups, as the bars for getting in appear to be just as high.


With this statement you are sort of proving that you have become very biased and jaded.


The world is not so black and white. Try look around on Elance (as mentioned earlier), the Unity Forums, the Unreal Engine Forums, the Gamedev Forums, the IndieDB forums, and the list goes on. You have so many possible job positions and the industry is hurting for programmers (as it always is!). Programmers are usually in high demand, as we tend to find an ocean of differing artists (we had to look for 6 months ourselves to get a programmer).


You also have another option. Try get your hands on for example, Unity or Unreal Engine (both very accessible and pretty easy to get into) and then start building prototype games that centers around one single mechanic or few very simple mechanics. Start gaining knowledge on how these engines work (like for Unreal Engine you get access to ALL source code. Everything!) and then try and extend their frameworks and prove that you are as good a programmer as you say you are. Then build a portfolio of these examples and start seeking out Indie Studios as you are much more likely to get in. Even if you just have to send an unmotivated application.


The world is not so black and white smile.png



You're god dang right I'm biased and jaded!!!  And I think I have every right to be so.  Hence the recent and appropriate avatar change to reflect it.


If they're hurting for programmers so dammed bad, then why haven't they hired me yet?  And quite frankly, as I stated earlier, I never want to work for a game company ever again.  I'll go ahead and try Elance, since I've never heard of it.  Almost everything on CL.org is a bust anyway.


I'll take your advice on other frameworks, but for non gaming frameworks, like Cordova, Ionic, AngularJS, Gulp, Selenium Webdriver, and other things related to web dev.  Although I really hate trying to cram in knowledge for the sake of appeasing someone else.  I applied for a smaller company that's more at the startup level like you all said, but I have my doubts.  I'm sorry, but I'm just not convinced.  For me, everything is the god dang same!


Not trying to play the race card, but I am black, and the world is white.  So, in a literal sense, it is black and white.  And it's still f-ed up. 


It's easy to be overly optimistic when you have a job already, have no major obstacles getting one, or have lots of experience to help you find another.  At one point, this becomes unavoidable.



#5203912 I am beginning to hate the IT and gaming industry.

Posted by on 13 January 2015 - 07:44 AM

I never thought I'd say this, but I guess I'm finally getting to that point.  This industry is so ridiculously cut throat and unforgiving, that it's amazing that people are so willing to tolerate it.  That's my opinion of both gaming and non-gaming companies alike.  I don't expect everything to be perfect, of course, and certain things can apply to nearly any industry.  So, if you would, please sit back and I'll tell you about my experience in this industry so far.


1. Gaining Experience

We're all familiar with the most common catch 22, right?  No experience == no job, and no job == no experience.  When I came back to Washington, that was my situation.  Being in dumb 'ol Indiana for 16 years was a real set back; no IT opportunities, let alone any way to gain any real experience.  So, I took what I could get.  I was once told that any experience is good experience, and that if I started off in QA, then I could work my way into the dev side.  Of course, that didn't pan out so well.  With all of these manual QA positions on my resume, I was seen as a tester.  A tester who was probably skilled at it because I obviously had so much experience.  I quickly learned that too much QA experience is not so great when looking to break into something coding related, which I'll get to in a moment.


2. What Counts as Experience

Another thing I learned is that virtually nothing that's done outside of the professional world counts as experience.  It never mattered that I wrote a complex engine, or collaboratively worked on and devised one of the most complex Windows emulator programs ever to exist.  It was all about "what have you done in company X, or what have you done that generated capital?".  Not trying to gloat, but for years, I have people telling me how they are jealous of my coding skills, and wish they could reach my level.  They also say that they are surprised that I cannot get a dev position anywhere and that they wish they could hire me because they have seen what I'm capable of.  Tbh, I don't believe I'm all that great, but to someone else, I am; based on results.  I stopped letting this bother me, because I had bigger issues to worry about.  See the next paragraph.


3. Experience == Skill?

After my resume began to get bloated with QA positions, as stated earlier, I'm seen as an average manual tester with no real technical skill beyond that.  So based on that, I was continuously misplaced in positions that did not fit my skill set.  I did not have the mindset of a standard issue QA person; never did, never will.  In fact, I can honestly say that I wasn't really that great at it either.  It sounds easy, but from a mental standpoint, it was actually harder for me considering the way my brain works (keep in mind that these were mostly game testing gigs).  Even though I began to improve, it was never really enough.  Many of my co-workers could tell that I was better suited for dev, and tried to encourage me, but of course I still crashed and burned in the end.  Game testing was among the worst things I've ever done in the industry, and I have a deep distaste for it to this day, although it has to be done.  Of course, I blame my lack of maturity in certain situations and in many situations, I have no one to blame but myself.


4. Keeping Up

Every job and company is different, and tend to have different expectations in terms of performance, workload, etc.  My 2nd experience at Microsoft was undoubtedly the worst, although the 1st one was considerably better.  Back when I did UI testing for 360's dashboard, everyone was monitored for performance.  If you could not meet a specific quota within a certain amount of time, they were already looking for your replacement, and often with little notice.  I could tell that I was not going to make it on that 2nd position, so I saw it coming.  Even when doing my very best to focus and get the job done, I could never get X number of test cases done within a specific time period, and as a result, I was essentially "less privileged" and got more dirt.  Once I got literally yelled at because I got confused.  If I hadn't been able to control myself, I'd have probably yelled right back, then stormed out of the office because I was so pissed.


This wasn't always the case.  When I worked at a company called Bsquare, where I was an automation engineer for Blackberry devices, it was very smooth and laid back.  I was able to get all of my work done on time, and never had any issues with management, nor was I constantly being badgered about performance compared to others.  The best part was that there was no competitive nature.  It was undoubtedly the best company and best position I ever had the pleasure of working in.  But when RIM (Research In Motion) was sold off, the company took a different direction, and as a result, I was laid off and my contract was terminated.


As far as performance goes, sometimes it was my own inability to stay focused on non-coding tasks, so I can blame myself for this pattern in some places, notably my first two positions in the industry.  The 2nd two were a bit more ridiculous.  But enough about that.  These are things that I probably could have had more control over in one way or another, if I had been a bit more mature.  The rest I'm about to mention is out of my hand(s) for the most part.


5. Pay and Worth

Eventually, I did work my way up to the ranks of SDET.  It took a long time, but I had finally broken out of the manual test loop, which was kinda like Izanagi.  I don't know how I did it, or how such an opportunity arose, but it happened and I did it.  I was an SDET at Amazon, and it felt great.  Not quite the same as Bsquare, but I liked it.  Although there was one major problem I had with it, and it was the fact that I was being paid less than others based on GPA in college.  Initially, I was being quoted $10k more than what I was making, then they dropped it down with that difference, but I still accepted it because I wanted so desperately for a job that involves coding.  It was bad enough that I wasn't making what other SDETs were making for the same work based on that, as if my skills didn't matter...


6. Cheapest Person Possible

This one kinda obvious.  Employers want to have the best employees for the cheapest payroll.  Kinda like above, they want the most qualified people, but will try to pay you less than what you're really worth in many cases.  The biggest rip-off IMO is where they say they want a junior level candidate, but instead hire the most senior person that they can find who's willing to work for less.


7. References

Sometimes, it can make or break you.  This is the story of how it broke me in the most BSed way possible.  I had an interview with Microsoft as an SDET for WP8.  I passed the interview, and even the dreaded whiteboard with flying colours, all on my first shot.  I would have gotten the job, if it weren't for one thing: a reference.  They wanted a reference for that ONE time where I tested some games on a Windows Phone 7 years ago.  I tried to tell them that this was only once, and at an ON CALL job with a very high turn over rate, so there was no way I could provide a valid reference because not only does that test lead not work there anymore, I never knew his name either.  In fact, none of the leads I worked with were there anymore (at least, none that I knew).  I kept trying to tell them this, but unfortunately (not trying to be racist, but) I was dealing with someone from India, and we had a communication breakdown because of the language barrier.  So, they assumed I was bluffing about it, and refused to give me the job.  Nevermind that I've proven to them that I can dev for the WP8, they just wanted that measly testing reference of a phone I tested ONE friggin time!


8. The Interviewing Process

Now this is what really bothers me.  The one thing I hate most is actually getting a job. 


Most of my angst involves the whiteboard.  Regardless of whether I like or hate it, it's been a big obstacle.  When I'm asked to write some mundane algorithm on a board, I know that this is either going to make me or break me; one mistake, and kiss your chances goodbye.  What I learned is that even if I do make it to the interview, if I make one little mistake on that whiteboard, then I will not get the job.  And what I mean by mistake is not fulfilling the algorithm to the interviewer's satisfaction level.  This has happened multiple times, where I wrote a perfectly good function, but because they didn't like they way I did it specifically, they chose not to hire me.  The only times I've ever gotten a job (or should I say, passed the interview) is where I completed the coding problems perfectly, and on the first try I might add (having to fix anything will cost me the job E-V-E-R-Y time)!  I'll save my last whiteboard story for last.


Another issue I have is when an employer suddenly expects greater qualifications, or doesn't tell you about it until AFTER the interview when you didn't meet their hidden requirements.  This has happened multiple times, and one of them was Microsoft.  If they wanted someone with experience in X, they should have said so before!  And then they're surprised that I don't meet their requirements.  Once, I was told to write X in Java using X framework, one that I was not familiar with, so they moved on, and they eventually asked me to do something else I was not familiar with, or wasn't told about on the job description.  So then he was like "Okay, I've got nothing else.  Do you have any questions for me?"  I wanted to say "No, because I already know I'm not getting the job", but I didn't want to be rude either.  I mean really, they didn't even offer to pay me more!  Microsoft pulled a similar stunt by asking for a lead SDET, but wanting to pay this person $36/hr.  This alone was insulting (L. Spiro was appalled also), but I tried for it anyway.  So, after the interview, I was told by my recruiter that I didn't get the job because I was not someone with lead developer experience, and that they have been very choosy with their candidates.  Like I said before, they should have said that in the job description (not even the recruiter knew) and if they seriously want a lead dev, $36/hr is a VERY weak salary to offer, but that's Microsoft for ya.  They always pay people less than what they could make elsewhere (in my experience at least).


Once, I essentially was insulted by the hiring manager of Sirius, seriously (pun intended).  Essentially calling my life's work crap, he said that I have no programming experience or skill.  Fortunately, there was a wall between me and this hiring manager, and my recruiter was that wall, preventing me from telling him off.  If I wasn't like SoTL, I'd have cursed him out too.  My recruiter wanted to tell him off also, but instead she respectively withdrew from this opportunity.


There's more bogus stuff about interviewing I could say, but I want to wrap this up with one more; intentional lack of feedback.  This has also happened more than once.  One ended up in going home with a broken iPhone (which set me back $75 and much personal dev time).  This is when I interviewed at Epic.  I won't get detailed about this one because of the NDA, but it's kinda strange how they seemed to want to hire me and admired my skills so much, and then refuse me while refusing to state why.  The broken iPhone was my only issue (it fell out of my backpack), but the last one was the interview that caused me to snap.  I was interviewing for a company with an outdoors theme, and my recruiter could tell that I wasn't feeling too sure about the interview.  He told me that this company often is very accepting of those who aren't the most senior level of devs/SDETs.  So I take his word for it and do my best.  I'm given a white board problem, one that I'm told that I will not finish in time, so just do my best.  So I choose a totally new approach to the whiteboard instead of blindly jumping in.  As a result, I got further than most people do on average (that's what I was told) and that I did rather well.  In fact, the lead SDET/dev guy told me that he hopes I get hired (secretly, of course).  The interview had two parts, and the whiteboard was with a totally different set of people, so I have no idea what I did right/wrong on the other end.  Ultimately, they decided not to hire me, and also refused to state why.  This is irritating because then I can't improve myself for the next interview.


9. Continuous Long Term Unemployment.

And finally, I realized that as a contractor, finding the next gig can take more time than I can handle.  Getting a permanent position is really hard, if you're not senior level.  So my chances are best with a recruiter.  A given contract is never guaranteed to last as long as I'm quoted, and so far, my contract ALWAYS ends earlier, then I have to go months before I can find a new job.  Because of this, my employment history is a bit fragmented, and it's hard to fill in the gaps, since personal experience outside of work doesn't really count to employers.  During my biggest gap, I ended up being homeless for 2 years (not living under a bridge, but in transitional housing because finding consistent work was really hard to do; and believe me, I tried applying for blue collar jobs too).


My last job ended in September of last year.  4 months and 14 interviews later, still no job.  This isn't to say that it's all their fault because I do examine myself and I'm aware that I'm not always the best person for the job.  This is really getting old, and I'm really getting tired of this crap.  Quite frankly, some of my blue collar jobs have treated me better than the IT industry has, and my last Microsoft experience has literally been a white collar sweatshop because the office I was in had no AC during the hotter seasons, except for one small AC vent that was located by the lead's desk.


TL;DR, the IT industry has been very brutal and unforgiving.  Life isn't fair, but this is just ridiculous.  Tbh, I never want to work for a game company ever again (unless I'm running it of course), and I'm beginning to think the same thing about non game companies also.  I'm also beginning to think that it isn't worth all of this trouble.  Seriously, how do you all put up with this?  This isn't meant to be a sob story, I'm just running out of ideas, and patience.  No, scratch that, I'm fresh out of patience.  Pardon my French, but




A peaceful life in the mountains of western Hungary is sounding nicer and nicer by the day.



#5198182 Bullet hell projectiles as separate objects? Or as one whole particle system?

Posted by on 14 December 2014 - 02:21 PM

I've written bullet yells before, but my coding style was very inefficient my first time around. Initially, I used pure C and linked lists, which was a bad idea because since the memory in a linked list is not contiguous, it results in a greater number of cache misses, which is a performance drainer.

Not sure what language you are using (assuming C++), but a growable heap should work fine. IIRC, std::vector handles this nicely. You can even reserve a specific size beforehand, and it will handle the heap sizing for you. If your bullet is a class, you can simply have a base class and subclasses inheriting from it with unique mechanics.

If this is your first time, you'll actually discover that writing bullet patterns is actually easier than it sounds. If you know trigonometry and how to make an object move in a specific direction and at a variable speed, then you've got what it takes! My ex coworker asked me about this, and I explained to him how easy it was.

I don't claim to be the best, but feel free to ask me if you need help. I love coding for this genre of games.


#5198168 Optimizing an HTML5/Javascript Game

Posted by on 14 December 2014 - 01:09 PM

I have an HTML5 version of my game that I've been working on (primarily as a demo for browsers and mobile).  So far, it's working but I still have speed issues, primarily with Firefox.  Other browsers generally work fine (with occasional oddities), but considering that Firefox is still a popular browser, I have to support it.


This is my game: http://looptil.shogun3d.net


You can view the source code from the browser, or you can read it directly here: http://looptil.shogun3d.net/js/main.js


Known issues:

- Sometimes the trail has 'knots' in it, this is a bug with curve.js AFAIK.

- Audio latency in Safari.

- Slows down on particle effects.

- .wav files not supported in IE (will fix today).


Any other suggestions for speed/compatibility improvement?  Thanks.