Menu

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.

Show posts Menu

Topics - trucidare

#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
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.



[attachment deleted by admin]
#4
Hi there,

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



[attachment deleted by admin]
#5
GLBasic - en / Android ...
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
It fully works :D




[attachment deleted by admin]
#7
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

[attachment deleted by admin]
#9
GLBasic - de / EiPott Event
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
2010-Jul-23
found in my code backup...



[attachment deleted by admin]
#11
GLBasic - en / Mac IDE
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
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.



[attachment deleted by admin]
#14
hier schaut mal :D

[attachment deleted by admin]
#15
Off Topic / Happy Birthday
2010-Feb-13
Happy Birthday Kitty ;)
Much Luck for the New Year. A Year of Code Terror *evil laugh*

have a nice Day ;)
#16
some fun for everyone :D

here my workspace and mac mania

on left the yellow papers are my todo list :D



[attachment deleted by admin]
#17
Hi there,

ported ScoreLoop in GLBasic. Works just fine. no crashes, fast and nice interface.

here some shots.

[attachment deleted by admin]
#18
Hi there,

now the possibility to play musik in your application.

8 Steps to luck:

1. -> Download the lib and gbas from: http://davis.org.au/trucidare/GLBMusic.zip
2. -> Add GLBMusic.gbas to your Project
3. -> Use functions to add Music support and compile
4. -> copy to mac
5. -> open xcode project
6. -> drag and drop libGLBMusic.a to frameworks on the left side (dont forget to add MediaPlayer.framework, thats missing in the glbasic xcode project, simple right click on frameworks add-> existing frameworks -> choose mediaplayer and click ok)
7. -> edit info.plist
8. -> compile and have fun.

issues:
- Statusbar is not shown - fixed
- on close the MediaPicker flickered for a second - fixed


have fun and let me know whats wrong and which functions are missing

regards
-trucidare

sample code:

Code (glbasic) Select
// --------------------------------- //
// Project: MusicTest
// Start: Monday, February 08, 2010
// IDE Version: 7.250

//SETCURRENTDIR("Media") // seperate media and binaries?

AUTOPAUSE FALSE
LIMITFPS -1

Menu()

WHILE TRUE
SHOWSCREEN
WEND

FUNCTION foo:
ENDFUNCTION

FUNCTION Menu:
pressed = 0
stat = 0
LOADSPRITE "Media/choose.bmp",0
LOADSPRITE "Media/play.bmp",1

WHILE TRUE
DRAWSPRITE 0,50,40
DRAWSPRITE 1,50,90

MOUSESTATE mx,my,b1,b2
IF b1 = 0 THEN pressed = 0

PRINT "Hello World!",0,0
PRINT "isPlaying: "+GLB_MP_isPlaying(),0,10

IF BOXCOLL(50,40,143,39,mx,my,1,1) AND b1 AND pressed = 0
GLB_MP_StartMusicPlayer()
pressed = 1
ENDIF

IF BOXCOLL(50,90,143,39,mx,my,1,1) AND b1 AND pressed = 0
GLB_MP_PlayMusic()
pressed = 1
ENDIF

SHOWSCREEN
WEND
ENDFUNCTION


#19
Hi there,

now closed OpenFeint discussion and opened Agon.

Ok first i post my Wrapper for GLBasic. Some new functions, hope its easy to use.

More infos soon :D

Ok Now time for Release!!! :D

Step by Step Guid:

1. -> Download XCode.rar from : http://davis.org.au/Trucidare/XCode.rar and Unrar it
1a. -> Go to X:/Program Files/GLBasic/Compiler/platform/iPhone
1b. -> Rename XCode folder to XCode - Non AGN
1c. -> Copy the unrared XCode folder to X:/Program Files/GLBasic/Compiler/platform/iPhone
2. -> Download GLBAgon.gbas from : http://davis.org.au/Trucidare/GLBAgon.gbas
3. -> Open your Game
4. -> Add GLBAgon.gbas to your Project
5. -> Call GLB_AGN_Init() at start of your Program
6. -> Call GLB_AGN_Create("Your Secret from AGON Developer Dashboard",ServerType) // Servertypes are in GLBAgon.gbas
7. -> Call all other Agon Commands
8. -> Before you can add Achivements and Highscores to AGON you must Call GLB_AGN_StartGameSession() // i think its the best you start the session only if you are in the Game, not Menu
9. -> Dont Forget to Close the Session
10. -> Build for iPhone
11. -> Copy to Mac
12. -> Download Bundle from AGON Developer Dashboard
13. -> Copy it to xcode folder parallel to Media Folder
14. -> Open Xcode Project
15. -> Change Info.plist
16. -> Compile and have Fun :D

Known issues:

-> Colors dont work yet - vars lost values from function a to funtion b - dont understand why.
-> opening the dashboard two times it will crash (bug send to agon, hope for fix) ((crashes only if the user is online - offline users dont have any crashes))

Thanks and have fun
trucidare



[attachment deleted by admin]
#20
Hi There,

Now time for OpenFeint :)

1. Download the Xcode.rar file.
2. Unrar it
3. Go to X:/Program Files/GLBasic/Compiler/platform/iPhone
4. Rename XCode folder to XCode - Non OF
5. Copy the unrared XCode folder to X:/Program Files/GLBasic/Compiler/platform/iPhone
6. Run GLBasic
7. Open your Project
8. Add following OpenFeint.gbas to your Project
9. Write your Game
10. add the functions declared in 8 to your game
11. Compile
12. Copy to mac
13. Compile Xcode Project with XCode
14 Be happy

for questions answer in this thread.

Known Issues

-> table content in OpenFeint are slow, hope for a quick solution but not sure how. (tab and wait after some time it will click with row) - solved
-> Slowdown after some playing some level. (thanks Kittie for finding the bug) Working on solution. - thanks kittie for solving.

Download Link -> http://www.davis.org.au/trucidare/XCode.rar
(Thanks to Hatanostick for Hosting)

Some Infos:

-> OpenFeint Version 2.4.3
-> libGLBOpenFeint.a Version 1.5
-> Wrapper Version 1.2

Post you Problems, Questions or Requests.




[attachment deleted by admin]