HW020 3D Hello World – Part 2

At this time we will make the application as follows. This application displays green 3D Text “Hello World” until touch(click/tap) Break button.

This application is based on the Part 1 application. (Get back if needed)

STEP 2-1 Loading Part 1 application.

Display LOAD/SAVE tab. Then (1) Choose Part 1 outload flie (this ui item text will be in your native language), (2) Read in the outload file, then (3) Overwrite loading into VPGL.

STEP 2-2 Modifying Mainline method of App class

To eliminate displaying that dialog and avoid to stop application immediately, modify the Mainline method of App class of this application like below.
(1) Choose App class and Choose Mainline method. Then display its defienition diagram.
(2) Choose “Clear this method” operation from “select ops” menu. After that, the definition of Mainline will be blank(keep size, in-out, and IFALL setting)

Then place END to D1 tile of Mainline definition and 1 input on top. All other tiles leaves blank. Like as:

This redefintion removes displaying a modal dialog and replace STOP with END. STOP terminates the application immediately, but END only discards the input token and keep the application alive.
After executing END. No token is in application, but application is inactive until the user touches “Break” button.

STEP 2-3 Go to Part 3

So far, to build app easily, We modify the pre-built scene “Running”. But this scene is pre-built for a special purpose, we are better to make an original main scene other than Running, such as “Main”. Part 3 rebuilds this application from scratch with make “Main” scene.
You will encounter some new operations such as creating new scene in GEO EDITOR, switch scenes manually in VPGL diagram “code”.