playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jeanfabre

Pages: [1] 2 3 ... 816
1
Playmaker Help / Re: vuforia package error
« on: November 22, 2017, 12:40:57 AM »
Hi,

 Vuforia implementation changed in 2017, I need to create a dedicated package for this now. the current package will only be for Unity 5 and less. Will upload this week.

 Bye,

 Jean

2
Android Help / Re: plamaker Unity Ads Show Ad is not working[SOLVED]
« on: November 22, 2017, 12:28:34 AM »
I am testing it now, recreating just Unity Ads showing from scratch and noticed that the sample ("Play Maker Unity Ads Basic") on the EcoSystem does not download:

error: "Could not get the json of this meta file"

Hi,

 good catch, this is fixed now.

 Bye,

 Jean

3
Action Requests / Re: Ambient Sky Intensity
« on: November 22, 2017, 12:19:16 AM »
Hi,

 ok, this is up, thanks :)

I renamed it for consistency and I did a getter and setter.

 Bye,

 Jean

4
Action Requests / Re: Arraymaker Easy Save 3 Actions
« on: November 21, 2017, 11:43:46 PM »
Hi,

 I haven't had time yet to look at es3. But be sure to ping me if you find something that doesn't work for sure I think ArrayMaker should support es3 as well.

 bye,

 Jean

5
Action Requests / Re: Date actions: day of the week, month length...
« on: November 21, 2017, 11:35:47 PM »
Hi,

the fix I did works isn't it?

 Bye,

 Jean

6
Playmaker Help / Re: uGuiVrGazeButton on Ecosystem
« on: November 21, 2017, 11:32:19 PM »
Hi,

 Yeah, I need to work on this indeed. what version of Unity and what gear do you have?

Bye,

 Jean

7
Hi,

Yeah, I was off the computer for a week, sometimes it's needed, people tell me my eyes are squaring up looking at the screen too much :)

 I think that changing the culture the way you did creates a bug inside .net or Unity and down the line create the issue you had, I can't explain it, but indeed commenting them lines and doing it with a different signature( same result, but a different way to affect the culture setting) made it work.

Bye,

 Jean

8
Playmaker Help / Re: photon chat
« on: November 21, 2017, 03:45:46 AM »
Hi,

 your chat app id is available on your Exitgames dashboard online when you login to your account.

 Bye,

 Jean

9
Playmaker Help / Re: Photon Not working on build
« on: November 21, 2017, 03:44:59 AM »
Hi,

 create a new project, import just photon, test the demos, do they work?

Bye,

 Jean

10
Action Requests / Re: Material GetPropertyBlock[SOLVED]
« on: November 10, 2017, 01:34:38 AM »
Hi,

 done, available on the Ecosystem.

 bye,

 Jean

11
Action Requests / Re: Timeline - Set Generic Binding
« on: November 10, 2017, 01:34:19 AM »
Hi,

 please update the action for setting generic binding, you';ll have the option to set binding for a track index or track name( Stream Name)
 
Let me know :)

if that's ok, I'll wrap this up and create a package with the timeline proxy as well.

 Bye,

 Jean

12
Action Requests / Re: Timeline - Set Generic Binding
« on: November 10, 2017, 12:50:19 AM »
Hi,

 I think you forgot the animator file:



Bye,

 Jean

13
Action Requests / Re: Quaternion get Angle/Axis
« on: November 09, 2017, 11:53:21 PM »
Hi,

 there is an action for this already: QuaternionAngleAxis

 is it not working for you?

 Bye,

 Jean

14
I'm quite a noob for using xml in game design, but i reckon it would be cool if it could use some sort of nested structure like class inheritance. Something like this:

<EnemyType>
   <EnemyType1>
      <Weapon>Blaster</Weapon>
      <Armor>Adamantium</Armor>
      <Sprite>image.png</Sprite>
      <EngineAnimation>Animation.anim</EngineAnimation>
      <LocalWeaponPosition>(x,y,z)</LocalWeaponPosition>
   </EnemyType1>
</EnemyType>

I suppose you could get data on either runtime or populate some sort of data structure like array or hashtable and then draw data on runtime.

Hi,

 yes totally. I have done that many times. you'll have a manager for your ennemy sitting at the root object of your ennemy instance, then several fsm are going to use this data on command. read the post above for more infos, but basically, each ennemy will be able to build itself based on that xml. you can save data in hashtable for later usage, or use the memory reference, I prefer not having every fsm using xml and indeed have a manager injecting data on other meta fsm ( the fsm that only host data, not doing anything), or hashtables indeed. then you fire a global event to that ennemy including children "SET YOURSELF UP" or something and every fsm will get the data they want, either from their meta data fsm companion, or hashtable or xml directly.

Bye,

 Jean

15
Hi Jean,

I would like to know, how you use XML in your own projects. You create a XML file and fill it with the needed data. After that do you implement this XML file in the unity app and parse it every time it is running? Or do you load the XML one time a change was made and convert it in another format for further use at runtime? I have the feeling parsing a big XML all runtime isn't the best way. But I have no clue.

Or do you use a XML for an at runtime populated database?


Hi,

 Very good questions :)

There is two cases for xml usage, you'll extrapolate on use case, but lets take level management and User Progress


Level Management: you have an Xml file that is part of your assets, it helps define the level content, where objects are, their setup.


-- Level Management

- This xm is generated during editing.
- you load it as is only at the very beginning of the game and keep it in a xml proxy
- everytime you need to build a level, you query that xml proxy with xpath, ask for the level data, save that in a memory reference ( in xml actions you can always save in memory)
- Use this memory reference in all related fsm to build up that level

- NEVER save xpath searched as string for using in game, string conversion is very performent sensitive, always use memory reference when in game.

-- User Progress

- That xml doesn't exist during editing, you create it from scratch the first time the user plays your game
- you save it and load it from the PlayerPrefs. Here you will need to parse it from and to string. So only save in player prefs when not in the game loop, like during the finished menu, pause menu.
- add new nodes related to a particular level and its user progress, when your user comes back, read that particular level node, and update player position, and level data ( some stars may be already picked up, don't show them, some items may be picked up, set them up accordingly)

To give you some numbers so that you understand the power behind this. I have helped game developers with this methods, and their xml level data was over 36Mb of xml in one single file, spanning across 100.000 lines of xml, all in plain english, defining each level ( 6 chapters if I recall properly, 16 levels per chapter). It loads on iPhone at the very beginning of the game, you just simply don't notice it, it takes less than half a second to load up in memory and become available for INSTANT queries using xpath throughout the game.

that same game is using xml for user progress, keeping track of all features, score, per level, total score, all the stars, bonuses, etc etc, and that data leaves in the playerPref under ONE key only! and totally spittable in the console or sent over the network to a server or mailed for debugging on actual existing players, agian because xml is plain english, you have a huge advantage for analysis over messed up multi key setup for playerprefs or database with obscur tables and difficult to retrieve overview of everything.

Bottom line: Xml rocks :) cons, .Net framework messed up big time so xml is not available on windows mobile... so be careful if you plan on porting to windows, which is unlikely but still a possibility. If that's the case, make sure to raise your voice for this total non sense to microsoft, they need to put it back.


as for sample, I am currently working on a mii character setup system, which will be using Xml for saving the user data, you will be able to load up other faces from other people as well, so the whole thing will be running as I explained above, follow me on Twitter for news: https://twitter.com/JeanAtPlayMaker/status/928546642420289537

I'll make that sample available on the ecosystem soon ( it will be iterative, this is fairly advanced project that will take some time to complete)

 Bye,

 Jean


Pages: [1] 2 3 ... 816