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 - colpolstudios

Pages: [1] 2 3 ... 20
General Discussion / Re: Prefab enemies and waypoints
« on: August 28, 2021, 06:23:40 PM »
Its not advisable to use 'Find Game Object' During gameplay.
Only use this when loading scenes or during some breaks in the game.

for something like this its better the way i said in my earlier post

Would you possibly have time to explain more information in this regard please?

Hi, When can we expect any news on how and when to take part in the event?

PlayMaker Help / Re: rotating children
« on: August 20, 2021, 04:22:49 PM »
Hey, thanks for the quick reply. I'll give it a shot using the rotate action.

But I will leave the thread open in case I run into any issues for the moment.

PlayMaker Help / rotating children [SOLVED]
« on: August 20, 2021, 09:41:04 AM »
I am trying to figure out the best way to rotate a group of sprites so that they would move together on the screen like a windmill.

Could I just use an empty with the rotate action or would using playmaker ITween actions be better suited?

Maybe I should just animate them?

Android Help / tilt control in android without a gyroscope
« on: July 31, 2021, 06:53:20 PM »
While working on my own project I wanted to add tilt control, unfortunately, my old phone and many other types of mobile phones do not support gyroscope control. So in my example, I use the "Get Device Acceleration Action".

In this example FSM, I am able to use the action to successfully move the object within constraints moving both left and right.

Here is a screenshot of the FSM:

 The Float value within the "Float Compare" may need to be adjusted to suit your play area.

The multiplier value within the "Get Device Acceleration Action" has been set to 35 as that level feels right for me on my phone.

I couldn't quite fit the remaining part of the "Translate Position 2D" action.

Within the float X movement in the axis use variable "X_tilt" with both per second and every frame checked.

In order to actually test this, you will need to have your project set as "Andriod build" and use "Unity Remote".

When played on your device, hold the phone upright, now tilt left and right to move the object.

The object will move left or right and stop according to the stop values.

My issue is that I am trying unsuccessfully to use the same action, but move a similar object up and down.

With my current setup, it does work; but only with the phone laying down flat.

Following feedback from a c# developer, he said "You have to calibrate the initial rotation (offset) of the phone. Otherwise, it only works when the phone is lying down flat, which is not how anyone holds their phone. So store the initial values of the tilt while in the menu, then subtract that from the input while playing.

But to be honest I am lost at this point and require your help and insight.

Kind regards



PlayMaker Bug Reporting / Re: playmaker error msg
« on: July 24, 2021, 02:36:32 PM »
here you go:

Bad outVarIndex: -1 4
HutongGames.PlayMaker.Fsm:GetOutputVariables(Boolean) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:188)
HutongGames.PlayMakerEditor.EditFsm:GetVariableIsOutput(Fsm, NamedVariable) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/EditFsm.cs:542)
HutongGames.PlayMakerEditor.FsmVariable:SetVariable(NamedVariable) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:369)
HutongGames.PlayMakerEditor.FsmVariable:.ctor(Object, NamedVariable) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:355)
HutongGames.PlayMakerEditor.FsmVariable:GetUnsortedFsmVariableList(Object, Fsm, Boolean) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:791)
HutongGames.PlayMakerEditor.FsmVariable:GetFsmVariableList(Object, Fsm) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmVariable.cs:1034)
HutongGames.PlayMakerEditor.FsmSearch:UpdateVariableList() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:520)
HutongGames.PlayMakerEditor.FsmSearch:DoSearch() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:808)
HutongGames.PlayMakerEditor.FsmSearch:Update() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:404)
HutongGames.PlayMakerEditor.FsmSearch:Update(Fsm) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:221)
HutongGames.PlayMakerEditor.FsmSearch:UpdateAll() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:198)
HutongGames.PlayMakerEditor.FsmSearch:UpdateAllIfNeeded() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmSearch.cs:168)
HutongGames.PlayMakerEditor.FsmEditor:Init() (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:607)
HutongGames.PlayMakerEditor.FsmEditor:OnPlayModeChanged(PlayModeStateChange) (at C:/Projects/Playmaker_1.9.1/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmEditor.cs:1454)

PlayMaker Bug Reporting / playmaker error msg[SOLVED]
« on: July 21, 2021, 04:21:21 PM »
Hi, when working on my project I am seeing this msg on the console:

Bad out var index:- 14
UnityEngine.debug log Error (object)

Despite this warning, everything seems to be working fine.

Do I need to do anything?

I have changed my setup. with the initial issue resolved thank you for your reply.

My screen is set up 1080 x 1920.

Planned mobile android development.

currently, I am using get mouse X, normalized every frame. stored as X

Screen to world point uses this X within the screen x and store in "world X", every frame.

Set property local rotation.z to the "world X". every frame.

However, after a few seconds, and moving the mouse, my sprite no longer rotates despite the variable clearly showing that the input is changing. The whole system stops after a few seconds always at -180 for the sprite.

It's like the sprite has got locked out of its movement and can not do anymore.

Could you possibly help me fix this issue?



Android Help / Re: Huawei android build help
« on: June 20, 2021, 10:30:20 AM »
Hi, yes indeed there are resolutions/aspect ratios that I can choose from, however, I am working with the "Device simulator".

It comes with a handy safe area option, However, when I build and install the app on my phone some game objects need to re-adjusted.


Android Help / Re: Huawei android build help
« on: June 19, 2021, 08:45:09 AM »
Hi, the device simulator works fine, but should I use the "Minimal test device"; would it be the best choice to cover other types of android phones?

Android Help / Huawei android build help [solved]
« on: June 18, 2021, 06:02:37 PM »
My screen settings are Portrait 1080 x 1920.

However when I build there are game elements not shown.

I am using unity 2019.4.8f1 and have been researching on using the package manager "simulator", but is it safe to use with my current unity version?

Is there an image available that I could use as a template to ensure the game fits within the phone screen area?

Sorry if this is all basic stuff, but need your help, please.

Thank you

PlayMaker Help / prefab and getting the component of a child [Solved]
« on: June 05, 2021, 09:14:53 AM »
My setup is an empty gameobject "Ball holder"

Under this is the "Ball" it's a sprite and under this are the two trails but with different colours. 

I need to set the property of these trails to active or de-active and switch the sprite to a different one, but I can't figure out how to do this. Possibly someone would be kind enough to help?

Thank you for your time


General Discussion / Re: Highscore table by Jinxter Games
« on: May 24, 2021, 01:17:34 PM »
Hi there PM sent :)

Pages: [1] 2 3 ... 20