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

#501
The new GLBasic Version 3 is avaliable for download:

http://www.glbasic.com/beta/glbasic_sdk.exe

- GLBasic 3 supports TYPEs, that is sturctures. It's still beta - a lot will change here.
- inline C++ comes (soon)
- The Compiler has been repleaced with a recent version - faster, smaller.
- smalfont.bmp is included in the .exe - you don't need to provide one, but it get's loaded if you do.
- With ALLOWESCAPE you can stop the user from pressing "ESC" and handle this yourself.
- GLBasic 3 will change some function calls. So BOXCOLL will return a value and some more...
- For GLBasic 3 there will be schoo licenses - smal info at game start, smal price at purchase.
- The Demo will be changed - I want 3D in the demo.
#503
Den Blender Exportfilter kann man hier herunterladen:
http://www.glbasic.com/files/blender-export-glbasic-dda.py

und kopiert ihn dann nach: C:\Programme\BlenderFoundation\Blender\.blender\scripts
#504
Find the blender export filter here:
http://www.glbasic.com/files/blender-export-glbasic-dda.py

and copy it to C:\Program Files\BlenderFoundation\Blender\.blender\scripts
#505
Schreibt ein Spiel das mit einer Tanzmatte gespielt werden kann.

Ich weiß, ihr habt keine, darum nehmt diese Funktion:

Code (glbasic) Select
// state[spieler_index][nknopf]
FUNCTION DanceMat: state[]
LOCAL num_mats
num_mats = 2

REDIM state[num_mats][9]
// Mat-state-layout:
// 0 1 2
// 3(4)5
// 6 7 8

// Tasten: QWE, ASD, YXC
// 16, 17, 18
// 30,(31) 32
// 44, 45, 46
state[0][0]=KEY(16)
state[0][1]=KEY(17)
state[0][2]=KEY(18)
state[0][3]=KEY(30)
state[0][4]=0
state[0][5]=KEY(32)
state[0][6]=KEY(44)
state[0][7]=KEY(45)
state[0][8]=KEY(46)

// Nummernblock
// 71 72 73
// 75(76)77
// 79 80 81
IF num_mats>1
state[1][0]=KEY(71)
state[1][1]=KEY(72)
state[1][2]=KEY(73)
state[1][3]=KEY(75)
state[1][4]=0
state[1][5]=KEY(77)
state[1][6]=KEY(78)
state[1][7]=KEY(79)
state[1][8]=KEY(80)
ENDIF
ENDFUNCTION
Ändert die Variable num_mats um nur eine "virtuelle Tanzmatte" zu simulieren. Man steuert Matte 1 mit den Tasten:
QWE
AsD
ZXC
und die Zweite mit dem Nummernblock.

Um die Anzahl der Spieler zu ermitteln kann man schreiben:
Code (glbasic) Select
DanceMat(state[])
num_players = BOUNDS(state[], 0)
Wenn man prüfen möchte, ob Spieler 1 (Index 0) auf der rechts-oben Taste steht, prüft man:
Code (glbasic) Select
IF state[0][2] THEN ...Alle Knöpfe können gleichzeitig gedrückt sein, man solte jedoch davon ausgehen, dass ein Spieler nur 2 Hände, 2 Beine und einen Kopf hat (Nein Zaphod - ist mir egal!)

So, jetzt schreibt ein Spiel mit diesen
Regeln:
- das Spiel sollte die Tanzmatte als einen Fitnesstrainer nutzen, nicht nur als Steuerknüppel
- kann alleine und mit bis zu 8 Spielern gleichzeitig (8 Matten angesteckt)
- ein physikalischer Monitor - Splitscreen, ein Screen, Abwechselnde Ansichten - völlig egal
- das Spiel sollte nach etwa 120 Sekunden stoppen (das ist, wenn man vor Erschöpfung zusammenbricht und kotzt)
- Macht es spannend. Wenn eure Freunde mal zu Besuch kommen, werden sie erst nach ein, zwei Wochen wieder gehen.


Bewertung
- das Bewertungssystem hat die Werte "wow/nett/ok/ähh/null" und verwendet folgende Wichtungen (gibt das in der Summe 100? ;) )

- 10% Grafik
- 10% Sound
- 10% Laune/Stimmung
- 30% Spielbarkeit
- 40% Konzept und Idee


