[QUOTE=chimitos;40098931]Guys, what do you do when you've spent the last year writing a game engine, almost finish it, then realize that you don't know what type of game you want to build with it?[/QUOTE]
Release it under a permissive license and let someone else make something of it
[IMG]http://i.imgur.com/l25tJYU.png[/IMG]
woo UCS with loop protection and vaguely holistic path choices!
[QUOTE=sambooo;40098976]Release it under a permissive license and let someone else make something of it[/QUOTE]
I'd recommend the MPL.
[QUOTE=Richy19;40087906]Do any of you use any unittest library in C++? Im just wondering what a good one to use is (that is bsd/zlim/mit/x11 licensed)[/QUOTE]
I use CppUnit, but it's LGPL.
[QUOTE=Larikang;40100041]I found a list of programmers you should never ever attempt to collaborate with: [URL="http://amplicate.com/hate/git"]handy![/URL][/QUOTE]
I'm not on it, yay!
[QUOTE=Larikang;40100041]I found a list of programmers you should never ever attempt to collaborate with: [URL="http://amplicate.com/hate/git"]handy![/URL][/QUOTE]
[url=http://amplicate.com/hate/git/7318686-it-exists-i-honestly-havent-found-a-single-use/]"t exists. I honestly haven't found a single use case where I could do something I couldn't do in tortoiseSVN"[/url]
Local repositories..?
[editline]31st March 2013[/editline]
At least [url=http://amplicate.com/hate/git/2274921-i-think-some-sort-of-cognitive-abilities-are/]this guy[/url] acknowledges the true issue.
[editline]31st March 2013[/editline]
It just looks like all of these people change to git for no apparent reason and then have issues because git doesn't work like SVN
It's hard to separate the people who truly hate git from the people who just hate DVCS in general. If someone doesn't even know the difference between distributed and centralized VCS and that's why they hate git, then I definitely don't want to work with them. But if they know what they're talking about and they hate git because they think something like Mercurial is better, then I can respect that.
[IMG]http://i.imgur.com/tun27fb.png[/IMG]
Git made me poop myself when I first tried to use it. True story. :/
[QUOTE=false prophet;40102104]Git made me poop myself when I first tried to use it. True story. :/[/QUOTE]
[IMG]http://i.imgur.com/pkWJzo5.png[/IMG]
I found an interesting extension in Mercurial hate: [URL="http://hg-lab.logilab.org/doc/mutable-history/html/"]Safe Mutable History[/URL]
Evolve implements non-destructive mutable history that can be synced across repositories. I'm looking forward to it.
I decided to man up and write a hello world program for my VM. Actually, I wrote 3.
[code]
main:
call print "Hello World!"
[/code]
Or
[code]
main:
push "Hello World!"
call print
[/code]
Or
[code]
main:
push "Hello World!"
push print
call
[/code]
Gives you a bit of an idea on how the call instruction works...
I also started writing a [URL="http://redxdev.com/2013/03/using-shogun-part-1-your-first-script/"]series of tutorials[/URL] on using my VM. If someone would proofread them I'd be eternally grateful :D
My dad's been playing around with an AT Tiny and a 4x3 charliplexed LED array he built, but he was having trouble getting to the LEDs to light up in order. I fixed up the voltage and ground for each LED in the code and it worked like a charm. Then he was annoyed that the library he had for charliplexing could only control one LED at a time. I dove back into the code and now a few hours later it has scrolling text.
Today was a good day
Made a raytracer using SFML. Couldn't get reflections to work.
[img]http://i.imgur.com/ohSvjvP.png[/img]
[IMG]http://i.imgur.com/0FyYFT4.png[/IMG]
Dat raycasting.
Hey, somewhat new to game programming here (Using XNA) and I have a question regarding angles
I am following [url=http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series2D/Angle_to_Direction.php]this tutorial[/url] and I'm using his method of matrice transformation in order to find the direction of the rocket, but it was mentioned that I could also use Sine and Cosine to find the direction as well, so I did the math:
X = H * (Angle * cos (theta)) or X = H * (angle * Pi / 180) where H = the power
This is the code for the first one:
[code] rocketAngle = players(currentPlayer).Angle
Dim up As Vector2 = New Vector2(0, -1)
Dim rotMatrix As Matrix = Matrix.CreateRotationZ(rocketAngle)
rocketDirection = Vector2.Transform(up, rotMatrix)
rocketDirection *= players(currentPlayer).Power / 50.0F[/code]
And I am using this formula for the second X:
[code] Dim x As Double = players(currentPlayer).Power * (players(currentPlayer).Angle * Math.PI / 180)[/code]
[img]http://i.imgur.com/VEOZ23e.png[/img]
The first X: 0.8533217
The Second X: 0.76933 etc
Even though they are similar, shouldn't they be the exact same? What am I messing up here?
Multiplying by pi / 180 converts Angle to radians, it has nothing to do with cosine.
What kind of trig are you using? :v:
[QUOTE=ECrownofFire;40107016]Multiplying by pi / 180 converts Angle to radians, it has nothing to do with cosine.
What kind of trig are you using? :v:[/QUOTE]
I'm not even sure :v: it's been a very long time since I've used this math. XNA deals with everything in Radians which is why I'm converting it to Radians.
[editline]31st March 2013[/editline]
I am just trying to replicate the first set of codes using Trig.
I actually got it, thanks to boomer678.
I improved my old Mandelbrot fractal thing, this time with a fancy pants GUI.
[IMG]http://i120.photobucket.com/albums/o181/SamPerson12345/Mandelbrot.png[/IMG]
I also put in the normalized iteration count algorithm. (Thanks, Wikipedia)
NetBeans' GUI making thing is kind of annoying. It took me a while to figure out how to put my custom canvas class on the form. (Just had to put a regular one on the form, but in its creation code use the custom class, and cast it to use a custom method) I'm sure I could have just copied and pasted the old code, but I'm too lazy.
[QUOTE=SamPerson123;40107802]I improved my old Mandelbrot fractal thing, this time with a fancy pants GUI.
[IMG]http://i120.photobucket.com/albums/o181/SamPerson12345/Mandelbrot.png[/IMG]
I also put in the normalized iteration count algorithm. (Thanks, Wikipedia)
NetBeans' GUI making thing is kind of annoying. It took me a while to figure out how to put my custom canvas class on the form. (Just had to put a regular one on the form, but in it's creation code use the custom class, and cast it to use a custom method) I'm sure I could have just copied and pasted the old code, but I'm too lazy.[/QUOTE]
You can also add your custom class to the editors component selection. It will even do a proper preview in the WYSIWYG editor when you add it and everything.
Made a thing that generates random words by adding two existing words together because why not.
[img]http://i.imgur.com/Lz6ZAfO.png[/img]
Sportcut is the only word that makes sense
Make it recursive and see what kind of black tongue you have after 1000 generations
[QUOTE=ShaunOfTheLive;40100817]I use CppUnit, but it's LGPL.[/QUOTE]
I ended up using libunittest, its relativelly new but its a header only library that doesnt use macro's or anything like that and its mit license so all is cool
[QUOTE=DrLuckyLuke;40109098]Sportcut is the only word that makes sense[/QUOTE]
Iceoat makes some sense.
Sounds like some kind of frosted cereal. :v:
Sorry, you need to Log In to post a reply to this thread.