BASIC

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - trucidare

Pages: [1] 2 3 ... 5
1
hi there,

its a long time ago since i was here.
my english is still very bad but i have some new ideas and proof of concepts :)

here some points from my list:

Using GLBasic Engine for Scada visualisation (OPC and/or native SPS communication)
Add QT as simple GUI Api (x Platform if works on Platform, sorry webOS, Pandora, html5)
Native Binding to SCIP solver (thanks Conrad Zuse Institut Berlin) and lp_solve
TDS Lib for using SyBase / MSSQL Databases
SpaceController 3d Mouse support
...

let me know if someone are interested in one of it.

2
Let us have a look at my new Projects - you have the Choice

3
GLBasic - en / Android - does it work for you?
« on: 2011-Mar-28 »
Hi,

if you have an Android device, please try the attached APK and tell us if it worked.

Tell you system and your Andoid OS version, please.


This is an early port - we need some time to solve some main problems and optimize the engine for use with all devices.

The apk is below.


4
GLBasic - en / [ANDROID] First Impressions
« on: 2011-Mar-28 »
Hi there,

here is the first impression of glbasic running on android. running realy smooth.


5
GLBasic - en / Android ...
« on: 2011-Mar-01 »
Could anyone with an android device send me the libcutils.so - anywhere on the fone - dont know where.


Got it - thanks mangoo

closed

6
Announcements / GLBasic and 10.7 Lion
« on: 2011-Feb-26 »
It fully works :D



7
Off Topic / Some Stuff - GLBasic related
« on: 2010-Nov-20 »
Here a snippet and a Setup for the first GUI application in glbasic.

Code: GLBasic [Select]
// --------------------------------- //
// Project: Music-Player
// Start: Thursday, November 18, 2010
// IDE Version: 8.148
// SETCURRENTDIR("Media") // seperate media and binaries?


AUTOPAUSE FALSE
SYSTEMPOINTER TRUE

GLOBAL GUI_WINDOW = 0
GLOBAL GUI_DIALOG = 1

GLOBAL GUI_BOX_VERTICAL = 1
GLOBAL GUI_BOX_HORIZONTAL = 0
GLOBAL GUI_BOX_BOXONLY = 1

HideMe()
GuiInit()
FMOD_Init()



hwndWindow = GuiCreateWindow("Music-Player",320,100,GUI_WINDOW,TRUE)
                         GuiSetWindowResizable(hwndWindow,FALSE)
                         GuiSetWindowMaximize(hwndWindow,FALSE)
                         GuiEventConnect(hwndWindow,"destroy")

tblLayout = GuiCreateTable(4,5,TRUE,TRUE)
                        GuiAddContainer(hwndWindow,tblLayout)

btnLast = GuiCreateButton("<--",TRUE)
                  GuiTableAttach(tblLayout,btnLast,0,1,0,1)
                  GuiEventConnect(btnLast,"clicked")

btnPlay = GuiCreateButton("Play",TRUE)
                  GuiTableAttach(tblLayout,btnPlay,1,2,0,1)
                  GuiEventConnect(btnPlay,"clicked")

btnOpen = GuiCreateButton("Open",TRUE)
                  GuiTableAttach(tblLayout,btnOpen,2,3,0,1)
                  GuiEventConnect(btnOpen,"clicked")

btnStop = GuiCreateButton("Stop",TRUE)
                  GuiTableAttach(tblLayout,btnStop,3,4,0,1)
                  GuiEventConnect(btnStop,"clicked")

btnNext = GuiCreateButton("-->",TRUE)
                  GuiTableAttach(tblLayout,btnNext,4,5,0,1)
                  GuiEventConnect(btnNext,"clicked")

progress = GuiCreateProgress("",TRUE)
                   GuiTableAttach(tblLayout,progress,0,5,1,2)

btnVolM = GuiCreateButton("Vol -",TRUE)
                  GuiTableAttach(tblLayout,btnVolM,0,1,2,4)
                  GuiEventConnect(btnVolM,"clicked")

btnVolP = GuiCreateButton("+ Vol",TRUE)
              GuiTableAttach(tblLayout,btnVolP,4,5,2,4)
                  GuiEventConnect(btnVolP,"clicked")

slider = GuiCreateSlider(0, 0, 100, 1, TRUE)
                 GuiTableAttach(tblLayout,slider,1,4,2,4)
                 GuiEventConnect(slider,"value-changed")
                 GuiSetSliderValue(slider,50)

GuiSetBlocking(FALSE)

GuiShowWidgetAll(tblLayout)


GuiMain()
GuiEnd()




