Show Posts
|
|
Pages: [1] 2 3 ... 32
|
|
1
|
Discussions / General Discussions / Re: JGO mission
|
on: 2013-05-22 01:07:39
|
JGO needs a mission like a fish needs a bicycle. Hang on, I thought our mission was: "To explore strange new libraries, to seek out new algorithms and new methodologies, to boldly go where no coder has gone before". Don't tell me I've been wasting my time - splitting the infinitive isn't easy!
|
|
|
|
|
2
|
Discussions / Business and Project Discussions / Re: The nightmare of taxes, and what can I do about it
|
on: 2013-05-10 17:58:16
|
And this 60% of tax comes from: 27% general tax on everything you sell for a person 16% personal income tax 2% industry tax 12% if you want to take your money out of the company. Ok, so you make a game and in 1 year you sell 1000 copies at €20 each and make €20,000. Take off 27% sales tax leaves €16,300. Take off 2% industry tax leaves €15,974. What's left is your personal income and you pay 16% tax leaving you €13,418. That's 33% tax, not 60%! It's also unlikely that you'll have to pay sales tax unless you make more than a certain amount (around €170,000 in the UK) in which case you'd only be paying around 17% tax.
|
|
|
|
|
6
|
Game Development / Game Play & Game Design / Re: Trying to pixelate a section of an image
|
on: 2013-04-18 21:14:15
|
You can't average colours like that, you have to break them into RGB; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| int red; int green; int blue;
red+=(pixels[i]>>16)&0xff; green+=(pixels[i]>>8)&0xff; blue+=(pixels[i])&0xff;
int averageColour=((red/numDots)<<16)|((green/numDots)<<8)|(blue/numDots);
pixels[i]=averageColour;
|
Edit: On reflection, it might be better just to use the first pixel of the pp field to colour the whole field - faster too!
|
|
|
|
|
8
|
Java Game APIs & Engines / Java 2D / Re: Rotating images, fast?
|
on: 2013-03-19 22:21:35
|
|
A trick you could use is to make a spritesheet of the turret image rotated in 10' steps and just draw the one closest to the true rotation value. (You could alternatively generate 36 rotated sprites at runtime and use them in the same way). Not perfect, but very fast!
|
|
|
|
|
9
|
Games Center / 4K Game Competition - 2013 / Re: Judging..
|
on: 2013-03-11 00:34:59
|
I really don't envy you guys the task, there's a lot of games there, so if I can help in any way, say, brown envelopes full of cash, obliging young lovers, whatever, just let me know... 
|
|
|
|
|
10
|
Discussions / Miscellaneous Topics / Re: Java blocked on Macs?
|
on: 2013-02-03 05:19:05
|
Oracle screwed up time after time. And Sun before them... It makes me weep when people ask me if they should disable java in their browser and I have to say 'yes, unless you really need it', but that's how it is. No 4K games for them! 
|
|
|
|
|
13
|
Game Development / Newbie & Debugging Questions / Re: Can someone please explain this to me :)
|
on: 2013-01-19 06:11:32
|
The pixels array holds the data for the image, so if you change the contents of the array you change the image. For example; 1 2 3 4 5 6 7 8 9 10 11 12
| BufferedImage image = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_ARGB); int pixels[] = ((DataBufferInt) image.getRaster().getDataBuffer()).getData();
for (int i=0; i<pixels.length; i++) { pixels[i]=0xff000000; } and then.. render(Graphics g){ g.drawImage(image..etc) } |
would make the image completely black.
|
|
|
|
|
14
|
Games Center / 4K Game Competition - 2013 / Re: Skyrim 4K
|
on: 2013-01-16 20:47:44
|
Ok, I've updated the game to give the dragonborn a longer sword-arm which means he can kill the first two foot-soldiers that try to rush him - quite satisfying! That is your companion. (S)he doesn't do much though except for causing some confusion (I had the same experience as you).
Mike I think my Lydia is slightly more useful than the real one. I finally parked her at Breezehome after she repeatedly got me killed by being too noisy when sneaking or worse, by randomly running off and stirring up nearby enemies... To add insult to injury she'd always call out 'Are you lost?' every time I went back there!
|
|
|
|
|
15
|
Games Center / 4K Game Competition - 2013 / Re: Skyrim 4K
|
on: 2013-01-15 22:24:28
|
|
Hey Guys, thanks for all the support! I'm glad you enjoy playing it as much as I do! This is one occasion where I really hit the 4K limit hard - I really wanted to put in the force shout and or firebolts but I just couldn't do it! I'm getting the message that many of you think it's a bit too hard - should I increase the sword range to make it a little easier? I must confess I've only ever beaten the game once without dying, so maybe I should!
|
|
|
|
|
16
|
Games Center / 4K Game Competition - 2013 / Skyrim 4K
|
on: 2013-01-15 02:08:15
|
From 6GB to 4KB? Can it be possible?! It can! Here it is; Hack your way through armies! Emasculate giants! Get killed by dragons! Acquire an immortal follower! Travel through unique hand-crafted landscapes! It's nearly all here! Have fun!
|
|
|
|
|
18
|
Games Center / 4K Game Competition - 2013 / Re: F4R KRY
|
on: 2013-01-12 15:10:28
|
Very nice graphics and cool idea. Much cooler than the original game.  But suddely, after a few times, the game started to freeze every time I walked past the first house. This happens every time now, even if I reload the applet. Strange... maybe it's the sound... does it freeze if you click the mouse while you're in the boat?
|
|
|
|
|
20
|
Game Development / Newbie & Debugging Questions / (SOLVED) Problem with perspective
|
on: 2012-12-21 20:31:03
|
|
Hi Folks,
Can anyone help me with a maths problem I've come up against? I'm drawing a perspective view of an image so I'm converting screen coordinates to a perspective point on a plane, like so;
tx=screen_x-screen_width/2 ty=screen_y-screen_height/2 tz=(ty+250)/zScale plane_x=tx*(d/tz) plane_y=ty*(d/tz)
Sort of ray-casting. This works fine. My problem arises when I want to reverse the process; to find the screen coordinates for any given coordinates on the plane. I've covered sheets of paper with scribblings but I can't seem to get it right! Can anyone point me in the right direction?
|
|
|
|
|
21
|
Discussions / General Discussions / Re: New feature: crackdown on senseless posts
|
on: 2012-12-18 02:26:44
|
I don't quite get the point you're trying to make. Similarly 'annoying kids' will have the same room to 'grow' here too. Nobody is getting banned.
As for 'yawn', it's so dangerous to have negative feedback. People will feel attacked. Others will 'yawn' posts in revenge. It easily creates tension, or even a hostile atmosphere.
Sorry, of course nobody's getting banned - I meant to say I would have banned him  I'm not sure that negative feedback is such a bad thing though. On the animation forum the other posters did the job by posting "shut up" posts in reply which often lead to troll wars. My point is that a yawn button doesn't create a new post, so nobody cares. I'm sure most people will only 'yawn' pointless posts - if two kiddies want to yawn each other to death that's fine! Give a medal to the winner!
|
|
|
|
|
25
|
Games Center / 4K Game Competition - 2013 / Re: F4R KRY
|
on: 2012-12-16 16:47:57
|
OK, newer version now up with starting instructions! Sorry if you get a freeze up - I can't reproduce it, even on an old Macbook. Have you tried a different color than the black for terrain, e.g. beach sand color? I did try this and it looks great for the beach & jungle but really weird for the water and caves, and if I change the water colour I get an ugly cut-off where the colours join...  Also, I reached the end guy, but was out of bullets by that time. I punched him for a while, but that did not seem to have much effect. Do I need bullets to kill the boss? You can punch but it's hard to aim (click on an enemy's head). It's best to have at least 10 bullets left for Vass - hey, I didn't want it too easy!
|
|
|
|
|
26
|
Games Center / 4K Game Competition - 2013 / F4R KRY
|
on: 2012-12-15 17:33:28
|
It had to be done! I give you; There's only one mission and it's a bit short but there's only 3 bytes left... Hope you enjoy it! EDIT: [size] tag doesn't work?
|
|
|
|
|
27
|
Games Center / WIP games, tools & toy projects / Re: Heroes' Keep
|
on: 2012-11-27 02:00:07
|
How do you draw hexagonal maps like that? I mean.. With different heights... Etc. I would love to see the playtest exactly as it is in java  All the code and assets are open source - just hit 'menu->view page source' in your browser. A hex grid is essentially a distorted square grid so most of the maths is pretty straightforward. Because I'm allowing rotation it does get a bit trickier but in short: once you can draw a 'flat' hex grid then changing the heights isn't hard at all (but then you have to have rotation so your characters don't get hidden by hills). that's a very nice game, I love it =D but I found a bug(I'm kinda good to find strange bugs =P), when if I move more than two "blocks" away, and in the middle way I press 'M' to see the map, when I return I can move even further =P and I kinda can do it many times to move forever xD see you  edit: PS: to see the options to move again you just need to rotate the map  Loool! Well found! That's really cool - infinite move points FTW! Er, maybe I should fix that... Really glad you like it! Any new cards you think would be good? Enemies you'd like to meet?
|
|
|
|
|
29
|
Games Center / WIP games, tools & toy projects / Re: Heroes' Keep
|
on: 2012-11-26 18:03:33
|
Mate, I can host your .jar and .html for free at my high- quality host, Just PM me and we might get to talk. Just incase you want a problem-free host. Sorry if I sound like a freaking advertising bot. But this "Offer" is only for you  Thanks Kroniz! I've PM'd you. The game is now back up!
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|