This is my heightmap engine. It's generated from a 512x512 png image.
[img]http://img24.imageshack.us/img24/1135/heightmap.png[/img]
[editline]11:11AM[/editline]
Another one:
[img]http://img11.imageshack.us/img11/6605/heightmap2.png[/img]
[QUOTE=Jimmylaw;16186802]I feel like i am slowly getting better at coding C# now which is great! =)
Map changing!
[media]http://www.youtube.com/watch?v=XJ_lft2JkcU[/media][/QUOTE]
I'm loving this so far, there's barely anything in the game at the moment but it has so much character already :D
I turned my engine into an FPS in around 45 minutes :v: You can look around 'n stuff, but you can't walk yet (have to figure out how to adjust Z to the heightmap polygon you're currently standing on)
[img]http://img27.imageshack.us/img27/7192/heightmap3.png[/img]
I remember when I used goto in my computing class just to make the program we did really hard to read.
For a number guessing game in the console (visual basic, start of computing year 2 years ago, already had about 2 years experience in C++) I used about 50 gotos. Just to mix it up and make it horrific to try and read :P
It was pretty funny.
The last time I used goto was in QBASIC around 10 years ago
[QUOTE=Dlaor;16194097]I turned my engine into an FPS in around 45 minutes :v: You can look around 'n stuff, but you can't walk yet (have to figure out how to adjust Z to the heightmap polygon you're currently standing on)
[img]http://img27.imageshack.us/img27/7192/heightmap3.png[/img][/QUOTE]
Your FPS lacks some important qualities. Mainly the shooting. I would suggest you calling it a first-person mover, it would be more descriptive.
[QUOTE=jmanmc;16195861]Your FPS lacks some important qualities. Mainly the shooting. I would suggest you calling it a first-person mover, it would be more descriptive.[/QUOTE]
He can't move yet, so it's a first-person-look-arounder :v:
Did an awful HUD:
[img]http://img.meteornet.net/uploads/rd155t6fz/ss.png[/img]
You can click the left button and it changes, and the heart changes how much of it draws and the colour depending on how much health you have :c00l:
[QUOTE=Chandler;16192077]Thanks for agreeing with me.
No seriously. This is the point I've been trying to get across. I'm not saying goto is the end all be all solution. It has its uses. Am I saying to use ONLY goto's? No. Just don't think that because someone says "GOTOS ARE EVIL" that it's true. You guys don't believe the bullshit on Fox News (I assume), so why take everything you're told at face value.
But then again it's like I'm talking to a conservative in the south, so the chances of you guys changing your opinion is the same as me losing my virginity in the next few weeks. (Slim to None, for those not counting). As such I'm done discussing this subject.[/QUOTE]
goto usually causes inflexible, hard to scale code, and fucks up the control structure. This is called spaghetti code.
But anyway, I'm still working on indexing dictionary files. Now i actually index by byte offset and not by letter count. I wrote one program that makes a file called scan.out which contains the name of the dictionary read and as one letter per line, followed by offsets packed with BES compression. My other program reads that file and turns it into a data structure (a hash). Then you can seek() to a certain letter's offset and read just that letter's words. It's far from perfect but it works so far.
Redone dragging of my UI's, mouse roll overs for buttons etc
Started working on a simple engine to learn my way around C++ in a non boring way(Otherwise I get too bored)
[img]http://content.screencast.com/users/darkspider/folders/Jing/media/c8cdd7cd-3c09-4dff-8206-2050cb5a3147/2009-07-22_1305.png[/img]
I just made a simple CSV reader that takes the times from an CSV and calculates how much hours my sister worked and how much she got paid. My dad pays her to go shopping and cook and garden and stuff while my parents aren't here and she wants to know how long she has to work to get a new screen.
Recoded the tile engine so it gives each tile a position. Now i have no need to draw a big blue box over to top.
[media]http://www.youtube.com/watch?v=b6zbzxKGCjo[/media]
[QUOTE=Chandler;16191625]Which is better for recursion? Calling a separate function that calls back to the one you are currently in? or using a goto?[/QUOTE]
Why would you ever use goto for recursion? Sounds like the pinnacle of spaghetti code. Use tail recursion.
[QUOTE=qurl;16199411]Redone dragging of my UI's, mouse roll overs for buttons etc[/QUOTE]
pics?
[QUOTE=Benji;16201504]pics?[/QUOTE]
Not really much to show at the moment. I might start to release builds when there's basic path finding and a little inventory full of objects you can spawn and mess around with. Very long way to go from it being a little multiplayer chat room.
[img]https://files.getdropbox.com/u/99765/chatbox_12.png[/img]
Bans will be a red notice window, kicks in yellow (owner can kick you out of their room and mods can kick you out of anywhere) Mass messaging from mods will be in green I think, they can also message individual players ofc.
Lookin good qurl!
Wow, that looks so awesome.
Have a cookie.
[img]http://i130.photobucket.com/albums/p280/zerglin/Smileys/Cookie.gif[/img] [i]Cookie/Awesome/Cookiez[/i] x [b]1[/b]
[QUOTE=qurl;16202432]Not really much to show at the moment. I might start to release builds when there's basic path finding and a little inventory full of objects you can spawn and mess around with. Very long way to go from it being a little multiplayer chat room.
[img]https://files.getdropbox.com/u/99765/chatbox_12.png[/img]
Bans will be a red notice window, kicks in yellow (owner can kick you out of their room and mods can kick you out of anywhere) Mass messaging from mods will be in green I think, they can also message individual players ofc.[/QUOTE]
wasn't it intended NOT to be a habbo clone?
No. It's meant to look like Habbo.
[QUOTE=nos217;16202994]No. It's meant to look like Habbo.[/QUOTE]
...just placeholders...
[QUOTE=efeX;16202848]wasn't it intended NOT to be a habbo clone?[/QUOTE]
Well I'm thinking about just letting community make the art. It's just for experience anyway.
I looks way better than habbo, IMO - not as blocky.
I like it :).
Does anyone know of any GOOD tutorials on networking?
What specifically?
Upgrading my Wordpress installation.
Also gonna create a Wordpress install with a custom template design for somebody for some good cash.
[QUOTE=garry;16204953]What specifically?[/QUOTE]
If I say that I want to look at making a game using a server client system can you point me in the right direction?
Oh yeah if you hadn't guessed I know nothing much at all about network programming.
[QUOTE=Wickedgenius;16204592]Does anyone know of any GOOD tutorials on networking?[/QUOTE]
I'd familiarize on sockets first:
[url]http://beej.us/guide/bgnet/[/url]
Then if you want to make your own reliable UDP protocol for a game, look there:
[url]http://gafferongames.com/networking-for-game-programmers/[/url]
It's not complete yet but it's a very good start.
Sorry, you need to Log In to post a reply to this thread.