CALLBACK FUNCTION EVENTS: WIDGET, EVENT
DEBUG WIDGET
DEBUG EVENT
        SELECT WIDGET

                CASE hwndWindow
                        END

                CASE btnOpen
                        file$ = FILEREQUEST$(TRUE,"All Media|*.*")
                        FMOD_PlayStream(file$)

                        IF file$ <> "NO_FILE"
                                //ThThreadCreate("UpdateProgress")
                                GuiSetIdleTimeoutFor(progress)
                                GuiSetProgressText(progress,FMOD_GetTag$())
                        ENDIF

                CASE btnPlay
                        IF FMOD_IsPlaying() <> 0
                                IF file$ <> "NO_FILE"
                                        FMOD_PlayStream(file$)
                                ENDIF
                        ELSE
                                FMOD_Pause()
                        ENDIF

                CASE btnStop
                        IF FMOD_IsPlaying <> 0 THEN FMOD_Stop()

                CASE btnVolM
                        GuiSetSliderValue(slider,GuiGetSliderValue(slider)-5)

                CASE btnVolP
                        GuiSetSliderValue(slider,GuiGetSliderValue(slider)+5)

                CASE aboutDialog
                        GuiHideWidget(aboutDialog)

                CASE slider
                        FMOD_SetVolume(GuiGetSliderValue(slider)/100)

        ENDSELECT
ENDFUNCTION


FUNCTION ShowAbout:
        aboutDialog = GuiCreateAboutDialog("Music-Player","1.0.0.0","Copyright by trucidare","comment","lgpl","http://www.glbasic.de","Nils Tonagel",TRUE)
                                  GuiEventConnect(aboutDialog,"destroy")
ENDFUNCTION

CALLBACK FUNCTION PROGRESSBARS: BARS
        SELECT BARS
                CASE progress
                        LOCAL pre%,val%
                                le# = FMOD_GetLength()
                                po# = FMOD_GetPosition()
                                percent# = po# / le#* 100
                                val% = percent#
                                IF val% <> pre%
                                        pre% = val%
                                        GuiSetProgressValue(BARS,percent#)
                                ENDIF
                        STDOUT "Bar: "+progress+": "+BARS
        ENDSELECT
ENDFUNCTION
 

Download: http://www.zshare.net/download/82943455428dcd78/

EDIT/// Now with working progressbar, code updated

9
GLBasic - de / EiPott Event
« on: 2010-Aug-26 »
Am 01. September wird das jährliche iPod Event in San Francisco starten :D *freu*
Erwartet wird ein Retina iPod sowie eine Nauauflage des Apple TV.

Fakt ist, das mind. 1 neuer iPod kommen wird. Zum Apple TV gibts bisher nur Spekulationen wie:

- ARMv7
- iPod / Phone / Pad Apps sollen laufen
- keine interne Platte mehr
- ausschaltbar

Spekuliert ein bisschen weiter vielleicht hat hier ja jemand einen goldenen Riecher :D

10
Code Snippets / GTK
« on: 2010-Jul-23 »
found in my code backup...


11
GLBasic - en / Mac IDE
« on: 2010-May-02 »
Hey folks, something new from Mac IDE.

Here a simple Video.

http://www.youtube.com/watch?v=wVslRaVQqxg


Beta Download:
http://rapidshare.com/files/385726803/GLBasicEditor.zip



OK Time for Beta:

NOTE:
- Adding files to Project doesnt work, the Editor will compile all files opened.
- Need XCode Installed
- no iPhone compile yet
- only Demo mode available yet


have fun with it and let me know whats wrong.


if you like it...
ntonagel [at] gmx [dot] de - for donations


12
GLBasic - de / iPhone OS 4
« on: 2010-Apr-08 »
Hey Ho,

da gerade das iPhone OS 4 vorgestellt wurde hier mal die Neuerungen im einzelnen:

- Multitasking
- Ordner auf dem Dashboard (z.b. für Spiele)
- Mehr Sicherheit
- Neues Mail
- Eigenes Social-Gaming-Network
- Werbung in apps möglich

- Ne Menge neuer APIs für Entwickler

Erscheinen wird es im Herbst.

Entwickler Version ab -> Jetzt + ca. 2 Stunden wegen Sturmflut auf die Server


13
Hi There,

here is some Bluetooth Multiplayer blah

Add these lines into your Project.
Code: GLBasic [Select]
IMPORT "C" void GLB_iBT_Init()
IMPORT "C" void GLB_iBT_Start(const char* sessID)
IMPORT "C" int GLB_iBT_Send(const char* strValue)
IMPORT "C" const char* GLB_iBT_Recv()
IMPORT "C" int GLB_iBT_Connected()
 

use this functions in your game. Init at start of your Program, Start opens the Bluetooth search dialog.

to compile add attached lib and GameKit.framework to your xcode project.


14
GLBasic - de / Sinnlos Thread :D
« on: 2010-Apr-03 »
hier schaut mal :D

15
Off Topic / Happy Birthday
« on: 2010-Feb-13 »
Happy Birthday Kitty ;)
Much Luck for the New Year. A Year of Code Terror *evil laugh*

have a nice Day ;)

Pages: [1] 2 3 ... 5