playMaker

Author Topic: Changing Scene Theme Color Set with Playmaker  (Read 314 times)

heavygunner

  • Full Member
  • ***
  • Posts: 146
    • View Profile
Changing Scene Theme Color Set with Playmaker
« on: October 10, 2018, 04:14:15 AM »
Hi !

I want to set Camera, Ground, Character & Obstacle colors with my custom color scheme for each levels. I tried many ways and failed. I still practicing Arrays.

I currently duplicated scenes 10 times and changed colors for each of them and random scene will load for every level.

Here I got perfect example. Look at this video :
He has 20 Color themes. All colors were set on single scene using arrays.

How we can do this? If anyone give a lead (exact logic), I will find out further.

Thanks

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • jinxtergames
Re: Changing Scene Theme Color Set with Playmaker
« Reply #1 on: October 10, 2018, 06:37:40 AM »
Hi.
Xlm would be a good way to go, but arrays can work to.

you would need an array for each part you wish to change.

So 1 array for the camera (possible 2 or more if you would need position and rotation for example) one for the Character one for the color and so on.

Now on 1 of the arrays you should use the Array Get Random and store whatever is in it and also store the index.

Now you can use that index on all the other arrays.

use 1 index for each theme.

So index 0 (Element 0) on all arrays would be theme 1 (an arrays starts @ 0 not 1)
index 1 (Element 1) would be theme 2 and so on.


FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

heavygunner

  • Full Member
  • ***
  • Posts: 146
    • View Profile
Re: Changing Scene Theme Color Set with Playmaker
« Reply #2 on: October 10, 2018, 06:51:07 AM »

Xlm would be a good way to go, but arrays can work to.

Hi,
xlm?

I found on google XML / Datamaker. Is that what you are referring to ?

Thanks  :)

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • jinxtergames
Re: Changing Scene Theme Color Set with Playmaker
« Reply #3 on: October 10, 2018, 08:10:40 AM »
Hi.
Yes you need to use datamaker for xml :)
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions