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

Pages: 1 2 [3] 4 5 ... 14
31
Hi freakz :)

I have a gameidea, not realy new, but i think it's a cool gamemode:



This kind of game in GLBasic with maybe NewtonSDK would be cool!
You welcome to help!

A little community game?!

32
GLBasic - de / Coding Livestream?!
« on: 2013-Mar-10 »
Hi Leute,

wär interesse an einen Livestream da, der sich rund um GLbasic 2D/3D dreht?
Ich würde das alles über Twitch machen und gleichzeitig die folgen noch auf Youtube raufladen...

Was denkt ihr?!
"Mitprogrammierer" könnte ich dann auch noch gebrauchen  :D

Denke das es ne coole Sache für GLBasic sein könnte, wenn man das entstehten von einem Spiel komplett verfolgen kann!

33
Hi there,

can pls anyone with some experience in signing android games write a little howto?
Create a marketkey is easy but then, have no clue... :/

34
GLBasic - en / Android compiling problems :(
« on: 2012-Nov-02 »
Hi my friends,
I have now a Samsung Galaxy S3 and can't compile for Android  :'(

ANDROID_SWT = C:\Program Files (x86)\Android\android-sdk\tools\lib\x86
JAVA_HOME =  C:\Program Files (x86)\Java\jdk1.6.0_35

In GLBasic(V11.163) Beta, project -> Options: I set platform to android

gbas:
Code: (glbasic) [Select]
WHILE TRUE


PRINT "TEST", 10,10


SHOWSCREEN
WEND
END

create Multiplatform and doubleclick on Android...

Result ( SRY, german version ):

Code: (glbasic) [Select]
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.060 SN:3554e9fd - 3D, NET
Wordcount:4 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE
Der Befehl "xcopy" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
ERROR: SWT folder 'C:\Program Files (x86)\Android\android-sdk\tools\lib\x86' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
Das System kann den angegebenen Pfad nicht finden.
.
BUILD STAGE 2: Build DEBUG and install on device
Das System kann den angegebenen Pfad nicht finden.
finished Android build-script.
Android=C:\Users\sliver\Documents\GLBasic\Android App\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 3.4 sek. Zeit: 17:00
Erstellen: 1 erfolgreich.


35
Hi, here a *.OBJ-File (Wavefront OBJ file) loader for GLBasic.

See attachment

sourcecode:
Code: (glbasic) [Select]
// --------------------------------- //
// Project: OBJ Loader
// Start: Sunday, September 02, 2012
// IDE Version: 10.283


TYPE TVector3
x#;y#;z# // position
ENDTYPE

TYPE TVector2
x#;y#
ENDTYPE

TYPE TFace
vertex[3] AS TVector3
tex_coord[3] AS TVector2
vertex_norm[3] AS TVector3
ENDTYPE


TYPE TObj

filename$
texturename$

vertex[] AS TVector3
tex_coord[] AS TVector2
vertex_norm[] AS TVector3
faces[] AS TFace

filehandle%
tex_handle%
XObj_handle%

FUNCTION LOAD: name$

self.filehandle = GENFILE() // set the filehandle
self.filename$ = name$  //set filename

// if file exist

IF DOESFILEEXIST(self.filename$) AND OPENFILE(self.filehandle, self.filename$, 1)
//DEBUG "All OK, file exist!\n"

WHILE ENDOFFILE(self.filehandle) = 0
LOCAL tmp$, check$, splt$[]

READLINE self.filehandle, tmp$
check$ = MID$(tmp$, 0, 2)

SELECT check$
CASE "v "
SPLITSTR(tmp$,splt$[]," ")
//DEBUG "->"+splt$[1]+" : "+splt$[2]+" : "+splt$[3]+"<-\n"
LOCAL v AS TVector3

v.x = splt$[1]
v.y = splt$[2]
v.z = splt$[3]

DIMPUSH self.vertex[], v

CASE "vt"
SPLITSTR(tmp$,splt$[]," ")
//DEBUG "->"+splt$[1]+" : "+splt$[2]+"<-\n"
LOCAL v AS TVector2

v.x = splt$[1]
v.y = splt$[2]

DIMPUSH self.tex_coord[], v
CASE "vn"
SPLITSTR(tmp$,splt$[]," ")
//DEBUG "->"+splt$[1]+" : "+splt$[2]+" : "+splt$[3]+"<-\n"
LOCAL v AS TVector3

v.x = splt$[1]
v.y = splt$[2]
v.z = splt$[3]

DIMPUSH self.vertex_norm[], v
CASE "us"
SPLITSTR(tmp$,splt$[]," ")
self.texturename$ = splt$[1]
//DEBUG self.texturename$+"\n"
CASE "f "
LOCAL s$[]
SPLITSTR(tmp$,splt$[]," ")

LOCAL t AS TFace

FOR i = 1 TO 3
SPLITSTR(splt$[i],s$[],"/")
//DEBUG "->"+s$[0]+" : "+s$[1]+" : "+s$[2]+"<-\n"
LOCAL v=s$[0] , vt=s$[1], vn=s$[2]

t.vertex[i-1] = self.vertex[v-1]
t.tex_coord[i-1] = self.tex_coord[vt-1]
t.vertex_norm[i-1] = self.vertex_norm[vn-1]

NEXT

DIMPUSH self.faces[], t
ENDSELECT

WEND

// free some memory!
REDIM self.vertex[0]
REDIM self.tex_coord[0]
REDIM self.vertex_norm[0]

self.tex_handle = GENSPRITE()
LOADSPRITE self.texturename$, self.tex_handle

self.XObj_handle = GENX_OBJ()

X_OBJSTART self.XObj_handle
FOREACH t IN self.faces[]
X_OBJNEWGROUP
FOR i = 0 TO 2
X_OBJADDVERTEX t.vertex[i].x, t.vertex[i].y, t.vertex[i].z, t.tex_coord[i].x, t.tex_coord[i].y, RGB(0xff, 0xff, 0xff)
NEXT
NEXT
X_OBJEND

ENDIF
ENDFUNCTION

FUNCTION DRAW:
X_SETTEXTURE self.tex_handle, -1
X_DRAWOBJ self.XObj_handle, 0
ENDFUNCTION

ENDTYPE

[attachment deleted by admin]

36
Off Topic / KICKSTARTER.com best projects!
« on: 2012-Sep-01 »
First a REALY F***ing nice game :) :

http://www.kickstarter.com/projects/project-giana/project-giana

Next a realy cool idea for a RTS-Game:

http://www.kickstarter.com/projects/659943965/planetary-annihilation-a-next-generation-rts?ref=live


What you guys think about that games?
Any other cool projects ?

Lets talk about that side!

37
Ok guys,

I write a simple test to get something simular to minecraft ( very very veeeeeeeery basic! )
It occurred to me that i have problems if i draw a block twice ( same objectID ) and use a pickroute(X_COLLISIONRAY) -> i select both of them.... :/

No problem so far, i can load for each cube a new object with new ID, but is this the best solution?

The real problem is that i have to set a ObjectID to use X_COLLISIONRAY :(
I'm realy pissed off and have no idea for a good way to do this...

Sad moment :/

38
Off Topic / Just to let you know!
« on: 2012-Jul-08 »
Chuck Norris doesn't get compiler errors, the language changes itself to accommodate Chuck Norris

39
Hi,

Look at this AWSOME picture:

PICTURE SEE okee!

Who wants to create a 2D-Game like this? :D


EDIT:

WTF my imagetag does not work anymore ^^
thanks okee, to post it again :)

40
Hi buddys!


I have a problem with a second file in a project...
If i make this in the second file:

Code: (glbasic) [Select]
GLOBAL bla
bla = 12

I get a error:
Quote
"_keystatus.gbas"(43) error : command not inside function or sub


IT SUCKSSSSSSSSS!

Any walkaround to fix the problem?
If i put all this shit into a function i get this F***ING craaaaaappppppppppp :D :


Quote
"_keystatus.gbas"(43) warning : variable already exists : KEY_SPACE



FFFFFFFFFFUUUUUUUUUUU  :whistle:

I attach this shit ^^

[attachment deleted by admin]

41
Bug Reports / Hat sich Mouseaxis geändert?
« on: 2012-Apr-17 »
Hi!
Sagt mal, hat sich Mouseaxis geändert?

Wenn ich jetzt mit dem Mauszeiger aus dem Fenster komme bewegt ich mich nicht mehr...
Das war doch früher auch nicht so :(


Code: (glbasic) [Select]
SYSTEMPOINTER TRUE

GLOBAL phi_xy%, phi_xz%, x#, y#, z#=100



WHILE TRUE
X_MAKE3D 1,1000,45
X_CAMERA x,y,z, x+SIN(phi_xz),y+COS(-phi_xy),z+COS(phi_xz)


INC phi_xy, MOUSEAXIS(1)
DEC phi_xz, MOUSEAXIS(0)

IF phi_xz > 359 THEN phi_xz = 0
IF phi_xz < 0 THEN phi_xz = 359

IF phi_xy < 0 THEN phi_xy = 0
IF phi_xy > 179  THEN phi_xy = 179

FOR i = 0 TO 10

X_DRAWAXES 0,0,i*100

NEXT


X_MAKE2D

PRINT "Phi_XY: "+phi_xy+" | Phi_xz : "+phi_xz, 10,10


SHOWSCREEN
WEND
END



Wie soll man da ein 3D-Movement machen... ?

Mouseaxis sollte immer im Fenstermittelpunkt "gepinnt" sein und dann die geschwindigkeit abfragen !

42



Hier könnt ihr alle Funktionen posten, die für einen Minecraft Clon von Bedeutung sein könnten!
Ob es nun für das Rendering oder eine einfache Routine ist.
Etvl. ergibt sich ja was gutes und ein oder zwei Projekte entstehen dadurch...

Ein richtiges 3D-Game würde GLBasic mal gut tun ;)


43
Off Topic / Any StarCraft 2 gamers on Glbasic?
« on: 2012-Mar-29 »
any players here?

44
Hallo Gernot!

Wenn ich ein Projekt öffne, dann den Debug-modus an und dann gleich wieder aus mache, dann Kompiliere sagt er das:


Code: (glbasic) [Select]
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:9bcca587 - 3D, NET
Wordcount:6 commands
compiling:

linking:
Zugriff verweigert

*** ERROR - Kann Programm nicht überschreiben. Läuft es noch?
_______________________________________
*** Fertig ***
Dauer: 1.7 sek. Zeit: 12:14
Erstellen: 0 erfolgreich.
*** 1 FEHLGESCHLAGEN ***

45
GLBasic - en / HAPPY NEW YEAR!
« on: 2011-Dec-31 »


I wish all of you, at the turn of the year, a great party and a good start in the year 2012 !

:booze:  HAVE A GREAT PARTY!  :booze:

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