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.

Messages - aroldo

Pages: 1 2 [3] 4 5 ... 10
GLBasic - es / Re: Teclado / InputBox para iOS
« on: 2013-Jun-08 »

Disculpen mi español.
También estoy aprendiendo un poco más de XCode, gracias por su código.

En mi proyecto tengo el archivo iOSKeyBoadTest.gbas y el archivo

Acabo de intentar su código, pero estoy recibiendo los siguientes errores en GLB.

Code: (glbasic) [Select]
gpc_temp0.o:gpc_temp0.cpp:(.text+0x1f6): undefined reference to `_iOSMessageBox'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x59a): undefined reference to `_GetiOSMessageBoxValues'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x6ed): undefined reference to `_iOSMessageBox'
gpc_temp0.o:gpc_temp0.cpp:(.text+0x8ef): undefined reference to `_GetiOSMessageBoxValues'
*** FATAL ERROR - Please post this output in the forum

¿Necesito tambien un archivo iOSKeyBoadTest.h ?


GLBasic - en / Re: New Mac IDE
« on: 2013-May-23 »
Very nice! :nw:

GLBasic - en / Re: Screen Scrolling
« on: 2013-Apr-23 »

The screen height size will vary, in some devices 640, 960, 1024, 2048.
Every time the uses touches the screen up to see if the messages that are is beyond the screen height I will have to scroll the entire screen.

Using in Line C code is an option but I will have to do a function for each device I plan to support.

GLBasic - en / Re: Screen Scrolling
« on: 2013-Apr-23 »
If I use a native code for iOS or Palm, if I print text line or an image that is taller the the device height the OS will enable the scrolling feature.
I GLB I have to simulate that, using the mouse y position and the extended printed area.

GLBasic - en / Screen Scrolling
« on: 2013-Apr-22 »
GLB Community,

I am developing and app for mobile devices that retrieves text and information from the web and then displays to the user.
Since the information will not fit the screen the user need to scroll up or down touching the screen of the device.
On the screen I will have images and text.

Does any one knows a sample or GLB command that can help me manage the screen scrolling?

 :nw: Thanks Everyone,

Using the REPLACE$  solves my problem.

Bug Reports / LTRIM$ and TRIM$ Possible Bug?
« on: 2013-Apr-04 »
GLB Team,

I am using LTRIM$ to remove some tags from a text string.
For some odd reason LTRIM$ or TRIM$ is removing the first character after the text it is trimming.
I tried this code in GLB V 11.261 and GLB V 10.283 the result is the same.

Here is the code used:

Code: (glbasic) [Select]
tempmsg$ = LTRIM$(msg$ ,"<![CDATA[")
Here are the input message and the message after the trimming:

msg$: <![CDATA[The 33 directors of the 500 Festival received their Indianapolis 500 Chevrolet Camaros in a ceremony Wednesday at the Indianapolis Motor Speedway, a longtime tradition leading into the Month of May and ?The Greatest Spectacle in Racing.?]]>

tempmsg$: he 33 directors of the 500 Festival received their Indianapolis 500 Chevrolet Camaros in a ceremony Wednesday at the Indianapolis Motor Speedway, a longtime tradition leading into the Month of May and ?The Greatest Spectacle in Racing.?]]>

For now I resolve the issue using the replace$ command:

Code: (glbasic) [Select]
tempmsg$ = REPLACE$(tempmsg$ ,"<![CDATA[","")

GLBasic - en / Re: Netgetweb$ ?
« on: 2013-Mar-02 »

I made this code to retrieve data from a web site, it may help you.

Run the code with the debug enabled.
Press the mouse button 1 (Left Button) to execute the WEBGET$ that returns the results in a string and the WEBGET that saves the result to a file.
When you are done click the mouse button 2 (Right Button)

Code: (glbasic) [Select]
GLOBAL server$=""
GLOBAL path$=""
GLOBAL port%=0
GLOBAL results$=""
GLOBAL result%
GLOBAL timeout%=0
GLOBAL max_length%=0
GLOBAL file$
GLOBAL mx=0, my=0, b1=0, b2=0, bl=0

 MOUSESTATE mx, my, b1, b2
        IF b2
        ELSEIF b1
goto main


FUNCTION update:
        PRINT "Getting Results", 0, 10
FUNCTION webget:
results$ = NETWEBGET$ (server$, path$, port%, max_length%, timeout%)
DEBUG " - " + results$
FUNCTION webgetfile:
result = NETWEBGET (server$, path$, port%, file$, timeout%)
        DEBUG " * " + result

Announcements / BrickBusterHD is Here!
« on: 2013-Feb-28 »
Hi GLBasic Community,

Another game powered by GLBasic is out!!!
I am happy to announce that my game BrickBusterHD is ready for sale at the Apple App Store!
This is my first game made with GLBasic, I originally made it for the WebOS, and I converted to GLB.

I had lots of challenges but after a lot of work and help from GLB community it is done! (Specially the people that helped with the translations)  :nw:
Some of the features are:
  • Virtual keyboard
  • Particles System
  • Universal screen re-size

This games can run on several mobile platforms because of the features above!

You can find more information here:

GLBasic - en / Re: Translation Help
« on: 2013-Feb-22 »
hardyx thanks for the translation once again.

backslider thanks for the suggestion.

spacefractal I will have to have two versions one for iOS generation 4 and up and one for generation 3 and below.
I will still be using my re-size tool, I spend a lot of time to get it working write and it helps me reduce the  management of my applications.
One question, I know I can load an image in memory , than resize it, than use GRABSPRITE and then use SAVEPRITE to save the resized image to a file, I will do this process once when the game is first loaded I can save the images with the right resolution for the devices reducing the file sizes.
The ideal situation would be to have a GLBasic command that would be like SAVESPRITE "filename$", W%, H%

GLBasic - en / Re: Translation Help
« on: 2013-Feb-19 »
r0ber7 and Diego thanks for the Dutch and Italian translations.
Mentalthink thanks for the Spanish translation update.

After my app is approved, I plan to send a promocode to the people that helped me with the translation.  :nw:

GLBasic - en / Re: Translation Help
« on: 2013-Feb-19 »

Yes I would like the Dutch translation!

GLBasic - en / Re: Translation Help
« on: 2013-Feb-19 »
mentalthink, muchas gracias! :nw: :nw:

GLBasic - en / Re: Translation Help
« on: 2013-Feb-18 »
backslider, thank you. :nw:
If you need Portuguese translation I can help you with that.

GLBasic - en / Translation Help
« on: 2013-Feb-18 »
I came here to ask the help of the GLB community!

I need you help to translate the following text to these language:

German, Italian, French, Spanish, Japanese.

"Brick Buster is a new version of the classic Breakout game for the mobile devices.
Touch the screen to move the paddle and deflect the ball to destroy the bricks.
Get more points when you hit the butterfly that appears between phases.
Destroy bricks faster when you get 2 or 3 balls!
Challenge your friends to see who gets the high score!"

Thank you in advance!

Pages: 1 2 [3] 4 5 ... 10