Author Topic: InForm Beta 7 is out now  (Read 40553 times)

0 Members and 1 Guest are viewing this topic.

Offline Unseen Machine

  • Forum Regular
  • Posts: 158
  • Make the game not the engine!
    • View Profile
Re: InForm Beta 7 is out now
« Reply #45 on: June 23, 2018, 10:14:10 pm »
  • Best Answer
  • FUNCTION Init (Width%, Height%, Title$, Detail%)
    Screen1% = GDK_GL_SCREEN(Width%, Height%, Title$, 0) '// Create a screen
    IF Screen1% THEN
       GDK_GL_SCREEN_SET_FPS 15, 0 '    // Set maximium frames per second
       glClearColor 0.0, 0.0, 0.0, 1.0 '// Set background (clear) color to black
       glClearDepth 1 '                 // Set clear depth value to farthest
       glEnable GL_DEPTH_TEST '         // Enables depth buffer for hidden surface removal
       glEnable GL_TEXTURE_2D '         // Enable texturing
       glEnable GL_CULL_FACE
       glFrontFace GL_CW

       SELECT CASE Detail%
          CASE 1, 2
             glHint GL_LINE_SMOOTH_HINT, GL_FASTEST
             glHint GL_TEXTURE_COMPRESSION_HINT, GL_FASTEST
             glHint GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST
          CASE 3
             glHint GL_LINE_SMOOTH_HINT, GL_NICEST
             glHint GL_TEXTURE_COMPRESSION_HINT, GL_NICEST
             glHint GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST
       END SELECT

       glShadeModel GL_FLAT
       glMatrixMode GL_PROJECTION
       AspectRatio! = GDK_GL_SCREEN_WIDTH(0) / GDK_GL_SCREEN_HEIGHT(0)
       gluPerspective 45, AspectRatio!, 1, 3600
       glMatrixMode GL_MODELVIEW
       glLoadIdentity
       SCREEN _NEWIMAGE(400, 768, 32)
       Init = -1
    ELSE
       Init = 0
    END IF

    Offline TempodiBasic

    • Forum Resident
    • Posts: 1792
      • View Profile
    Re: InForm Beta 7 is out now
    « Reply #46 on: June 24, 2018, 06:33:47 pm »
  • Best Answer
  • Hi Fellippe

    a little feedback

    I call Inform to change some items in a form previously made.
    So I open file .frm, change items, save only .frm and exit. On exit I choose to not save all (.frm+.bas)
    and I get an error... going to look at into .frm I find a wrong code in .frm as showed by image attached.
    This is the second time I get this, at first time I have thought that it was a mine error.


    I hope it will be useful
    Inform_error_saving_frm.png
    * Inform_error_saving_frm.png (Filesize: 60.56 KB, Dimensions: 1366x768, Views: 686)
    Programming isn't difficult, only it's  consuming time and coffee

    FellippeHeitor

    • Guest
    Re: InForm Beta 7 is out now
    « Reply #47 on: June 24, 2018, 06:42:18 pm »
  • Best Answer
  • Indeed a bug, Tempodi. Thanks for reporting.

    Offline Dav

    • Forum Resident
    • Posts: 792
      • View Profile
    Re: InForm Beta 7 is out now
    « Reply #48 on: August 29, 2018, 09:03:28 pm »
  • Best Answer
  • Hi Fillippe.  I grabbed the InForm zip package from the beta 7 download page.  When I run the UiEditor, its about box says it's beta 6.  The updater program say I have the latest version however.  But in the beta 7 video the interface looks a little different, so I was wondering if I got the wrong package somehow?

    - Dav

    FellippeHeitor

    • Guest
    Re: InForm Beta 7 is out now
    « Reply #49 on: August 29, 2018, 11:20:06 pm »
  • Best Answer
  • You got beta 6 because stupid me forgot to update the precompiled package! /facepalm

    If you can, just delete UiEditor.exe and the InForm folder and get the installer instead. That'll sure get the proper version (and give me time to repackage and fix the download page).

    Thanks for pointing it out, Dav!

    PS: I actually forgot to update the binaries in the zip; the code in the InForm folder is indeed Beta 7. You may also delete UiEditor.exe and InForm/UiEditorPreview.exe and then recompile UiEditor.bas (no need to recompile UiEditorPreview.bas as that'll be automatic).

    PS2: Download page updated. Thanks again.
    « Last Edit: August 29, 2018, 11:33:22 pm by FellippeHeitor »

    Offline Dav

    • Forum Resident
    • Posts: 792
      • View Profile
    Re: InForm Beta 7 is out now
    « Reply #50 on: August 30, 2018, 09:10:53 am »
  • Best Answer
  • Thanks, Fillippe!  I got the updated zip now and InForm works great.

    - Dav