Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Disco - A game I'm not going to finnish, but is kinda nice

Author
Message
Stora tomtefar
19
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 9th Oct 2006 11:13 Edited at: 9th Oct 2006 11:15
Yah... Well, I started with this game some moths ago and worked on it for a couple of weeks. After a while, I found myself facing a problem I couldn't master: to make algorithm that make three object shich are colliding with each other, and has the same color, dissapear. I tried to fix this several times wothout result. So, I abandoned the whole idea.

When I looked at the game again today, I added a bumpmapping shader just for fun. The result was, I think, really nice, and I thought it would be a shame not to show anyone how far it got. It maybe had some potential to become a good game.

The controlls are following
* left mouse button picks up a creature.
* Right mouse button puts down the most recent creature you've picked up.
* Left/right mouse button rotates the camera
* The mouse wheel zoomes in/out.

The idea is to pick up five creatures in five different color. These creatures are moved into a tetris-ish board to the left. If three or more creatures of the same color are next to each other in this board, they will dissapear and you will recive points. (It was this I had problems with).

Please post a comment if you try it

Screenshot:
[img=http://img85.imageshack.us/img85/692/screenbk3.th.jpg]

www.godhatessweden.com

Good laughter!

Attachments

Login to view attachments
Pricey
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 9th Oct 2006 19:57
thats cool, send me the code if you like
i can write a simple bit of code that can do what you want to do =)

:: 3Ghz Pentium 4 / Hyper Threading, 1024mb RAM, 250GB HDD, 256mb Radeon 9600XT Graphics ::


Pricey
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 9th Oct 2006 20:05
actually, the code is in the ZIP file
i'll have a look at the code and mail you back okay?

:: 3Ghz Pentium 4 / Hyper Threading, 1024mb RAM, 250GB HDD, 256mb Radeon 9600XT Graphics ::


Stora tomtefar
19
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 11th Oct 2006 16:03
Yeah, but do you understand the comments, even though they're swedish?
I would be very glad if you could do that. Thanks!

www.godhatessweden.com

Good laughter!
Pricey
21
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 13th Oct 2006 11:42
its very hard to understand, but i'll give it a shot...
i can't work out how to rotate the camera properly though =S
do you control it with the mouse or what?
its difficult

:: 3Ghz Pentium 4 / Hyper Threading, 1024mb RAM, 250GB HDD, 256mb Radeon 9600XT Graphics ::


Stora tomtefar
19
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 13th Oct 2006 12:55 Edited at: 13th Oct 2006 12:57
The camera? Well, object nr 666 is int the center of the board and is invisible. The player rotates this object, and the camera's Y-angle is set to the object 666's Y-angel. Thereafter, the camera is positioned to the coordinates 0,0,0, only to move back to the value of zoom#.

I belive that this code handles the camera:



I wrote the comments in english, aswell. I thought it would help.

www.godhatessweden.com

Good laughter!

Login to post a reply

Server time is: 2024-11-23 19:22:58
Your offset time is: 2024-11-23 19:22:58