Zusätzliche Infos:
- Quellcode muss eingesendet werden
- Copyright bleibt beim Author
- Spiel muss Freeware sein und Berechtigung zur Veröffentlichung auf www.glbasic.com muss gewährleistet sein
- Alle Medien müssen euer Copyright sein Verwendet keine geklauten Grafiken
- GLBasic Demo Version kann benutzt werden, kein Kaufzwang der Vollversion
- Einsendeschluss ist 20-feb-2006 - 23:59:59
- Ihr könnt als Team antreten, der Leiter ist verantwortlich über die Gewinnverteilung
- Einsendungen nur im zip format
- Zips nicht größer als 10 MB
- Alle Einsendungen müssen einen Screenshot 640x480 als jpg Datei haben
- Eine readme.txt Datei muss im zip sein mit Kontaktadresse, Spielname
  und einer kurzen Beschreibung wie es funktioniert.


Preise:
- Get Gewinner erhält 3 (! DREI !) neue usb Tanzmatten
  (1 für zuhause, 2 als Geburtstagsgeschenke)
- 2. Platz:
  Zwei USB Tanzmatten
- 3.Platz:
  Eine USB Tanzmatte
- all entries will be rated and exposed on www.glbasic.com
#506
Write a game that can be played with a dance-mat.

I know you ain't got one, so you take this function:

Code (glbasic) Select
// state[num_players][nbutton]
FUNCTION DanceMat: state[]
LOCAL num_mats
num_mats = 2

REDIM state[num_mats][9]
// Mat-state-layout:
// 0 1 2
// 3(4)5
// 6 7 8

// keys: QWE, ASD, YXC
// 16, 17, 18
// 30,(31) 32
// 44, 45, 46
state[0][0]=KEY(16)
state[0][1]=KEY(17)
state[0][2]=KEY(18)
state[0][3]=KEY(30)
state[0][4]=0
state[0][5]=KEY(32)
state[0][6]=KEY(44)
state[0][7]=KEY(45)
state[0][8]=KEY(46)

// Num-pad
// 71 72 73
// 75(76)77
// 79 80 81
IF num_mats>1
state[1][0]=KEY(71)
state[1][1]=KEY(72)
state[1][2]=KEY(73)
state[1][3]=KEY(75)
state[1][4]=0
state[1][5]=KEY(77)
state[1][6]=KEY(78)
state[1][7]=KEY(79)
state[1][8]=KEY(80)
ENDIF
ENDFUNCTION
Change the num_mats in order to have only one "virtual dance mat" on your computer. You can control mat 1 with keys:
QWE
AsD
ZXC
and mat 2 with the num-pad.

In order to get the number of players, you can use
Code (glbasic) Select
DanceMat(state[])
num_players = BOUNDS(state[], 0)
If you want to know if player 1 (index 0) stomps on "right - up", you check
Code (glbasic) Select
IF state[0][2] THEN ...All buttons can be pressed simultanously, however a player should be assumed to have 2 hands, 2 feet and one head (no Zaphod - I don't care!)

Now, make a game that fullfills these
Rules:
- the game should use the "dance mat" as a fitness device, not just a controller
- can be played alone and up to 8 players simultanously (8 mats connected)
- on one physical monitor - splitscreen, one screen, alternating screen - no matter
- the game should stop at about 120 seconds (that's when you're exhausted and start to puke)
- make it challenging. Once your friends come for a visit, they won't leave for a week or two

Rating
- rating system has values "yay/nice/ok/ahem/zero" and uses these weights (does that sum up to 100 ? ;) )
- 10% graphics
- 10% sound
- 10% mood
- 30% playability
- 40% concept and idea


Additional Info:
- source code and media must be sent in
- copyright stays with the author
- game must be freeware and permission to publish on www.glbasic.com must be granted
- all media sent must be copyright by you - don't use ripped graphics
- you can use the free GLBasic demo version, no need to buy
- deadline is 20-feb-2006 - 23:59:59
- you can participate as a team, the leader will have to take care about prize-sharing
- entries must be sent in compressed zip format
- zips must be smaller than 10MB of size
- all entries must have a screenshot 640x480 included as jpg file
- a readme.txt file must be inside with your contact address, name of the game
  and a short description how it works.

Prizes:
- the winner will get 3 (! THREE !) new usb dance mats
  (1 for home use, 2 as birthday gifts)
- 2nd place:
  two new usb dance mats
- 3rd place
  one new usb dance mat
