1. Post #2561
    Person
    geel9's Avatar
    June 2008
    5,741 Posts
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb x 5Agree x 3Late x 2Disagree x 1Informative x 1 (list)

  2. Post #2562
    I gave enough money to buy a soda.
    Funley's Avatar
    May 2010
    1,425 Posts
    Use ints not floats. Are you using a spritebatch?
    I am using ints now, they dont seem to help that much. Yes, i am using a spritebatch.
    Reply With Quote Edit / Delete Windows 7 Finland Show Events

  3. Post #2563
    TVC

    April 2010
    300 Posts
    -snip- wrong thread
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  4. Post #2564
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    http://dl.dropbox.com/u/4093439/parentsagain.webm
    Didn't you already post that 2 pages ago?
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 13Disagree Disagree x 4 (list)

  5. Post #2565
    quality poster
    Dennab
    August 2009
    12,242 Posts
    Didn't you already post that 2 pages ago?
    no this time he overcame the challenge of clamping min/max X and Y positions
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 13Programming King Programming King x 2Agree Agree x 1Informative Informative x 1 (list)

  6. Post #2566
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    I can't drink and talk. How the hell do you drink and program?
    once i wrote something like

    bool b = (something) ? true : false;
    if(b) {
    ...
    }
    Reply With Quote Edit / Delete Mac Australia Show Events Funny Funny x 28Useful Useful x 1Artistic Artistic x 1 (list)

  7. Post #2567
    Gold Member
    Jookia's Avatar
    July 2007
    6,768 Posts
    once i wrote something like

    bool b = (something) ? true : false;
    if(b) {
    ...
    }
    Please add 'when I was drunk'. Please. Before the obvious joke is made.
    Reply With Quote Edit / Delete Linux Australia Show Events Dumb Dumb x 12Useful Useful x 1Informative Informative x 1 (list)

  8. Post #2568
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    I can't drink and talk. How the hell do you drink and program?
    Given his incoherent ranting, I suspect 'badly'.
    Fun fact: Deleting a null pointer does nothing and is guaranteed to be a safe operation.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Informative Informative x 1Agree Agree x 1Late Late x 1 (list)

  9. Post #2569
    Gold Member
    Chandler's Avatar
    February 2006
    1,406 Posts
    Given his incoherent ranting, I suspect 'badly'.
    Fun fact: Deleting a null pointer does nothing and is guaranteed to be a safe operation.
    You can even do something like delete nullptr; and the standard requires that it is legal.
    Reply With Quote Edit / Delete Mac United States Show Events Agree Agree x 2 (list)

  10. Post #2570
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    Reply With Quote Edit / Delete Mac Australia Show Events Funny Funny x 5Programming King Programming King x 3 (list)

  11. Post #2571
    Kamshak's Avatar
    July 2008
    438 Posts
    javascript is required
    then the color changes to green so i think js is enabled
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree Agree x 6 (list)

  12. Post #2572
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    mozilla patched that little bug last year so all you firefox users miss out

    all the other browser vendors haven't fixed it yet
    Reply With Quote Edit / Delete Mac Australia Show Events Funny Funny x 5 (list)

  13. Post #2573
    Gold Member
    danharibo's Avatar
    July 2006
    4,498 Posts
    mozilla patched that little bug last year so all you firefox users miss out

    all the other browser vendors haven't fixed it yet
    That's pretty clever, how is it fixed in firefox?
    Reply With Quote Edit / Delete Linux United Kingdom Show Events

  14. Post #2574
    BAZ
    Dav0r, buy me a custom title. I'm far too poor ;_;
    BAZ's Avatar
    July 2005
    12,630 Posts
    Didn't work for me, I'm running chromium nightly.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  15. Post #2575
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    That's pretty clever, how is it fixed in firefox?
    https://bugzilla.mozilla.org/show_bug.cgi?id=583889
    Reply With Quote Edit / Delete Mac Australia Show Events Informative Informative x 1 (list)

  16. Post #2576
    Strong Member
    thelinx's Avatar
    January 2007
    8,019 Posts
    says I'm logged in even when I'm not on chrome
    Reply With Quote Edit / Delete Linux Sweden Show Events

  17. Post #2577
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    works on my machine (TM)

    Reply With Quote Edit / Delete Mac Australia Show Events Funny Funny x 7 (list)

  18. Post #2578
    Gold Member
    h2ooooooo's Avatar
    June 2007
    978 Posts
    works on my machine (TM)

    Doesn't work for me: http://screencast.com/t/S7a3QcoT9H

    Chrome 17.0.963.79 m
    Reply With Quote Edit / Delete Windows 7 Denmark Show Events

  19. Post #2579
    Gold Member
    Jookia's Avatar
    July 2007
    6,768 Posts
    NoScript for life. Also, you're missing the web development forum.
    Reply With Quote Edit / Delete Linux Australia Show Events Friendly Friendly x 1Agree Agree x 1Disagree Disagree x 1 (list)

  20. Post #2580
    RUBY OVERLORD
    swift and shift's Avatar
    November 2011
    2,115 Posts
    NoScript for life. Also, you're missing the web development forum.
    u're missing the Unicode Consortium Discussion Forum
    Reply With Quote Edit / Delete Mac Australia Show Events Funny Funny x 32Dumb Dumb x 2Zing Zing x 2Winner Winner x 1 (list)

  21. Post #2581
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    Wow, quite a party going on in that forum.
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Agree x 6Funny x 2Informative x 1Friendly x 1Zing x 1 (list)

  22. Post #2582
    garry's Avatar
    September 2001
    12,435 Posts
    We cool?

    Code:
    {
    	"Children": 
    	[
    		
    		{
    			"Type": "Button",
    			"Properties": 
    			{
    				"Text": "New Button",
    				"Position": 
    				{
    					"x": 80,
    					"y": 220
    				},
    				"Size": 
    				{
    					"w": 100,
    					"h": 20
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "Label",
    			"Properties": 
    			{
    				"Text": "New Label",
    				"Position": 
    				{
    					"x": 10,
    					"y": 10
    				},
    				"Size": 
    				{
    					"w": 100,
    					"h": 20
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "Button",
    			"Properties": 
    			{
    				"Text": "New Button",
    				"Position": 
    				{
    					"x": 190,
    					"y": 220
    				},
    				"Size": 
    				{
    					"w": 100,
    					"h": 20
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "CheckBox",
    			"Properties": 
    			{
    				"Text": "",
    				"Position": 
    				{
    					"x": 290,
    					"y": 80
    				},
    				"Size": 
    				{
    					"w": 15,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "CheckBox",
    			"Properties": 
    			{
    				"Text": "",
    				"Position": 
    				{
    					"x": 290,
    					"y": 100
    				},
    				"Size": 
    				{
    					"w": 15,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "CheckBox",
    			"Properties": 
    			{
    				"Text": "",
    				"Position": 
    				{
    					"x": 290,
    					"y": 120
    				},
    				"Size": 
    				{
    					"w": 15,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "CheckBox",
    			"Properties": 
    			{
    				"Text": "",
    				"Position": 
    				{
    					"x": 290,
    					"y": 140
    				},
    				"Size": 
    				{
    					"w": 15,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "CheckBox",
    			"Properties": 
    			{
    				"Text": "",
    				"Position": 
    				{
    					"x": 290,
    					"y": 60
    				},
    				"Size": 
    				{
    					"w": 15,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "Label",
    			"Properties": 
    			{
    				"Text": "Boobies",
    				"Position": 
    				{
    					"x": 310,
    					"y": 60
    				},
    				"Size": 
    				{
    					"w": 100,
    					"h": 15
    				},
    				"ControlName": ""
    			}
    		},
    		
    		{
    			"Type": "Label",
    			"Properties": 
    			{
    				"Text": "New Label",
    				"Position": 
    				{
    					"x": 40,
    					"y": 60
    				},
    				"Size": 
    				{
    					"w": 100,
    					"h": 20
    				},
    				"ControlName": ""
    			}
    		}
    	]
    }
    Reply With Quote Edit / Delete Windows 7 Show Events Agree Agree x 26Winner Winner x 6Friendly Friendly x 2 (list)

  23. Post #2583
    Follow me on github!
    benjojo's Avatar
    January 2009
    2,622 Posts
    Works on Opera mini too.
    Reply With Quote Edit / Delete United Kingdom Show Events Winner Winner x 4 (list)

  24. Post #2584
    T3hGamerDK's Avatar
    January 2011
    2,551 Posts
    Works on oprea mini too.
    That's great!
    Oh, and I can see from your picture that it also works on Opera Mobile.
    Reply With Quote Edit / Delete Windows XP Denmark Show Events Funny Funny x 12Late Late x 2Informative Informative x 1 (list)

  25. Post #2585
    Follow me on github!
    benjojo's Avatar
    January 2009
    2,622 Posts
    That's great!
    Oh, and I can see from your picture that it also works on Opera Mobile.
    Woops
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  26. Post #2586
    Okay so I'm gonna need someone to make the levels...



    If I couldn't get banned for it I'd post an I HAVE NO IDEA WHAT I'M DOING picture here, because it's true.

    Edited:

    If you want to help me out, here's the latest download: http://www.novaember.com/files/details/7/
    Reply With Quote Edit / Delete Windows 8 Netherlands Show Events

  27. Post #2587
    LITTLE PREB FAGGOT
    ollie's Avatar
    January 2012
    902 Posts


    Made A* pathfinder using c#. Don't know why it's not showing the shortest path so i'm trying to fix that.
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Funny Funny x 5Programming King Programming King x 2 (list)

  28. Post #2588
    If you've made something, please post it here or send it otherwise. My e-mail is <mynamehereonFacepunch>@gmail.com

    Edited:

    MY AUTOMERGE

    Edited:

    Would this be a nice time to make a thread?
    Reply With Quote Edit / Delete Windows 8 Netherlands Show Events Dumb Dumb x 3 (list)

  29. Post #2589
    I gave enough money to buy a soda.
    Funley's Avatar
    May 2010
    1,425 Posts
    So i got an awful terrain generating working. It randomly generates the map, removes unwanted water, unwanted grass and turns each block surrounded with water by one or more sides to sand. Generating a 32x32 or 64x64 map takes a few seconds, while a 128x128 or higher takes a minute or more. Apparently, removing the unwanted water and grass takes time.

    Edited:

    I just now realised i accidentally quoted Darkwater124
    Reply With Quote Edit / Delete Windows 7 Finland Show Events Funny Funny x 1 (list)

  30. Post #2590
    Nigey Nige's Avatar
    June 2010
    1,341 Posts
    If you've made something, please post it here or send it otherwise. My e-mail is <mynamehereonFacepunch>@gmail.com

    Edited:

    MY AUTOMERGE

    Edited:

    Would this be a nice time to make a thread?
    If you've got a few fun levels people can play through already, then yeah.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Informative Informative x 1 (list)

  31. Post #2591
    Map in a box's Avatar
    July 2009
    7,418 Posts
    works on my machine (TM)

    Use innerHTML instead of innerText. innerText isn't compatible on all browsers, iirc.

    Edited:

    I think it's because it isn't signed, but that may only affect installers.
    Uh what? What does signing an EXE have to do with an AV marking something as suspicious?(Which in the end it says it isn't).
    I think its just because I have a lot of inter process communication
    Reply With Quote Edit / Delete Windows XP United States Show Events Agree Agree x 1Informative Informative x 1 (list)

  32. Post #2592
    Person
    geel9's Avatar
    June 2008
    5,741 Posts
    Use innerHTML instead of innerText. innerText isn't compatible on all browsers, iirc. Edited: Uh what? What does signing an EXE have to do with an AV marking something as suspicious?(Which in the end it says it isn't). I think its just because I have a lot of inter process communication
    Because maybe an antivirus would mark an unsigned EXE as suspicious...?
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 7Funny Funny x 1Agree Agree x 1 (list)

  33. Post #2593
    www.bff-hab.de
    Dennab
    February 2009
    7,832 Posts
    I just thought up a very effective antivirus for those script-kiddie trojans:
    Decompile, and check for any email adresses and passwords saved in plain text
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Funny Funny x 8Late Late x 3Agree Agree x 2 (list)

  34. Post #2594
    Map in a box's Avatar
    July 2009
    7,418 Posts
    Because maybe an antivirus would mark an unsigned EXE as suspicious...?
    Uh then AVs would mark hundreds of EXEs suspicious. I don't think there is one game on steam thats "signed", including steam itself.
    Reply With Quote Edit / Delete Windows XP United States Show Events Dumb Dumb x 1Disagree Disagree x 1 (list)

  35. Post #2595
    Person
    geel9's Avatar
    June 2008
    5,741 Posts
    Uh then AVs would mark hundreds of EXEs suspicious. I don't think there is one game on steam thats "signed", including steam itself.
    I don't think you know what signing is.
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 4Optimistic Optimistic x 1Agree Agree x 1 (list)

  36. Post #2596
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    I just thought up a very effective antivirus for those script-kiddie trojans:
    Decompile, and check for any email adresses and passwords saved in plain text
    http://facepunch.com/threads/1166226/
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  37. Post #2597
    Gold Member

    March 2005
    3,028 Posts
    I don't think you know what signing is.
    Everybody knows what code signing is. That doesn't make it effective. Or useful.
    Reply With Quote Edit / Delete Windows 7 Show Events Agree Agree x 7Disagree Disagree x 1Funny Funny x 1 (list)

  38. Post #2598
    MrTilepy's Avatar
    July 2007
    981 Posts
    My Steam friends list is coming along nicely. It has been an enjoyable experience thus far.

    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Programming King Programming King x 5Informative Informative x 1 (list)

  39. Post #2599
    What do you use for those nice Steam apps?
    Reply With Quote Edit / Delete Netherlands Show Events

  40. Post #2600
    MrTilepy's Avatar
    July 2007
    981 Posts
    What do you use for those nice Steam apps?
    The Steam Web API?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Zing Zing x 1 (list)