AcidTube WIP

This is a discussion on AcidTube WIP within the Game Programming forums, part of the General Programming Boards category; I've been working on a game recently, and while currently not a game (I'm not really sure what to do ...

  1. #1
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254

    AcidTube WIP

    I've been working on a game recently, and while currently not a game (I'm not really sure what to do to actually add gameplay yet), I've got a cool graphical effect going on.

    You can download it HERE, only ~300 kb (most of which is the glfw which I statically linked to).

    I've attached a screenshot, but you need to actually try it out to give it justice.

    Any comments, criticisms, or ideas to turn it into an actual game are welcome.

    It's written in C++ using OpenGL, along with GLFW for window creation and the like, and seems to run fine on older computers/cards.
    Attached Images Attached Images  
    Programming Your Mom. http://www.dandongs.com/

  2. #2
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    *foams at the mouth*

    That was pretty cool. I'm just starting with opengl. I'm using glut for windowing though, while I don't use a ton of it aside from a few functions how is it in comparison with GLFW?

  3. #3
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444
    Very nice effect indeed, maybe increase the speed even more.

    This reminds me of a game I used to play called Ballistics whose whole purpose was to drive through tubes as fast as possible, within a time limit. The innovation in the game was that there was virtually no speed limit as your vehicle speed increases as long as you accelerate and you could run over speed breakers which would give an even bigger boost. The problem was that the tubes had obstacles (they had a very nice system where the obstacles would shine through the solid wall of the tubes so you could see them even at insane speed) and that you had on the correct side of the tube in a curve, or else you'd lift off the ground and crash.

  4. #4
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    if nothing else, it'd make a wicked screensaver!

  5. #5
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    The green, yellow and pink is pretty blurred compared to the blue/black

    Add some elements that are going to be likely in any game

    Tunnel length, speed, rotation, bends, diameter, possibly shape, etc.

    edit: horizontal blending would be cool too
    Last edited by MadCow257; 04-06-2007 at 05:30 PM.

  6. #6
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    First off, in comparison to GLUT, GLFW is a lot more powerful. It provides things such as threading, tga loading, OpenGL Extensions (important, although I don't use them here), and joystick support. http://glfw.sourceforge.net/
    They also have a section in their FAQ on why it vs. GLUT.
    I was actually thinking something similar to this Ballistics game (cross type shapes in the center of the tube for you to avoid), although I'm not sure.

    I'd rather avoid making the tube bend and such, as that got messy the last time I attempted it.
    Whatever game I make, I want to go with infinite tube length, with reasonably insane speed, and make the goal be a high score (online high score board).

    The one thing I want to avoid is making it a duplicate of my past games UberTube
    Programming Your Mom. http://www.dandongs.com/

  7. #7
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    How are you making the tube infinite in length? I'd be interested in this effect for my space project during system transition sequences.

  8. #8
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,070
    I figure setting the 'w' coordinate of the verticies at the end of the tube to 0 would probably do it. I have no idea how CrazyNorman is doing it though.

    EDIT: Nevermind me, I don't think that's it. Because the tube looks like it's made of multiple sections (for the colours), that appear to still alternate into the distance at 'infinity'.
    Memorial University of Newfoundland
    Computer Science

    Mac and OpenGL evangelist.

  9. #9
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    yup, the tube is made of sections, and they get closer to you. As the pass you, they are deleted, and a new one is created at the far end of the tube (its all random). I have a more efficient way of doing this that I'm using, which doesn't require array shifting or linked lists or reallocation, but that is the idea behind it.

    Its not truly infinite, but gameplay wise it is.
    Programming Your Mom. http://www.dandongs.com/

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    I would like to see an example of this. I tried something similar with terrain and could never get the distant terrain to spawn at the right place. Starfields, however, do work well and I use only model coords for that. So are you generating the tube vertices relative to 0,0,0 or relative to the camera world position?

  11. #11
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    First off, new test release (I got it working on Windows this time). Apparently, the Linux NVidia drivers were forcing a depth bufer to exist, so I never noticed that I wasn't creating one under Windows, which become obvious once I tried to add spinning walls of death.
    Anyways, these walls of death render correctly along with a depth buffer.

    The gameplay (unless you all say otherwise), will be dodging the spinny yellow/green things. Right now, you still can't play, but this has all the graphics so you can imagine.
    http://tevlog.com/fgc4.exe



    You can download source code with dev project as of now below (its extremely messy, currently under development, etc. don't make too much fun of it till I get a chance to clean it), if you are curious about how everything works.
    http://tevlog.com/fgc_src.zip

    To compile it under Windows, first get the latest bloodshed dev-C++ beta:
    http://sourceforge.net/project/downl...irror=internap

    Next, the GLFW Dev-Pack for Dev-C++ (and install it from the Dev-C++ package manager):
    http://iaplejeu.free.fr/autres/glfw-2.5.0-2fun.DevPak

    Finally, just open the project file (fgc.dev), and it should compile fine.
    The code blocks file is for linux.

    Now to Bubba:
    If looking at the code is a little annoying (in its current state, thats very understandable),
    I generate the tube one segment at a time. I generate them relative to that segment, and store each segment in its own display list. I then just glTranslate(0, 0, -segmentSize); for each segment.
    Programming Your Mom. http://www.dandongs.com/

  12. #12
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    http://tevlog.com/fgc6.exe

    Its massively different than before visually (you will see).

    I think it looks cool, but do you guys think this change is for better or for worse?
    Programming Your Mom. http://www.dandongs.com/

  13. #13
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    Maybe I shouldn't be programming on Easter, but whatever.
    This is like the above, except the enemies "glow" so that they don't disappear when the tube goes dark.
    Now I'm starting to work on gameplay.
    EXE and src:
    http://tevlog.com/fgc7.exe
    http://tevglog.com/fgc_src7.zip
    Programming Your Mom. http://www.dandongs.com/

  14. #14
    Yah. Morgul's Avatar
    Join Date
    Feb 2005
    Posts
    109
    That looks really good, but I think it should stay lighter a little longer. Right now it appears to be dark most of the time, and when it's dark you can't see the acid effect very well. Since the acid effect spurned you to make this new game, it should have a bit more of the focus. However, the glowing in the dark is pretty awesome.

    Overall, very cool.
    Sic vis pacum para bellum. If you want peace, prepare for war.

  15. #15
    Amazingly beautiful user.
    Join Date
    Jul 2005
    Location
    If you knew I'd have to kill you
    Posts
    254
    IT'S A GAME
    This is still an alpha release, but it's a game, and you can play it. No high score board yet (none till I atleast finalize gameplay), and no song yet (waiting on a few friends to make me one).

    But, you can play it and see what type of scores you can obtain.
    http://tevlog.com/fgc11.exe

    Also, if you have suggestions for gameplay, or graphics, I'd love them, as its still not quite what I want yet.
    Last edited by CrazyNorman; 04-10-2007 at 07:36 PM. Reason: elaboration
    Programming Your Mom. http://www.dandongs.com/

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Little screenie of my WIP
    By Raigne in forum Game Programming
    Replies: 6
    Last Post: 04-22-2008, 12:53 PM
  2. WIP Borland C Doubly linked list
    By BCWarrior in forum C Programming
    Replies: 41
    Last Post: 09-25-2007, 12:06 AM
  3. Templated Generic Resource Manager, WIP..
    By Shamino in forum C++ Programming
    Replies: 13
    Last Post: 02-19-2006, 05:29 PM
  4. Generic Resource_Manager WIP with lots TODO
    By Shamino in forum C++ Programming
    Replies: 19
    Last Post: 02-01-2006, 12:55 AM
  5. Space Pong (WIP)
    By Jeremy G in forum Game Programming
    Replies: 1
    Last Post: 05-17-2005, 08:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21