BorisTheBrave
|
|
« Reply #360 on: January 28, 2013, 03:26:49 PM » |
|
I just try to avoid co-ordinate-wise code. You could have easily written: cPos[currPos] += Vec3(0.05f, 0f, 0f);
|
|
|
Logged
|
|
|
|
Klaim
|
|
« Reply #361 on: January 28, 2013, 03:41:02 PM » |
|
That might actually work in some languages...
Yeah you need strong types and operators and it's very helpful.
|
|
|
Logged
|
|
|
|
JigxorAndy
Level 6
Working on Dungeon Dashers
|
|
« Reply #362 on: February 05, 2013, 04:41:38 AM » |
|
I was wondering why a one of my Global Variables was constantly set to 1920, causing bugs elsewhere. I had forgotten that I'd used that value to "temporarily" test that the screenwidth was correct.
|
|
|
Logged
|
|
|
|
locknic
Level 1
Dominic Mortlock
|
|
« Reply #363 on: February 05, 2013, 07:09:53 AM » |
|
This is more silly than anything but I accidentally typed out
|
|
|
Logged
|
|
|
|
Klaim
|
|
« Reply #364 on: February 05, 2013, 07:41:40 AM » |
|
pubic private String tight() {
}
|
|
|
Logged
|
|
|
|
oodavid
|
|
« Reply #365 on: February 05, 2013, 08:20:05 AM » |
|
Accidentally referenced an object to itself with the property "it's magic" then realised I could do this: o.itsmagic = function(){ log('you knooooow!') }; o = o; o.o.o.itsmagic; > you knooooow! Man I love Pilot
|
|
|
Logged
|
|
|
|
rivon
|
|
« Reply #366 on: February 05, 2013, 09:45:17 AM » |
|
(for those who don't know Pilot)
|
|
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #367 on: February 05, 2013, 10:35:44 AM » |
|
That actually produced a chuckle. Nice one.
|
|
|
Logged
|
|
|
|
rosholger
Level 1
|
|
« Reply #368 on: February 05, 2013, 02:04:10 PM » |
|
Accidentally referenced an object to itself with the property "it's magic" then realised I could do this: o.itsmagic = function(){ log('you knooooow!') }; o = o; o.o.o.itsmagic; > you knooooow! Man I love Pilot haha wonderfull
|
|
|
Logged
|
|
|
|
JMickle
|
|
« Reply #369 on: February 06, 2013, 03:23:30 AM » |
|
i do this shit all the time
|
|
|
Logged
|
|
|
|
Evan Balster
|
|
« Reply #370 on: February 06, 2013, 09:11:43 AM » |
|
i do this shit all the time You are a terrible person.
|
|
|
Logged
|
Creativity births expression. Curiosity births exploration. Our work is as soil to these seeds; our art is what grows from them...Wreath, SoundSelf, Infinite Blank, Cave Story+, <plaid/audio>
|
|
|
d
|
|
« Reply #371 on: February 06, 2013, 06:06:40 PM » |
|
// maybe we can use the handle itself to disambiguate? // nope
|
|
|
Logged
|
|
|
|
JMickle
|
|
« Reply #372 on: February 08, 2013, 05:15:23 AM » |
|
You are a terrible person.
I need to keep it fresh, yo.
|
|
|
Logged
|
|
|
|
Pineapple
|
|
« Reply #373 on: February 11, 2013, 11:46:25 AM » |
|
If i Print ":)" Else Print ":(" oh the joys of improvising weird code for the sake of debugging
|
|
|
Logged
|
|
|
|
RTLShadow
Level 0
I make the video games.
|
|
« Reply #374 on: February 12, 2013, 12:59:14 AM » |
|
private var balls:Vector.<Sprite>; // huehuehuehuehue heh. I'm apparently a bit childish still.
|
|
|
Logged
|
|
|
|
Evan Balster
|
|
« Reply #375 on: February 14, 2013, 06:45:21 PM » |
|
//One skeleton is scary enough. if (a->_skeleton != b->_skeleton) reportError(L"Cannot create Joint between different Skeletons.");
|
|
|
Logged
|
Creativity births expression. Curiosity births exploration. Our work is as soil to these seeds; our art is what grows from them...Wreath, SoundSelf, Infinite Blank, Cave Story+, <plaid/audio>
|
|
|
makerimages
|
|
« Reply #376 on: February 15, 2013, 12:23:19 AM » |
|
lol
|
|
|
Logged
|
Makerimages-Its in the pixel
|
|
|
Evan Balster
|
|
« Reply #377 on: February 16, 2013, 02:56:00 PM » |
|
trans = a->_bone->children[ind].pos(trans); Something about the concept of "bone children" freaks me out.
|
|
|
Logged
|
Creativity births expression. Curiosity births exploration. Our work is as soil to these seeds; our art is what grows from them...Wreath, SoundSelf, Infinite Blank, Cave Story+, <plaid/audio>
|
|
|
rosholger
Level 1
|
|
« Reply #378 on: February 22, 2013, 06:42:28 AM » |
|
this made me chuckle val transformerFactory: TransformerFactory val transformer: Transformer
|
|
|
Logged
|
|
|
|
VortexCortex
|
|
« Reply #379 on: February 22, 2013, 11:23:24 PM » |
|
In a CSS file of an existing web project: /* A nice solid black body. */ body { color: #fff; background-color: #140804; }
Hmm, technically, 'black' folks are brown? Sprite draw routine for a person with customizable clothes. CustomOutfit { ...
// The sock method: Only executed if no other option. sock = function( G2D g ) { ... } }
|
|
|
Logged
|
|
|
|
|