[lisp-game-dev] [PROGRESS] Engine Troubles over Tentacle Planet, part 2

Erik Winkels aerique at xs4all.nl
Thu Jul 22 20:36:58 UTC 2010


Blogged here (with video): http://aerique.blogspot.com/2010/07/ilge-2010-engine-troubles-over-tentacle_22.html

1 Progress
~~~~~~~~~~

Since the last report I've added: a controllable spaceship, bullets,
tentacles and I made an unsuccessful attempt at producing a Linux
binary.

For the controls I use the OIS library.  I was already familiar with
this due to my clois-lane library.  The controls work but don't feel
quite right yet and need some minor adjustments.

Adding bullets was straightforward.  The most time was put into the
tentacles and the attempt at making a statically linked Linux binary.

The tentacles are Ogre prefab cubes plot along a Bézier curve.  The P1
and P2 control points and the P3 end point are assigned a new x,y,z
coordinate each frame.  This coordinate is picked by walking through 3D
Perlin noise with a random movement vector for each point.  (The vector
was created randomly at creation time, it's stays the same from frame to
frame.)

The code is a huge mess by now and it is getting in the way.  Next
priority should be a clean-up.

2 To Do
~~~~~~~

- [X] rolling terrain (high)
- [X] controllable spaceship (high)
- [ ] improve controls (low): The controls aren't quite there yet,
      especially moving left and right.
- [X] bullets (high)
- [X] cmake file (low)
- [X] basic tentacles (high)
- [ ] shootable tentacles (high)
- [ ] collision detection: spaceship vs terrain (high)
- [ ] collision detection: spaceship vs all other entities (high)
- [ ] tentacles that shoot small spores (medium)
- [ ] roaming (bigger) spores that attack the player (medium)
- [ ] some minor GUI elements showing the score, highscore and
      FPS. (high)
- [ ] make binary release for Windows (medium)
- [ ] spaceship needs to cast a shadow in the terrain to judge heights
      (high): Solved this by using prefab entities instead of a
      manual object.
- *canceled:* make binary release for Linux (high): This is just too
  much of a hassle.  The Ogre package for Debian didn't come with
  static libraries and compiling it myself with "--disable-shared
  --enable-static" didn't produce them either so this is going to take
  too much time.
  Eventually I managed to build static Ogre libraries but ran into
  other problems when compiling with "-static".  Statically compiling
  is something I have no experience with and this looks like it is
  going to take too much time for the ILGE 2010.
  For Linux it seems distribution by deb and rpm packages will be the
  best solution.  (What a revelation!)

3 Source
~~~~~~~~

The code for the latest version isn't available yet since it is a
horrible mess.  Keep watching http://www.aerique.net/software/etotp/
(not up yet) if you're interested.

3.1 Linux Dependencies
----------------------

ECL (10.4.1) configured "--with-cxx".  (Feel free to try without it, I
haven't.)

Debian: libogre-dev ogre-plugins-cgprogrammanager




More information about the Lisp-game-dev mailing list