Search found 252 matches

by mahewitt
Sat Aug 17, 2019 9:15 pm
Forum: Game Framework
Topic: Levelbuttons not refreshing stars
Replies: 3
Views: 309

Re: Levelbuttons not refreshing stars

Hi. Sorry about the slow response. Taking a look through the code it looks like it could be because the levelbutton component isn't reacting to certain state changes (such as number of stars won. As a test can you try adding the following code into FlipWebApps\GameFramework\Scripts\GameStructure\Lev...
by mahewitt
Mon Aug 05, 2019 7:43 pm
Forum: Game Framework
Topic: Make Methods virtual & extend Game Manager
Replies: 3
Views: 522

Re: Make Methods virtual & extend Game Manager

Ok. Thanks for letting me know. Always possible there might have been side affects. I will keep this in mind for the future though to make things virtual where possible.
by mahewitt
Mon Aug 05, 2019 7:40 pm
Forum: Game Framework
Topic: Reset Game / New Game
Replies: 1
Views: 408

Re: Reset Game / New Game

Hi. Sorry for the delay in getting back - a few days vacation here :) That is an interesting question. All settings are saved into Player prefs. The simplest way is just to GameFramework.Preferences.PreferencesFactory.Instance.DeleteAll() however you then delete everything and might lose other infor...
by mahewitt
Mon Aug 05, 2019 7:29 pm
Forum: Game Framework
Topic: Generic Game Objects
Replies: 8
Views: 1219

Re: Generic Game Objects

glad to hear :D
by mahewitt
Thu Jul 25, 2019 7:20 pm
Forum: Game Framework
Topic: Confused on File Structure - VR GAme
Replies: 1
Views: 393

Re: Confused on File Structure - VR GAme

Hi, You only need what is necessary to get a scene to run. _gamescope might be in each scene, but the others will be scene specific and are only examples of what can be included. If you want to pull up the menu while in the scene, then you will probalby need most of those though. You can load scenes...
by mahewitt
Thu Jul 25, 2019 7:17 pm
Forum: Game Framework
Topic: Generic Game Objects
Replies: 8
Views: 1219

Re: Generic Game Objects

Using the ConditionalAction you can do something like the following: Capture.png Although this would only affect the display and you will have more control accessing the API through code. The 'Player' is the one that collects coins score (think the one playing the game). Characters are items within ...
by mahewitt
Thu Jul 25, 2019 1:00 pm
Forum: Game Framework
Topic: Make Methods virtual & extend Game Manager
Replies: 3
Views: 522

Re: Make Methods virtual & extend Game Manager

Hi, I can certainly make a note of this for the future as I guess it should be ok in most cases. If you need to make any specific changes then feel free to submit a pull request at https://github.com/FlipWebApps/GameFramework so you don't have to re-include them when future updates are released. Not...
by mahewitt
Wed Jul 17, 2019 2:49 pm
Forum: Game Framework
Topic: Generic Game Objects
Replies: 8
Views: 1219

Re: Generic Game Objects

Everything uses the same base 'GameItem' class, so the principles should the same whether using Levels, Worlds, Players, ....
by mahewitt
Wed Jul 10, 2019 7:58 am
Forum: Game Framework
Topic: Generic Game Objects
Replies: 8
Views: 1219

Re: Generic Game Objects

Hi, You can access the current players coins / score through GameManager.Instance.Player.Coins / GameManager.Instance.Player.Score. You could also look at the ConditionalAction component to automatically display different gameobjects based upon the players coins / score. For the localisation error -...
by mahewitt
Sat Jun 01, 2019 9:48 pm
Forum: Game Framework
Topic: In app purchases
Replies: 2
Views: 842

Re: In app purchases

Sorry for the delay - will take a look. What version are you running as I know there are some changes across Unity releases.