Post anything here that does not fall into the other topic categories.

Visual Scripting

Visual Scripting

Postby SpiderMack » 05 Oct 2017, 23:31

Hi,

How to rotate some entity model each time we press a key ?
I did not find tutorials and tried that but it doesn't worked :

Image


Also how is performance with visual scripting ? Lot behind Lua coding ?
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: Visual Scripting

Postby epsilonion » 05 Oct 2017, 23:45

The only docs on it thus far is the one I started like ages ago but never got around to populating it.. :(

http://www.chi-ad.com/DokuWiki/doku.php/liamgibbins_manual:gen2_liam_quickstart_visual_mechanics

This was a post from 2015..

Four presets were made for each test. Each preset was scripted to make a cube shape rotate by:
1) action rotate
2) Lua entity.turn(...) in the micro script update loop
3) micro graph containing a rotate module.
4) control just a cube!

A simple scene script was then used to spawn the cube preset in an array of x=30 x z=30. So we had a screen full of 900 rotating cube and checked on the metrics, the results are as follows.

1) Action: 330 frames per second
2) Lua: 135 frames per second
3) Micrograph: 230 frames per second
4) Control: 440 frames per second

So the new visual module system will give better performance than Lua and be more friendly to use. Still it is best to have developed systems in actions where can be. It does make a good argument for a Skyline SDK at some point. I am now wondering what the performance hit would be from c# mono, maybe something to check out at another time?

So for most cases full game systems should be created dev side as actions, but where user customization is require the module system is the best bet. :)
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Visual Scripting

Postby SpiderMack » 06 Oct 2017, 08:20

epsilonion wrote:The only docs on it thus far is the one I started like ages ago but never got around to populating it.. :(

It's a great start :)

And good information about performance, it's nice to hear performance is better than Lua.

Major 3D engines proposes now Visual scripting that is a big benefit for level designers that does not code. It's great to have it in Skyline.
Image

I think we will need later some visual script examples instead of trying to learn from some "Fps armed character".
For example :
* rotate and move objects by frame
* Physic force on object like rolling ball control
* collision handling and event examples
* character movement and animations control
* top down camera and character
* Fps camera example
* basic Tps camera and character
User avatar
SpiderMack
Skyline Expert
 
Posts: 441
Joined: 02 Dec 2016, 09:15
Skill: Concept artist
Skill: 3D Modeller
Skill: Level Designer
Skill: Scripter

Re: Visual Scripting

Postby epsilonion » 06 Oct 2017, 08:49

The documentation is been rewritten by Starfire, I made a start on it to give new users a way to learn the many workflows within skyline but due to deaths in the family and personal money and health problems I couldn't keep on top of it.

There will be more examples of the Visual system in time to come because it is a system that many people don't understand, much like UE4's plug in module system the system offers better performance as stated in the post above and dont forget if you require more modules you can always request them in the feature request section of the forum.
User avatar
epsilonion
Skyline Lead Moderator
Skyline Lead Moderator
 
Posts: 874
Joined: 26 Feb 2015, 11:51
Location: Hull, East Yorkshire, England
Skill: Business Manager
Skill: Great creative

Re: Visual Scripting

Postby SolarPortal » 06 Oct 2017, 10:25

* rotate and move objects by frame
* Physic force on object like rolling ball control
* collision handling and event examples
* character movement and animations control
* top down camera and character
* Fps camera example
* basic Tps camera and character


Good set there :)

We already wrote a graph for a rolling ball, was quite fun to make... when we get around to tutorials for these sections, it will all become clear :)
Skyline Game Engine - Lead Dev.
Please provide as much info as possible when asking for help.


Specs: OS: Win 10 64bit, CPU: Intel i7 4770 3.4ghz x 4 core(8 threads), GPU: Nvidia GTX 1060 6GB, Ram: 16gig DDR3, Windows on 250gb Samsung Evo 860

Twitter: @SolarPortal
Instagram: @SolarPortal
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: Visual Scripting

Postby StarFire » 06 Oct 2017, 10:43

Ok made a note of these example ideas ;)
Dream the Journey, Live the Experience!
User avatar
StarFire
Skyline Founder
Skyline Founder
 
Posts: 1678
Joined: 03 Jan 2012, 18:50
Location: UK
Skill: Great creative
Skill: Programmer
Skill: 3D Modeller
Skill: 2D Artist
Skill: Level Designer


Return to Misc

Who is online

Users browsing this forum: No registered users and 2 guests

cron