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 - Kitty Hello

Pages: 1 2 [3] 4 5 ... 37
Feedback / New Update 1.020
« on: 2013-Oct-22 »
The new update is released for Android and PC/Mac now.

-PC/Mac App - can now EXPORT HTML5 apps!
-Social integration (see "more..." button)
-Copy/paste images between background and sprites
-snappier GUI
-DPI awareness
-ability to change the button sizes
-Undo button for animation path points
-Better layout for smal devices

iPad versino to be released, soon.

GLBasic - de / 4 Bilder, 1 Wort
« on: 2013-Oct-12 »
Meine Tochter liebt das Spiel.

Hier ist eine App, die euch hilft beim lösen - könnt ihr gerne in den App store packen. Ich vermute, dass man damit ein paar Kröten machen kann.

PS: Haut's noch ein HIBERNATE rein!

Off Topic / Am I paranoid (conspiracy)
« on: 2013-Sep-10 »

today I remembered the old book 1984 from Orwell. So I did a google with my iPhone, and found a free, legal mp3 version of it ( or so..). I started listening and after about 5 minutes, my iPhone was giving me an error "the profile could not be installed (unknown error)".

As far as I know, they use profiles to jailbreak/hijack iPhones. I'm using a beta version of iOS, so it might not have worked and I got his error. Folks, if my notion is not misleading, this is something that gets me thinking.

Usually I wanted to write that I fell in love with the new Samsung Galaxy Note 3, but not I consider getting a 5,- mobile phone instead... Or none at all... Am I paranoid?  :S

Code Snippets / iCade for all platforms
« on: 2013-Sep-02 »
iCade is natively built into iOS. But for other platforms it works, too.
We just need to work with INKEY$, which is buffered in V11+.

Code: GLBasic [Select]
// --------------------------------- //
// Project: iCade
// Start: Monday, September 02, 2013
// IDE Version: 11.458

//              There are three main latin keyboard layouts: QWERTY, QWERTZ AND AZERTY US keyboard layouts.
//                      The QWERTZ layout switches Y - Z
//                      The AZERTY layout switches A - Q AND Z - W
//              // iCade events:
//                WE    YT UF IM OG
//              AQ  DC
//                XZ    HR JN KP LV
//              QUERTZ/AZERTY: W w/o Z (UP,   pressed w/  DOWN, pressed)
//              AZERTY:        Q w/o A (LEFT, release w/o LEFT, pressed)
//                                         Z w/o X (DOWN, release w/o DOWN, pressed)

TYPE TiCadeInfo
        dx%; dy% // D-Pad

GLOBAL iCade AS TiCadeInfo

FUNCTION iCadeUpdate%:
STATIC on$, off$
STATIC iLayout% =0 // 0:querty 1:qwertz 2:azerty

STATIC pins%[]

        IF LEN(on$) =0
                SELECT iLayout%
                CASE 0 // querty
                        on$ = "wdxayhujikol";
                        off$= "eczqtrfnmpgv";
                CASE 1 // quertz
                        on$ = "wdxazhujikol";
                        off$= "ecyqtrfnmpgv";
                CASE 2 // azerty
                        on$ = "zdxqwhujikol";
                        off$= "ecyatrfnmpgv";
        IF LEN(pins%[]) = 0 THEN DIM pins%[LEN(on$)]

        LOCAL a$
        LOCAL bChange% = FALSE
        WHILE TRUE
                a$ = LCASE$(INKEY$())
                IF LEN(a$)=0 THEN BREAK

                LOCAL i%
                i=INSTR(on$, a$)
                IF i>=0
                        pins[i] = 1
                        bChange =TRUE
                i=INSTR(off$, a$)
                IF i>=0
                        pins[i] = 0
                        bChange = TRUE
                        // uh-oh real-key event!!!

                // check if it's qwertz or azerty, based on possible logic combinations.
                IF iLayout% = 0 AND pins[2]=1 AND a$="w" // must be quertZ or azerty!!
                        iLayout% = 1
                        FOREACH p% IN pins%[]; p=0; NEXT
                        pins[0] = 1
                        pins[4] = 0
                        on$="" // re-fill
                ELSEIF iLayout% = 1 AND pins[3]=0 AND a$="a" // azerty: aq is swapped!
                        iLayout% = 2
                        FOREACH p% IN pins%[]; p=0; NEXT
                        on$="" // re-fill

        IF bChange%
                iCade.dx = pins[1]-pins[3]
                iCade.dy = pins[2]-pins[0]
                FOR i%=0 TO 7
                        iCade.buttons%[i] = pins[i%+4]



