Buildbox 3.0 Beta4 Javascript Api

Discussion in 'Official Announcements' started by NikRudenko, Dec 6, 2018.

  1. NikRudenko

    NikRudenko Administrator Staff Member

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    295
    Hello everyone.
    Here is updated JavaScript API for Beta 4
    http://download.buildbox.com/buildbox/assets/documentation/api-3.0.0.2355.html

    The biggest changes:
    - Ads class where you can call for rewarded videos and interstitials.
    - Ui class where you can search for Buttons on UI layer and assign action on them. Also that leads to ability to have Scripted Entities on Ui layer. Now it is possible to create your own complex controls elements.
    Also there is some modification in how touch event handles. See Reference for more info.
    - Camera class extended.
    And other changes like added parent() method to Entity class, new Model3D and Label Classes.
     
    particles and Tom King like this.
  2. tributorock

    tributorock Avid Boxer

    Joined:
    Feb 6, 2016
    Messages:
    139
    Likes Received:
    36
    I am sad because the only reason that i bought Buildbox was that i did not have to code. What i see everyday here in the forum and in the youtube videos are "Just make a little code here", "Just make a little code there". I wanto to know if in the final version i will be able to make everything that Buildbox 3D can do but without to use a single line of code. :(
     
    Bilz636 and bmsingha like this.
  3. Josh (Tekanology)

    Josh (Tekanology) Head Moderator Staff Member

    Joined:
    Nov 27, 2017
    Messages:
    339
    Likes Received:
    86
    The idea for BB3 is you can make a game without the need of coding, but to be able to change things up with with the use of coding (you still don't need to know how to code as there is.plenty of people who would be willing to help)
     
  4. DanFarfan

    DanFarfan Boxer

    Joined:
    Sep 22, 2018
    Messages:
    92
    Likes Received:
    31
  5. NikRudenko

    NikRudenko Administrator Staff Member

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    295
    There is nothing to worry about. We are still committed to a code-less development.
    With BB2 it was really hard to expand possibilities it wasn't flexible enough.
    I'm going to give you a good example. What if you are made a great game out of components and then you just want to polish that behavior a little bit. Just little to make it perfect. But you have to go inside and alter the code. There is no way for you to do so in BB2.
    We have to build a this platform that will be more flexible. That will bring peace of mind. That will bring confident of everything is possible. This is why we brought the idea of code editing.

    Anyway since platform is have a solid foundation now we are dedicating more and more resources in to focusing on coddles aspect.
    To answer your concerns: You will see more on forum and youtube how to make stuff with pure nodes and without coding ;)
     
    HueTheDev, particles and Roberto P like this.
  6. thatguyminib

    thatguyminib Avid Boxer

    Joined:
    Jul 1, 2017
    Messages:
    450
    Likes Received:
    250
    Gotta make those lego piece nodes! lol
     
  7. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    100
    Likes Received:
    36
    We cant have an approach like GML ? Thats super easy code and understandable for non coders. Just a thought.
     
  8. Kanishk Sachdeva

    Kanishk Sachdeva Avid Boxer

    Joined:
    Jul 10, 2018
    Messages:
    204
    Likes Received:
    13
    Do you have a tutorial video or article where you explain how to integrate rewarded video ads.
    Also since another node has been added for interstitial ads what do we choose. The node method to integrate interstitial ads or using the previous method where we selected from the user interface. What are the differences between the two, which one is better and why ?
     
    dkuca likes this.
  9. NikRudenko

    NikRudenko Administrator Staff Member

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    295
    We will have video that covered more of Ad Integration very soon.
     
  10. Reverse Studios

    Reverse Studios Boxer

    Joined:
    Oct 11, 2018
    Messages:
    11
    Likes Received:
    2
  11. Reverse Studios

    Reverse Studios Boxer

    Joined:
    Oct 11, 2018
    Messages:
    11
    Likes Received:
    2
    Well GML is a very bad language to learn as it is not widely used and transferable to and from other platforms.
     
  12. thatguyminib

    thatguyminib Avid Boxer

    Joined:
    Jul 1, 2017
    Messages:
    450
    Likes Received:
    250
    It's not a bad language to learn lol. Same practices apply with any other language, once you know how to program you can almost go and learn any other language. Benefits of GML is it is build for their engine and makes doing most things super simple and easier to understand as well.

    If you want to make 2d games using Gamemaker then GML isn't a bad language to learn at all.
     
  13. Vlad Kulikov

    Vlad Kulikov Boxer

    Joined:
    Nov 28, 2018
    Messages:
    4
    Likes Received:
    0
    Lua is more powerful and easy to learn — https://learnxinyminutes.com/docs/lua/
     
  14. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    100
    Likes Received:
    36
    Exactly, So we can have our own Language only for BB .. why not right ? something like BBL
     
  15. Josh (Tekanology)

    Josh (Tekanology) Head Moderator Staff Member

    Joined:
    Nov 27, 2017
    Messages:
    339
    Likes Received:
    86
    JavaScript is a pretty easy language to learn the basics of. Creating a whole new language is very difficult.
    Once BB3 is fully released, we will see a lot more tutorials on how to make games both with and without coding.
     
    rizwanashraf and PunkPuffin like this.
  16. PunkPuffin

    PunkPuffin Boxer

    Joined:
    Sep 27, 2018
    Messages:
    14
    Likes Received:
    1
    JavaScript is one of the most widely used languages in the World and very similar in syntax to many other languages. I think it would be a mistake to move away from it. For adoption of BuildBox by more users javaScript is a good option and for Boxers who need support and assistance from coders they are more likely to get useful responses from larger base of JavaScript coders out there than a small group of Boxers who know a custom language.

    As an old hat at coding most languages boil down to Conditions like IF and Loops like WHILE and knowledge of the API you are using. The rest is just a bit of formatting like a semi colon here a semi colon there. For what BuildBox wants to be, that basic level is probably all it will ever need. You would be better off learning the BB API than worrying about the actual syntax BB implements. Syntax is the easy part, knowing how to make effective use of an API is what really matters.
     

Share This Page