Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 13 years ago

Last modified 12 years ago

#155 reopened task

Vertical/Horizontal Scroller Controls

Reported by: patrick Owned by: muellmic
Priority: major Milestone: Old Orxonox tickets orx-v0
Component: GeneralFramework Version:
Keywords: Cc:
Referenced By: References:

Description

Intro

The space ship control is used for direct in-game interaction with the avatar of the player. The player needs to feel comfortable with the control, the perspective and the ships reaction to input. We want different scroller perspectives:

http://upload.wikimedia.org/wikipedia/en/9/90/Raiden_%28game%29.png http://upload.wikimedia.org/wikipedia/en/9/93/Rtypeiiscreenshot.png
vertical scroller (left), horizontal scroller (right)

After the design and implementation, this project needs lots of testing to get the optimal control. You will need play some other similar games to let yourself be inspired.

Goals

  • define a well playable vertical scroller mode (extend the current version)
  • define a well playable horizontal scroller mode (new)
  • switching between these modes should be very easy (interface function) and scripteable

Information Gathering

You will need to:

  • look out for the most popular vertical/horizontal scroller games (make sure to check out this wikipedia page)
  • be sure to download some demos from such games and play them until you get a feeling of how the controls work
  • there is already a vertical scroller implementation available, be sure to check it out: you will find it in playable.cc function: setPlaymode(...) be sure to look at the playable.h header file too (line 113 you find the most important function: enterPlaymode(Playmode& mode).
  • most important look at spacecraft_2d.cc and spacecraft_2d.h you will mostly work with those two classes
  • scripting howto (ScriptingHowTo) for play mode changes

Implementation

  • each space ship (directory) defines its own enterPlaymode(Playmode& mode) function. This is where the code is written that describes how the switching between the gamemodes should look like.
  • how the spaceship moves is described in the function void Spacecraft2D::movement (float dt). For each playmode, there is a case describing the input reactions.
  • there is already an interface for switching player mode, find it and make sure it can be accessed by scripts

Change History (7)

comment:1 Changed 13 years ago by patrick

  • Milestone set to 0.5.0_basic_single_player

comment:2 Changed 13 years ago by patrick

Addon: Be sure to check www.youtube.com about all game titles eg:

  • Radiant
  • Ikaruga
  • Thunderburd

I'm sure you will find more :D

comment:3 Changed 13 years ago by bknecht

I checked out youtube for the titles you mentioned. It's totally crazy! With our Enginge it should be easy to make a lot cooler stuff. (I know the games are like more than 10 years old)

comment:4 Changed 13 years ago by muellmic

  • Owner changed from patrick to muellmic

comment:5 Changed 12 years ago by bknecht

  • Resolution set to invalid
  • Status changed from new to closed

comment:6 Changed 12 years ago by bknecht

  • Milestone changed from 0.5.0_basic_single_player to Old Orxonox tickets

Milestone 0.5.0_basic_single_player deleted

comment:7 Changed 12 years ago by bknecht

  • Resolution invalid deleted
  • Status changed from closed to reopened
Note: See TracTickets for help on using tickets.