[QUOTE=C:\;33563823]That's what I was trying to do before I asked, then this guy:
[img]http://puu.sh/9TAO[/img]
Posted that, and I smashed up a little program to help me with it!
[img]http://puu.sh/9TAW[/img]
And it actually works!
sort of!
Programming while not sleeping for 15 hours: It does not work very well :v:.[/QUOTE]
Well the new x and y should be the same since it's a 45 degree angle, but it could still be correct if the angle is in radians instead of degrees. Try putting in 0,785 as angle.
[QUOTE=Darwin226;33564185]Well the new x and y should be the same since it's a 45 degree angle, but it could still be correct if the angle is in radians instead of degrees. Try putting in 0,785 as angle.[/QUOTE]
[img]http://puu.sh/9TMW[/img]
i'll just implement (radian/math.pi)*180
edit: Holy shit, my code in my love2d thing is a complete clusterfuck. I may start again :v:.
[QUOTE=Darwin226;33563949]It's a good thing you hang on to those in your head since both are wrong.
X is cos and y is sin. Also in atan2 it's usually the other way around (though that's not
guaranteed)[/QUOTE]
If you use x = sin(t) and y = cos(t), positive rotation is clockwise and zero direction is towards positive Y. If atan2 takes the arguments in the order (y, x), with such a system you need to give them in the order atan2(x, y) to get the correct angle.
It's not wrong; it's self-consistent.
Went ahead and implemented WebKit.NET into my project, thought it would be a nice simple way to browse an ftp server.
Doesn't support ftp.
[QUOTE=ThePuska;33564591]If you use x = sin(t) and y = cos(t), positive rotation is clockwise and zero direction is towards positive Y. If atan2 takes the arguments in the order (y, x), with such a system you need to give them in the order atan2(x, y) to get the correct angle.
It's not wrong; it's self-consistent.[/QUOTE]
Good point. Sorry for the attitude.
I still think it shouldn't be used since right is almost always 0 and positive rotation is almost always CCW. That's what you'll find in most guides on the internet and it's the most compatible way of doing it.
I made a game: [url]http://176.31.156.226:3000/[/url]
[img]http://i.imgur.com/UTRsG.png[/img]
I'm currently working on a small experiment in XNA and no matter what I do, MediaPlayer.GetVisualizationData(vdata); is returning all 0s.
Have no idea why this is happening, I'm working for Windows and IsVisualizationEnabled is true.
[QUOTE=swift and shift;33564783]I made a game: [url]http://176.31.156.226:3000/[/url]
[img]http://i.imgur.com/UTRsG.png[/img][/QUOTE]
[img]http://i.imgur.com/3EeM8.png[/img]
Yep.
[QUOTE=reevezy67;33564679]Went ahead and implemented WebKit.NET into my project, thought it would be a nice simple way to browse an ftp server.
Doesn't support ftp.[/QUOTE]
Because HTML rendering engines also double as FTP clients. :rolleyes:
[QUOTE=Jookia;33564942]Because HTML rendering engines also double as FTP clients. :rolleyes:[/QUOTE]
Could've sworn that was a recent addition :v:
So someone posted it on /v/:
[QUOTE][IMG]http://puu.sh/9U3l[/IMG][/QUOTE]
[QUOTE=Jookia;33564942]Because HTML rendering engines also double as FTP clients. :rolleyes:[/QUOTE]
Yeah I didn't exactly think that one through, found GeckoFX which works great though.
How do you move around in that car game?
[QUOTE=Mr.T;33565655]How do you move around in that car game?[/QUOTE]
The network lag is terrible, it takes minutes to even spawn properly, it can take forever before you can even move (by the way, arrow keys)
How wide exactly is the concept of a "derivative work"?
I've been reading through the GPLv2'd C code of [url=http://wolf3dredux.sourceforge.net/]wolf3dredux[/url] to find out how Wolfenstein3D's binary data files are structured, so I can write the loaders for my C++ project.
So in effect, I am not using his code, but I am using his algorithms. Does this mean I have to slather the GPL all over my project?
I have already credited him and plan to open source my code, but I'd prefer to do so under a less insane licence, such as the MIT one.
[editline]4th December 2011[/editline]
Oh, and I'm working on a [url=http://www.shikadi.net/moddingwiki/Carmack_compression]Carmack expander[/url], but sadly that doesn't really lend itself well to pictures.
[QUOTE=Hruhf;33564859]I'm currently working on a small experiment in XNA and no matter what I do, MediaPlayer.GetVisualizationData(vdata); is returning all 0s.
Have no idea why this is happening, I'm working for Windows and IsVisualizationEnabled is true.[/QUOTE]
Try setting "IsVisualizationData" in the "Initialize" Part of the code.
Does anybody know any plugins for Visual Studio 2010 that lets me customise the c++ IDE alot more than it is possible through the options menu? Small inconsistencies such as this annoy me alot:
[img]http://i1110.photobucket.com/albums/h456/capsup/Screenshot-2011-12-04_174935.png[/img]
I want that public: line indented aswell, but I haven't been able to find out how anywhere. I would really love if it was possible to do the same formatting that Eclipse allows. Does anybody happen to know how?
Heyo, first time posting here and first time posting in forever here on Facepunch, Loving everyone's work, brilliant stuff.
Thought I'd just quickly share what I'm currently working on and just get some kind of feedback than me just staring at the screen.
Working on my 2D Top-down Sandbox RPG where basically anything and everything is dynamic, ever changing world and a few more things.
Language: C++, Interfacing with OpenGL through SDL.
So far I'm currently working on world generation and game world simulation systems that should be done in a few weeks or so, perhaps less depending on life workload.
[media]http://www.youtube.com/watch?v=cftUexon3a4[/media]
@amc Ah, cheers! Didn't work earlier, hope it works now, Haha, right, can't be https has to be http
Let me know what you guys think, and do excuse the graphics, I'm a programmer not an artist.
Laters!
-- Joxno
[QUOTE=Fubb_2;33567114][media]http://www.youtube.com/watch?v=cftUexon3a4[/media][/QUOTE]
[editline]4th December 2011[/editline]
[noparse][media]http://www.youtube.com/watch?v=cftUexon3a4[/media][/noparse]
[editline]4th December 2011[/editline]
The good folks at Google Code have reset my project limit so I could work on some new stuff. My question is, are you guys okay with having the fpapi on Google Code, or would you rather see it on GitHub?
I feel a bit more pressure for having it placed on GitHub simply because a lot more people seem to be into git here, and that GitHub's presence is a little more appreciated.
[editline]4th December 2011[/editline]
Looks like GitHub is very helpful for those who are not experienced with git, too.
Best WAYWO Yet <3
Sorry about my terrible posts earlier, I was so fucking tired :v:.
Gran sent me an update this morning:
[img]http://www.peniscorp.com/stuff/AdministradorCWindowssystem32cmd.exe-2011-12-04_19.26.10.png[/img]
and I'm working on a few variations of the Facepunch Lua API logo:
[t]http://i.imgur.com/ZgpLs.png[/t]
[QUOTE=amcfaggot;33568075]Gran sent me an update this morning:
[img]http://www.peniscorp.com/stuff/AdministradorCWindowssystem32cmd.exe-2011-12-04_19.26.10.png[/img]
and I'm working on a few variations of the Facepunch Lua API logo:
[t]http://i.imgur.com/ZgpLs.png[/t][/QUOTE]
You know Garry's just going change the theme slightly to add the next overused HTML5 effect and this'll break..
[QUOTE=amcfaggot;33568075]
[t]http://i.imgur.com/ZgpLs.png[/t][/QUOTE]
IMO, put this in the eye hole.
[IMG]http://www.lua.org/images/lua.gif[/IMG]
[QUOTE=Dotmister;33568120]You know Garry's just going change the theme slightly to add the next overused HTML5 effect and this'll break..[/QUOTE]
The entire forums are mapped onto a WebGL rotating five-dimensional hypercube.
In time, Facepunchers master n-dimensional travel and become omnipresent guardians of the universe.
[QUOTE=Dotmister;33568120]You know Garry's just going change the theme slightly to add the next overused HTML5 effect and this'll break..[/QUOTE]
We're aware of this, unfortunately there are cases where we can't do anything about that, pattern or DOM. One example of this would be nested elements inside of a parsed target element.
[editline]4th December 2011[/editline]
[QUOTE=ROBO_DONUT;33568176]The entire forums are mapped onto a WebGL rotating five-dimensional hypercube.[/QUOTE]
Don't give garry ideas, now
-snip i'm late-
[t]http://i.imgur.com/aI733.png[/t]
yo wtf photoslop
[editline]4th December 2011[/editline]
[IMG]http://i.imgur.com/5Cvdr.png[/IMG] [img]http://www.facepunch.com/fp/ratings/tick.png[/img]
[IMG]http://i.imgur.com/WqYM5.png[/IMG] [img]http://www.facepunch.com/fp/ratings/cross.png[/img]
[IMG]http://i.imgur.com/vo4ls.png[/IMG] [img]http://www.facepunch.com/fp/ratings/zing.png[/img]
They all suck [img]http://www.facepunch.com/fp/ratings/winner.png[/img]
cast ur vots pls
[editline]4th December 2011[/editline]
Changed funny vote to zing due to previous post being funny by 6 ratings
My brother is fucking wanking in the bath.
All I can hear is splashsplashsplashsplashsplash
i bang on the floorboard, it stops for a few seconds
walk awa-splashsplashsplashsplashsplash
its a real turn off
[highlight](User was banned for this post ("you're not working on your brother wanking" - garry))[/highlight]
[QUOTE=C:\;33569248]My brother is fucking wanking in the bath.
All I can hear is splashsplashsplashsplashsplash
i bang on the floorboard, it stops for a few seconds
walk awa-splashsplashsplashsplashsplash
its a real turn off[/QUOTE]
Might as well join him
Sorry, you need to Log In to post a reply to this thread.