• What are you working on? November 2011 Edition
    3,673 replies, posted
Does anyone know how accurate the windows phone emulator is? If I'm no fps drop with 1000+ sprites on screen can i expect the phone to do that too?
[QUOTE=Zeonho;33299577]Now I can draw 1500 Sprites with a VBO (more Sprites than SFML.Net 2.0 and XNA) instead of 500 with immediate mode. Thats OK for now but I think I should be able to draw more.[/QUOTE] Have you tried using [i]two[/i] VBOs? [img]http://i.imgur.com/Bb6wW.gif[/img]
[QUOTE=Wyzard;33296671]...and yeah, you [i]should[/i] be writing clean code that distinguishes between integers and pointers, and never store a pointer in an int variable, but practically, you can pretty much assume they're the same size without getting yourself into too much trouble unless you're specifically planning to run on a 64-bit platform. Times change. What seems like a safe assumption now can lead to bugs and portability headaches a few years down the road when suddenly you [i]do[/i] want to support the thing you always assumed you wouldn't need to.[/QUOTE] Then you worry about that when you need to, not before. No sense in making problems for yourself that might not even occur. Software should be thrown out or totally refactored every so often anyway. When you get an indication that big-endian might be making a comeback in 2030 or whatever, then you can go back through and fix things. Effectively all of your endianness issues are going to be confined to binary file loaders or networking-related code, places where binary data enters or leaves your program, so you really don't have to dig through that much. I think you probably have a good point. All of the current gen consoles are big-endian. :\
[QUOTE=Lexic;33298456]What were you trying to make?[/QUOTE] A Geometry Wars style grid. :v: [QUOTE=Yogurt;33299057]So this girl wants me to help her study for a java test. How fucking awesome is it that somebody I know actually takes a programming class? Let alone a female. Except it's java...[/QUOTE] Happened to me to. I helped her study for hours and when she failed (by a wide margin) I felt like it was my fault. Especially when it happened a second time and third time with the same girl :( [QUOTE=icantread49;33299111]that's really cool :) did you just render lines for the edges? actually triangulating it (while still respecting broken edges, etc.) is a major pain :v:[/QUOTE] No, only the lines. I though about doing more but couldn't think of an easy way to do it.
[QUOTE=Jookia;33289572][URL="https://github.com/Jookia/dplane"]Desert Plane is on GitHub![/URL][/QUOTE] [url]https://github.com/Jookia/dplane/blob/master/source/stateManager.cpp#L30[/url] you really didn't need to explain it
[img]http://i.imgur.com/M6CVJ.png[/img] FLY MY PRETTIES CAP POINT [editline]16th November 2011[/editline] It turns out AI programming is hard. I might just chuck pathfinding out and make them follow a randomly selected pre-defined route to the goal.
[QUOTE=Nigey Nige;33300538][img]http://i.imgur.com/M6CVJ.png[/img] FLY MY PRETTIES CAP POINT [editline]16th November 2011[/editline] It turns out AI programming is hard. I might just chuck pathfinding out and make them follow a randomly selected pre-defined route to the goal.[/QUOTE] Why not A*?
[QUOTE=DrLuke2;33300795]Why not A*?[/QUOTE] My implementation of A* isn't perfect; people get stuck on the edges of obstacles and it sends them on really arse-backwards routes most of the time. Plus it causes the game to hang whenever it runs because I set it up in a bit of a dumb way.
What do you folks use for GIF-ing your screen?
[QUOTE=Hypershadsy;33301217]What do you folks use for GIF-ing your screen?[/QUOTE] fraps>avi>virtualdub>gif>imgur>???>profit
[QUOTE=Nigey Nige;33301259]fraps>avi>virtualdub>gif>imgur>???>profit[/QUOTE] The C# Console doesn't have Fraps, but I'll just substitute CamStudio... Thanks Careful with saying ??Profit. I'd remove that if I were you.
[QUOTE=Hypershadsy;33301279]The C# Console doesn't have Fraps, but I'll just substitute CamStudio... Thanks Careful with saying ??Profit. I'd remove that if I were you.[/QUOTE] I like to live on the edge
[QUOTE=Hypershadsy;33301279]The C# Console doesn't have Fraps, but I'll just substitute CamStudio... Thanks Careful with saying ??Profit. I'd remove that if I were you.[/QUOTE] Thats not bannable or anything
[QUOTE=darth-veger;33301395]Thats not bannable or anything[/QUOTE] I've seen it bannable under "meme reply". Whatever, white noise time. [url]http://dl.dropbox.com/u/21571661/Pictures/noise.gif[/url] I really wish the Console had a higher... uh, clock?
[QUOTE=Hypershadsy;33301525]I've seen it bannable under "meme reply". Whatever, white noise time. [url]http://dl.dropbox.com/u/21571661/Pictures/noise.gif[/url] I really wish the Console had a higher... uh, clock?[/QUOTE] wow the fps is so bad i can see the pixels lmao
[QUOTE=Hypershadsy;33301525]I really wish the Console had a higher... uh, clock?[/QUOTE] Using a library like libcaca or curses can accomplsih a much higher framerate, to the point you could play videos through it.
[QUOTE=Nigey Nige;33301379]I like to live on the edge[/QUOTE] Of society.
[QUOTE=Nigey Nige;33301023]My implementation of A* isn't perfect; people get stuck on the edges of obstacles and it sends them on really arse-backwards routes most of the time. Plus it causes the game to hang whenever it runs because I set it up in a bit of a dumb way.[/QUOTE] I don't mean to be a jerk, but I don't think you ever had A*. The code you posted in WDYNHW was pretty far off. Like I said there, you should start with something simple like BFS, then move onto Dijkstra's, which you can add a heuristic to to make it into A*. Do these things in little steps. Dijkstra's is pretty much just a BFS with the queue replaced with a heap (also known as a "priority queue") and edge weights. The main issue you had, I think, is that your old code doesn't retain a set of nodes to consider between steps. It takes the closest neighbor and throws out the rest, which is a greedy immediate-best method which isn't guaranteed to get you a solution. If you retain a list of nodes that need considering, then you'll at least get a solution out of it. If you use a regular queue, it'll be a BFS, while if you use a heap it'll be something like Dijkstra's. ([url]http://codepad.org/queem7ad[/url], line 52 is your problem) You also never assign distances to the nodes, which is essential for Dijkstra's and A* (but not for BFS). You want to first assign distances, then reconstruct the path [i]backwards[/i] from destination to source after you've reached the destination. Also, the termination condition you use is iffy. [editline]16th November 2011[/editline] [QUOTE=Hypershadsy;33301525]-snip-[/QUOTE] This is killing my laptop.
[QUOTE=ROBO_DONUT;33301728]This is killing my laptop.[/QUOTE] Thanks for quoting it. [img]http://www.peniscorp.com/stuff/SS-2011-11-16_18.51.57.png[/img]
[QUOTE=Jookia;33301682]Using a library like libcaca or curses can accomplsih a much higher framerate, to the point you could play videos through it.[/QUOTE] Thanks, I downloaded libcaca. Why is it so hard for developers to make a sln that actually works? I'll just tinker with it [editline]16th November 2011[/editline] Shit, do they not have a precompiled version of libcaca.dll? I don't have a C/C++/anythingelse compiler on this computer, dammit.
[QUOTE=GranPC;33301808]Thanks for quoting it. [img]http://www.peniscorp.com/stuff/SS-2011-11-16_18.51.57.png[/img][/QUOTE] Shouldn't be using an elderly lady's computer if you want performance
[img_thumb]http://dl.dropbox.com/u/23797593/tue_multiplayer.png[/img_thumb] Working on a little block game while I am learning a bit of C# in school, very original. I do not know where it's heading though.
[QUOTE=Thermadyle;33302501][img_thumb]http://dl.dropbox.com/u/23797593/tue_multiplayer.png[/img_thumb] Working on a little block game while I am learning a bit of C# in school, very original. I do not know where it's heading though.[/QUOTE] I actually like the square lighting, add some more steps to the light value changes and it'll look great :v:
[QUOTE=DrLuke2;33301558]wow the fps is so bad i can see the pixels lmao[/QUOTE] *sigh*
[img]http://i.imgur.com/MFatY.png[/img] gonna work on the image picker today, being able to tear and play around with your own photos is a lot of fun
Libcaca: This shit looks so cool, and I can't use it. It's just the way that most open source free software whatever whatever developer package their shit it's like they DON'T want people to use their libraries. I have to load up a Linux disto to compile a Windows library? The sln provided doesn't even work right? Try and try to compile, but there will never be a libcaca.dll as the source requests, nor will there be "an entry point named caca_create_canvas" inside of it, if you by some miracle get it to spit out a working sln. They shoved all supported languages into one tarball, and the only one YOU need doesn't work. Open source is great, just fucking do it right.
I don't know what your problem is. I untarred it and make'd it with no problems at all. In support though, you have no idea how hard it is to support Windows when you work primarily in Unix.
[img]http://i.cubeupload.com/GsAkCY.jpg[/img] Time to get busy! 1017 pages of fun :D
[QUOTE=Borsty;33303036][img]http://i.cubeupload.com/GsAkCY.jpg[/img] Time to get busy! 1017 pages of fun :D[/QUOTE] and 1 CD-ROM.
[QUOTE=Perl;33302674]I actually like the square lighting, add some more steps to the light value changes and it'll look great :v:[/QUOTE] The light was one of the first things I made so I totally forgot to change it. How's this? [img]http://dl.dropbox.com/u/23797593/newlight.png[/img] Oh and I did something wrong at first: [img]http://dl.dropbox.com/u/23797593/whops.png[/img]
Sorry, you need to Log In to post a reply to this thread.