[QUOTE=Philly c;30567866]I cannot bear programs that shit files, folders and settings all over your computer.[/QUOTE]
So everything?
[QUOTE=ichiman94;30567836]What about if the registry gets corrupted?[/QUOTE]
That's like saying 'don't save to the hard drive, it might explode violently one day, and you don't want that kind of data loss'.
Also, why would registry get corrupted?
[editline][/editline]
Explain the disagrees.
The registry does get corrupted.
[QUOTE=esalaka;30568269]The registry does get corrupted.[/QUOTE]
How? I've never seen it.
[QUOTE=DeadKiller987;30568290]How? I've never seen it.[/QUOTE]
Then you're lucky my friend.
Here's a little platformer physics library I'm working on.
Box2D was way too complex for most of my project, this is gonna be AABB only, fast and simple to use.
[media]http://www.youtube.com/watch?v=aQ5UeaYzff4[/media]
I made an application that allocates a large amounts of memory until it runs out and throws an out of memory exception and I noticed something in the task manager.
[img]http://i55.tinypic.com/20ab1fr.png[/img]
Look at how the memory usage after I close the application is less then what it was before the application started. Why is that?
[QUOTE=Darwin226;30568791]I made an application that allocates a large amounts of memory until it runs out and throws an out of memory exception and I noticed something in the task manager.
[img]http://i55.tinypic.com/20ab1fr.png[/img]
Look at how the memory usage after I close the application is less then what it was before the application started. Why is that?[/QUOTE]
Windows also does dynamic memory allocation
It probably free'd some up for your app to use
For anyone who was interested in the last thread (v18), I just updated [url=http://www.inkysprite.co.uk/mvc/]Minecraft Version Changer[/url] to v.18 :D
The [url=http://www.facepunch.com/threads/1098290-Minecraft-Version-Changer?p=30568577&viewfull=1#post30568577]Full Post[/url] can be seen [url=http://www.facepunch.com/threads/1098290-Minecraft-Version-Changer?p=30568577&viewfull=1#post30568577]here[/url].
[img]http://i.imgur.com/NSu3X.jpg[/img]
Also, this is awesomely Pro.. :D
[QUOTE=Torrunt;30558054]Made a Enemy Location Indicator thing for my HUD in my Top Down Shooter, pretty easy stuff. I also modified the shotgun so it's more like a shotgun; it originally just shot 2 bullets now it shoots a bunch of small 'bullets' at random speeds and offsets.
[IMG]http://i.imgur.com/vOcHU.gif[/IMG][/QUOTE]
[QUOTE=Torrunt;30558054]Made a Enemy Location Indicator thing for my HUD in my Top Down Shooter, pretty easy stuff. I also modified the shotgun so it's more like a shotgun; it originally just shot 2 bullets now it shoots a bunch of small 'bullets' at random speeds and offsets.
[IMG]http://i.imgur.com/vOcHU.gif[/IMG][/QUOTE]
Can I play that when it's done? :v:
Flash makes stuff pretty easy honestly.
I don't get it :saddowns:
[cpp]int mbrot_iterate(uint32_t *zre, uint32_t *zim, uint32_t *cre, uint32_t *cim)
{
double zr = 4.0 * (double)(*zre) / (double)(UINT32_MAX) - 2.0;
double zi = 4.0 * (double)(*zim) / (double)(UINT32_MAX) - 2.0;
double cr = 4.0 * (double)(*cre) / (double)(UINT32_MAX) - 2.0;
double ci = 4.0 * (double)(*cim) / (double)(UINT32_MAX) - 2.0;
double rn = zr * zr - zi * zi + cr;
double in = 2.0 * zr * zi + ci;
if ((rn < -2.0) || (in < -2.0) || (rn > 2.0) || (in > 2.0))
{
return 0;
}
else
{
*zre = (uint32_t)((double)UINT32_MAX * (2.0 + rn) / 4.0);
*zim = (uint32_t)((double)UINT32_MAX * (2.0 + in) / 4.0);
return 1;
}
}[/cpp]
Draws a pretty mandelbrot.
[img]http://img94.imageshack.us/img94/8296/mbrot.png[/img]
[cpp]int mbrot_iterate(uint32_t *zre, uint32_t *zim, uint32_t *cre, uint32_t *cim)
{
uint64_t resq = (uint64_t)*zre * (uint64_t)*zre;
uint64_t imsq = (uint64_t)*zim * (uint64_t)*zim;
uint64_t sum = (uint64_t)*zre + (uint64_t)*zim;
uint64_t mul = (uint64_t)*zre * (uint64_t)*zim;
uint64_t a;
uint64_t b;
uint64_t c;
uint64_t d;
int64_t re;
int64_t im;
// 4*(re^2 + im^2)/max
// Check for integer overflow
if (resq > UINT64_MAX - imsq)
{
a = 4 * ((resq / (uint64_t)UINT32_MAX) + (imsq / (uint64_t)UINT32_MAX));
}
else
{
a = 4 * ((resq + imsq) / (uint64_t)UINT32_MAX);
}
// 4*(2*re*im)/max
// Check for integer overflow
if (mul > 0x000FFFFFFFFFFFF)
{
d = 8 * (mul / (uint64_t)UINT32_MAX);
}
else
{
d = (8 * mul) / (uint64_t)UINT32_MAX;
}
// 4*(re + im)
b = 4 * sum;
// 2 * max
c = 2 * (uint64_t)UINT32_MAX;
// z's new re
re = a - b + c + (int64_t)*cre;
// z's new im
im = d - b + c + (int64_t)*cim;
// If it's out of bounds, it's escaped
if ((re < 0) || (im < 0) || (re > (int64_t)UINT32_MAX) || (im > (int64_t)UINT32_MAX))
{
return 0;
}
else
{
*zre = (uint32_t)re;
*zim = (uint32_t)im;
return 1;
}
}[/cpp]
Draws a fugly diamond.
They should be doing the same thing!
Basic friction, basic gravity. Now vertical velocity is set to 0 when an object is on top of a static object.
[media]http://www.youtube.com/watch?v=1y4O5OuFABs[/media]
It's slower than regular Box2D :(
Is it possible to get information from a minecraft server without needing a minecraft user?
Just stuff like the amount of players it allows and stuff like that?
Should also say that this would be over the internet so not locally
I wonder if vapor can do group chats. I really want to setup a bot which allows me to link a steam group chat and irc so I can chat with an irc while ingame.
[QUOTE=high;30569975]I wonder if vapor can do group chats. I really want to setup a bot which allows me to link a steam group chat and irc so I can chat with an irc while ingame.[/QUOTE]
Why do you need group chats, you'll only be messaging the one "bot" that relays it to the IRC server.
Migrating some of the tedious work from my old code-base to the new one:
[img]http://dl.dropbox.com/u/27714141/h264.png[/img]
Already got basic H264 framing up in less than 30 minutes, this is going pretty fast. :smug:
I wrote the first chapter of my "Book"
I don't think it's [i]too[/i] bad, but it could be improved.
[url]http://dl.dropbox.com/u/16759793/Horror.pdf[/url]
If you think I should continue vote Agree, otherwise vote Optimistic...
Finished reading the tutorials at [url=www.learncpp.com]learncpp.com[/url].
First time using SFML in C++, haven't had to use any documentation yet. Feels awesome.
[img]http://img844.imageshack.us/img844/2302/sfmlinc20110620001226.png[/img]
[QUOTE=Loli;30570591]I wrote the first chapter of my "Book"
I don't think it's [i]too[/i] bad, but it could be improved.
[url]http://dl.dropbox.com/u/16759793/Horror.pdf[/url]
If you think I should continue vote Agree, otherwise vote Optimistic...[/QUOTE]
It's good. I like the wording and the stuff you say makes sense.
Only 2 things, the font is too large, and you seem to repeat yourself often.
Yeah, I had the house to myself for a few hours earlier. I don't like writing when other people are near me. I'll work some more on it if it gets some good response.
Awesome, I got rated optimistic by a guy named "Icantread49"
[QUOTE=TVC;30570217]Why do you need group chats, you'll only be messaging the one "bot" that relays it to the IRC server.[/QUOTE]
So multiple people can use it. I rather not have the bot sending messages to tons of users every time someone talks in the irc.
Implemented spatial hashing.
2500 objects driven by a made-from-scratch physics engine = 60FPS.
In your face Box2D. :D
[media]http://www.youtube.com/watch?v=4wv7qfFH4GE[/media]
Learn about spatial hashing: [url]http://conkerjo.wordpress.com/2009/06/13/spatial-hashing-implementation-for-fast-2d-collisions/[/url]
[QUOTE=SupahVee;30571286]Implemented spatial hashing.
2500 objects driven by a made-from-scratch physics engine = 60FPS.
In your face Box2D. :D
[/QUOTE]
impressive, but don't forget box2d is a [i]lot[/i] more complex than integrating positions and setting vertical velocity to 0 based on an AABB check
[QUOTE=Loli;30571251][img]http://img810.imageshack.us/img810/1323/13800184.png[/img]
I'll stop :saddowns:[/QUOTE]
It's because this is not programming not because your book is bad
[QUOTE=Nohj;30558751]What happened to that mario portal thing?[/QUOTE]
Has there been no word on this since two versions ago or did I miss it?
[QUOTE=CawldFussuian;30571367]It's because this is not programming not because your book is bad[/QUOTE]
I'm assuming it was because the book was shit...
Admittedly it may not appeal to everyone here, but I hardly think I'm entitled to write a book about a game mechanic. And really, when you think about it I don't have very much industry knowledge/practice and in all fairness I'm just a kid. No huge developer will take advice from a kid. I was just doing it as a summer project. But it appears that I'm going to be developing a game this summer.
[QUOTE=icantread49;30571338]impressive, but don't forget box2d is a [i]lot[/i] more complex than integrating positions and setting vertical velocity to 0 based on an AABB check[/QUOTE]
No shit, I was just kidding :P
(I also believe that Box2D can handle 2500 entities at 60FPS as well)
It's like 4 pages and this Is fp nobody even took the time to read it
Sorry, you need to Log In to post a reply to this thread.