-
How many lines of code is the average/your average flash game?
With and without frameworks the developer wrote.
My first Flash game(I wrote it in Actionscript 2.0) is around 5500, though I didn't use OOP then.
The framework I wrote for my games is around 5000 lines(When I summed up the number of lines in v1.0 it was 4614, and now I am on v1.22).
I am working on my first serious Flash project and I'm done with the engine, the menus and half of the levels. I need to make more levels(Around as twice more), a final boss, cutscenes, achievements, saving, a progress tracker and a few more basic things.
With the framework I mentioned it counted 10576 lines, so subtract around 5000 and you get around 5576. The stuff I need to add will probably raise that to around 8000. The game is not mega complex, but it's not a simple game. The reason I have to write a few thousand less lines is because of my framework, which makes many things very easy to implement.
What about your projects and others' you know about?
-
Junior Member
It's not about the size of your code but how you use it.
-
Well, yes, but this topic isn't really about going into detail for that... People can just mention if they are using a framework and OOP.
-
Hype over content...
Just checked as I was curious, Outpost:Swarm has a 125 classes, that's not counting 3rd party ones such as Nape and the Playtomic stuff.
Swarm is really cut down from Outpost:Haven, so I dread to think how many classes are in that, 150+ easily.
That's the beauty of composition over inheritance
Squize.
-
Client Software Programmer
-
-
Client Software Programmer
-
When in doubt ask
Are you paid by the lines of code you have in the game? -LOL-
<signature removed by admin>
-
Pumpkin Carving 2008
Originally Posted by Squize
Just checked as I was curious, Outpost:Swarm has a 125 classes, that's not counting 3rd party ones such as Nape and the Playtomic stuff.
Swarm is really cut down from Outpost:Haven, so I dread to think how many classes are in that, 150+ easily.
That's the beauty of composition over inheritance
Squize.
I was curious too; might not be a game but the kiosk software I developed used 92 classes and came in right under the 25000 line mark. Ultimately it depends on your game; though depending on how you write said code, it might be more of a hindrance if you're not writing efficient code.
The 'Boose':
ASUS Sabertooth P67 TUF
Intel Core i7-2600K Quad-Core Sandy Bridge 3.4GHz Overclocked to 4.2GHz
8GB G.Skill Ripjaws 1600 DDR3
ASUS ENGTX550 TI DC/DI/1GD5 GeForce GTX 550 Ti (Fermi) 1GB 1GDDR5 (Overclocked to 1.1GHz)
New addition: OCZ Vertex 240GB SATA III SSD
WEI Score: 7.6
-
At average about 1000 lines for me.
-
I'm just starting to do JavaScript. Mine are about 150-400 lines long.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|