⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 2D游戏引擎hge的代码
💻 TXT
字号:
Haaf's Game Engine 1.4
Copyright (C) 2003-2004, Relish Games
http://hge.relishgames.com


Overview
================================

HGE is a C/C++ library for creating hardware accelerated 2D games
for Microsoft Windows. It provides minimal yet fully functional
and flexible set of routines for handling graphics, sound and input,
carefully hiding all that Windows API nightmare specially designed
for driving people mad. Plus a set of helper classes for various game
gadgets. You don't have to know anything about "window messages",
DirectX programming and all that stuff. Instead you can start
developing your own game within 15 minutes!

HGE will run even on low-end video cards, including built in
video cards such as Intel Solano (i815 chipset).

HGE requires DirectX 8.0 to run. http://www.microsoft.com/directx
HGE uses BASS library for sound routines. http://un4seen.com


Features
================================

System layer:
Hardware accelerated 2D graphics
  Support for BMP, DDS, DIB, JPG, PNG, TGA file formats
  Windowed and fullscreen modes
  Arbitrary quads rendering
  Line drawing
  Rendering to texture
  Direct texture data access
  Clipping regions
  Various blending modes
  Alpha channel
  Tinting
  Z-buffer
Audio effects and music playback
  Support for WAV, MP3, MP2, MP1 and OGG audio file formats
  Support for MO3, IT, XM, S3M, MTM, MOD and UMX music file formats
  Flexible volume, panning and pitch control
Keyboard and mouse input handling
  Get keys state and clicks
  Get key names
  Translate keycode to character
  Mouse position & wheel tracking
  Event-based input handling
Resources
  Load resources from disk files
  Load resources from ZIP file
  Easy switching between both
Timing functions
  Frame rate synchronisation
  FPS counting
  Fixed FPS mode
Initialization file
  Write and read strings, integers and floats
Log file
  printf-style text output

Helper classes:
Sprite
  Transparent interface to all hardware features
  Exact texel-to-pixel rendering
  Anchor point support
  Stretching, rotating and scaling support
  Horizontal and vertical flipping
  Bounding box calculation and collision detection
Animation
  Easy access to all Sprite features
  Timing functions
  Various playback modes
Font
  Load and render bitmap fonts
  Various text alignment modes
  Font scaling
  String width calculation
  printf-style text output
Particle systems
  Advanced 2D particle systems
  Particle systems editor included
  Particle systems manager
  Timing and movement functions
  Bounding box calculation and collision detection
Distortion mesh
  Water, lenses, page wraps, twists and even real-time morphing effects 
Resource manager
  Powerful resource script
  Create complex objects with just a single call
  Fully automated memory management
  Precaching and purging of specific resource groups
GUI
  Simple and flexible controls management
  Default controls: Text, Buttons and Sliders
  Support for highly interactive animated GUIs
Rect
  Flexible set up functions
  Points encapsulation
  Intersection test with a point
  Intersection test with another Rect
Vector
  Full set of operators and functions for handling 2D vectors
Color
  Full set of operators for ARGB color calculations
  Hardware color conversion
  Color clamping


More information
================================

See documentation for details.
See license.txt for licensing information.
Send any questions, suggestions and bug reports to hge@relishgames.com.


Cheers! :)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -