Perl 6 - the future is here, just unevenly distributed

IRC log for #sdl, 2014-04-14

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:20 fuzzix joined #sdl
01:51 fuzzix joined #sdl
06:37 mtj Mithaldu, i'm curious what parts of the SDLx::App API you are having problems with?
06:38 FROGGS joined #sdl
06:39 mtj i must confess that i was a bit worried that i would have problems too
06:39 mtj but some good news… the API did everything that i wanted (so far, at least)
06:41 mtj one thing i discovered recently was a way to increase/decrease the framerate, without any frame skipping
06:43 mtj ...of course - auto-frame-skipping is a very handy feature for 'production'… but i wanted this disabled for frame-by-frame debugging of my game
06:47 dod joined #sdl
09:03 Mithaldu mtj: numerous things. the proliferation of globals, the lack of distinction between game state and client state, the schizophrenic mix of OO and seemingly-OO, the lack of ability to set it up so framerate takes precedence over simulation speed, the lack of distinction between game world and game ui, the absolutely hilariously terrible constructors and their attribute abbreviations ...
09:04 Mithaldu mtj: ... the pseudo async structuring which is in fact strictly linear
09:05 Mithaldu mtj: and the whole "let's make an XS scalar into an object!" thing
09:07 Mithaldu mtj: and lastly, this makes me frown so incredibly hard: https://metacpan.org/source/JTPALMER/SDL-2.540/lib/SDLx/App.pm#L29
09:22 mtj hiya Mithaldu  :)
09:23 Mithaldu o/
09:23 mtj all i can say is.. using SDLx::App is a whole lot nicer than using the classic SDL.pm
09:25 Mithaldu sure
09:25 Mithaldu i didn't say it slowed me down
09:25 Mithaldu just that it was batshit insane
09:28 mtj …for me, a lot of general OO-perl looks insane - i don't (yet?) have the skill-level to have a real opinion on SDLx::App
09:29 Mithaldu yes, that's the problem
09:29 Mithaldu people doing oo stuff who're way too inexperienced
09:29 Mithaldu short version:
09:29 Mithaldu if you write your own constructor you already fucked up
09:34 Mithaldu at the end of the day, once i know what i'm going for with DW, i'll just rip out SDLx::App and replace it with something that's sane
09:35 FROGGS Mithaldu++
09:41 mtj how about SDL2x::App ? :p
09:41 Mithaldu sdl2 isn't ready
09:43 mtj yeah, fair call
09:49 FROGGS but only from our side
09:50 FROGGS it should be pretty stable upstream
10:00 mtj FROGGS, yep - thats what i meant ^^
10:01 FROGGS though that would result in quite a lot of work I'm unable todo this year
10:01 FROGGS and when I am going to work on it, I'll do it for Perl 6
10:02 FROGGS but that is not very high on my list
11:34 Mithaldu so what you're saying is: i will not do it for perl 5
11:58 FROGGS Mithaldu: correct
11:59 Mithaldu yay for clear communication :P
11:59 FROGGS :o)
15:32 dod joined #sdl
16:06 dod joined #sdl
16:47 kaare joined #sdl
18:03 kaare_ joined #sdl
18:24 FROGGS joined #sdl
20:24 Mithaldu grumble grumble, sprite rotation looks quite artifacty :(
20:27 Mithaldu wow, even if i surround the 16x16 sprite with a transparent 8 pixel border there's artifacts at the borders
20:28 FROGGS what if you just blit a smaller rect from the middle of the thing that rotates?
20:29 Mithaldu clever :)
20:29 Mithaldu yeah, i can try that
20:29 Mithaldu not sure what that does to performance, but i'm only playing around right now

| Channels | #sdl index | Today | | Search | Google Search | Plain-Text | summary