Opened 18 years ago
Last modified 17 years ago
#158 reopened task
Animated Objects
Reported by: | patrick | Owned by: | patrick |
---|---|---|---|
Priority: | critical | Milestone: | Old Orxonox tickets orx-v0 |
Component: | GeneralFramework | Version: | |
Keywords: | Cc: | ||
Referenced By: | References: |
Description
Intro
It would look much better, if objects (like enemies, obstables, …) would not just pop up infront of the player as it is usual for oldskool vertical scroller games, but would fly in from behind or wherever. Look at this video and you will know what I mean
http://www.excellentcontent.com/emuzone/rsg3.jpg
http://www.sega-universe.de/img/articles/50/Radiant-Silvergun-jap-10.gif
(images: both from Radiant Silvergun )
http://upload.wikimedia.org/wikipedia/de/thumb/4/44/Spline_interpolation.png/250px-Spline_interpolation.png
(image from wikipedia, splines)
Goal
- Implement a scripting interface to enemy spaceships that gives the programmer a easy way to generate animated movements
- movement is defined by waypoints (3D vectors) in space and times they need to reach these
- the track is a numerical approximation: eg. bezier lines or splines
Information Gathering
- Be sure to watch this video, there you can see how ships enter the screen
- Read the article about splies from wikipedia
- Here you will find an old source code creating a track from some discrete points directory.
Implementation
- create a new Track class based on the old track system (just without forks/joins, and with adjustable/const speed)
- simple interface:
- adding points for the track, time marks and movement functions (function of speed)
- resetting the track
- getting the position of an object moving on this track for a given time
- the track should be drawable for visualizing and debug reasons
Change History (3)
comment:1 Changed 17 years ago by bknecht
- Resolution set to invalid
- Status changed from new to closed
comment:2 Changed 17 years ago by bknecht
- Milestone changed from 0.5.0_basic_single_player to Old Orxonox tickets
comment:3 Changed 17 years ago by bknecht
- Resolution invalid deleted
- Status changed from closed to reopened
Note: See
TracTickets for help on using
tickets.
Milestone 0.5.0_basic_single_player deleted