Eraser
Guest
|
|
« Reply #3980 on: March 18, 2013, 08:28:02 PM » |
|
Discovered the library I'm using for mobile development has some crazy sound engine bugs, including making bad JNI calls on Android which cause the app to immediately crash on 2 of my 3 devices when trying to play sound, a memory leak when a sound is played multiple times, sound cannot be started from a position on Blackberry, and the inability to change the volume once the sound starts playing on any platform I've tried. This is why people write their own engines
|
|
|
Logged
|
|
|
|
Geti
|
|
« Reply #3981 on: March 19, 2013, 06:37:32 AM » |
|
Combatting spammers in a registration free environment sucks
|
|
|
Logged
|
|
|
|
s_l_m
|
|
« Reply #3982 on: March 19, 2013, 08:45:13 PM » |
|
Combatting spammers in a registration free environment sucks Been there, done that. I feel your pain
|
|
|
Logged
|
Think happy thoughts.
|
|
|
epcc
Level 1
|
|
« Reply #3983 on: March 20, 2013, 04:08:46 AM » |
|
Combatting spammers in a registration free environment sucks Just checked comments on my website and turns out that spambots now get through honeypots. Another proof for evolution, it seems. My next plan is to auto-reject all comments containing [url], http:// and <a href. In its 1.5 years of existence, no human has posted any links there.
|
|
|
Logged
|
|
|
|
Muz
|
|
« Reply #3984 on: March 22, 2013, 12:31:24 AM » |
|
Sometimes I wonder if programming makes me grumpy or whether I'm just a grumpy person in general
|
|
|
Logged
|
|
|
|
Articulated
|
|
« Reply #3985 on: March 24, 2013, 09:03:33 AM » |
|
Sigh...I thought I understood how Classes, Objects and Methods worked. I really did... I just wanted to output the result of a dice roll... Why is it so hard to do?
|
|
|
Logged
|
|
|
|
sublinimal
|
|
« Reply #3986 on: March 24, 2013, 10:09:42 AM » |
|
Including files in a C++ project takes too much time and nerves. Especially with template functions, I get a lot of "invalid use of incomplete type" and "error: forward declaration".
|
|
|
Logged
|
|
|
|
JOBA
Level 1
EZ
|
|
« Reply #3987 on: March 24, 2013, 09:59:23 PM » |
|
And I can't program art direction and assets. Fuck.
|
|
|
Logged
|
|
|
|
Austiyn
Guest
|
|
« Reply #3988 on: March 25, 2013, 03:44:43 AM » |
|
And I can't program art direction and assets. Fuck.
LMBO at the midget zombie.
|
|
|
Logged
|
|
|
|
moi
|
|
« Reply #3989 on: March 25, 2013, 04:32:31 AM » |
|
And I can't program art direction and assets. Fuck.
this looks very nice
|
|
|
Logged
|
subsystems subsystems subsystems
|
|
|
ALourenco
|
|
« Reply #3990 on: March 25, 2013, 12:46:35 PM » |
|
I just can't open a window in my editor's GUI -.- It's frustrating!
|
|
|
Logged
|
GameDev Master Student. Game Engines and Computer Graphics in free time. @CodinGree
|
|
|
SuperDisk
|
|
« Reply #3991 on: March 28, 2013, 02:20:39 PM » |
|
The SDL Java wrapper I successfully compiled from C ( ) is like 5x slower than pygame, which I was trying to get out of. The madness never ends. Edit: Turns out I was setting the BPP wrong. Oh, me.
|
|
« Last Edit: March 28, 2013, 02:33:23 PM by SuperDisk »
|
Logged
|
|
|
|
rosholger
Level 1
|
|
« Reply #3992 on: March 28, 2013, 03:01:10 PM » |
|
The SDL Java wrapper I successfully compiled from C ( ) is like 5x slower than pygame, which I was trying to get out of. The madness never ends. Edit: Turns out I was setting the BPP wrong. Oh, me. i have never used java SDL but i would like to suggest http://www.slick2d.org/. its a very nice framework/engine on top of lwjgl so you get the speed of openGL, the only problem with it is the lack of tutorials that are up to date but if you are comfortable reading javadoc's its pretty well documented
|
|
|
Logged
|
|
|
|
s_l_m
|
|
« Reply #3993 on: March 28, 2013, 03:04:22 PM » |
|
The SDL Java wrapper I successfully compiled from C ( ) is like 5x slower than pygame, which I was trying to get out of. The madness never ends. Edit: Turns out I was setting the BPP wrong. Oh, me. i have never used java SDL but i would like to suggest http://www.slick2d.org/. its a very nice framework/engine on top of lwjgl so you get the speed of openGL, the only problem with it is the lack of tutorials that are up to date but if you are comfortable reading javadoc's its pretty well documented Slick works great in the vacuum of your development environment, but in my experience it is kind of a nightmare to deploy. Once you have that working it is a great library thought
|
|
|
Logged
|
Think happy thoughts.
|
|
|
InfiniteStateMachine
|
|
« Reply #3994 on: March 29, 2013, 04:21:57 AM » |
|
The new PSM SDK update completely fucked me. I had perfect 60+fps performance now suddenly not only is performance abysmal (20 fps max) but I have Z-sorting errors out the wazoo!
I can't even see a parttern to the z-sorting errors right now. It's not like everything got swapped or anything like that. It's like they all got shuffled.
FMLFMLFMLFMLFMLFMLFMLFMLFMLFML
|
|
|
Logged
|
|
|
|
rosholger
Level 1
|
|
« Reply #3995 on: March 29, 2013, 04:39:56 AM » |
|
The SDL Java wrapper I successfully compiled from C ( ) is like 5x slower than pygame, which I was trying to get out of. The madness never ends. Edit: Turns out I was setting the BPP wrong. Oh, me. i have never used java SDL but i would like to suggest http://www.slick2d.org/. its a very nice framework/engine on top of lwjgl so you get the speed of openGL, the only problem with it is the lack of tutorials that are up to date but if you are comfortable reading javadoc's its pretty well documented Slick works great in the vacuum of your development environment, but in my experience it is kind of a nightmare to deploy. Once you have that working it is a great library thought nah its pretty easy, just compile a jar and merge it with slick2d and lwjgl with jarsplicer. haven't tried any jar to exe converters though so no idea if they complicate things
|
|
|
Logged
|
|
|
|
ghosted
|
|
« Reply #3996 on: March 30, 2013, 08:16:12 AM » |
|
My little javascript engine is coming along nicely and I've encountered a performance issue with rendering more than 1 layer of 8x8 tiles on a 320x240 canvas. It's just too much for it. The number of individual draw calls (40 x 30 = 1200 for each layer) is too expensive.
So I hit on a plan to create a grid of larger canvases that I'd pre-draw large clumps of tiles to and then I'd only need to do a handful of draw calls to draw all the tiles.
After a couple of hours I'd got it all working perfectly and saw the performance increase clearly. But about 5 seconds later I suddenly realised I'd basically blitted each entire layer to it's own, huge bitmap (albeit cut into a grid of chunks). Faster to draw each frame but a huge waste of memory. Spanner.
Ah well, dirty rectangles instead then I guess.
|
|
|
Logged
|
|
|
|
Martin 2BAM
|
|
« Reply #3997 on: April 01, 2013, 02:22:43 PM » |
|
Took a while to figure out that Flash distorts the palette on the externally loaded PNGs (via Loader/URLRequest) but keeps the palette ok when embedding them. The PNG was a map file and pixel colors where specific entities. I ended up using GIFs, but of course you have the 256 color limit, and JPEGs are a big no no because of the artifacts... Thanks Adobe
|
|
|
Logged
|
|
|
|
pixhead
Guest
|
|
« Reply #3998 on: April 01, 2013, 03:40:54 PM » |
|
I've been avoiding a bug in my program until 3 day ago. It finally caught up to me and I had to fix it. Sadly, it was so wired into the program that I couldn't do anything other than rollback my project a weeks worth of work.
Things I learned: never postpone debugging, Git is a gift from the heavens.
At least code is at least 30x easier to write a second time.
|
|
|
Logged
|
|
|
|
ThemsAllTook
|
|
« Reply #3999 on: April 01, 2013, 03:55:11 PM » |
|
Took a while to figure out that Flash distorts the palette on the externally loaded PNGs (via Loader/URLRequest) but keeps the palette ok when embedding them. The PNG was a map file and pixel colors where specific entities. I ended up using GIFs, but of course you have the 256 color limit, and JPEGs are a big no no because of the artifacts... Thanks Adobe I'm pretty sure I've done the same thing with no trouble. Maybe you need to save your PNGs in a non-paletted format (or vice versa if they're currently RGB)?
|
|
|
Logged
|
|
|
|
|