Show Posts
|
|
Pages: [1] 2
|
|
1
|
Games Center / 4K Game Competition - 2008 / Re: z4rch 1st playable
|
on: 2007-12-13 22:02:17
|
7) I changed to VolatileImage and noticed only a small (but significant) speed increase, but that may just be my rubbish graphics card. I've updated the applet also - is it faster for you now? (even with the Color()s sorted using this has got me back up to 4087 bytes  ) Its much smother now on OS X  And an alternative key for CTRL could be ALT I think.
|
|
|
|
|
2
|
Games Center / 4K Game Competition - 2008 / Re: z4rch 1st playable
|
on: 2007-12-13 07:08:04
|
Very Fun! I even managed to kill some aliens  On OS X 10.5, ctrl+<arrow> is the combination to change the virtual desktop, so when i wanted to fire and steer at the same time my desktop would switch away, which made the game a bit more complicated. So for OS X users with spaces enabled some other key kombination would be great. Since you have 6 spare bytes you could probably add an alternative key for fire and lift.  (but not x and y keys, because than I have to complain about german keyboards where the x and z keys are swapped  )
|
|
|
|
|
5
|
Discussions / Miscellaneous Topics / Re: TinyCode competition - trial
|
on: 2007-10-29 10:30:06
|
85 bytes for capitalizer, but that has to go shorter... there are 3 variables in there... who needs 3 variables anyway?  1 2
| for(int c,i=0,s=0; (c=in.read())>0 ; out.write(c-(i++==s & c > 96 & c < 123?32:0))) s =c == 32 ? i+1 : s; |
for the barcode thingy 89 bytes 1 2 3 4
| int i,c; for(i=48;(c=in.read())>0;i=c==32?48:i+1) if(c==32)out.write(i); if(i>0)out.write(i); |
So lets start that shortening iteration again  Edit: capitalizer down to 7170: 1 2
| for(int c,s=32; (c=in.read())>0;) out.write(s=c-(s==32 & c > 96 & c < 123?32:0)); |
barcode down to 66 bytes: 1 2 3 4 5 6 7
| for(int c=1,i=48;c>0;i++){ c=in.read(); if(c<99){ out.write(i); i=47; } } |
|
|
|
|
|
7
|
Discussions / Miscellaneous Topics / Re: TinyCode competition - trial
|
on: 2007-10-29 00:03:43
|
Yeah, I saw you moving from 81 to 80 bytes on the server. Then I made a 79 using your version, but I didn't dare to post it, because it felt like cheating. But now that you posted it, all I can say is that I did it slightly different... but you get the credit  Would you post your version, just for my enlightment? 
|
|
|
|
|
8
|
Discussions / Miscellaneous Topics / Re: TinyCode competition - trial
|
on: 2007-10-28 23:53:59
|
Hex: 1 2
| for(int a,s=1;s>0;s=s*16|((a=in.read())<58?a-48:a-87)) if(s>255){out.write(s);s=1;} |
(81 bytes) another one bytes the dust: 80 bytes  1 2
| for(int a,s=1;s>0;s=s*16|-((a=in.read())<58?48:87)+a) if(s>255){out.write(s);s=1;} |
Edit: Got another one for 79 bytes 1 2
| for(int a,s=1;s>0;s=s*16|(a=in.read())-(a<58?48:87)) if(s>255){out.write(s);s=1;} |
|
|
|
|
|
9
|
Discussions / Miscellaneous Topics / Re: TinyCode competition - trial
|
on: 2007-10-28 20:24:54
|
Hehe... then I get 72 bytes too... and I got 2 solutions: 1 2 3
| for(int r=0,i=0,b=0;r>-1;b=b<<1|(r=in.read())&1) if(i++%8==0)out.write(b); |
1 2 3 4 5 6
| for(int r,i=0,b=0;(r=in.read())>0;) { b=b<<1|r&1; if(++i%8==0)out.write(b); } |
The first is extremely not-done. My is a bit different: 1 2 3 4 5
| for(int c=0,i=0,x;(x=in.read())>0;c<<=1){ c|=x&1; if(++i%8<1)out.write(c); } |
And 71 bytes with that: 1 2 3
| for(int r=1,i=0,b=0;r>0;b=b<<1|(r=in.read())&1) if(i++%8==0)out.write(b); |
|
|
|
|
|
11
|
Games Center / Archived Projects / Re: JEmu2 does Out Run
|
on: 2007-08-16 17:00:41
|
Doesn't work on my Intel Mac: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1161) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1108) at com.sun.javaws.Launcher.continueLaunch(Launcher.java:951) at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522) at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218) at com.sun.javaws.Launcher.run(Launcher.java:165) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.UnsatisfiedLinkError: /Users/markus/Library/Caches/Java/cache/javaws/http/Dwww.gagaplay.com/P80/DMjemu2/RNlwjgl_mac.jar/liblwjgl.jnilib: at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660) at java.lang.Runtime.loadLibrary0(Runtime.java:822) at java.lang.System.loadLibrary(System.java:992) at org.lwjgl.Sys$1.run(Sys.java:67) at java.security.AccessController.doPrivileged(Native Method) at org.lwjgl.Sys.<clinit>(Sys.java:65) at jef.util.time.TimeLWJGLImpl.<init>(TimeLWJGLImpl.java:17) at jef.util.time.Time.init(Time.java:31) at jef.util.time.Time.<clinit>(Time.java:22) at net.movegaga.jemu2.FrontEnd.<init>(FrontEnd.java:277) at net.movegaga.jemu2.FrontEnd.main(FrontEnd.java:389) ... 11 more |
Other lwjgl stuff does work, though.
|
|
|
|
|
12
|
Discussions / General Discussions / Re: Adobe/Flash wins yet again when it comes to user experience...
|
on: 2007-07-13 10:06:40
|
It's around $100/year. The price is pretty ridiculous for what they are actually offering.
There used to be certs for $20/year, which were good enough for Java stuff, but those certificate authorities scrapped em. Yea, right... why should they ask for $20 if they can milk $100 out of you? Verisign, Thawte etc really deserve some regulative slapping.
There is also a free certificate that can be used. It won't display your name though, it displays "Thawte Freemail member" instead. But otherwise its a full certificate. See: http://www.dallaway.com/acad/webstart/
|
|
|
|
|
14
|
Games Center / WIP games, tools & toy projects / Re: Hiero - Bitmap Font Tool
|
on: 2007-01-16 10:27:08
|
|
Works with OSX 10.4 Intel after adding a font directory manually.
OSX stores fonts in /Library/Fonts and /System/library/Fonts and "user.home"/Library/Fonts. Unfortunatly most fonts are not ttf fonts, so I only have 3 fonts in the list. But wth those 3 fonts (Apple Symbols, Euphemia UCAS and Plantagenet Cherokee) its working.
There are more ttf files in those directorys, but they don't get loaded. The log says: Unable to process: /System/Library/Fonts/<fontname>.ttf
There are some more font directories on osx: /usr/X11R6/lib/X11/fonts/TTF/ if X11 is installed, which is not installed by default. And "java.home"/lib/fonts for the java fonts. All those fonts load without errors.
I do get a "Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space" if I add to much font directorys in one session, though.
|
|
|
|
|
17
|
Games Center / Featured Games / Re: Kitipong - Library Test
|
on: 2006-11-19 21:00:53
|
Works fine on my Intel mac, if I start it the first time. If I reload the page I get the following output (see screenshot).
Works now after page reload to. Forgot to mention: Using Safari for this.
|
|
|
|
|
27
|
Games Center / Archived Projects / Re: Here goes - I present an alpha of Daughterware
|
on: 2004-09-16 20:36:10
|
markush - Thanks for trying! The error is being caused when it tries to load an image and then convert it to an RGB. When you extracted the files you should have had the 1 jar file and then a few directories. I'm not at home so I can't view the source code right now.  Did you get an image that said Daughterware when you started the app? It would have had a progress bar below it, indicating what stage it was at. Yes, it crashes at "setting up audio". There should be a directory called dot2dots. Under there would be 4 dirs (one CVS and three others). Inside each dir, except for the CVS one, there would be image files and files which end with a .dot2dot extension. Were those present?
Yes. Here are the files I've got. (without the CVS files): 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
| markus@alderaan:~/download/dwaresmall$ ls -R -I CVS .: dot2dots dware12sept.jar images music pictures sounds
./dot2dots: numbers shapes test
./dot2dots/numbers: 1.dot2dot 1.png 2.dot2dot 2.png 3.dot2dot 3.png background.png
./dot2dots/shapes: background.png rectangle.dot2dot square.dot2dot thing.dot2dot
./dot2dots/test: background.png house.PNG taylor.dot2dot taylor i love you.png house.dot2dot star.dot2dot taylor i love you grey.png
./images: balloon._pn boat10005.png boat10009.png green balloon.png ss1b-2.jpg stamp8.png balloon.png boat10006._pn boat10010._pn next icon.png stamp1.png tile1.jpg boat10001.png boat10006.png boat10010.png paint brush.gif stamp2.png tile2.jpg boat10002.png boat10007._pn camera.gif purple balloon._pn stamp3.png tile3.jpg boat10003.png boat10007.png cosa7.png purple balloon.png stamp4.png tileImage.jpg boat10004.png boat10008._pn dot2dot house.png riverboat.png stamp5.png boat10005a.png boat10008.png firework.jpg shapes.jpg stamp6.png boat10005._pn boat10009._pn green balloon._pn splash.jpg stamp7.png
./music: dots song.aiff image song.aiff paint song.aiff shapes song.aiff
./pictures: eyore2.jpg eyore.jpg piglet.jpg poohpiglet.jpg test1.jpg test2.jpg tigger.jpg
./sounds: Bell 2.aif Bell 3.aif Bell 4.aif |
A friend tried it on his Linux box and had to kill his audio server. When the app ran though, the window was 1 pixel or so in size. He could maximize and minimize it, but never saw the actual imagery. I don't think its the same error though.
I do have that 1 pixel window too, but can't maximize it.
|
|
|
|
|
28
|
Games Center / Archived Projects / Re: Here goes - I present an alpha of Daughterware
|
on: 2004-09-16 14:30:30
|
Hi! I'm getting this exception, when I try to start: 1 2 3 4 5 6 7
| java.lang.NullPointerException at com.daughterware.swing.SwingUtil.convertToBitmaskType(SwingUtil.java:56) at com.daughterware.swing.SwingUtil.loadImage(SwingUtil.java:85) at com.daughterware.Dot2Dot.load(Dot2Dot.java:83) at com.daughterware.actionPanels.Dot2DotActionPanel.getNextDot2Dot(Dot2DotActionPanel.java:136) at com.daughterware.actionPanels.Dot2DotActionPanel.<init>(Dot2DotActionPanel.java:98) at com.daughterware.apps.Daughterware.main(Daughterware.java:69) |
The loading screen is showing something about audio at that time. This is on Linux with following java: 1 2 3
| java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) |
|
|
|
|
|
30
|
Discussions / General Discussions / Re: Fallout 3
|
on: 2004-07-26 00:05:05
|
I will have to beg to differ with you on the Bethsoft front- I have played a lot of RPGs in my time and nothing else has touched the immersion, freedom and sheer involvement of Morrowind and Daggerfall. I was still playing Daggerfall pretty much up until morrowind arrived, in fact.
The best way to wreck a good RPG is to try and make it work on consoles though (see Deus Ex 2 for a classic example of this) - if anything will make the game lame out it will be that. So morrowind is a lame game, in your definition: http://games.teamxbox.com/xbox/177/Elder-Scrolls-III-Morrowind
|
|
|
|
|
|
Add your game by posting it in the WIP section,
or publish it in Showcase.
The first screenshot will be displayed as a thumbnail.
|
|