• What are you working on? v15
    5,001 replies, posted
Yeah, even though I'm a hardcore C++ fan, I would recommend C# or Java to any new programmers who were feeling put off. C++ is awesome, but it doesn't have the same rate of satisfaction when you're a noob that C# and Java have. They're also both very similar syntax wise to C++, and they both have large and excellent standard libraries. Lua IMO isn't really worth learning as much as C++, Java or C#.
[QUOTE=Shrapnel :3;27975832]Try C# it's quite nice for a first language and you can make some interesting things just using console.[/QUOTE] I suppose I could try. I have Visual C# installed anyway. Could you give me an example of 'some interesting things just using console' ? Much appreciated. Also Xerios3, your extensions seem really useful, I just installed both. :smile:
Which would you guys reccomend for a beginner program I like Java because I like how I can incorperate it into Minecraft, Bukkit, and some other things I like to do But I heard C# is more efficient and which would get me better start to programming
[QUOTE=DeadKiller987;27975786]A question: How did you guys keep motivated, while learning your first steps of programming? I'm learning lua and I just keep getting bored.[/QUOTE] Just imagine that you can learn the powers of god, the ability to create whatever you desire and destroy, the ability to make artificial lives that follow your own rules in your own world, the ability to freaking design your own FUCKING UNIVERSE. Just feels freaking amazing, and just by thinking about it makes me want to program more =)
I need to normalize a Vector in XNA (Vector3) but it never comes out quite exact (the lenght is always around 0.99999994). I don't know, it's probably close enough, but it still bugs me.
Spent three hours implementing a quadtree that broke up the background image of my game into tiles, and then rendered only the tiles closest to the player so as to be efficient or something. Realized it was ridiculously inefficient to do it like that and reverted to more efficient way I was doing it before. MLIA
[QUOTE=rosthouse;27976121]I need to normalize a Vector in XNA (Vector3) but it never comes out quite exact (the lenght is always around 0.99999994). I don't know, it's probably close enough, but it still bugs me.[/QUOTE] Dat floating point precision.
[QUOTE=DeadKiller987;27975972]I suppose I could try. I have Visual C# installed anyway. Could you give me an example of 'some interesting things just using console' ? Much appreciated. Also Xerios3, your extensions seem really useful, I just installed both. :smile:[/QUOTE] Frankly, you wont do anything mega flashy in console for a while. Start out small, like something that asks you how old you are and puts out if you can watch a movie. This shouldn't take much more than 30 mins assuming you have a basic idea about programming. Eventually you can use Console.SetCursorPosition and Console.Write to make animations. I made a 2D minecraft clone a few weeks after starting C#.
Final computing project nearly done: [img]http://dl.dropbox.com/u/3715122/BooleanProject.PNG[/img] Any comments on the GUI? I don't like it very much but I dont know how to make it better. Oops just noticed the font clipping on inputs. Fixed.
Anyone remember textcraft? I've decided to release the (not so flawless) source. Feel free to point out every flaw and that kind of stuff. :v: You can use the code however you wish(although don't get your hopes up). [url]http://filesmelt.com/dl/TextCraft2.rar[/url]
[QUOTE=Dj-J3;27977412]Anyone remember textcraft? I've decided to release the (not so flawless) source. Feel free to point out every flaw and that kind of stuff. :v: You can use the code however you wish(although don't get your hopes up). [url]http://filesmelt.com/dl/TextCraft2.rar[/url][/QUOTE] Ooh. Was that the one with the item combination and the custom item file format? Because this could save me some time...
[QUOTE=BlkDucky;27977543]Ooh. Was that the one with the item combination and the custom item file format? Because this could save me some time...[/QUOTE] Indeed it was. Item combination does have its flaws though that i never fixed. For example, if a recipe require multiple of the same item, and you don't have enough, it will still work if you have 1 of that item. (Makes sense?) Also, i removed multiplayer, as there was no real purpose or effort put into it.
[QUOTE=Dj-J3;27977603]Indeed it was. Item combination does have its flaws though that i never fixed. For example, if a recipe require multiple of the same item, and you don't have enough, it will still work if you have 1 of that item. (Makes sense?) Also, i removed multiplayer, as there was no real purpose or effort put into it.[/QUOTE] That's okay. I just wanted to see how you did it. I'm pretty sure it's in a different language than I plan to use anyway (haven't downloaded it yet). It's C#, isn't it?
Is there a specific type of software anyone would like? Something to perform a specific task, I'm really bored and I'm looking for something to program to kill a few hours..any suggestions? No terrain generators please, I just did it. [img_thumb]http://anyhub.net/file/1Ln1-terraingen.png[/img_thumb]
[QUOTE=conman420;27977160]Final computing project nearly done: [img_thumb]http://dl.dropbox.com/u/3715122/BooleanProject.PNG[/img_thumb] Any comments on the GUI? I don't like it very much but I dont know how to make it better. Oops just noticed the font clipping on inputs. Fixed.[/QUOTE] Rated artistic because I'm not quite 100% sure what's going on
[QUOTE=HiredK;27974869]BSP Loading with HD lightmaps using a glsl env shader. I'm currently adding the bullet physics lib to my engine to have a good collision system. [img_thumb]http://i52.tinypic.com/23mphmx.png[/img_thumb] [img_thumb]http://i52.tinypic.com/20s7z13.png[/img_thumb][/QUOTE] Just so that I get it right, are you loading the .bsp file format directly? (Because you would need to decompile it somehow first) Or are you loading the vmf's from hammer?
[img]http://i903.photobucket.com/albums/ac236/TommyC225/cptobv.png?t=1297380421[/img] Might call it "captain obvious.exe"
[QUOTE=conman420;27977160]Final computing project nearly done: [img_thumb]http://dl.dropbox.com/u/3715122/BooleanProject.PNG[/img_thumb] Any comments on the GUI? I don't like it very much but I dont know how to make it better. Oops just noticed the font clipping on inputs. Fixed.[/QUOTE] Overall it looks really good! Does it allow more than 3 inputs? If you want to clean up the gui a bit, I'd suggest generally making things take up less space. In particular, the T/F status and the table take up a lot more space than necessary. The input statuses could be changed to simple buttons, similar to the I/O row above. You could also make truth table generation and simplification automatic, which would both make it more intuitive (data displayed is always relevant) and remove the respective buttons. Are you planning on releasing it? [editline]10th February 2011[/editline] [QUOTE=Layley;27978560]Rated artistic because I'm not quite 100% sure what's going on[/QUOTE] Boolean algebra is a method of dealing with logical inputs, that is, everything is 1 or 0. For example, in C++: [cpp](A && B) || (!A && C)[/cpp] is equivalent to (in boolean algebra): [code]A . B + !A . C[/code] It results in some weird rules, like x + (y . z) = (x + y) . (x + z) and x + 1 = 1, but it's not too bad. It also allows for major simplification [url=http://en.wikipedia.org/wiki/Kmap]using k-maps[/url].
[QUOTE=s0ul0r;27978675]Just so that I get it right, are you loading the .bsp file format directly? (Because you would need to decompile it somehow first) Or are you loading the vmf's from hammer?[/QUOTE] Why would you need to decompile it back to a vmf? bsp-maps are just another format for maps, just like vmf, just different specifications.
[QUOTE=s0ul0r;27978675]Just so that I get it right, are you loading the .bsp file format directly? (Because you would need to decompile it somehow first) [/QUOTE] What gave you that idea?
[QUOTE=layla;27981278]What gave you that idea?[/QUOTE] Only because I opened up some random bsp map I loaded from fpsbanana, opened it with a text editor and didn't see any vertecies written down or so as in an obj file. That's why I thought .bsp files had to be decompiled just to read it out, which obviously isn't the case. Has the quake bsp format f.e. directly readable model information? [editline]11th February 2011[/editline] Nvm, it's this, right? [url]http://www.mralligator.com/q3/[/url]
[QUOTE=s0ul0r;27981913]Only because I opened up some random bsp map I loaded from fpsbanana, opened it with a text editor and didn't see any vertecies written down or so as in an obj file. That's why I thought .bsp files had to be decompiled just to read it out, which obviously isn't the case. Has the quake bsp format f.e. directly readable model information?[/QUOTE] It's called a binary file.
[QUOTE=Dj-J3;27977603] Also, i removed multiplayer, as there was no real purpose or effort put into it.[/QUOTE] I coded the multiplayer :frown:
[QUOTE=Z_guy;27981973]It's called a binary file.[/QUOTE] .... instead of giving me some pointers to that format, since I found like 3 different .bsp file formats, you just say that it's the binary space partitioning one, and I still don't know how one would read it out into polygons -.- [img]http://27.media.tumblr.com/tumblr_ksp9fxm6wn1qao43ho1_400.png[/img]
[QUOTE=s0ul0r;27982196].... instead of giving me some pointers to that format, since I found like 3 different .bsp file formats, you just say that it's the binary space partitioning one, and I still don't know how one would read it out into polygons -.- [img_thumb]http://27.media.tumblr.com/tumblr_ksp9fxm6wn1qao43ho1_400.png[/img_thumb][/QUOTE] No, he's saying it's a binary format.
[QUOTE=s0ul0r;27982196].... instead of giving me some pointers to that format, since I found like 3 different .bsp file formats, you just say that it's the binary space partitioning one, and I still don't know how one would read it out into polygons -.- [img_thumb]http://27.media.tumblr.com/tumblr_ksp9fxm6wn1qao43ho1_400.png[/img_thumb][/QUOTE] :what:
[QUOTE=s0ul0r;27978675]Just so that I get it right, are you loading the .bsp file format directly? (Because you would need to decompile it somehow first) Or are you loading the vmf's from hammer?[/QUOTE] A bsp is a compiled vmf.
I implemented Eller's maze algorithm in my maze generator. It took forever to get rid of all of the bugs. So hard to find! [code] XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XX XX XX XX XXXXXXXXXX XX XXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XX XX XX XX XX XXXXXXXXXX XXXXXXXXXX XX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XXXXXX XX XX XX XX XXXXXX XXXXXX XXXXXX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XXXXXX XXXXXXXXXXXXXX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XXXXXX XX XXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XX XX XXXXXXXXXX XXXXXXXXXXXXXX XX XX XXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XXXXXX XX XX XX XX XXXXXX XX XX XXXXXXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XXXXXX XXXXXX XX XX XX XX XX XXXXXX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XX XXXXXX XXXXXXXXXX XX XX XXXXXXXXXXXXXX XXXXXX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXX XX XX XX XXXXXXXXXX XX XXXXXXXXXX XX XX XXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXX XX XX XX XX XXXXXXXXXX XX XXXXXX XX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXX XX XX XXXXXX XXXXXXXXXX XX XX XX XXXXXXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XXXXXXXXXXXXXX XX XX XXXXXX XX XXXXXXXXXXXXXX XXXXXX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXX XXXXXXXXXXXXXX XX XXXXXXXXXX XXXXXX XX XX XXXXXX XXXXXXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXX XX XX XX XX XX XX XXXXXXXXXX XX XXXXXXXXXX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XX XX XXXXXX XX XX XX XXXXXX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXX XX XX XX XXXXXX XX XXXXXX XX XXXXXXXXXX XX XX XXXXXX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXX XX XX XXXXXX XXXXXXXXXXXXXX XXXXXX XXXXXX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [/code] My code is messy like nobody's business though.
[QUOTE=s0ul0r;27982196].... instead of giving me some pointers to that format, since I found like 3 different .bsp file formats, you just say that it's the binary space partitioning one, and I still don't know how one would read it out into polygons -.- [img_thumb]http://27.media.tumblr.com/tumblr_ksp9fxm6wn1qao43ho1_400.png[/img_thumb][/QUOTE] A binary format means that the data is stored as 1's and 0's instead of as plain text, which means that you won't be able to open the file up in a text editor and read out the data. Try opening it in a hex editor instead, you still won't be able to read the data though, unless you know exactly how the file format works.
I love how I get rated dumb just because noone gives me proper information.... [editline]11th February 2011[/editline] [QUOTE=Z_guy;27982820]A binary format means that the data is stored as 1's and 0's instead of as plain text, which means that you won't be able to open the file up in a text editor and read out the data. Try opening it in a hex editor instead, you still won't be able to read the data though, unless you know exactly how the file format works.[/QUOTE] I just wanted to know how the map data is stored in the bsp format and all I get are dumb ratings and useless answers..... Some file format and header information f.e......
Sorry, you need to Log In to post a reply to this thread.