playMaker

Author Topic: Ragespline for GUI?  (Read 2945 times)

DeepShader

  • Playmaker Newbie
  • *
  • Posts: 33
Ragespline for GUI?
« on: June 29, 2012, 05:33:19 AM »
Hi there,
is it possible to combine Ragespline-objects with PlayMaker GUI?

DeepShader

  • Playmaker Newbie
  • *
  • Posts: 33
Re: Ragespline for GUI?
« Reply #1 on: July 01, 2012, 08:08:37 AM »
No one could help? o_O

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3999
  • Official Playmaker Support
    • LinkedIn
Re: Ragespline for GUI?
« Reply #2 on: July 01, 2012, 12:32:15 PM »
Ragespline work great with PlayMaker, but I'm not sure what you mean by "combine with PlayMaker GUI"?

Unity has a few different approaches to UI.

Actions in the GUI and GUI Layout categories use OnGUI, a separate 2D GUI system that draws on top of the 3d view.

GUI Element actions expose the older GUI Text and GUI Texture systems, fine for simple texture based GUIs.

Then you can turn any game object into a simple UI element using collision boxes and mouse events (e.g. MOUSE DOWN). I think this is the approach you'd need to take with Ragespline.

Someone with more experience with Ragespline might have more tips...

DeepShader

  • Playmaker Newbie
  • *
  • Posts: 33
Re: Ragespline for GUI?
« Reply #3 on: July 01, 2012, 03:08:43 PM »
Thx for you answer. What I meant is what you can see in this video: at 0:15 where the moderator adds a PlayMakerGUI element.

Inside this element, I can add something like on 0:58 'GUI Horizontal Slider'.

So does it mean, that PlayMaker Actions 'just' uses the Uinty3D-intern OnGUI or GUI-Text methods, if I'm using GUI-Actions from the Action-Manager?

And I can draw my RageSpline, use RageTools Pro on the RageSpline, add a collision box and a touch event and there's my own RS-GUI?