Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Initial Version and Version 1 of ~archive/VerticalScroller


Ignore:
Timestamp:
Nov 28, 2007, 1:14:32 AM (17 years ago)
Author:
landauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ~archive/VerticalScroller

    v1 v1  
     1= Vertical Scroller =
     2[[ArchivePage]]
     3
     4== Author ==
     5[https://dev.orxonox.net/wiki/MichelMueller Michel Mueller]
     6
     7== Ticket Description ==
     8[https://dev.orxonox.net/ticket/155 here]
     9
     10== Developer's Journal ==
     11[https://forum.orxonox.net/viewtopic.php?t=60 here]
     12
     13== Goals ==
     14 * Creation of an appropriate implementation to handle the vertical/horicontal - scroller gamemode.  "Done"[[BR]]
     15 * Implement Playership- Animations. "Done" [[BR]]
     16 * Find well-balanced settings for camera view, movement speed and animations. "Done"[[BR]]
     17 * Implement a nice-looking interface that prevents the player with all the informations necessary. "Depends on what the user defines as 'nice-looking', but except that: Done ;-)"[[BR]]
     18
     19== Achievements ==
     20=== Playmode ===
     21 * to set the appropriate playmode for the spaceship (only the playmode "Horizontal" has been implemented already), just set the tag <playmode>Horizontal</playmode> to the !SpaceShip that is mounted by the player inside the level-xml- file. [[BR]]
     22 * this handles basically the camera settings to begin with and also it sets up the tracknode as the center-point of the screen. [[BR]]
     23=== Player Movement ===
     24 * inside this playmode the player can move only relatively to the tracknode. the final movement is an addition of the tracknode movement (through parenting) and the player movement, which is implicated through the key events up, down, left and right. [[BR]]
     25 * the acceleration of the playermovement is currently simply fixed through the local variable "airCoeff" inside the movement- function of SpaceShip. [[BR]]
     26 * the maxspeed of the playermovement can be influenced through the character- values: engineSpeedBase, reactorOutput and engineEnergyShare. These Values are currently just fixed values that are being initialised to a standard value. changing those requires recompiling. [[BR]]
     27 * the borders of possible movement ("travelDistance") are restricted to the screen size that is visible in the top-down perspective. changing the resolution, camera distance or camera field of view will lead to a recalculation of this movement field. [[BR]]
     28 * also the movements can be restricted in its width by the xml- loadable variable "actionWidthPercentage" (to be loaded as a tag of !SpaceShip). for example an actionWidthPercentage of 80 will restrict the player to 80 percent of the screen's width. the rest of the screen are used for the HUD- blendovers. tough less than 20percent space for the HUD will set the HUD- blendovers to a minimum width of 10 percent for each side of the screen, which means, that the player will be able to fly behind the HUD. [[BR]]
     29=== Camera Handling ===
     30 * the distance and field of view of the camera in top-down mode can be set by the xml-tags <cameraDistance> and <cameraFovy>. they have to be attached to the !SpaceShips tough, since the camera has never been thought to be loadable by xml. [[BR]]
     31 * during the flight, the player can switch through the camera views by the number keys 1 to 6, while 6 is the standard- top down view. the handling of the camera settings and parenting had to be overwritten by the !SpaceShip event handler, since the scroller- playmode requires a different approach, than the first-person mode for instance. [[BR]]
     32
     33== HUD ==
     34=== History ===
     35'''first ideas by nicolas, according to board discussion:'''[[BR]]
     36[http://people.ee.ethz.ch/~nicolasc/HUD2.png] [[BR]]
     37'''first achievements in showing the interface vertically: '''[[BR]]
     38[[Image(interface1.jpg)]] [[BR]]
     39'''some sketch, how i imagined the assembling of the huds (sizes not representative)'''[[BR]]
     40[[Image(interface1.2.jpg)]][[BR]]
     41'''current state: '''[[BR]]
     42[[Image(Bildschirmphoto4.jpg)]] [[BR]]
     43
     44=== Description ===
     45 * the hud has been programmed as a blendover on left / right screen side. right side: ammunition stats, left side: radar, player stats. stat bars are growing vertically and align themselves horicontally. this leads to a better use of the given space, that is rather vertical in nature. the ammunition bars align themselves from the right border and switch to a next line when reaching the left border of the blendover. [[BR]]
     46 * it resizes itsself according to the screen resolution and the actionWidthPercentage (see Player Movement). except some bugs the resizing works well. [[BR]]
     47 * each gui- element has its own logo. the logos have been designed by me, so they are under the licensed of orxonox. [[BR]]
     48
     49=== Interface Logos ===
     50 * player stats: [[BR]]
     51||electronics||shields||health||
     52||[[Image(gui_electronics_icon.png, 100p)]]||[[Image(gui_shield_icon.png, 256px)]]||[[Image(gui_health_icon.png, 256.px)]]||
     53 * human weapons: (mostly extracted from the existing textures)
     54||light blaster||medium blaster||heavy blaster||swarm missiles||
     55||[[Image(gui_light_bolt.png,2px)]]||[[Image(gui_medium_bold.png,100px)]]||[[Image(gui_heavy_bolt.png, 256px)]]||[[Image(gui_swarm_missiles.png, 256px)]]||
     56 * noxon weapons:
     57||acid launcher||spike thrower||
     58||[[Image(gui_acid.png)]]||[[Image(gui_spikeball.png)]]||