• What Are You Working On August 2012
    2,271 replies, posted
[vid]http://puu.sh/OGyy[/vid] [csharp]using System; using System.Diagnostics; using System.Reflection.Emit; namespace _ATH.Lexer.Imports { public class ProcessImport : _ATHImport { public static string Keyword { get { return "process"; } } public static void EmitIsAlive(ILGenerator ilGenerator, string name) // bool() { var getProcessesByName = ((Func<string, Process[]>)Process.GetProcessesByName).Method; ilGenerator.Emit(OpCodes.Ldstr, name); ilGenerator.EmitCall(OpCodes.Call, getProcessesByName, null); ilGenerator.Emit(OpCodes.Ldlen); } public static void EmitDie(ILGenerator ilGenerator, string name) // void() { var getProcessesByName = ((Func<string, Process[]>)Process.GetProcessesByName).Method; var killProcess = typeof(Process).GetMethod("Kill"); ilGenerator.Emit(OpCodes.Ldstr, name); ilGenerator.EmitCall(OpCodes.Call, getProcessesByName, null); ilGenerator.Emit(OpCodes.Ldc_I4_0); ilGenerator.Emit(OpCodes.Ldelem_Ref); ilGenerator.EmitCall(OpCodes.Callvirt, killProcess, null); } // Not used, ~ATH can't execute objects, as far as I know. public static void EmitExecute(ILGenerator ilGenerator, string name) // void() { var startProcess = ((Func<string, Process>)Process.Start).Method; ilGenerator.Emit(OpCodes.Ldstr, name); ilGenerator.EmitCall(OpCodes.Call, startProcess, null); ilGenerator.Emit(OpCodes.Pop); } } }[/csharp]
[IMG]http://i.imgur.com/azedS.png[/IMG] this is all I've done. my parents were right.
[video=youtube;PUc1VMz0xSA]http://www.youtube.com/watch?v=PUc1VMz0xSA[/video] I need some suggestions to improve this game so it can be worth $1 on Xbox Live :D
[QUOTE=Hack;37085348][video=youtube;PUc1VMz0xSA]http://www.youtube.com/watch?v=PUc1VMz0xSA[/video] I need some suggestions to improve this game so it can be worth $1 on Xbox Live :D[/QUOTE] Zoom the camera out.
I packed the ~ATH compiler into an executable: [URL="https://dl.dropbox.com/u/5013896/forum/Facepunch/MS%20Paint%20Adventures/v14/%7EATH.exe"]~ATH.exe[/URL] You can drop .~ATH files onto ~ATH to compile them to .exe, other files are ignored. "~ATH" -r "program.~ATH" on the command line runs program.~ATH as script instead. The only object is process, I'll try to implement some more after sleeping. Suggestions are welcome :smile: [editline]5th August 2012[/editline] [QUOTE=Hack;37085348][video=youtube;PUc1VMz0xSA]http://www.youtube.com/watch?v=PUc1VMz0xSA[/video] I need some suggestions to improve this game so it can be worth $1 on Xbox Live :D[/QUOTE] Add a slight flame trail to damaged ships and maybe a togglable cockpit view with centred aiming. (Move the turrets to the side if the shots are in front of the camera.)
[vid]http://puu.sh/OITB[/vid] Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.
[QUOTE=TM Gmod;37085911]<Space saver> Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.[/QUOTE] Is that going to be coming out on tablet ( with same device multiplayer ) It looks rather fun hahah.
[QUOTE=TM Gmod;37085911][vid]http://puu.sh/OITB[/vid] Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.[/QUOTE] not kavinsky's best
[QUOTE=Zombiedance;37086218]Is that going to be coming out on tablet ( with same device multiplayer ) It looks rather fun hahah.[/QUOTE] Yes, and thank you for saying so! :D
[QUOTE=TM Gmod;37085911] Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.[/QUOTE] Make tomorrow about picking complimentary colors to create a decent color scheme.
[QUOTE=TM Gmod;37085911]*JESUS FUCKING CHRIST!* Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.[/QUOTE] Is it necessary to have music in a video that begins the playback automatically? I spend 5 minutes searching through my tabs trying to find that the fuck was blasting though my headphones at full volume before I realized it was this.
[QUOTE=Jack Trades;37087794]Is it necessary to have music in a video that begins the playback automatically? I spend 5 minutes searching through my tabs trying to find that the fuck was blasting though my headphones at full volume before I realized it was this.[/QUOTE] In Chrome it should only play when you mouse over it.
Have Gameboy GBS music files' tag information reading through correctly now as well. [t]http://i.imgur.com/p9tG6.png[/t] It can also read SNES SPC music files too. Here's the source for any of those interested: [URL="https://github.com/lioncash/GameMusicInfoLib"]Source[/URL] Everything is doc-xml'd and explained so it should be easy to figure out what's going on in the source.
[QUOTE=TM Gmod;37087912]In Chrome it should only play when you mouse over it.[/QUOTE] Chrome is only used by 30% of all users.
Why would anyone use Firefox... this is 2012, not 2010!!
[QUOTE=ShaunOfTheLive;37087987]Why would anyone use Firefox... this is 2012, not 2010!![/QUOTE] Because it's less resource intensive, and in some areas can be faster than Chrome. At least, that's my experience running both on my Gentoo box.
[QUOTE=ShaunOfTheLive;37087987]Why would anyone use Firefox... this is 2012, not 2010!![/QUOTE] I don't want to start a flamewar so I'll just say that I've been using Firefox for 5 years now, if not more, and no other browser made me switch yet.
I like Chrome because Firefox on windows has a shit ton of memory leaks for me.
[QUOTE=T3hGamerDK;37088040]Because it's less resource intensive, and in some areas can be faster than Chrome[/QUOTE] Hahahahahahahahahahahahahaha [QUOTE=Jack Trades;37088045]I don't want to start a flamewar so I'll just say that I've been using Firefox for 5 years now, if not more, and no other browser made me switch yet.[/QUOTE] I've also used Firefox for around 5 years, and there's a browser that fixed all the problems I ever had with it: it's called Chrome [QUOTE=supersnail11;37088116]I like Chrome because Firefox on windows has a shit ton of memory leaks for me.[/QUOTE] See, this guy knows what's up.
Opera represent.
Yeah, Opera is decent. If Chrome disappeared for some reason, I'd probably switch to it. I use Opera Mini on my Android. For Firefox fanboys: do you realize that your precious Firefox is based on a 15 year old codebase, full of bloat like COM?
[QUOTE=TM Gmod;37085911][vid]http://puu.sh/OITB[/vid] Game's nearly finished, just need some sound effects and still waiting for my OST to be finished soon. Suggestions on how to make the AI smarter at predicting ball trajectories are welcome :P Today was mostly about making a pretty 3D GUI since the standard UI controls in Unity suck balls.[/QUOTE] That's looking good! In terms of the predicting where the ball is going, I'd do something like this: Using the distance between the bot and the ball, predict the time [I]t[/I] it will take to move to reach the ball. Now, you can assume the ball will be travelling in a straight line in that time, so simply project the ball ahead by it's current velocity multiplied by [I]t[/I], to get a point where it should be in the future. Simply make the bot move towards this point, and there you have it; a simple predicting AI. I don't know if this is what you're doing already, but if not then there's an idea! [editline]5th August 2012[/editline] Just so I'm not being [I]entirely[/I] useless and off-topic in this thread. :v:
[QUOTE=ShaunOfTheLive;37088136]Yeah, Opera is decent. If Chrome disappeared for some reason, I'd probably switch to it. I use Opera Mini on my Android. For Firefox fanboys: do you realize that your precious Firefox is based on a 15 year old codebase, full of bloat like COM?[/QUOTE] Call me when I can have good AdBlock and NoScript, and a vertical tab-bar in Chrome. Also, I have a bad tendency of having way too many tabs open, Chrome will eat memory like crazy with 50+ tabs, but Firefox stays at 500 MB. Also, [url=https://blog.mozilla.org/nnethercote/2012/07/19/firefox-15-plugs-the-add-on-leaks/]Firefox 15 fixed[/url] addons leaking memory, so v:v:v In other news, making Lua bindings for Source stuff is fun. [lua]gui.Overlay = gui.Create "Overlay" gui.Overlay.Visible = false binding.Add( KEY.Insert, function() gui.Overlay:Toggle() end )[/lua]
[QUOTE=ShaunOfTheLive;37088124] I've also used Firefox for around 5 years, and there's a browser that fixed all the problems I ever had with it: it's called Chrome.[/QUOTE] Do you mind dislodging that stick out of your ass, please? I haven't actually said anything bad about Chrome, other than that Firefox fulfills my needs better. There's no need to go full retard on me.
[QUOTE=ShaunOfTheLive;37088136]Yeah, Opera is decent. If Chrome disappeared for some reason, I'd probably switch to it. I use Opera Mini on my Android. For Firefox fanboys: do you realize that your precious Firefox is based on a 15 year old codebase, full of bloat like COM?[/QUOTE] Microsoft Windows uses such old codebase too. Why use it then?
[QUOTE=ShaunOfTheLive;37088136]For Firefox [B]fanboys[/B]: do you realize that your precious Firefox is based on a 15 year old codebase, full of bloat like COM?[/QUOTE] Projecting much?
Do we really need a browser war in here as well? How about we all use what we want to use and let other people use what they want to use? It's not like their choices affect you, and you don't need to try and make them switch to your choice. Live and let live, guys!
I like how WAYWO can have long arguments about pointless things (OGL vs DX, Firefox vs Chrome, i++ vs ++i) but whenever anyone brings up something that the rest of FP would argue for an entire thread about, no one gives a shit (ex: ponies)
Who cares, It's stupid not to use youtube for videos anyway.
SNIP shitty pageking sorry
Sorry, you need to Log In to post a reply to this thread.