Simple 3D Client

Started by Bryan, October 15, 2012, 02:00:26 AM

Previous topic - Next topic

Bryan

Hi everyone,

I recently started messing with jPCT and just seeing what I could do for fun. I plan on continuing with this slowly and just making it into something, possibly a game. I also have released a few versions of it and below you can find the links to download and use this or even just take a look at. The zip contains all the files you need: source, libs and assets.

Features:

  • Basic Camera to fly (WASD + Q/E to go up or down)
  • Basic player movement (Left, Right, Up, Down arrow keys, Space to jump)
  • Very basic terrain/region system
  • Very basic GUI system (Toggle pause menu example with Escape)

Some Extra Keys

  • 'R' Toggles render mode (textured -> texture+wireframe -> wireframe)
  • 'M' Regenerate the terrain
  • 'N' Add a new light (random color and location)
  • 'H' Changes 'sun' color
  • 'L' toggles the 'sun' light
  • 'K' Sets light position randomly on terrain (if not snapped to player)
  • 'J' Snap light to above player
  • 'F1' Toggle mouse grab (so you can use your mouse on your desktop again)
  • 'Escape' Toggles the pause menu

Downloads:
Version 2

Version 1

Media:




Thanks to: EgonOlsen and hakan eryargi (TexturePack and GLFont classes)

Enjoy,
Bryan

vickt

I think your links are broken.

Bryan

Quote from: vickt on October 16, 2012, 12:12:32 AM
I think your links are broken.

Ah you were correct. Thanks! I fixed them now, it was because of the format for URL bbcode being different than another forum.

Bryan

I updated this a bit, I will make a full feature list in the future but here is info about the new one.

New Features:

  • Height-map images (grayscale images) that load at startup to create the terrain
  • Scaled all the things down to proportionatly fit terrain
  • Cleaned up a lot of the code to do with Player stuff and warriors



If you would like this version: Download v3

vickt

Looks pretty good! Any long term plans?

Bryan

None as of right now. This is my first go with 3d but it's quite fun to mess with this. So who knows what is next for this. Thanks for checking it out!

Also I made a quick page to showcase this if anyone is interested. http://bryanchauvin.com/3d