- all entries will be rated and exposed on www.glbasic.com
#507
GLBasic - de / GUI
2005-Nov-03
Hat das schonmal einer gesehen? Ein GUI für GLBasic 100% in GLBasic:
http://www.glbasic.com/showroom/data/DDgui.php?lang=de
#508
GLBasic - en / Updates!
2005-Nov-03
The light system e.g. has been completely renewed. Now it should work!
#509
GLBasic - de / Updates!
2005-Nov-03
Das Lichtsystem wurde komplett überarbeitet - jetzt geht's super.
#510
Hi,

ich hab mal mit Blender gespielt (www.blender3d.org) und das Programm ist der Hammer! Man muss sich an das eigenartige GUI gewähnen, ist dann aber viel schneller als mit Milkshape oder CharacterFX zum animieren. Der AC3D import ist super, der export ... muss man mal sehen.

Ich hab jetzt einen .dda Exporter geschrieben, der ein ASCII .ddd Format speichert. Den kann man entweder dann konvertieren, oder ich bau's ein, dass GLBasic auch das .dda lesen kann.

Meinungen!?
#515
Hi,

there's folks who cannot remember the indices of their sprites/sounds. Or the numbering requires an insertion of a new resource (for aesthetical reasons). For all these I sketched a method of using names instead of numbers:

Code (glbasic) Select
   spr_human = DynLoadSprite("Human.bmp")

    SPRITE spr_human, 0,0
    SHOWSCREEN
    MOUSEWAIT


FUNCTION DynLoadSprite: file$
    LOADSPRITE file$, GLOBAL spr_id_max
    spr_id_max = spr_id_max + 1
    RETURN spr_id_max-1
ENDFUNCTION


FUNCTION DynLoadSound: file$, buffer
    LOADSOUND file$, GLOBAL spr_id_max, buffer
    snd_id_max = snd_id_max + 1
    RETURN snd_id_max-1
ENDFUNCTION


FUNCTION DynLoadObject: file$
    X_LOADOBJ file$, GLOBAL obj_id_max
    obj_id_max = obj_id_max + 1
    RETURN obj_id_max-1
ENDFUNCTION
it's obvious what I mean, isn't it? All these functions should go in C:\Program Files\GLBasic\Projects\Common\DynLoad.gbas and can be inserted in any project from there easily.

Regards,
Gernot
#516
Hi,

es gibt Leute, die können sich die Nummern von ihren Sprites/Sounds nicht merken. Oder die Nummerierung passt nicht, und man muss (aus ästhetischen Zwängen heraus) irgendwo etwas einfügen.
Für alle diese hab ich mal eine Methode skizziert, mit der man statt der Zahl ein Wort verwenden kann:

Code (glbasic) Select
spr_human = DynLoadSprite("Human.bmp")

SPRITE spr_human, 0,0
SHOWSCREEN
MOUSEWAIT


FUNCTION DynLoadSprite: file$
LOADSPRITE file$, GLOBAL spr_id_max
spr_id_max = spr_id_max + 1
RETURN spr_id_max-1
ENDFUNCTION


FUNCTION DynLoadSound: file$, buffer
LOADSOUND file$, GLOBAL spr_id_max, buffer
snd_id_max = snd_id_max + 1
RETURN snd_id_max-1
ENDFUNCTION


FUNCTION DynLoadObject: file$
X_LOADOBJ file$, GLOBAL obj_id_max
obj_id_max = obj_id_max + 1
RETURN obj_id_max-1
ENDFUNCTION
schon klar, was ich mein', oder?
Diese Funktionen sind ideal für das Verzeichnis C:\Programme\GLBasic\Projects\Common\DynLoad.gbas z.B. Damit kann man sie dann in jedes Projekt einbinden.
#517
Competitions / 72 hour compo
2005-Jul-28
http://www.72hourcompo.com/
You may participate ina team of 3. Seek others here. I've seen this a bit late, so I'm sorry. Anyone wanna try?

-Gernot
#518
http://www.72hourcompo.com/
Ihr dürft zu 3. teilnemhen. Sucht Partner hier. Ich hab's bisserl spät gesehen, schade. Hat jemand Lust?
-Gernot
#519
FAQ / Mausrad unter Linux
2005-Jul-15
Editier' die /etc/X11/XF86Config-4. Die sieht wohl so ähnlich wie hier aus:
Code (glbasic) Select
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "ZAxisMapping"          "4 5"  # DIESE ZEILE EINFÜGEN
EndSection
#520
FAQ / Mouse Wheel on Linux
2005-Jul-15
Edit the /etc/X11/XF86Config-4.
Maybe it will be like following. Another lines may differ from yours.

Code (glbasic) Select
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "ZAxisMapping"          "4 5"  # ADD THIS LINE!!!
EndSection