Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Finite State Machine and Data Structures for Game Control, Study Guides, Projects, Research of Computer Science

The design of a finite state machine (fsm) for game control, along with the definition of various data structures used to store game entities' properties. Three custom types: str_hovercraft, str_menu, and str_results, each with specific fields. The fsm consists of several states: menu, results, level, fade in, fade out, and play.

Typology: Study Guides, Projects, Research

Pre 2010

Uploaded on 07/29/2009

koofers-user-810
koofers-user-810 🇺🇸

10 documents

1 / 4

Toggle sidebar

Related documents


Partial preview of the text

Download Finite State Machine and Data Structures for Game Control and more Study Guides, Projects, Research Computer Science in PDF only on Docsity! Finite State Machine and Data Structures Data Structures: Type STR_hovercraft Field pivot Field xposition# Field yposition# Field zposition# Field xvelocity# Field yvelocity# Field zvelocity# Field xrotate# Field yrotate# Field zrotate# Field pitch Field yaw Field roll Field entity Field maxspeed# Field accelerationRate# Field turningability# Field slideamount# Field accelerate Field turn Field deltaYangletoWaypoint Field hover_x_count Field hover_y_count Field x_movement# Field y_movement# Field collisionFlag Field timer Field start_time# Field finish_time# Field waypoint Field timeOfCollison Field afterburner Field shield Field shieldB Field timeAtLastPosition Field lap_counter Field number Field position End Type Type STR_menu Field pivot Field choice_pivot Field menu_pivot Field vehicle1 Field vehicle2 Field vehicle3 Field vehicle4 Field menu_item1 Field menu_item2 Field menu_item3 Field i Field angle% Field target_angle% Field choice_angle% Field choice_target_angle% Field menu_angle% Field menu_i Field menu_target_angle% Field menu_selected Field help_shown Field vehicle_selected Field choice_selected Field choice_i Field selected Field plane Field light Field title_entity Field sky Field start_entity Field exit_entity Field pivotlevel1 Field x_movement# Field y_movement# Field hover_x_count Field hover_y_count End Type
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved