• What are you working on? v16
    5,004 replies, posted
[QUOTE=Dotmister;28973723]understanding how to deal with strings is next on my list[/QUOTE] [url=https://github.com/SergeB/Cucumber/blob/master/src/Tier0/kstdio.c]<shameless plug>[/url], even if you are using BIOS.
[QUOTE=q3k;28973798][url=https://github.com/SergeB/Cucumber/blob/master/src/Tier0/kstdio.c]<shameless plug>[/url], even if you are using BIOS.[/QUOTE] I'm sure that's good, however I'm yet to use C in this and I don't have a clue how C / Assembly interact if I'm perfectly honest.
[QUOTE=Tamschi;28972799]It's a lot more common for software on Windows to register themselves somewhere as explorer plugins or to do this: [img_thumb]http://dl.dropbox.com/u/5013896/forum/Facepunch/Programming%20WAYWO/Systray.png[/img_thumb] Five of these have no autorun setting.[/QUOTE] IS THAT WINDOWS VISTA!!!!!!!!!!!!!!!!!!!! /eyes bleed, get that shit off your computer! [highlight](User was banned for this post ("Reply that contributes nothing to the thread." - SteveUK))[/highlight]
[QUOTE=Dotmister;28973975]I'm sure that's good, however I'm yet to use C in this and I don't have a clue how C / Assembly interact if I'm perfectly honest.[/QUOTE] afaik you just prefix all your C functions with an underscore and then call them as normal.
[QUOTE=LouisD;28974040]IS THAT WINDOWS VISTA!!!!!!!!!!!!!!!!!!!! /eyes bleed, get that shit off your computer![/QUOTE] Hi who are you and what are you doing in WAYWO? As far as I can tell, your post doesn't even begin to relate to programming. ... Ironically, nor does mine.
Hey, I finally decided to make a player sprite, but I don't know whether it was a good choice. This is what I'm using now: [img]http://i53.tinypic.com/2d3pma.jpg[/img] And this is what I used before (Snap shotted from my youtube video, so the quality got a little worse) [img]http://i54.tinypic.com/2pt6icm.jpg[/img] So, blockish people or circles? I personally like the little block people because they seem to give more life to the game. But then again, learning from my Beat Tapper graphic designing, I'm "Color blind". D: Rate Agree for block people (first pic), Disagree for circle people (second pic), or maybe make a suggestion or give me your own sprite. =D
And neither was his post, this conversation goes back a few pages to "Why isn't Linux a widely used desktop operating system." Windows vista is not a platform you want to be using to do anything, its slow and prohibitive.. What am I doing.. I'm looking at what people are working on... suprisingly what am I working on? Procedural terrain generator... very very early alpha work (grass packing sucks, no detail textures etc) [img]http://cubicintellect.com/dump/images/grasssprites4.png[/img]
[QUOTE=LouisD;28974159]And neither was his post, this conversation goes back a few pages to "Why isn't Linux a widely used desktop operating system." Windows vista is not a platform you want to be using to do anything, its slow and prohibitive.. What am I doing.. I'm looking at what people are working on... suprisingly[/QUOTE] Windows Vista is really only an improper OS because Longhorn was never meant to be; It's essentially a test version of W7 fixed to be a releasable product, which results in things like W7 proper taking up less memory (Superfetch or w/e it was does not count.) and being more polished in general. [editline]4th April 2011[/editline] At least IIRC Microsoft was supposed to release W7 but they had a semi-working product in the form of Longhorn and since seven was taking too long, they worked on that instead.
[QUOTE=Dotmister;28973975]I'm sure that's good, however I'm yet to use C in this and I don't have a clue how C / Assembly interact if I'm perfectly honest.[/QUOTE] [code]; Assembler (nasm) global wtfassembler extern wtfc wtfassembler: mov eax, 0xDEADBEEF ret start: push arg2 push arg1 call wtfc // C Code (gcc) unsigned int wtfassembler(void); // or if using C++... // extern "C" unsigned int wtfassembler(void); void wtfc(int a, int b) { // ... } void whatever(void) { wtfassembler(); }[/code] As when it comes to linking, use a linker script that will put .text, .data and .rodata in the places you want... Also, don't forget to set up a stack if you haven't already.
[QUOTE=esalaka;28974247]Windows Vista is really only an improper OS because Longhorn was never meant to be; It's essentially a test version of W7 fixed to be a releasable product, which results in things like W7 proper taking up less memory (Superfetch or w/e it was does not count.) and being more polished in general. [editline]4th April 2011[/editline] At least IIRC Microsoft was supposed to release W7 but they had a semi-working product in the form of Longhorn and since seven was taking too long, they worked on that instead.[/QUOTE] No. Longhorn's kernel was originally based on the XP SP1 codebase which they had started working on before XP was even released. It was originally meant to be a minor OS release before blackcomb for release in late 2003. In 2004 they started a "trustworthy computing" initiative which culminated in the release of XP SP2 and a lot of the stuff was back-ported to the Longhorn platform, which took ages. After the release of XP SP2 they scrapped everything they had done and moved it all over to the Windows Server codebase which they considered more secure. Because the port took so long, a lot of the stuff they promised got abandoned so they could release on some sort of schedule and it went beta in 2005 and released in 2006, 3 years late.
[QUOTE=xAustechx;28974146] [img_thumb]http://i53.tinypic.com/2d3pma.jpg[/img_thumb] [/QUOTE] [img]http://img824.imageshack.us/img824/7760/pistolw.png[/img] Snap!
[QUOTE=Maya2008;28973712]C++ coding project. Rigid body physics simulation. Sweep & prune broad phase collision detection technique using a hash table. 512 spheres used. Time is O(n), where n is the number of object in the scene, oppose to O(n^3) with naive method, checking each and every object. [media]http://www.youtube.com/watch?v=_uznn2HLHfc[/media][/QUOTE] Checking every object naively is O(n^2) unless you're naive to the point of mental retardation.
[QUOTE=Richy19;28974377][img_thumb]http://img824.imageshack.us/img824/7760/pistolw.png[/img_thumb] Snap![/QUOTE] Holy shit. D: I'm really sorry, I swear I wasn't copying you. >.< Is it okay with you if I can continue using my player sprite, even if it looks like yours? :o
I just finished writing a thing that creates a sprite with animations and source rectangles and all that from a single xml file :buddy: This creates an instance of my DynSprite class in my top down shooter: [code]<sprite file="game/sprites/player.png" pos="1,1"> <anim name="" speed="1"> <img origin="16,16" ss="32,32" anim="0,0"></img> </anim> <anim name="aimingsmall" speed="1"> <img origin="16,16" ss="32,32" anim="32,0"></img> </anim> <anim name="aiminglarge" speed="1"> <img origin="16,16" ss="32,32" anim="64,0"></img> </anim> <anim name="dead" speed="1"> <img origin="16,16" ss="32,32" anim="96,0"></img> </anim> </sprite>[/code]
[QUOTE=xAustechx;28974901]Holy shit. D: I'm really sorry, I swear I wasn't copying you. >.< Is it okay with you if I can continue using my player sprite, even if it looks like yours? :o[/QUOTE] It's a square with beveled edges, hardly the pinnacle of artistic innovation. Why even bother asking?
I see there are no xml tags :saddowns:
[QUOTE=xAustechx;28974901]Holy shit. D: I'm really sorry, I swear I wasn't copying you. >.< Is it okay with you if I can continue using my player sprite, even if it looks like yours? :o[/QUOTE] Use those sprites and I will sue your ass... Na im kidding, of course you can, it not like I own rounded square sprites :P
[QUOTE=Dotmister;28973975]I'm sure that's good, however I'm yet to use C in this and I don't have a clue how C / Assembly interact if I'm perfectly honest.[/QUOTE] I dont know if it will be of any use to you but i found [url]http://wiki.osdev.org/Main_Page[/url] to be useful when i started to look at Assembly/OS development
[QUOTE=Jallen;28974937]It's a square with beveled edges, hardly the pinnacle of artistic innovation. Why even bother asking?[/QUOTE] Because didn't want it to seem like I was copying. Also if you look at richy's post there could of been a chance that my ass would of been sued. Luckily he didn't own the rounded square sprites so I'm safe.
Added: Maps, Entities, and Scenery. I'm using scenery as opposed to tiles because I believe they are plenty more free and offer much more unique terrain, I'll add a separate collision map later. [Lua] Map.Name = "Debug Map" Map.Description = "Used to help debug everything" -- string SourceImage, int x, int y, int width, int height, int subX, int subY, int subWidth, int subHeight, int Angle Map:Add(Scenery("test", 25, 125, 320, 320, 0, 0, 32, 32, 10)) Map:Add(Scenery("test", 25, 125, 50, 50, 0, 0, 32, 32, 45)) Map:Add(Scenery("test", 300, 300, 200, 200, 0, 0, 32, 32, 70)) Map:Add(Scenery("test", 600, 400, 100, 100, 0, 0, 32, 32, 5)) [/Lua] [img]http://i54.tinypic.com/29yimbs.png[/img]
Its so annoying when you're trying to use a physics engine (farseer) and it doesn't do the main thing its supposed to do... make things collide. Though in all probability its something retarded i'm doing than a fault with farseer itself... :v:
[img]http://gyazo.com/b3fcfee4ff2323d4a6093fb090a53956.png[/img] You dig for gold. Those oddly toned brown blocks explode and hurt you. That very oddly toned block (that I painfully, shamelessly and slowly pixelized from the Half-Life battery item) gives you fuel and that mine obviously doesn't explode when you touch it. Also you have jetpack boots that take alot of fuel. Clicking on blocks destroys them, but you can't destroy the gray, gold or explosive blocks or the battery.
Why is it that no project uses VS2010? It's like every time I download a source code from the internet I have to convert it :(
I use 2010 for the sake of keeping up with today's youth. [editline]4th April 2011[/editline] I made the switch yesterday.
[QUOTE=bobthe2lol;28976361]Its so annoying when you're trying to use a physics engine (farseer) and it doesn't do the main thing its supposed to do... make things collide. Though in all probability its something retarded i'm doing than a fault with farseer itself... :v:[/QUOTE] Use the debug view (if your using XNA) its a life saver
Anyone else been fucked by undo? Either a) undo back like 100 steps to grab something you deleted, only to accidentally hit 'z' without ctrl. Or, b) fuck around with your code, making it ugly as hell, and just as you are about to undo it all, you accidentally close the tab.
I've saved and closed a tab at the same time somehow and I almost cried
[QUOTE=Richy19;28976658]Use the debug view (if your using XNA) its a life saver[/QUOTE] I feel retarded asking, but how? I saw it, and the life of me I can not figure out how to get it to actually... debug view. It seems that it is just a class that implements the DebugView interface, but how do I get it to draw my World?
[QUOTE=bobthe2lol;28976881]I feel retarded asking, but how? I saw it, and the life of me I can not figure out how to get it to actually... debug view. It seems that it is just a class that implements the DebugView interface, but how do I get it to draw my World?[/QUOTE] I answered in the WDYNHW thread
[QUOTE=RyanDv3;28976713]Anyone else been fucked by undo? Either a) undo back like 100 steps to grab something you deleted, only to accidentally hit 'z' without ctrl. Or, b) fuck around with your code, making it ugly as hell, and just as you are about to undo it all, you accidentally close the tab.[/QUOTE] It's called [url=http://git-scm.com/]git[/url], use it.
Sorry, you need to Log In to post a reply to this thread.