• What are you working on? December 2011 Edition
    3,353 replies, posted
[QUOTE=voodooattack;33632856]Anyone seen this yet? [media]http://www.youtube.com/watch?v=UUnC5y4j0As[/media] Fuck Flash.. and fuck you Adobe, now we can embed C++ on the web. [editline]9th December 2011[/editline] I hope this spreads to other browsers.[/QUOTE] Do Console Apps (cmd.exe) work on this? I meant non-GUI apps as in Hello World, but fine.
[QUOTE=voodooattack;33632856]Anyone seen this yet? Fuck Flash.. and fuck you Adobe, now we can embed C++ on the web. [editline]9th December 2011[/editline] I hope this spreads to other browsers.[/QUOTE] Didn't Adobe have something like this that they were adding to Flash? I recall them having a demo where they ported Quake to it still using the original code.
This was harder to figure out than I thought: [img]http://i54.tinypic.com/m8d3ck.png[/img] [code]void Surface::Gradient( int c1, int c2, int x, int y, int Width, int Height, int Simplification) { float res=1; for (float xx=x; xx<x+Width; xx+=Simplification) { for (float yy=y; yy<y+Height; yy+=Simplification) { res=xx/Width; float c1b=(c1-(c1>>8<<8))*(1-res); float c1r=(int)((c1>>16)*(1-res))<<16; float c1g=(int)(((int)((c1>>8<<8)-(c1>>16<<16))>>8)*(1-res))<<8; float c2b=(c2-(c2>>8<<8))*res; float c2r=(int)((c2>>16)*(res))<<16; float c2g=(int)(((int)((c2>>8<<8)-(c2>>16<<16))>>8)*(res))<<8; for (int ys=0; ys<Simplification; ys++) { for (int xs=0; xs<Simplification; xs++) { if (xx+xs<Width && yy+ys<Height) *(m_Buffer + (int)(xx+xs) + (int)(yy+ys) * m_Pitch) = (c1r+c1g+c1b)+(c2r+c2g+c2b); //if (xx+xs<Width && yy+xs<Height) *(m_Buffer + (int)(xx+xs%(Simplification*Simplification)) + (int)(yy+xs%(Simplification*Simplification)) * m_Pitch) = 0xffffff-((c1r+c1g+c1b)+(c2r+c2g+c2b)); } } } } }[/code]
[QUOTE=voodooattack;33632856]Anyone seen this yet? [media]http://www.youtube.com/watch?v=UUnC5y4j0As[/media] Fuck Flash.. and fuck you Adobe, now we can embed C++ on the web. [editline]9th December 2011[/editline] I hope this spreads to other browsers.[/QUOTE] I think of that thing that converts C++ to javascript. I can't find it, its somewhere on google code, but as an example he ported lua to javascript.
As for console apps: I think it'd be easy to implement a console interface in JS, I haven't studied the SDK yet, but I'm sure there's a way to make it work regardless of the method. [QUOTE=Map in a box;33633477]I think of that thing that converts C++ to javascript. I can't find it, its somewhere on google code, but as an example he ported lua to javascript.[/QUOTE] This isn't a source-to-source compiler though.. you actually compile to native code (ELF format) and you serve that to the clients. Huge difference, even if (as in chrome's case) the javascript is backed up by a JIT virtual machine. [editline]9th December 2011[/editline] [QUOTE=Neo Kabuto;33633268]Didn't Adobe have something like this that they were adding to Flash? I recall them having a demo where they ported Quake to it still using the original code.[/QUOTE] Yeah, but it's still pretty primitive and doesn't come close to anything like this. [editline]9th December 2011[/editline] I'd also trust Google more from a security point of view.
Starting to feel more like a 2D Minecraft to me rather than a Terraria clone. Just me, though. [img]http://puu.sh/adna[/img]
[QUOTE=benji2015;33633599]Starting to feel more like a 2D Minecraft to me rather than a Terraria clone. Just me, though. [t]http://puu.sh/adna[/t][/QUOTE] Still looks like Terraria. [editline]8th December 2011[/editline] btdubs, those sharp black 1px edges on your textures aren't very friendly looking.
[QUOTE=benji2015;33633599]Starting to feel more like a 2D Minecraft to me rather than a Terraria clone. Just me, though.[/QUOTE] I'd suggest having the trees in the foreground match the background trees.
[QUOTE=benji2015;33633599]Starting to feel more like a 2D Minecraft to me rather than a Terraria clone. Just me, though. [img]http://puu.sh/adna[/img][/QUOTE] You're not really helping your case with those background trees being so similar to those in terraria. [IMG]http://www.nerd-age.com/wp-content/uploads/2011/12/Terraria-1.1-featured-image.gif[/IMG]
I'm trying to make new background trees (or new backgrounds in general) but I can't think of anything [i]good[/i].. I've tried hills, and they looked like someone took a giant green piss on the background. I'm making trees now similar to what I have up front but.. idk [editline]8th December 2011[/editline] [img]http://puu.sh/adET[/img] wip
Ffffuuckkkk yesss. Less like Terraria, more like your own game. Keep working on the graphics, too. You'll get better and better. I really like those trees in the background. Totally diggin' that. Nice work.
My friend brought up perfect numbers during a conversation today, and that got me thinking about divisors. When checking for numbers that a number can be divided wholly into, a pattern emerges. I wrote a program in processing to visualize this pattern. I gave myself a little control over where I was looking and how zoomed in I was. So I tried zooming out extremely far, to see the entirety of the over-arching pattern, and... [img]http://dl.dropbox.com/u/45554193/images/hddhcztyywgfb.png[/img] [I]What have I done[/I] [sp]I realize that this is probably just the upper limit of floats and whatnot[/sp]
[QUOTE=amcfaggot;33633205]won't catch on, had this discussion with other webdevs it's on-par with GO[/QUOTE] In what way?
I'd like to see a less sand-boxy and more survival/multiplayer-deathmatchy terraria type game. I find aimlessly digging and building gets old real fast.
[QUOTE=Socram;33634213]You're not really helping your case with those background trees being so similar to those in terraria. [IMG]http://www.nerd-age.com/wp-content/uploads/2011/12/Terraria-1.1-featured-image.gif[/IMG][/QUOTE] Terraria's trees look like shit.
Shit, now I wanna make a terraria clone. Anyways, I tried out windows 8, and it was awesome that the desktop was still a major part of it. Then I noticed. It's just windows 7 with a new start menu. FUCK.
[vid]http://dl.dropbox.com/u/2276133/platformer01%202011-12-08%2021-32-23-72.webmvp8.webm[/vid] You can now change the gravity. I'm going to add left and right switching, and special blocks that switch the gravity / rotation when you touch them
That confuses me. The camera should be smoother
[img]http://dl.dropbox.com/u/11093974/Junk/ragdoll.gif[/img] That was surprisingly easy.
[QUOTE=Map in a box;33635841]That confuses me. The camera should be smoother[/QUOTE] I know, I'm going to add a transition or a fade when you switch.
[QUOTE=Naelstrom;33635335]I'd like to see a less sand-boxy and more survival/multiplayer-deathmatchy terraria type game. I find aimlessly digging and building gets old real fast.[/QUOTE] [URL="http://kag2d.com/"]King Arthur's Gold[/URL]?
[QUOTE=benji2015;33634327]I'm trying to make new background trees (or new backgrounds in general) but I can't think of anything [I]good[/I].. I've tried hills, and they looked like someone took a giant green piss on the background. I'm making trees now similar to what I have up front but.. idk [editline]8th December 2011[/editline] [IMG]http://puu.sh/adET[/IMG] wip[/QUOTE] Don't take this the wrong way because that does already look acceptable, but my biggest dissapointment with all these 2d block games is that they are almost like a devolution of great tile based games. Maybe i'm just biased because i'm really tired of blocks and pedestrian pixel art. I don't see why it can't look something like this: [img_thumb]http://www.pixeljoint.com/files/icons/full/ziggyscreens.png[/img_thumb] (by the way this isn't mine) Not necessarily just the quality of the art but just how interesting the scene is. It's not just straight blocks. Hopefully what i'm trying to say makes sense.
[QUOTE=boomer678;33636449]I know, I'm going to add a transition or a fade when you switch.[/QUOTE] It would be really cool if you could rotate the camera completely instead of just switching to the new view. Of course, you probably had this in mind.
[img]http://puu.sh/aeHs[/img] Trees probably need a bit more detail still, but eh. Time to sleep
[QUOTE=Philly c;33637643]Don't take this the wrong way because that does already look acceptable, but my biggest dissapointment with all these 2d block games is that they are almost like a devolution of great tile based games. Maybe i'm just biased because i'm really tired of blocks and pedestrian pixel art. I don't see why it can't look something like this: [img_thumb]http://www.pixeljoint.com/files/icons/full/ziggyscreens.png[/img_thumb] (by the way this isn't mine) Not necessarily just the quality of the art but just how interesting the scene is. It's not just straight blocks. Hopefully what i'm trying to say makes sense.[/QUOTE] But how do you place curvy blocks?
[QUOTE=DrLuke;33637984]But how do you place curvy blocks?[/QUOTE] Personally what I would do would have triangle blocks, with natural stuff like dirt and grass, have it smooth between a triangle and solid block.
[QUOTE=DrLuke;33637984]But how do you place curvy blocks?[/QUOTE] You don't, it can still be a typical grid system, but you do extraneous subtile rendering to create the effect of curved environments.
Fuck I'm resisting posting my project because I always seem to abandon projects more easily after I've already shown off the incomplete work :v:
[img]http://dl.dropbox.com/u/45554193/images/why%20I%20cant%20make%20sidescrollers.png[/img]
Box2D polygon, problem solved, name me your physics spirit
Sorry, you need to Log In to post a reply to this thread.