|
362
|
Developer / Business / Re: Revenue Share
|
on: May 26, 2011, 02:49:02 AM
|
as an example, let's say one person works on the game every day for 4 years. the other person spends 3 months making the music, and then doesn't work on the game for the other 3 years and 9 months. it'd be crazy to expect them to get 50-50. Yup. This. Also, if I was looking for a musician before the start of a project I have to say I wouldn't be expecting to pay 10% unless they were amazing. Musicians just aren't scarce. Obviously if you want to pay the same hourly rate for music as programming because you feel that's fair then OK, but it's not the state of the market.
|
|
|
|
|
363
|
Developer / Technical / Re: Opening/Level Transition Help
|
on: May 26, 2011, 02:37:08 AM
|
|
The way I build these is to have a Mode class which is subclassed by each of the different modes the game can be in (typically AttractMode, MenuMode, PlayMode and a few more superficial ones). The Mode base class has a Sprite property which is used as the DisplayObjectContainer for all the visuals in that mode. All other objects used by that mode are referenced only from the class instance (whether directly or indirectly). This means that all I need to do to switch away from a mode and clean up is to removeChild the base sprite from its parent and ensure the Mode instance isn't referenced from anywhere.
Actually it's not quite that simple - there are two other aspects you have to be careful of:
1) Event listeners. I prefer to just remove them all explicitly, but if you don't want to do that then make sure you use weak references.
2) Keyboard handling. You have to be careful of throwing away whatever it is that has the keyboard focus. The cheap-and-cheerful fix is to just always leave the focus with the Stage itself, but if you're not doing that you need to do a bit of focus handling on mode switches too.
|
|
|
|
|
365
|
Developer / Technical / Re: The grumpy old programmer room
|
on: May 25, 2011, 04:24:17 AM
|
LOOK AT THIS MESS IT'S A WONDER ANY NITROME GAMES RUN AT ALL  pwn3d by the internet's long memory! But in fact I'm the same when it comes to code!hypocrisy. In theory I agree that all declarations should be moved outside nested scopes... but I never really do this, because declarations in odd places actually aren't confusing after your first week of using this stuff whereas being unable to see at a glance whether something's local or global can be confusing.
|
|
|
|
|
366
|
Developer / Technical / Re: What are you programming RIGHT NOW?
|
on: May 24, 2011, 12:21:50 PM
|
Right now I am programming the same thing I programmed two months ago and apparently got so completely wrong last time that I'm too amused by it to be horrified. Aww, look at cute little previous-version-of-me, it's trying to code things! Bless! 
|
|
|
|
|
372
|
Developer / Creative / Re: So what are you working on?
|
on: May 23, 2011, 03:38:25 AM
|
Trying some vectored blocks I like the one that looks a bit like a cheese! costume concepts for an npc in a thing i'm doing. OK, getting straight to the point here, how soon can I preorder this?  
|
|
|
|
|
373
|
Developer / Technical / Re: Flash for Downloadable game. Some tips?
|
on: May 20, 2011, 03:27:29 AM
|
But Shu is technically illegal, and they're just saddling their customers with a product that's going to get them in trouble if it becomes popular to go under Adobe's radar. That's not quite correct. Earlier versions of Shu violated Adobe's terms and conditions. This has since been fixed. The caveat with Shu now is that as a developer you need to apply for permission from Adobe to distribute the Air runtime before you can ship a Shu application. (But that's fine for commercial projects - you only have to ask once and I haven't heard of instances of them refusing.)
|
|
|
|
|
374
|
Developer / Technical / Re: Flash for Downloadable game. Some tips?
|
on: May 20, 2011, 12:05:12 AM
|
Further to Hima's link, the key post is this one by Terry. In particular, fscommand is your friend! Air is how it's done Are you sure? Nobody I know who's done this (myself included) has managed to make Air do this. (The problem is that AIR wants the user to install the AIR runtime, it cannot produce a standalone executable.)
|
|
|
|
|
375
|
Developer / Technical / Re: The happy programmer room
|
on: May 19, 2011, 07:13:23 AM
|
You know that thing where you have two bugs at once the symptoms and/or code of which overlap, creating the impression of a single bug that proves unusually tricky to track down? Well... I've just finished debugging a problem that turned out to involve four overlapping bugs. It took three days and wasn't much fun. So now I think it's time for a cup of tea and and biscuit! 
|
|
|
|
|
377
|
Developer / Technical / Re: What are you programming RIGHT NOW?
|
on: May 17, 2011, 03:53:28 AM
|
But right now we are in the proof-of-concept phase, where people are experimenting with techniques more than they are focusing on creating actual games. Whilst this is correct, it's also important to recognise that HTML 5 faces an additional obstacle which Flash never did: it's a standard, not a software product. Tools will improve, knowledge will spread and all that good stuff but unless the browser vendors converge their implementation behaviours sufficiently it will never be a proper platform. (I will now probably be lynched by an angry mob of Linux users for implying that Flash is properly cross-platform.)
|
|
|
|
|
378
|
Developer / Technical / Re: 4D Presented in 2 Dimensions
|
on: May 16, 2011, 05:40:05 AM
|
|
It's certainly not a hypersphere, no. (The maths I posted explains why.)
Boris is right that it works as a representation of a hypercylinder, provided that my "hypercylinder" you mean the set of points in 4D space defined by the intersection between the two infinite-height 3D cylinders (x^2+y^2 <= 1) and (z^2+w^2 <= 1).
The usual definition of a hypercylinder is what you get when you drag a sphere along a path in 4D space. This isn't one of those. (Reason: that has one unique axis and three symmetric axes, whereas our shape has two pairs of two symmetric axes.)
|
|
|
|
|
379
|
Developer / Creative / Re: So what are you working on?
|
on: May 16, 2011, 05:23:18 AM
|
Just need to muster the courage to submit it for review. Be bold. Like tiger ->  ! Working on a logo for my new project I like the tentacles integrated into the text look. Very cool! 
|
|
|
|
|
380
|
Developer / Business / Re: State of flash game market
|
on: May 15, 2011, 10:38:20 AM
|
I'm not an expert on this in any sense, but as a one-data-point observation: UpBot Goes Up got zero bids on FGL and then went on to score well on both Kongregate and Newgrounds, hit half a million plays inside two weeks and achieve an average play time of over 20 minutes (!!!). Conclusion: Yes, there are definitely games that Flash gamers want to play but sponsors don't have confidence in.
|
|
|
|
|