• What are you working on?
    5,004 replies, posted
using midpoint circle algorithm to get tiles in radius around a point [url]https://en.wikipedia.org/wiki/Midpoint_circle_algorithm[/url]
[QUOTE=boomer678;50441767]Also, Will a vac ban affect my status to upload a greenlight game?[/QUOTE] It might be possible, but it sure doesn't look good.
[QUOTE=xThaWolfx;50442412]I can confirm this, I've also had a project in Unity3D which needed to perform a LOT of operations with vectors, garbage collection was a bitch until I started reusing a vector.[/QUOTE] This is nonsense. Vectors are structs which are value types. They exist on the stack. They cause no heap allocations and are not garbage collected. "new Vector3" looks like it's allocating an object but actually it's not, it's functionally equivalent to Vector3.zero.
[QUOTE=thomasfn;50443890]This is nonsense. Vectors are structs which are value types. They exist on the stack. They cause no heap allocations and are not garbage collected. "new Vector3" looks like it's allocating an object but actually it's not, it's functionally equivalent to Vector3.zero.[/QUOTE] Does that mean you can't have an array of values as a member of a class?
[QUOTE=freakyy;50443753]It might be possible, but it sure doesn't look good.[/QUOTE] From 6 and a half years ago for a modded mw2? I don't think it will matter. I'm just wondering if it will allow me to upload to green-light. I think it should be fine
[QUOTE=Darwin226;50444185]Does that mean you can't have an array of values as a member of a class?[/QUOTE] The array itself is allocated separately, so the class would just contain a reference to an array (or null).
[QUOTE=Fourier;50439298]Btw millions of instances is not really a problems..[/QUOTE] A couple million sure. Half a billion, not so much. [img]http://i.imgur.com/6PFrARj.png[/img][img]http://i.imgur.com/2xTG4OE.png[/img] There are tips and tricks to getting the GC to behave how you want it to, as well. Recently wrote a high-performance .NET app that would use several gigs of RAM between GC collections. After some tweaks to aide the GC, it now doesn't go above 28MB and runs orders of magnitude faster. I'm considering starting some form of GitHub blog about the thing's I've learned at work... Mostly .NET related, especially performance stuff. I know people have done it using GH Issues, but I feel like folders with raw MarkDown might be the way to go... Or should I use GitHub pages? Suggestions? [editline]2nd June 2016[/editline] Solid state drives do wonders for page file, by the way
[QUOTE=DrTaxi;50414100]I actually have content for once. Been making a proxy library that transparently adds subtitle support to any (32-bit Windows) game that uses Bink 2 for video playback (...in the way that the engine that I care about uses it, anyway). Rename bink2w32.dll to real_bink2w32.dll, drop in my files and BAM, when the game plays a foo.bk2 and there's a foo.bk2.ass in a "subs" subfolder, that video is subtitled. [t]http://i.imgur.com/WI5Q1Kp.jpg[/t][/QUOTE] In case anyone's interested, I cleaned this up a little and [url=https://github.com/drdaxxy/bink2-libass]published it[/url]. Well, cleaned up the source, anyway. Binary release is full of MinGW DLLs because I can't be arsed building libass properly right now. Sorry :v:
I accidentally reversed reality while reworking my cloth system [vid]http://puu.sh/peHc5.webm[/vid]
Right, I might get back into web dev, but I really like strong typing (e.g. method typing) - what languages/frameworks would you recommend, and how can I get started with it?
[QUOTE=Ac!dL3ak;50446181]Right, I might get back into web dev, but I really like strong typing (e.g. method typing) - what languages/frameworks would you recommend, and how can I get started with it?[/QUOTE] C# with ASP.NET is strongly typed. I find it pretty pleasant to work in. There is also the added bonus of using vs's debugger to troubleshoot your code.
Learning Linear Algebra on my own. I figure it's like learning a programming language, so I should be able to pick it up pretty easily
[QUOTE=Topgamer7;50446398]C# with ASP.NET is strongly typed. I find it pretty pleasant to work in. There is also the added bonus of using vs's debugger to troubleshoot your code.[/QUOTE] C# also is a nicer markup language than HTML, with a little work up front: [code]using MarkUpGrade.FontAwesome; using MarkUpGrade.Nodes; using Portfolio.Templates; namespace Portfolio.Pages { static class BackgroundTest { [Page("Background Test.html")] static void WriteBackgroundTest(AddableTextWriter wr) { wr += new Page(Language.German) { new Header { }, new Body { new Background() { { "style", "background: orange;" }, new Div { { "class", "center background-inlay red" }, new FA(FA.Cog, FA.Spin), new FA(FA.Cog, FA.Spin) } }, new TopBar { "Test" }, new H1 { { "class", "center" }, "(my name),", "Softwareentwickler", new FA(FA.Cog, FA.Spin) }, new BottomBar { "Test" }, new Footer(Language.German) } }; } } }[/code] Same with CSS (to some extent. They're roughly on par here since CSS is shorter but C# prevents typos): [code]using MarkUpGrade.Nodes; using Trendsetter; using Trendsetter.Declarations; using Trendsetter.MarkUpGrade; using Trendsetter.Selectors; namespace Portfolio.CascadingStyleSheets { static class Style { [Page("Background Test.css")] static void WriteStyle(AddableTextWriter wr) { wr += new Rule(new IdSelector("top-bar")) { Position.Fixed, Background.Black, Color.Orange, Width.Full }; wr += new Rule(new IdSelector("bottom-bar")) { Position.Fixed, Background.Black, Color.Orange, Width.Full, Top.Full, Transform.TranslateY("-100%") }; wr += new Rule(Selectors.OfTag<Body>()) { Position.Fixed, Width.Full, Height.Full, TransformStyle.Preserve3D, Margin.Zero }; wr += new Rule(new IdSelector("background")) { Position.Fixed, new ZIndex(-1000), Width.Full, Height.Full, Overflow.Hidden }; wr += new Rule(new ClassSelector("background-inlay")) { new Opacity(.25f), new FontSize("50vmin") }; wr += new Rule(new ClassSelector("white")) { new Color("white") }; wr += new Rule(new ClassSelector("red")) { new Color("red") }; wr += new Rule(new ClassSelector("center")) { Display.InlineBlock, Position.Relative, Top.Half, Left.Half, Transform.Translate("-50%", "-50%") }; } } }[/code] Templating is available implicitly. I posted this here before, but I didn't get around to make the actual website so both [I]MarkUpGrade[/I] and [I]Trendsetter[/I] are still in a proof of concept stage.
Yeah that looks fucking atrocious to be honest
Just got [url=https://itunes.apple.com/us/app/practiceit/id1118984457?ls=1&mt=8]my first app[/url] on the App Store. Unofficial facepunch app next maybe? Is the curse lifted?
[QUOTE=MatheusMCardoso;50446777]Just got [url=https://itunes.apple.com/us/app/practiceit/id1118984457?ls=1&mt=8]my first app[/url] on the App Store. Unofficial facepunch app next maybe? Is the curse lifted?[/QUOTE] Didn't someone already make a facepunch app? It is doing pretty good last I saw too.
[QUOTE=TH3_L33T;50446797]Didn't someone already make a facepunch app? It is doing pretty good last I saw too.[/QUOTE] For iOS? I can only find a Rust server finding app :v: But maybe that's because you have to pay 99$ every year to keep your shit there. Kinda sucks.
[QUOTE=geel9;50446725]Yeah that looks fucking atrocious to be honest[/QUOTE] Regarding the CSS one I agree. The HTML one is shorter than Razor and does more compile time checking afaict though.
Hi WAYWO! Last time I was here was last year, after being essentially boo-ed off the stage digitally. I've been working on a project I'm really proud of and I would like some input. [url]https://www.youtube.com/watch?v=WAZRL7JK2Q0[/url] It's a 2D platformer, you use those torches to get temporary abilities to kill baddies and solve puzzles. So far I've got one ability programmed but I think my games pretty cool. Hopefully I can return to waywo in a way that doesn't make everyone hate me again :/
I really need some help here. I'm making an app for the FP2.0 and I'm trying to add support for the new icons. Problem is, I cannot for the love of god, decompress the UTF16 string, in Java. I even went with, doing it on my PHP server, where there is a LZString library, but that won't decompress the icon string either. I have no clue how to get any further with this. [QUOTE=TH3_L33T;50446797]Didn't someone already make a facepunch app? It is doing pretty good last I saw too.[/QUOTE] I did one for Android, called Facepunch Droid
[QUOTE=tisseman890;50447193]I really need some help here. I'm making an app for the FP2.0 and I'm trying to add support for the new icons. Problem is, I cannot for the love of god, decompress the UTF16 string, in Java. I even went with, doing it on my PHP server, where there is a LZString library, but that won't decompress the icon string either. I have no clue how to get any further with this. I did one for Android, called Facepunch Droid[/QUOTE] [url=https://github.com/diogoduailibe/lzstring4j]Have you looked into this?[/url]
[QUOTE=geel9;50447260][url=https://github.com/diogoduailibe/lzstring4j]Have you looked into this?[/url][/QUOTE] Yup, gives me a string out of bounds error whenever I try to uncompress the string.
[QUOTE=tisseman890;50447278]Yup, gives me a string out of bounds error whenever I try to uncompress the string.[/QUOTE] Are you doing decompressFromUTF16 or just decompress?
[QUOTE=geel9;50447284]Are you doing decompressFromUTF16 or just decompress?[/QUOTE] decompressFromUTF16
[video=youtube;iEtiyn_5Lt8]https://www.youtube.com/watch?v=iEtiyn_5Lt8[/video] some shitty low-quality footage of my shitty internet forum simulator, [URL="bulletingame.tumblr.com"]Bulletin[/URL]
[QUOTE=dylanb5123;50447173]Hi WAYWO! Last time I was here was last year, after being essentially boo-ed off the stage digitally. I've been working on a project I'm really proud of and I would like some input. [url]https://www.youtube.com/watch?v=WAZRL7JK2Q0[/url] It's a 2D platformer, you use those torches to get temporary abilities to kill baddies and solve puzzles. So far I've got one ability programmed but I think my games pretty cool. Hopefully I can return to waywo in a way that doesn't make everyone hate me again :/[/QUOTE] I like it, dude! Reminds me a lot of Commander Keen mixed with Lode Runner.
[QUOTE=tisseman890;50447297]decompressFromUTF16[/QUOTE] If someone could make a PHP/nodejs script, that could create an image from the code, that would help me so much.
[QUOTE=proboardslol;50446491]Learning Linear Algebra on my own. I figure it's like learning a programming language, so I should be able to pick it up pretty easily[/QUOTE] LA is fucking sweet, just be prepared to suffer at least a year before you pick it all up. Nice link, which explains some concepts :). [url]http://acko.net/files/fullfrontal/fullfrontal/webglmath/online.html[/url]
[QUOTE=dylanb5123;50447173]Hi WAYWO! Last time I was here was last year, after being essentially boo-ed off the stage digitally. I've been working on a project I'm really proud of and I would like some input. [url]https://www.youtube.com/watch?v=WAZRL7JK2Q0[/url] It's a 2D platformer, you use those torches to get temporary abilities to kill baddies and solve puzzles. So far I've got one ability programmed but I think my games pretty cool. Hopefully I can return to waywo in a way that doesn't make everyone hate me again :/[/QUOTE] I really like some of the mechanics you have going on there, it looks fun! I'd play it.
[QUOTE=dylanb5123;50447173]Hi WAYWO! Last time I was here was last year, after being essentially boo-ed off the stage digitally. I've been working on a project I'm really proud of and I would like some input. [url]https://www.youtube.com/watch?v=WAZRL7JK2Q0[/url] It's a 2D platformer, you use those torches to get temporary abilities to kill baddies and solve puzzles. So far I've got one ability programmed but I think my games pretty cool. Hopefully I can return to waywo in a way that doesn't make everyone hate me again :/[/QUOTE] Dude! So nice, I love the animations and the water. Looks fun.
Sorry, you need to Log In to post a reply to this thread.