Advertisement Jump to content
  • Advertisement
  • entries
    6
  • comments
    0
  • views
    418

VividScript

Vivid3DDev

737 views

Resumed work on Vivid-Script. Vivid-Script is a managed, real time scripting language. It is wrote for Vivid3D, and as such will not just be a normal language with a set of functions,

it will instead offer several features that connect closely with the engine. It works on a dynamic engine. i.e, it uses a lot of the C# dynamics feature, so that code is clean and safe, by ensuring there are no mis-matches before running.

here is a simple script, that runs fine. and also there is the code to run it in c#

module TestModule

    int testVal

end

func Entry(int age,string name)

    printf("Hey testing!"+" Oh yeah!"+" This is working!")

end 

And here is the code to run it,

  VSource src = new VSource("test1.vs");
            VCompiler comp = new VCompiler();
            VCompiledSource s = comp.Compile(src);

            VME test_vme = new VME();

            test_vme.SetEntry ( s.EntryPoint );

            test_vme.RunEntry ( );

And here is the function that registers C# methods/code to the language, so it can connect to normal C# methods easily.

 

 public void RegisterOSFuncs ( )
        {
            // - printF( <Expressions> )

            CFuncLink printF = new CFuncLink
            {
                Link = ( t ) =>
                {
                    Console.WriteLine ( "printF:" + t[0]);

                    return null;
                }
            };

            AddCFunc ( "printf", printF );
        }

 



