[QUOTE=Jookia;28019016]Was reading code complete when I read a passage that was strangely familiar..
[url=http://imgur.com/5D85w][img_thumb]http://i.imgur.com/5D85w.jpg[/img_thumb][/url][/QUOTE]
oh Blockland, I remember that. bl_id 114 represent :saddowns:
BL_ID 119, you beat me.
[QUOTE=Richy19;28015688]Care to explain whats going on? :v:[/QUOTE]
i'm assuming it's a grid of translucent lines, increasing by hue vertically, displaced by perlin noise.
[img] http://filesmelt.com/dl/RPNconverter.PNG[/img]
The unspaced input is mine, the second is tokenized values, the third is tokenized types, and the fourth is RPN :D
[editline]13th February 2011[/editline]
The parser works surprisingly well, usually ones I write are terrible and don't give meaningful errors. But I can basically slam my keyboard and this comes up with SOMETHING, or errors.
Help! I'm trapped in a maze!
[img]http://i120.photobucket.com/albums/o181/SamPerson12345/mazerunner.png[/img]
A 1000x1000 cell maze! :byodood:
Daedalus don't got shit on me.
[QUOTE=Philly c;28011559]Or maybe you can stop trying to put some philosophical bullshit swing on it and just tell him.[/QUOTE]
Yes, if it wasn't 2AM when I first typed this up. He would've been better served by less waffly reply, though.
I'm a bit concerned about the amount of time it takes to generate very large mazes with this algorithm. (Is 15 seconds in Java a bad time for 1000x1000 cells?) I think I might be going about the whole thing in a bad way. If anyone thinks they can implement this algorithm better, I would love to see how you do it. This is the algorithm I used.
[url]http://weblog.jamisbuck.org/2010/12/29/maze-generation-eller-s-algorithm[/url]
Gotta write a 500 word essay on security. Then have to build a presentation. Then I have some maths to sort out. Then I can get some programming done.
Has anybody built a platformer in XNA and can provide some code?
There is one in the XNA Installation normally.
Is there a way I can draw a VBO without having an another one with the indices?
I just want the to go in sequence.
[QUOTE=Vbits;28018520]Very nice but you need to consider that a trash item will be weaker then a epic item, maybe calculate ranges or something like that.[/QUOTE]
I'm already doing that. If you get two items with same item level and for example, other is trash and the other is rare, the rare one will be better.
[QUOTE=layla;28024223][media]http://www.youtube.com/watch?v=OVheNsSpGoA[/media]
Step ups![/QUOTE]
Very nice ! Maybe you should smooth the movement when going up. Right now you get the feeling you're just jumping from step to step.
[quote]Creating engine.. [OK]
Getting logger from engine.. [OK]
Comparing logger's engine pointer to the engine.. [OK]
Logging with the stream:
std::endl
std::flush
DEngine::endl
DEngine::flush
No newline. Newline.
Logging with the interface:
std::endl
std::flush
DEngine::endl
DEngine::flush
No newline. Newline.
Getting filesystem from engine.. [OK]
Comparing filesystem's engine pointer to the engine.. [OK][/quote]Rewriting my testing program to be a unit tester. The [OK] can also end up being a fail then print an error message. I have my own special assert method.
[code]niceAssert("Getting filesystem from engine..", filesystem);
...
template <typename T>
inline void niceAssert(const char* message, T test)
{
std::cout << message << " ";
if(!test)
{
std::cout << "[FAIL]" << std::endl;
assert(test);
}
else
{
std::cout << "[OK]" << std::endl;
}
}[/code]
Finished implementing Farseer Engine :v:
[img]http://puu.sh/WwH[/img]
It works quite well!
Not sure if anyone will find this useful, but this is what I use to automatically RAR my release builds in Visual Studio.
I make a "Releases" folder in the \bin directory and then add this as a post-build event:
[code]
if /I "$(ConfigurationName)" == "Release" "C:\Program Files\WinRAR\rar.exe" a "$(ProjectDir)bin\Releases\Release_latest.rar" "$(TargetDir)*.*" -ep
[/code]
If you want to password protect the RAR, just add "-hpYOURPASSWORD" on the end.
[QUOTE=Darwin226;28024028]Is there a way I can draw a VBO without having an another one with the indices?
I just want the to go in sequence.[/QUOTE]
Use glDrawArrays() instead of glDrawElements().
Can someone tell me if he manages to launch the application? Because I sent it to my friend and he said it will not open for him. He uses Win7.
[url]http://dl.dropbox.com/u/17769468/Release_current.rar[/url]
(Click to add a box)
[QUOTE=deloc;28020232]i'm assuming it's a grid of translucent lines, increasing by hue vertically, displaced by perlin noise.[/QUOTE]
Correct.
[QUOTE=commander204;28025234]Can someone tell me if he manages to launch the application? Because I sent it to my friend and he said it will not open for him. He uses Win7.
[url]http://dl.dropbox.com/u/17769468/Release_current.rar[/url]
(Click to add a box)[/QUOTE]
Yeah, I can launch it. I guess you're using XNA? If so, has your friend the framework installed?
Does he have to install the XNA framework? Because he only installed the latest .NET version.
[QUOTE=commander204;28025234]Can someone tell me if he manages to launch the application? Because I sent it to my friend and he said it will not open for him. He uses Win7.
[url]http://dl.dropbox.com/u/17769468/Release_current.rar[/url]
(Click to add a box)[/QUOTE]
Works for me
[editline]13th February 2011[/editline]
[QUOTE=commander204;28025340]Does he have to install the XNA framework? Because he only installed the latest .NET version.[/QUOTE]
He needs XNA Redist.
[editline]13th February 2011[/editline]
[url]http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a88c6dec-aeae-42cd-a108-d35c013c3b97[/url]
I got really bored and decided I'd familiarize myself with how GUI works in Windows with C++, so I decided to make an OOP wrapper for it.
[cpp]
#include <Bragi.hpp>
#pragma comment( lib, "GUIWrapper.lib" )
#include <math.h>
bool MyResizeFunction( Bragi::Window* Wnd, int* W, int* H ) {
*W = (int)fmod( (double)rand(), 800 );
*H = (int)fmod( (double)rand(), 600 );
return true;
}
int main() {
Bragi::Window Wnd = Bragi::Window( "Some title" );
Wnd.SetPosition( 400, 200 );
Wnd.SetSize( 500, 500 );
Wnd.SetVisible( true );
Wnd.OnResize = &MyResizeFunction;
while( true ) {
Wnd.Think();
}
return 0;
}
[/cpp]
This makes the window spas a bit whenever you try to resize it :v:
Well, that could have gone worse. Accidentally Shift-Delete'd the extensive planning I'd done for my roguelike. Managed to recover it, though. Shift-Delete is a baaaaddd habit.
Hey, someone was making a physics program a few days ago. Does anyone have that, or did he stop?
I am working on an Android client for [url=http://www.chatmetvreemden.nl/][b]an anonymous chat site[/b][/url], like Omegle, the difference being that it's only for Dutch people. The reason this has priority over the Facepunch app is because I get paid for this.
[img]http://gyazo.com/ea85a8559ab6bd5af0166226dbf7ebfb.png[/img]
The "Stop" button is for going to the next person. When you are waiting for the bus to arrive or something, at least you have someone to talk to with this. [img]http://dl.dropbox.com/u/2399384/foreveralone_small.png[/img]
[QUOTE=PiXeN;28024457]Very nice ! Maybe you should smooth the movement when going up. Right now you get the feeling you're just jumping from step to step.[/QUOTE]
He should probably just make it a slope that looks like stairs like in most games. Not trying to sound clever, i know nothing about this shit, but it seems to me that coding it so you can walk up a physical stair and then smoothing it is harder to do than just making slopes.
[img_thumb]http://img137.imageshack.us/img137/3443/screenshotaa.png[/img_thumb]
Yes! Binary trees work! Now, to get my BSP random map generator working...
[QUOTE=sami-elite;28027490]He should probably just make it a slope that looks like stairs like in most games. Not trying to sound clever, i know nothing about this shit, but it seems to me that coding it so you can walk up a physical stair and then smoothing it is harder to do than just making slopes.[/QUOTE]
Wouldn't that look really weird when NPCs walk on the "stairs" and their feet align with the slope?
That's just animation.
Sorry, you need to Log In to post a reply to this thread.