chrisgregan
a801431750
Fixed Say() command clearing previously added options
11 years ago
chrisgregan
c152545f94
Fixes for page style
...
- Made alternate box background green instead of transparent.
- Renamed PageStyle prefabs and style assets to use a numbering scheme
-
11 years ago
chrisgregan
9d2b07f9f5
Removed redundant AudioSource component from Game.
11 years ago
chrisgregan
c1aa9f734f
Fixed PageStyle.cs comments. Updated Doxygen settings for v1.1.0.
11 years ago
chrisgregan
365658274c
Update README.md
11 years ago
chrisgregan
50dba9d2f2
Update README.md
11 years ago
chrisgregan
dbbf31e6eb
Update README.md
11 years ago
chrisgregan
f56b44898b
Added vertical alignment property to Page.
...
Page rect is now always forced to be on screen.
11 years ago
chrisgregan
70e90685d8
Page rendering improvements
...
Links now appear as large buttons
Option row colours now change on alternate rows
Switched to a more readable font
Added an separate continue button in bottom right
11 years ago
chrisgregan
2e11f6a182
Fixed font scale calculations.
...
Fonts now scale when resizing window.
Added a short delay before quick continue.
Centered title text (in style prefabs)
11 years ago
chrisgregan
d35ff84ea3
Added PageStyle class to simplify control of Page rendering styles.
...
Can now set the Game.activePageStyle property to control the currently
active Page rendering style.
Added a SetPageStyle() command to set the style in a command sequence.
Added 2 PageStyle prefabs assets.
Renamed Room classes to be consistent.
11 years ago
chrisgregan
db7d44acda
Added Doxygen documentation support.
...
Fully documented all methods on GameController.cs
Documented all classes and most public functions.
11 years ago
chrisgregan
8ceb01e565
Configured settings for Android and added app icon
11 years ago
chrisgregan
04b973191e
Can click/tap anywhere to continue
11 years ago
chrisgregan
6d5a58a202
Improved page box background
...
Updated page prefabs to use new box background
11 years ago
chrisgregan
69e034058e
Fixed partially written words jumping to next line due to word wrap
...
Fixed by inserting extra line breaks just before a word would cause a
word wrap to occur.
11 years ago
chrisgregan
71eb606014
Fixed characters per second calculation for writing text
...
Setting Game.charactersPerSecond to zero writes instantly
11 years ago
chrisgregan
4b47435acd
Page font sizes are now specified as a fraction of screen height
11 years ago
chrisgregan
0e36980c65
Renamed StartGameMusic to StartMusic and StopGameMusic to StopMusic
11 years ago
chrisgregan
96956cf108
Made Game.activeRoom the first property in inspector
11 years ago
chrisgregan
551154298e
Updated Game prefab to match Game object in example scene.
11 years ago
chrisgregan
3c422f234c
Miscellaneous refactors to hide complexity
...
- Added GameController facade class to hide complexity and provide a
single place to access all Fungus functionality
- Removed existing facade methods on Game (redundant)
- Removed Room.OnLeave (not necessary, and possibly dangerous)
- Renamed AnimationListener.OnAnimationEvent() to CallRoomMethod (more
descriptive).
- Button component will now use existing Collider2D if one exists.
- Game component now manages CameraController configuration
- Game now adds CameraController and CommandQueue at runtime instead of
in editor (less user configuration)
- CommandQueue now owns the methods for executing command methods
- Added StringTable class to manage key/string lookups
- Moved SubstituteStrings() and FormatLinkText() to new StringTable
class
- Room.Enter() method is now private to hide implementation details
- Updated example project to match changes
11 years ago
chrisgregan
188ee7fba7
Updated Room template to give better examples
11 years ago
chrisgregan
9435f1255e
Tidy up Start() function comment
11 years ago
chrisgregan
c80f0db7aa
Only show story text on first visit in AudioRoom example
11 years ago
chrisgregan
c334ad4c84
All Room names now appear when any room is selected.
11 years ago
chrisgregan
e003e844d2
Added audio commands and new audio example room.
...
- PlayGameMusic()
- StopGameMusic()
- SetMusicVolume()
- PlaySound()
11 years ago
chrisgregan
7d9eaafe40
Added PanToViewPath() command to smoothly pan along a path
...
- Added iTween to support camera tweening. It’s in the Fungus namespace
so shouldn’t interfere with any other iTween instance in your game.
- Added an option on Views room to show PanToPath()
11 years ago
chrisgregan
4ac09b0660
Refactored CameraController to use a coroutine for Pan.
11 years ago
chrisgregan
653d3722d1
Renamed AnimationEventListener to AnimationListener
11 years ago
chrisgregan
f35a690080
Changed order of mushroom fade in example room
11 years ago
chrisgregan
4f40c9c06f
New AddButton() and RemoveButton() room methods
...
Use AddButton() to make any sprite clickable
Use RemoveButton() to remove clickable functionality
11 years ago
chrisgregan
b4c530aead
Fixed layer order issue in Sprites Room
11 years ago
chrisgregan
ab4207ef84
Animation Event Listener now uses the event string parameter to call a room method with the same name.
11 years ago
chrisgregan
105f0400c8
Replaced SpriteController with SpriteFader component.
...
The new way to fade a sprite is to attach a SpriteFader component to
the sprite at runtime (instead of doing in at design time in the
editor).
11 years ago
chrisgregan
4452879a4d
Make sure blue alien is visible next time you visit Sprites Room.
11 years ago
chrisgregan
32217223e8
Refactored example room names.
11 years ago
chrisgregan
43c92bc0e8
Added build dir to .gitignore
11 years ago
chrisgregan
352c148310
Ignore .userprefs
11 years ago
chrisgregan
458d887491
Added animation example.
11 years ago
chrisgregan
ff9c0cf4c8
Renamed Example to FungusExample
11 years ago
chrisgregan
9815b36c4d
Update README.md
11 years ago
chrisgregan
64755cd9eb
Update README.md
11 years ago
chrisgregan
bb63f68743
Update README.md
11 years ago
chrisgregan
718f9e971d
Update README.md
11 years ago
chrisgregan
f9df8a24d5
Update README.md
11 years ago
chrisgregan
e131f34d09
Update README.md
11 years ago
chrisgregan
0c43d4b56a
Update README.md
11 years ago
chrisgregan
a447b8d490
Delete Fungus.userprefs
11 years ago
chrisgregan
a72dcd4016
Added Fungus library and example files
11 years ago