It's TESTED now and really works.
Test with:
Code: GLBasic [Select]

        WHILE TRUE
                iCadeUpdate() // update status from inkey$ messages
                PRINT "iCade: DX:"+iCade.dx+" DY:"+iCade.dy, 0,50 // D-Pad
                FOR i=0 TO 7
                        PRINT "button "+i+" = "+iCade.buttons[i], 0, i*20+70 // Buttons


Beta Tests / Html5 is getting there
« on: 2013-Aug-31 »
It's getting useful now. I can interact with C++ and JS now. I started on multitouch and it's almost working. Also!!! This works on the iPad now! (IOS6)


just to keep this idea sticky here, so it's "prior art" in case it's not done, yet. So, if it's still free, I want it to be free to use for everyone.

I have to change lots of code. And need to select it with the mouse, then type or paste code.
I need 3 hands.
So, my idea is to use the head inclination for the mouse pointer position, and use 2 hands on the keayboard and have 2 special keys on the board for the mouse buttons. The incinlation of the head is an abolute position of the mouse pointer.
nod for up/down (juat as you look after the pointer on a huge screen), and roll the head (\\ - || - //) for the x direction.

Does such an app exist? If not, who want to make one?   :P

For the windows backend:
Code: GLBasic [Select]
IMPORT "C" int __stdcall SetCursorPos(int X, int Y);

GLBasic - en / Smartwatch (Pebble SDK)
« on: 2013-Jun-17 »
I+m about to get a pebble. Next year - haha. No, but when the SDk is out, I´d link to make an pebble GLBasic app, that is  a simple communicaion app to your phone.
then, on the phone you write hte glbasic app. We need functions like: pebble_getstatus$ and pebble_setdisplay(spriteid%).

Anyone with a pebble, too?
We should also make this a cross platform lib so we can access other wathes as well.

In GACK, I have a huuuuuge editor. I can't redesign that to use the loop-subs that are required for the HTML5 port.
But the game engine could well be ported. So I have 2 subs:
main_loop_sub and title_screen_sub.
When title presses a key, then main_loop_sub is set as the main sub and vice versa.
The "game" engine just starts at the title screen loop, and exits the main program routine. The game will loop the subs and it works.

Now! When I'm in the editor, I want to test the game. Thus, I need to call the title/main subs manually (I can't quit the "main" routine). How would I know which sub to trigger? Using a global variable? Isn't that silly?
Any better ideas?

Beta Tests / DPI for Samsung Galaxy S4
« on: 2013-Jun-08 »
Has anyone got such a device to test?
Can you use V11 and tell me what Platforminfo$("DPI") returns?

Many thanks


find the attached 2 files. Place the .mm file in your xcode project. Drag it into the "classes" folder in XCode then.

Include the gbas file into your project. Then, first, see if the service is available. If so, do the posting. You can either post text, url or an image.


The rotation might not be correct. Pardon me.

2D-snippets / Drawing rainbow colour cycles
« on: 2013-Mar-23 »
Code: GLBasic [Select]
        DIM pix%[256]
        FOR i=0 TO 255
                LOCAL r,g,b
                r = 0.5 + SIN( i    /255 * 360.)/2.0
                g = 0.5 + SIN((i+85)/255 * 360.)/2.0
                b = 0.5 + SIN((i+170)/255 * 360.)/2.0
                pix[i] = RGB(r*255, g*255, b*255) + 0xff000000
        MEM2SPRITE(pix%[], 1, 256,1)
        STRETCHSPRITE 1, 0,150, 256,32

Totally non-optimized code. But you can use the texture later, which is OK.
I use it to track the colour bugs in the RaspberryPi setup...

Yes, finally it's been approved. The first non-coding game maker for your iPad with the shiny new user interface.

Get it while it's stil hot.

Feedback / Updates to come...
« on: 2013-Feb-06 »
Hi, I'll use this thread for the updates to com. Starting with Feb, 2013:
<a href="" target="_blank"></a>

GLBasic - en / iOS image picker (photos)
« on: 2013-Jan-26 »
Howdy, has anyone got an native iPhone image picker wrapped?
I could really use one.

GLBasic - en / SDL2 screen offset
« on: 2013-Jan-14 »

I've ported to SDL2 now, but in portrait, the opengl window on android is shifted towards the bottom. The touches are proper coords. Any ideas?

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