Difference between revisions of "TwinE"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Added the github links for the lba1 and lba2 sources)
(Removed "Since ScummVM" for consistency with other engine wikipages)
(4 intermediate revisions by one other user not shown)
Line 5: Line 5:
usedBy=[[Little Big Adventure]]|
usedBy=[[Little Big Adventure]]|
dateAdded=October 24, 2020|
dateAdded=October 24, 2020|
release=
release=2.5.0
}}
}}


Line 16: Line 16:
There are several debug console commands that help you to debug the game faster.
There are several debug console commands that help you to debug the game faster.


* '''toggle_freecamera''': Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera.
* '''toggle_freecamera''': Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera. (Use the key v to place the hero at the center of the camera)
* '''hero_pos''': Set the hero position. You can also use (by default) the key '''v''' that is bound to spawning the actor at the current center of the camera.
* '''hero_pos''': Set the hero position. You can also use (by default) the key '''v''' that is bound to spawning the actor at the current center of the camera.
* '''give_allitems'''
* '''give_allitems'''
Line 24: Line 24:
* '''change_scene <scene_id>'''
* '''change_scene <scene_id>'''
* '''toggle_debug''': Allows you to activate an in-game debug menu with the right mouse button
* '''toggle_debug''': Allows you to activate an in-game debug menu with the right mouse button
*'''toggle_godmode'''


There are a few more commands - just use the '''help''' command to get a complete list of the commands
There are a few more commands - just use the '''help''' command to get a complete list of the commands
Line 30: Line 31:


A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE
A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE
== Debugging ==
The engine supports the [[Boot Params|boot parameter]] option and allows you to activate [[Debugging ScummVM|debug channels]]. To e.g. debug the scripts in room 49 you can do:
./scummvm --debug-channels-only --debugflags=Scripts -d3 -b 49 lba-de
===Room list===
Find the ids of the room in the <code>enum LBA1SceneId</code> in [https://github.com/scummvm/scummvm/blob/master/engines/twine/shared.h shared.h]
== New Feature ==
* High resolution mode (1024x768)
* Achievements from Dotemu release
* Midi as mp3/ogg/flac for Dotemu release


== OpenSource ==
== OpenSource ==

Revision as of 16:58, 15 February 2022

TwinE
Engine developer mgerhardy
Companies that used it Adeline Software International
Games that use it Little Big Adventure
Date added to ScummVM 2020-10-24
First release containing it 2.5.0

This engine runs the adventure game Little Big Adventure by Adeline Software International.

It is based on TwinEngine: https://github.com/xesf/twin-e (for reference)

Development

There are several debug console commands that help you to debug the game faster.

  • toggle_freecamera: Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera. (Use the key v to place the hero at the center of the camera)
  • hero_pos: Set the hero position. You can also use (by default) the key v that is bound to spawning the actor at the current center of the camera.
  • give_allitems
  • give_key [<amount>]
  • give_gas [<amount>]
  • give_kashes [<amount>]
  • change_scene <scene_id>
  • toggle_debug: Allows you to activate an in-game debug menu with the right mouse button
  • toggle_godmode

There are a few more commands - just use the help command to get a complete list of the commands

A great resource of information is http://lbafileinfo.kaziq.net/

A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE

Debugging

The engine supports the boot parameter option and allows you to activate debug channels. To e.g. debug the scripts in room 49 you can do:

./scummvm --debug-channels-only --debugflags=Scripts -d3 -b 49 lba-de

Room list

Find the ids of the room in the enum LBA1SceneId in shared.h

New Feature

  • High resolution mode (1024x768)
  • Achievements from Dotemu release
  • Midi as mp3/ogg/flac for Dotemu release

OpenSource

[2.21] released the source code of lba1 and lba2 on github.