0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • What is your GameDev Story?

    In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

    (You must login to your GameDev.net account.)

  • Blog Entries

  • Similar Content

    • By INTwindwolf
      COMPANY AND THE PROJECT
      We are an indie game studio consisted of professional and skilled artists who are dedicated indie enthusiasts. Our current project is INT, developed on Unity Engine 5 for platforms Windows, Linux, and Mac. We are recruiting a few more members on the team to finalize our playable demo.

      INT is a 3D Sci-fi RPG with a strong emphasis on story, role playing, and innovative RPG features such as randomized companions. The focus is on the journey through a war-torn world with fast-paced combat against hordes of enemies. The player must accomplish quests like a traditional RPG, complete objectives, and meet lively crew members who will aid in the player's survival. Throughout the game you can side and complete missions through criminal cartels, and the two major combatants, the UCE and ACP, of the Interstellar Civil War.
      Please note that all of our current positions are remote work. You will not be required to travel.
      For more information about us, follow the links listed below.
      INT Official website
      IndieDB page
      Also follow social media platforms for the latest news regarding our projects.
      Facebook
      Twitter
       
      UNITY ENGINE PROGRAMMER
      We are looking for Unity Programmers. You will be working with our Coding team Lead to implement systems and mechanics using C# language.
      Your duties will include:
      Attendance of regular team meetings. Timely completion of implementation of assets. Direct contact with Project Lead and other Department Leads for the implementation process. Utilization of version control suites. Utilization of our project management boards (Trello) and communication channels to obtain up-to-date assets.  
      REQUIREMENTS
      To be successful in this position, following requirements apply:
      Clear communication and self starter - pushes to meet deadlines and contribute to the project. Ability to complete tasks with limited input/direction from management. Comfortable with working with people remotely and via Trello management system. Good internet connection with ability to update assets/builds quickly, with large dependencies. At least 15 hours of availability each week. Proficient experience using the Unity Game Engine. Proficient experience in implementing assets into the Unity Game Engine. OTHER OPEN POSITIONS
      3D Environment Modeller
      Website Manager
      3D Character Modeller
      REVENUE - SHARE
      The project is marching increasingly closer to be ready for our crowd-funding campaign. Being an Indie team we do not have the creative restrictions often imposed by publishers or other third parties. We are extremely conscientious of our work and continuously uphold a high level of quality throughout our project.
      We are unable to offer wages or per-item payments at this time. However revenue-sharing from crowd-funding is offered to team members who contribute 15-20 hours per week to company projects, as well as maintain constant communication and adhere to deadlines. Your understanding is dearly appreciated
      TO APPLY
      Please send your Cover Letter, CV, Portfolio (if applicable), and other relevant documents/information to this email: JohnHR@int-game.net
      Thank you for your time! Please feel free to contact me via the email provided should you have any questions. We look forward to hearing from you!
      John Shen
      HR Lead
      Starboard Games LLC
    • By EmmersionStudios
      Hello GameDev Community,
      Ahead of the release of our first game, our team is looking to add an additional general skillset programmer and an artist with animation (opt bonus: particle effects) experience. "So..." you might be asking yourself, "what's the deal?" Why would you care about joining Emmersion Studios, when you can create your own team or go solo? Give me a few seconds of your time while you read below, and let me spell out exactly why we're the right team for you right now:
      Who We Are
      We're a group of people with high hopes to create large games in the future, patiently learning and honing our craft through the act of doing things. We're a group of people that understand each other and work off of each other, without the luxury of egotism (no money in the budget for "I") getting in the way of development. A full-fledged corporation (albeit a startup with little funding) with all the legal and business stuff taken care of so you don't have to wade through it yourself. A team with a marketing-focused design plan, intent on building our next project around a strong IP that will carry the game, and strong hooks to attract gaming journalists. Who We're Looking For
      Someone humble and interested in learning. Someone who is fairly knowledgeable about coding languages, but is wanting to learn additional skills for their own benefit and for the benefit of the next project. Someone serious about developing the game for the purpose of producing a professionally polished, high quality experience. Someone who works well with others and has a great, unique personality. What We're Working On
      Matchino, a free-to-play mobile game, is being released on January 16th, is our first title currently in beta testing for bug and balance fixes. This is intended to provide a revenue stream for further development. We're currently doing "Open Submission" for the next project (game) being developed. This involves a filtering, voting, and design blueprint process which will ensure that we have a more efficient development cycle than on Matchino. Any team member has the opportunity to fill out the online form and submit it to our konban board. If you're interested, please send your resume or portfolio to office@emmersionstudios.com and we'll reach out to you post haste.
      Thanks for reading!
      Additional Websites & Social Media to Check Out:
      https://emmersionstudios.com/
      https://www.facebook.com/EmmersionStudios/
      https://twitter.com/EmmersionStudio
      https://www.youtube.com/channel/UC2QFOgZQWA21JWRRuCS3jBg
    • By addictCoderCS
      Hi there,
      I'm working on an web RPG. This is not and action RPG. 
      The problem is I work full-time as a software developer and while I may get some code for the game done at work, I'm still a little short on time. So I'm looking for a second programmer to help me out. Please no beginners. I prefer working with someone who has built a full game (client, game server, web services, db)
      Requirements:
      Proficient in C# Proficient in .Net Core 2.X Experience with ASP.Net Core MVC Experience with ASP.Net Core Web API Experience with Unity 2018 Proficient in SQL and SQLite Proficient in EntityFramework Experience in AWS (RDS and EC2) Experience with IIS I'll handle the cost of any third-party services, domain names, etc. I'm just looking for a little help to get this game built in a reasonable amount of time. It will also be nice to bounce some ideas off each other.
       
      If you are interested, please send me an email: addictcodercs@gmail.com
       
       
    • By ggenije
      My question:
      For example I have class enemy, let's say I have 100 enemy types.
      Now in Update()(each frame)
      if(enemyType==Type1) {doWhat Type1 does} else if(enemyType==Type2) {doWhat Type2 does} else if(enemyType==Type3) {doWhat Type3 does} ... else if(enemyType==Type100) {doWhat Type100 does} so in each frame I can call up to 100*enemy count
      so is there any way to avoid this , to tell it earlier what update should it do
      I am working in unity, but is there universal way or?
       
    • By wbrill23
      Hello,
      I'm scripting a music player with blueprints in Unreal Engine. I have a UI and I want to call the Play Music, Go To Next Song, and Go To Previous Song functions from it. How would I do that?
       



×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!