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 - Steinbock

Pages: 1 [2] 3 4 5
16
Ok. i've found a solution and for me it works.  :)

In the filebrowser (windows explorer) move to the editor of GLBASIC (EditorE.exe).
Then right-click and select properties.
Select compatibility-tab.
Choose compatibilitymode for Windows XP (Servic Pack 2).

Hope this helps.

[attachment deleted by admin]

17
If i run only *.exe-file first from explorer and close it.
And then try to compile the project, the error occurs, even if the file was not run by IDE.
No difference if in debug mode or not.
As MrTAToad said, a loop with SHOWSCREEN.

18
Yes, it's possible.

19
Hi

Was there any solution for this? Because i have the same problem on my new pc. Windows 7 Home Premium 64bit.
Same code worked fine on (old) XP.  O_O

20
OK! Here is a "very basic" eventeditor:



I have also attached a sample eventfile.

If there are still open questions, please ask. :)

[attachment deleted by admin]

21
Hello

It is explained in tutorial no. 6:

in level00.gbas the objects manually. But in a completed game are much more required, and it would be very laborious to call every single object separatly. Therefore we read out the datas from a predefined file level00.evt. For this we must expand our existing event-type (TEvent).

Code: (glbasic) [Select]
        IX%             =   0
        ID%[256]
        Pos%[256]
        X%[256]
        Y%[256]

IX is a pointer to the actual listentry, ID is the objectID, Pos is the scrollposition WHEN the object shall appear and X,Y the position WERE the object shall appear.
With
Code: (glbasic) [Select]
    // init events
    OPENFILE(1,"./isdo/level00.evt",TRUE)
    FOR p=0 TO 254
        READUWORD 1,val
        Event.Pos[p]=val
    NEXT
    FOR p=0 TO 254
        READUWORD 1,val
        Event.ID[p]=val
    NEXT
    FOR p=0 TO 254
        READUWORD 1,val
        Event.X[p]=val
    NEXT
    FOR p=0 TO 254
        READUWORD 1,val
        Event.Y[p]=val
    NEXT

in level00.gbas we load these datas into our eventlist. The request when a object shall appear, we do in the subroutine EventHANDLER in library.gbas.
Code: (glbasic) [Select]
//=============================================================================
  SUB EventHANDLER:
//=============================================================================

LOCAL   ix%,typ%

    ix=Event.IX
    IF ScrollX=Event.Pos[ix]
        SELECT Event.ID[ix]
            CASE ID_ENEMY1 TO ID_ENEMY2
                ObjectADD(Event.ID[ix],Event.X[ix],Event.Y[ix])
        ENDSELECT
        INC Event.IX,1
    ENDIF

ENDSUB // EventHANDLER

First we request the current index in the eventlist, then we check the type and add the corresponding object to the scene. The rest goes as if by magic.


Today or tomorrow i will upload a simple eventeditor :)

22
Ich benutze diesen Schriftsatz im Anhang  :)

[attachment deleted by admin]

23
Bug Reports / Re: Neuen Blog erstellen
« on: 2010-Mar-08 »
Danke! Alles ok. :)

24
Bug Reports / Re: Neuen Blog erstellen
« on: 2010-Mar-06 »
Ok.
Der Blog-Titel waere dann "Cloud's diary" und ist in englischer Sprache. Danke!  :good:

Edit: 08.03.2010

 ;/

25
Bug Reports / Neuen Blog erstellen
« on: 2010-Mar-06 »
Hallo

Ich würd gerne einen neuen Blog starten.
Aber unter der Rubrik Member-Blog erscheint der Schalter 'New Topic' erst, wenn man in einem bereits bestehenden Blog ist.
Kann mir da bitte einer weiterhelfen?

Danke!

26
Thank you! Now it works again with V7.250 :good:

27
GLBasic - en / Re: PRINT and ALPHAMODE
« on: 2010-Jan-27 »
I've tested my own font and it worked as well.

28
GLBasic - en / Re: PRINT and ALPHAMODE
« on: 2010-Jan-27 »
for me it works with ALPHAMODE between 0.0 and 1.0

29
Hallo

Bei Deiner SUB übergibst Du den Schülernamen schueler$ nur der Variable raum$, jedoch ohne Feldindex-Angabe!
Also wird vermutlich immer an raum$[0] übergeben.
Du hast im DIM auch nur 3 Feldindexe reserviert, benutzt aber in der FOR-Schleife 4 (0..3) ;)

30
The same on my WIZ.
Two seconds the sprite moves then one second pause. Spritesize 48x48.
Other GLB versions worked well.

Pages: 1 [2] 3 4 5