• Programming - WAYWO - March 2013
    1,001 replies, posted
[QUOTE=Richy19;39909003]We have to make a choise for our final year project by next week and I cant decide between "Make a unity based game" or rolling my own thing(making some sort of procedural planet) anyone have any opinions?[/QUOTE] Make something you know you'll get done and show people. Unity based game is the best option here. You can do tech demos in your free time because potential employers like that you have stuff that you've finished. Especially if you've worked in a team. For the tech demos, create a portfolio and make youtube videos of them.
3 Hours debugging a nil value, no luck.. Time to huddle up and cry in a cold shower. I give up.
[QUOTE=reevezy67;39909564]3 Hours debugging a nil value, no luck.. Time to huddle up and cry in a cold shower. I give up.[/QUOTE] Use the call stack and figure out why it's set to nil?
[QUOTE=reevezy67;39909564]3 Hours debugging a nil value, no luck.. Time to huddle up and cry in a cold shower. I give up.[/QUOTE] Fall back to the most universal debugging method that always brings results - comment out the entire program, and start re-adding blocks until bad behavior appears again. Alternatively start commenting out blocks until the bad behavior disappears - it will show what parts of code don't contain the mistake.
Woops, thought this was the Garry's Mod Lua forum for a moment. derp. Well, i'll try to be helpful anyway. [QUOTE=reevezy67;39909564]3 Hours debugging a nil value, no luck.. Time to huddle up and cry in a cold shower. I give up.[/QUOTE] Assuming you are using Lua, try this: [url]http://unknownworlds.com/decoda/[/url]
[QUOTE=BlackPhoenix;39910139]Fall back to the most universal debugging method that always brings results - comment out the entire program, and start re-adding blocks until bad behavior appears again. Alternatively start commenting out blocks until the bad behavior disappears - it will show what parts of code don't contain the mistake.[/QUOTE] I thought the universal debugging method was spamming stdout with every local variable after each line?
[QUOTE=Lexic;39910603]I thought the universal debugging method was spamming stdout with every local variable after each line?[/QUOTE] I think they both are. It depends on the situation and complexity of the code.
[QUOTE=AtomiCasd;39909532]Make something you know you'll get done and show people. Unity based game is the best option here. You can do tech demos in your free time because potential employers like that you have stuff that you've finished. Especially if you've worked in a team. For the tech demos, create a portfolio and make youtube videos of them.[/QUOTE] I know this is going to sound silly but, does anyone know who at valve I would need to contact in order to get permission to use some assets in a non-commercial game? The idea I have could be done with the alien swarm assets(im shit at the art side of gamedev) and the Uni would requireexplicit permission for me to use any external assets
[QUOTE=Lexic;39910603]I thought the universal debugging method was spamming stdout with every local variable after each line?[/QUOTE] No, that's the debugging method where you have no idea what you're doing. The universal debugging method is to use a debugger :) [QUOTE=Richy19;39911899]I know this is going to sound silly but, does anyone know who at valve I would need to contact in order to get permission to use some assets in a non-commercial game? The idea I have could be done with the alien swarm assets(im shit at the art side of gamedev) and the Uni would requireexplicit permission for me to use any external assets[/QUOTE] You need to ask the copyright owner.
[QUOTE=redx475;39910670]I think they both are. It depends on the situation and complexity of the code.[/QUOTE] You can't "spam stdout" when you are designing something mechanical, an electric circuit, or even a map in Hammer for Source Engine. But removing parts until problem disappears works for pretty much any creation.
[QUOTE=gparent;39911989]You need to ask the copyright owner.[/QUOTE] Yes but in this case that would be valve, I was justwondering (as people on facepunch oftern contact valve) if there would be anyone specific, or someone thats fairly fast in answering back?
Opinions on perl language?
[QUOTE=BlackPhoenix;39912115]You can't "spam stdout" when you are designing something mechanical, an electric circuit, or even a map in Hammer for Source Engine. But removing parts until problem disappears works for pretty much any creation.[/QUOTE] Well, I guess in those cases you would have an alternative to spamming stdout. Some microcontrollers have a debug out over serial, though I guess hammer there isn't really anything. Wait, you could create an entity in source that spams stdout when you put it in a map :P
[QUOTE=Relaxation;39912281]Opinions on perl language?[/QUOTE] A great shell scripting language. Not really useful in anything else, from what I can tell.
The correct term is bisection.
[QUOTE=Relaxation;39912281]Opinions on perl language?[/QUOTE] A great text-processing language. Seriously, once you use perl regex's you will never want to go back. It has a lot of quirks but they all exist for a reason and they make sense when you really learn them. One of my favorite languages.
hi hello i missed (some of) you guys shout out to lexic and richy and jawalt i got bored on a road trip and tried to learn android again this time with better results, so i rewrote my [url=https://play.google.com/store/apps/details?id=com.russellsoftworks.pipboywallpaper&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5ydXNzZWxsc29mdHdvcmtzLnBpcGJveXdhbGxwYXBlciJd]pipboy wallpaper[/url] and made it better with more themes and options and stuff. android dev is actually really surprisingly fun and smooth once you get the hang of it, planning on doing a midi-controller/sequencer app soon so i'll be posting pics of that heres some pics of the wallpaper for fun [t]https://lh3.ggpht.com/B6W8TQK_FYg-x0YKV1UyKW1p7LzDn7xZfAUOgxiolJVvm5281B6qD_Jsvo5Zu8JMcw[/t][t]https://lh3.ggpht.com/rnvwmS8ubx3XIqRZMuciG2xHJkj-zsNd5rCUmUi0z_EnnlZtnXkTducFw9iJK8t-rhc[/t][t]https://lh6.ggpht.com/RozcLifC_ydwRWctKIFBThDFigp8CYmWqjeGosS4yOKSz0R1FV-GU1ms2c3ECYAj2A[/t][t]https://lh3.ggpht.com/3b9-YTnWxlxB4zjVLEyit2OEuWQR7_w67NLqI3cBVKDYAocY05ypRpMVYlOmmLzE0Q[/t][t]https://lh4.ggpht.com/S75VTKZkuw3dvuMBvz48sdlDO-w271dBefNDR5Tw9e3qz8AFFwS_eCYkGB_MxSHRn3Sv[/t]
[QUOTE=BlackPhoenix;39912115]You can't "spam stdout" when you are designing something mechanical, an electric circuit, or even a map in Hammer for Source Engine. But removing parts until problem disappears works for pretty much any creation.[/QUOTE] I bet it doesn't work if you're carving something :v:
[QUOTE=Relaxation;39912281]Opinions on perl language?[/QUOTE] best
[QUOTE=ECrownofFire;39913778]I bet it doesn't work if you're carving something :v:[/QUOTE] Until someone makes a carving tool with a usb connection... Wait, wouldn't that be a USB cnc machine or something?
Ok but how about perl v ruby v python? Personally i like python the most.
You can hardly compare the three
Perl is great for taking some text and turning it into some different text. I wouldn't suggest using it for anything else though.
Just a few days left until submission, got rid of some major gameplay bugs today [IMG]http://i.imgur.com/2hmA4hl.png[/IMG]
[QUOTE=Kopimi;39913692]hi hello i missed (some of) you guys shout out to lexic and richy and jawalt i got bored on a road trip and tried to learn android again this time with better results, so i rewrote my [url=https://play.google.com/store/apps/details?id=com.russellsoftworks.pipboywallpaper&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5ydXNzZWxsc29mdHdvcmtzLnBpcGJveXdhbGxwYXBlciJd]pipboy wallpaper[/url] and made it better with more themes and options and stuff. android dev is actually really surprisingly fun and smooth once you get the hang of it, planning on doing a midi-controller/sequencer app soon so i'll be posting pics of that heres some pics of the wallpaper for fun [t]https://lh3.ggpht.com/B6W8TQK_FYg-x0YKV1UyKW1p7LzDn7xZfAUOgxiolJVvm5281B6qD_Jsvo5Zu8JMcw[/t][t]https://lh3.ggpht.com/rnvwmS8ubx3XIqRZMuciG2xHJkj-zsNd5rCUmUi0z_EnnlZtnXkTducFw9iJK8t-rhc[/t][t]https://lh6.ggpht.com/RozcLifC_ydwRWctKIFBThDFigp8CYmWqjeGosS4yOKSz0R1FV-GU1ms2c3ECYAj2A[/t][t]https://lh3.ggpht.com/3b9-YTnWxlxB4zjVLEyit2OEuWQR7_w67NLqI3cBVKDYAocY05ypRpMVYlOmmLzE0Q[/t][t]https://lh4.ggpht.com/S75VTKZkuw3dvuMBvz48sdlDO-w271dBefNDR5Tw9e3qz8AFFwS_eCYkGB_MxSHRn3Sv[/t][/QUOTE] If you want a bigger project, a full pip-boy home screen app would be pretty awesome.
Wrote a quick page on the way my VM's assembler handles certain operations and optimizations: [url]https://bitbucket.org/redxdev/shogun/wiki/Assembler%20Optimizations[/url] Might be a bit confusing, as I didn't read it over thoroughly before publishing (I really should get in the hang of doing so).
I feel slightly annoyed that this has never been mentioned before [url]http://www.bitsquid.se/[/url] Also they have some pretty cool stuff on their dev blog [url]http://bitsquid.blogspot.co.uk/[/url]
[img]http://filebeam.com/c66ffb7481b7f50711fe56f716219fc8.jpg[/img] [img]http://filebeam.com/834dced6380264f3d21f4e1989d8eb51.jpg[/img] I'm actually surprised .NET failed me this time... I mean... look at memory usage...
[QUOTE=cartman300;39916265][img]http://filebeam.com/c66ffb7481b7f50711fe56f716219fc8.jpg[/img] [img]http://filebeam.com/834dced6380264f3d21f4e1989d8eb51.jpg[/img] I'm actually surprised .NET failed me this time... I mean... look at memory usage...[/QUOTE] You seem to be starting Java with different -Xmx /-Xms parameters. In the first one you get a warning about it, but you don't in the second one.
Does anyone know of an y pograms that will take java source/class/jar files and generate a full class diagram from them? Possibly with the option to omit variables and functions from the diagram meaning you would just get a hierarchy diagram?
Sorry, you need to Log In to post a reply to this thread.