| |
| |
| |
|
Page: 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
Comments:
<0> But between you and me, his drawings are pretty terrible <1> gmitchel: if you want to re-read the file.. yes.. perldoc -f seek <2> seek. To access this perldoc please type, at a command line, 'perldoc -f seek'. You may also find it at http://perldoc.perl.org/functions/seek.html <3> Why are you using a 7 yr old for inspiration exactly? <4> How would I go about making a hash inside a hash? <5> maybe he's the only one tag could convince! <3> It's tough. At that age, kids just want something that looks cool probably. They can't explain exactly what'd they like as far as gameplay <6> tag: how many different images are you looking for? <0> dabreegster: I thought it'd be fun <3> Gokee2: %hash = (foo => "bar", hash => { deeper => "yes"} ); Read up on data structures and references <7> awesome <3> tag: It'd be a nice experiment. What kind of game? <0> ubik: A few...for the time being, I just want to get the hero and get him walking <7> i think i can handle it now <7> thanks for the help <1> gmitchel: welcome
<4> dabreegster, Ah... Thanks, any way to modify stuff inside the hash once its made? <3> Gokee2: $hash{hash}->{deeper} = "foo" <3> Gokee2: Just read a good tutorial and experiment <3> perldoc perlref <2> perlref - Perl references, the rest of the story. To access this perldoc please type, at a command line, 'perldoc perlref'. You may also find it at http://perldoc.perl.org/perlref.html <3> perldoc perldsc <2> perldsc - Perl data structures intro. To access this perldoc please type, at a command line, 'perldoc perldsc'. You may also find it at http://perldoc.perl.org/perldsc.html <0> dabreegster: I limited him to a 2d game (left to right, up and down, ladders, and a grapple to swing on) he came up with a story of a green baret fighting against a invading robots <4> dabreegster, Ok any tutorial you recomend? The one I have been getting my knowlage of hashes from is rather basic <3> Gokee2: Read the perldocs buubot just said <4> Ah ok <0> dabreegster: sort of duke nukem-ish <8> Contra! <3> tag: That's not too bad. Let him attach a plot to a platformer, then base gameplay elements off that. Sounds really cool. I'd love to know how it turns out. <0> ubik: To get the hero walking with decent animation, I need 5 medium quality images. <6> you have any examples of what kind of art your looking for? <0> something cartoonish, let me see if I can find a good reference <9> tag: what quality is medium? Maybe you can scrounge from free sprite sets? <3> Cartoonish... the kind of look that today's arcade anime fighting games might look decent <3> Actually, take a look, if you can, at some platformers made with The Games Factory. There were some games with nice graphics. Windows only, unfortunately. <0> yeah, I thought it'd be cool to give it a very comic-strip feel, sort of inspired by ultimate spiderman <3> I wonder if 7 year olds could grasp the concept of a simple roguelike <0> I found a quite solid game engine that is really ideal for this kind of thing, good collision detection, easy to use, relatively complete although ESL-riddled documentation <10> GumbyBRAIN: stupid firefox bug <11> Firefox has a 30day eval. <3> tag: Good collision detection was something TGF didn't have. :( <10> dabreegster: yes, i wrote a static roguelike game on my TI82, had a few younger kids play it <3> simcop2387: How'd they do at it? What'd they think of it? <10> they thought it was cool on a calculator, but its not very representative i think <10> the roguelike was also very simple, not a whole lot to it <10> the biggest problem i think kids will have in general is differentiation of items v. monsters <3> Still, that's pretty good that they could grasp it <10> its not a hard concept, you're the @, the other things are monsters or items <3> Hmm... should be simple. They didn't know which symbols were monsters or didn't know the difference between something you use and something that kills you? <10> also the TI82 version was really ****ty, i had to write the maps out myself in their matrix notation <3> No random generation? I need more experience with programmable calculators. <10> dabreegster: a good help system thats easy to use is a good idea <3> simcop2387: Yeah, I'm considering a tutorial level where little hints pop up and stuff for new players <10> dabreegster: there was but generating maps was near impossible, only enough ram to have an 8x8 map at a time, and randomly generating them would take LOTS of time, (60 seconds per map almost) <3> Wow <3> 8x8, shoot. That's miniscule. <10> yea so i made the most of it with static handmade maps <10> and only 26 variables! <3> Much easier <3> Woo! <10> i ended up using 4 variables and a matrix and another program to create saved games and used another of the 5 matrixes as a currently loaded game <12> perl programmers are by default pretty cleaver ppl right? <10> thats just to get player variables <12> *clever <3> __Ace__: Yeah, we all carry butcher knifes around <10> __Ace__: that depends, are they successful at programming or not? <13> __Ace__: Yes, but that doesn't give license to treat #perl as your personal answer desk. <3> __Ace__: Curse, thought you weren't going to correct it <12> hehe <3> __Ace__: s/knifes/knives/ <12> well <12> can you bright ppl tell me when soul enters the sperm? <12> ;) <12> totally nonperl related I know <0> ubik: <0> damnit he's gone
<14> __Ace__: The sould is their by defaul in $_ <0> oh well <12> haha <14> s/their/there/ <12> good one <10> __Ace__: the soul isn't in the sperm, its only half a soul, the egg has the other half <12> hmm <14> simcop2387: My answer was better. <14> :p <10> so when you jack off you're only killing a bunch of half people <12> ah, so no harm done <10> GumbyBRAIN: soul <11> Not the soul-crushing reality of it. <0> I guess I should have said high quality sprites <0> me decides to take thrig's advice and just use the contra sprites for now! <0> forgot the goddamn slash <15> *yawn* <15> good morning people and goats <5> good evening! <13> baad jokes <16> yo <3> Now I need another cheap solution to avoid doing real LOS. Last time I just stored baddies in current room, but I don't want to fall back on that again. <16> GumbyBRAIN: jrsims <11> yes, it is. <5> GumbyBRAIN, jrsims <11> i like castles. <16> GumbyBRAIN: jrsims! <11> he means style, not substance. <5> GumbyBRAIN, jrsims? <11> urm, it's real. Man fork. <5> real short sentences <16> he's concise <17> GumbyBRAIN: longer sentences please <11> You could even guess that immute's school has a telnet soccer server? Please please please can i still can't just make a special string that begins with another (known) string but is it distributed? It's not a quick way out. <3> Hey, it worked <17> hehe <18> GumbyBRAIN: my school has a telnet soccer server?! <11> Soccer has more than the a-z. <16> has anyone tried to use wget on news.google.com? It refuses to let me download the file. Know any workarounds? <3> Sometimes servers refuse requests if the referer isn't right <15> jrsims: don't wget google <19> hello, how can i stop mysql injection when i'm using perl and DBD mysql ? <16> I've tried LWP too. Same problem. <20> wazoeee: prepared statements <18> wazoeee: 'injection' ? <16> well, LWP::Simple, anyway <19> prepared statements ? <18> wazoeee: perldoc DBI <21> wazoeee: perldoc DBI <15> perlbot placeholders > wazoeee <22> jrsims: Use WWW::Mechanize <16> petdance: hmm. and pose as Netscape browser? <22> pose as somethin', yes. <16> sweet <19> so will this prevent mysql injection: $myprepare = $dbc->prepare("select * from table where name = '$_GET[var1]' and lname = '$_GET[var2]'"); $myprepare->execute(); $myprepare->finish; <20> $_GET is php, not perl <19> sorry <19> $var or so <23> anyone know how to work out how many disk sectors are in X amount of blocks? <20> and no <18> wtf is injection? <20> imMute: use google <19> so why do you guys say to use prepared statements ? <15> wazoeee: did you read the link I sent you? <15> perlbot placeholders > wazoeee <23> because you can use placeholders <19> i don't know anymore <15> got the link? perlbot should've told you <15> read it, it explains all about placeholders <20> imMute: if wazoeee would use the statement he just wrote, what would happen if $_GET[var1] was something like: ' AND name=name AND ''=' <20> imMute: ? <18> whoever: ah, injection <i>attack</i> gotcha
Return to
#perl or Go to some related
logs:
#linux kb3 cd-rw erase #php #gentoo mezoko fedora ruby2 gnome #kde custom fedora createrepo split #lisp #physics
|
|