• What are you working on? February 2012
    3,497 replies, posted
  • [QUOTE=ZenX2;34798026]I've been doing some research (aka playing ADOM/Nethack :v:) to help me with writing the inventory, attributes, etc. in my roguelike.[/QUOTE] dear god tell me you're not going to be basing an inventory system based on Nethacks. [editline]21st February 2012[/editline] ADOM's is relatively incredible. Rip that off, if anything. :v:
  • I've spent the last week or so trying to figure out how one could implement a Levenshtein Distance spin-off that used the physical location of the keys on the keyboard to determine the difference, instead of the insert/replace/delete operations that his uses. The advantage of this is that it takes slip-ups or accidental keypresses(or misses) into account. And it seems I've succeeded! [img]http://localhostr.com/files/9IwAHRJ/DWindowssystem32cmd.exe.png[/img]
  • Today is the last day of my awesome programming job because I have to do community service for the next 9 months (every male in Austria has the choice between community service and military service). I'll miss it dearly. :(
  • Should've chosen military service and gone for the air force... FREE FLYING LESSONS <3 (Dropping bombs on children, not so cool but still... FREE FLYING LESSONS) also my face when we have a 1 hour lecture in which we learn how to forge emails and scrape login details from packets and abuse ftp... THE WHOLE FUCKING INTERNET IS SO INSECURE!
  • [QUOTE=VGS_Devs;34801062]Should've chosen military service and gone for the air force... FREE FLYING LESSONS <3 (Dropping bombs on children, not so cool but still... FREE FLYING LESSONS) also my face when we have a 1 hour lecture in which we learn how to forge emails and scrape login details from packets and abuse ftp... THE WHOLE FUCKING INTERNET IS SO INSECURE![/QUOTE] I've chosen military and it was horrible, so many stupid people in one room, it was like the internet in real life Oo doing community work now as well (BTW I live in Switzerland not austria but they have more or less the same system)
  • [QUOTE=Nighley;34801091]I've chosen military and it was horrible, so many stupid people in one room, it was like the internet in real life Oo doing community work now as well (BTW I live in Switzerland not austria but they have more or less the same system)[/QUOTE] The military is not so bad as long as you realise its a system.. And like any computer system there are rules you can manipulate, quite a good programmer environment. Just make sure you end up in an officers environment, being a grunt isn't quite the same.
  • [img]http://i.imgur.com/QrwxT.png[/img] Trying to rig up an inventory that'd work well for the iOS and Android versions of my MMO.. The series of boxes is a GuiControlSlidebox, using my awe-inspiring GUI system, so you can slide it up and down to reveal 16 panels total. If you click on one, it gets highlighted, if you click it again after highlight, a dialog comes up that'll say shit like equip, drop, info, or whatever. [img]http://i.imgur.com/1wXfv.png[/img] I think this design sucks. Any better ideas?
  • [QUOTE=VGS_Devs;34801062]Should've chosen military service and gone for the air force... FREE FLYING LESSONS <3 (Dropping bombs on children, not so cool but still... FREE FLYING LESSONS)[/QUOTE] You need perfect eyesight and perfect health to be even considered as a pilot and you still have to do basic training which is horrible and stupid. Working for the Red Cross and helping people in need sounds much better than killing people in need.
  • So I have been having a problem with this, I have an object in 3d space and I need it to look at the mouse, no problem. The only problem I have right now, is that the object only has the right rotation when the camera is on the same height, when I move the camera around it doesn't work right anymore. Does anyone have an idea how I can write some code to compensate for the position of the camera? This is the code I am using now. It uses a raycast from the camera to see where the mouse is in world space. [code] ray = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hit; if (Physics.Raycast(ray, out hit, 1000f)) { radians = Mathf.Atan2(hit.point.x,hit.point.y); degrees = Mathf.Round((radians * / Mathf.PI)); object.localEulerRotation = degrees; } [/code]
  • This post is responding to the pictures of the inventory. Make the buttons slightly less like desktop buttons, bigger, and then tweak the display for the inventory, unless your on a tablet or the game requires it fill the entire screen.
  • Oh my, looking at the unit details for the unit I mentioned earlier, it turns out that the introductory session is not only in C, but is also in Linux. I am impressed considering this is only an introductory unit common to all engineering students. I guess I'm lucky I don't have to sit through something like visual basic or scratch.
  • [QUOTE=Hruhf;34801973]Oh my, looking at the unit details for the unit I mentioned earlier, it turns out that the introductory session is not only in C, but is also in Linux. I am impressed considering this is only an introductory unit common to all engineering students. I guess I'm lucky I don't have to sit through something like visual basic or scratch.[/QUOTE] No college worth its weight in dirt would start with scratch...I was teaching that to 4th graders last year....
  • A little sprucing up this morning. [URL]http://www.half-life2sandbox.com/wiki/List_of_libraries_in_Half-Life_2:_Sandbox[/URL] And last night I wrote all of these: [URL]http://www.half-life2sandbox.com/wiki/List_of_hooks_in_Half-Life_2:_Sandbox#Panel[/URL] [editline]21st February 2012[/editline] Which means you can create your own custom VGUI-based panels now. And it does this cool namespace thing, too: let's say you register a new panel class called "MyAwesomePanelClass". You create it by using: [lua]... m_awsmPanel = vgui.MyAwesomePanelClass( self:GetParent(), "Awesome Panel Class" ) ... [/lua]
  • [QUOTE=Bang Train;34802528]No college worth its weight in dirt would start with scratch...I was teaching that to 4th graders last year....[/QUOTE] I'm just surprised, considering that this isn't really a programming course.
  • I only come in here to look at the pretty pictures. [editline]21st February 2012[/editline] Post more pretty pictures.
  • [QUOTE=Naarkie;34798240]Are you making something like Space Station 13? It looks like it a bit.[/QUOTE] yeah [QUOTE=Naelstrom;34798537]Is it bad that I'm trying to make a Space Station 13 clone when I've never actually played it? (Doesn't work on Linux, runs like shit on Windows.) I just really like the idea. I would love some input and advice on it, hell I'd love it if someone worked on it with me. [url=http://j.mp/xpiSSc]Would you be so kind?[/url][/QUOTE] Cool, I wish I knew about this before. My engine is pretty mature now though so I think I'll carry on with mine :v: [QUOTE=Seiteki;34799460]Grid-based movement for starters. Needs a semi-realistic atmosphere system, to allow all sorts of hijinks. Basically, go ask the people in the SS13 thread here what elements are needed for a game like that.[/QUOTE] I've been designing mine based on community feedback, people most certainly don't want grid based movement.
  • [QUOTE=Hruhf;34802853]I'm just surprised, considering that this isn't really a programming course.[/QUOTE] You said engineering? C is the only language that it makes sense to teach engineers, since you're usually working with control systems, embedded systems, signal processors, etc.
  • [QUOTE=ElTacoLad;34803017]I only come in here to look at the pretty pictures. [editline]21st February 2012[/editline] Post more pretty pictures.[/QUOTE] I can't work under this kind of pressure.
  • [QUOTE=ElTacoLad;34803017]I only come in here to look at the pretty pictures. [editline]21st February 2012[/editline] Post more pretty pictures.[/QUOTE] [IMG]http://img13.imageshack.us/img13/116/listoflibrariesinhalfli.png[/IMG] [img]http://img818.imageshack.us/img818/6851/listofhooksinhalflife2s.png[/img]
  • [QUOTE=ElTacoLad;34803017]I only come in here to look at the pretty pictures. [editline]21st February 2012[/editline] Post more pretty pictures.[/QUOTE] I saw your post and spent a little less than 15 minutes on this: [t]http://i.imgur.com/nxx8O.png[/t] [editline].[/editline] [t]http://cdn.tldr.so/4extXD.jpg[/t] I have no idea what I'm doing
  • [QUOTE=amcfaggot;34802686]A little sprucing up this morning. [URL]http://www.half-life2sandbox.com/wiki/List_of_libraries_in_Half-Life_2:_Sandbox[/URL] And last night I wrote all of these: [URL]http://www.half-life2sandbox.com/wiki/List_of_hooks_in_Half-Life_2:_Sandbox#Panel[/URL][/QUOTE] I cringed when I realised you're not using [url=http://semantic-mediawiki.org/]Semantic MediaWiki[/url]. If you need examples, check out the LÖVE wiki. It's used liberally.
  • [QUOTE=ralle105;34803688]Art.[/QUOTE] My shit-artist friend (some may remember [url=http://www.facepunch.com/threads/1044832?p=27280793&viewfull=1#post27280793]my post[/url] about him) drew something similar and then shoved it in my face saying I MADE ART over and over (metaphorically).
  • Which OpenGL Superbible edition is the best? Also what other books do you guys recommend for me to read regarding programming in general, are there any that are a MUST READ?
  • Maurice wins this year's Taco Cup with his brilliant depiction of love and beauty.
  • [QUOTE=ElTacoLad;34803846]Maurice wins this year's Taco Cup with his brilliant depiction of love and beauty.[/QUOTE] You see, each line represents a person. Though we may decide early for a direction in life, we can change it at any time and go in a complete different direction. Some go further before their color fades, others don't get very far from where they started. The lines we cross are other people we meet, and how often we cross each other says how close we got in our lives. We're all very close at birth, but separate as time goes by. Some staying close and others wandering lonelier paths.
  • I've ported the "door computer" from my old engine to this one. I have no idea what algorithm it uses as I didn't write it and the code is a mess :v: [img]http://img.meteornet.net/uploads/92k8f958/ss.png[/img] Now the engine will only draw tiles of the zone the controlled entity is in, plus any zones that have been linked. All you have to do is call TileMap::zonesLinked(a, b) to check the cache. Next up is to tie this into my networking code for cheap and nasty PVS calculation.
  • [QUOTE=Maurice;34803517]I have no idea what I'm doing[/QUOTE] i do [IMG]http://i.imgur.com/oin01.png[/IMG] just made this right now unrotated and popped up: [IMG]http://i.imgur.com/Tr5fv.png[/IMG] [editline]21st February 2012[/editline] [QUOTE=thelinx;34803553]I cringed when I realised you're not using [URL="http://semantic-mediawiki.org/"]Semantic MediaWiki[/URL]. If you need examples, check out the LÖVE wiki. It's used liberally.[/QUOTE] Not interested. But thank you.