• What are you working on? v15
    5,001 replies, posted
Sorry to interrupt but besides SFML and SDL, what are some good game programming libraries for someone who has never fully learnt graphics coding?
[QUOTE=Activeellis;28197458]Sorry to interrupt but besides SFML and SDL, what are some good game programming libraries for someone who has never fully learnt graphics coding?[/QUOTE] What language?
[QUOTE=Borsty;28196995]Improved it's speed a little: To generate a 2560x2560 maze it takes 1193 ms, compared to 5650 ms with yours :] [editline]Edit[/editline] and 52011 micro seconds for a 500x500 one :D[/QUOTE] Very nice! I'm using a different algorithm now though. I bet you could beat my time on it in an instant. [code] public void ellerGen(double hProb, double vProb){ long[] curRow = new long[ySize]; long[] nextRow = new long[ySize]; long temp; long maxSet = 0; ArrayList<Long> alreadydone = new ArrayList<Long>(); ArrayList<Integer> hasval = new ArrayList<Integer>(); for(int y = 0; y<ySize; y++){ maxSet++; curRow[y] = maxSet; //all cells on first row belong to different sets } for(int x = 0; x<xSize; x++){ for(int y = 0; y<ySize-1; y++){ if(curRow[y]!=curRow[y+1] && Math.random()<hProb){ //randomly merge cells belonging to different sets temp = curRow[y+1]; for(int i = 0; i<ySize; i++){ if(curRow[i] == temp){curRow[i] = curRow[y];} } maze[x][y+1][2] = true; } } if(x<xSize-1){ alreadydone.clear(); for(int y = 0; y<ySize; y++){ if(!alreadydone.contains(curRow[y])){ hasval.clear(); for(int i = 0; i<ySize; i++){ if(curRow[y]==curRow[i]){ hasval.add(i); } } int index = hasval.get((int)(Math.random()*(double)hasval.size())); //randomly choose one cell from each set to merge downwards nextRow[index] = curRow[y]; maze[x+1][index][1] = true; alreadydone.add(curRow[y]); } } for(int y = 0; y<ySize; y++){ if(Math.random()<vProb){ nextRow[y] = curRow[y]; maze[x+1][y][1] = true; //randomly select additional cells to merge down } } for(int y = 0; y<ySize; y++){ if(nextRow[y] == 0){maxSet++; nextRow[y] = maxSet;} //assign remaining cells to new sets } curRow = nextRow; nextRow = new long[ySize]; }else{ for(int y = 0; y<ySize-1; y++){ if(curRow[y]!=curRow[y+1]){ temp = curRow[y+1]; for(int i = 0; i<ySize; i++){ if(curRow[i] == temp){curRow[i] = curRow[y];} //merge all cells of different sets } maze[x][y+1][2] = true; } } } } } [/code] This algorithm is a bit slower, but it makes better mazes.
Finally. A perfect maze. [img]http://gyazo.com/26f21d329c418a4817fc00da137f8ab0.png[/img] Edit: My last screenshot of the thread, too, more than likely.
SHIT, whos making the next one?
[QUOTE=BlkDucky;28197958]Finally. A perfect maze. [img_thumb]http://gyazo.com/26f21d329c418a4817fc00da137f8ab0.png[/img_thumb] Edit: My last screenshot of the thread, too, more than likely.[/QUOTE] It's funny, because this also fits the technical definition of a perfect maze as well.
[QUOTE=SamPerson123;28198223]It's funny, because this also fits the technical definition of a perfect maze as well.[/QUOTE] That pun was actually intended. :v: Didn't think anyone would pick up on it. [editline]22nd February 2011[/editline] [QUOTE=Richy19;28198207]SHIT, whos making the next one?[/QUOTE] I don't know, but someone better collect the highlights fast. D:
I got the V16 video ready
[QUOTE=BlkDucky;28198258]That pun was actually intended. :v: Didn't think anyone would pick up on it. [/QUOTE] Is that because it doesnt have an entrance or exit?
Make sure the op is filled with yellow.
Whoever makes the OP, just use the same header graphics we've always used.
[QUOTE=Rocket;28198663]How many posts is the max?[/QUOTE] 5002 ish
[QUOTE=Rocket;28198663]How many posts is the max?[/QUOTE] ~5002 Ninjas
I've been combating some stupid as fuck bug where my game loads but runs at <1fps and will never increase. I travelled far and wide (to two friends houses and the library) to find the solution to this problem and I spent all day on it. Turns out it's a driver bug that causes opengl to leak memory and eventually causes it to fall back to software mode. Happens on all applications. Nvidia!!!!!!
Twas' but a joke.
Someone (i think novembrDobby) said it would look betteer if the damage counter added up instead of overlapping so... [media]http://www.youtube.com/watch?v=5Itrsgxcx5g[/media]
[QUOTE=CarlBooth;28198635]Whoever makes the OP, just use the same header graphics we've always used.[/QUOTE] which one?
[QUOTE=haushippo;28199045]which one?[/QUOTE] 'sup deloc? Thought you were banned?
[QUOTE=BlkDucky;28199132]'sup deloc? Thought you were banned?[/QUOTE] that's a pretty weird header.
So I started (once more) writing a hobby OS kernel... Emulator & code screenshot: [url=http://i.imgur.com/rU6EA.png][img]http://i.imgur.com/rU6EAl.png[/img][/url] That's two nights worth of coding and reading specs, so it's just the basics. Right now I'm working on interrupts (using the 8259 PICs for now, after I do ACPI and initialize the driver subsystem I'm switching to IOAPIC if possible, I really want SMP). C (for platform specific code), C++, Assembler (in some places). 32-bit for now. Designing this as a microkernel, not based on any other OS model. Pre-emptive multitasking. Possibly a POSIX compability layer is comming later (way later) on. Trying to use more than just Ring0 and Ring3, sticking kernel modules in Ring1, most userspace applications in Ring2 and eventually sandboxing applications in Ring3. We'll see.
[QUOTE=Rocket;28199270]I used my awesome blender skillz to make a new banner! [img_thumb]http://ahb.me/1Uet[/img_thumb] Better than nothing...[/QUOTE] [img]http://gyazo.com/86cecf7ea8755607cbd03922db6da143.png[/img]
I will make a banner, what do you want the title to be? [editline]22nd February 2011[/editline] + Design. [editline]22nd February 2011[/editline] [QUOTE=BlkDucky;28197576]What language?[/QUOTE] Prefer C++, but c# is ok.
banners aren't important, highlights are if you want to be useful go back through the thread and pick some out
[QUOTE=Rocket;28199870]My Liege.[/QUOTE] We're gonna need a few more. Edit: I vote for the below banner.
[img]http://dl.dropbox.com/u/2848674/banner.png[/img]
[QUOTE=BipolarPanda;28199892][img_thumb]http://dl.dropbox.com/u/2848674/banner.png[/img_thumb][/QUOTE] Nevermind...
[QUOTE=BipolarPanda;28199892][img_thumb]http://dl.dropbox.com/u/2848674/banner.png[/img_thumb][/QUOTE] dafont + deviantart brushes
I haven't got any interesting content to post, unfortunately... However! BlkDucky, I felt the need to say well done to you. Your roguelike is looking awesome, I can't wait to see what it becomes. I'd also love to have an opportunity to play it at some point :buddy:
fuck it i want some noodles [highlight](User was banned for this post ("Replying just for the sake of it" - SteveUK))[/highlight]
[QUOTE=haushippo;28200009]dafont + deviantart brushes[/QUOTE] I didn't want to put time in something only viewed a little bit
Sorry, you need to Log In to post a reply to this thread.