1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

B4J Code Snippet What you need to read the SEL file of SceneEditor

Discussion in 'B4J Code Snippets' started by Informatix, Jul 7, 2019.

  1. Informatix

    Informatix Expert Licensed User

    Here is a useful piece of code to read the SEL files produced by Scene Editor. It requires the RandomAccessFile library.

    Example of use:
    Dim L As List = codLayoutFile.ReadCompressedLayout(MyDir, MyFileName)
    For Each Line As Object In L
    If Line Is String Then
    'Section header
    Else If Line Is Map Then
    'Section contents
                Dim M As Map = Line
    End If
    To see a concrete example of how to use it, download the AngryBirds example on the first post of the Scene Editor thread.

    Attached Files:

    Last edited: Jul 12, 2019
    Jorge M A, fredo, Erel and 3 others like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice