BASIC

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

Pages: [1] 2
1
GLBasic - en / Re: Compiling for iOS on pc =D
« on: 2011-Aug-03 »
I've got an iMac and mainly use my windows laptop (or work pc :good:) for coding.
I use dropbox for storing all my files so I can easily compile on the mac without need to transfer files, etc...
Being able to compile in windows would be great though

2
GLBasic - en / Re: Universal App
« on: 2011-Mar-22 »
Thanks, Didn't think it would be that easy

3
GLBasic - en / Universal App
« on: 2011-Mar-22 »
Is it possible in GLBasic to create a universal app that runs on both the iPad and iPhone?

I tried searching, but couldn't find anything
Thanks

4
I use my Xbox 360 pad, I just plug it in and it works.
I don't remember having to mess about or anything to get it running

5
Announcements / Re: V8 beta
« on: 2010-Jul-13 »
Strange, sounds like your app might be crashing.
Try creating a new GL project and just enter this code
Code: GLBasic [Select]
SETSCREEN 1024,768,0
WHILE TRUE
        DRAWRECT 100,100,824,568,RGB(255,0,0)
        SHOWSCREEN
WEND
 

Compile it for the iPad and it should just show a red rectangle.

If this works, then there may be a problem in your code, if this doesn't, then there may be a problem with xcode.

Hope this helps

6
Announcements / Re: V8 beta
« on: 2010-Jul-13 »
I'm not at my mac at the moment, so I can't tell you exactly what you need to do, but.

In the Xcode project, open up the Targets (in the Groups & Files section)

In the list you get, scroll down and you will see something that says target device (not 100% sure), change this to iPad and you should be good to go.

[attachment deleted by admin]

7
GLBasic - en / Re: Glowing Lines
« on: 2010-Jul-06 »
There is a Scramble demo in the Showroom that uses this kind of effect for lines.
Perfect, that's what I was after.
Works like a dream, thanks.

PNG with alpha
I wasn't sure how to go about getting it working, the Scramble demo has shown me what I need to do.

Thanks

8
GLBasic - en / Glowing Lines
« on: 2010-Jul-06 »
Just wondering how I can achieve this effect in GLBasic

http://wiebo.files.wordpress.com/2006/10/screente002.png



Thanks
DIJ

9
Announcements / Re: V8 beta
« on: 2010-Jun-25 »
Cool, thanks for answering.
It's great fun running code on the iPad, thanks again!!!

10
Announcements / Re: V8 beta
« on: 2010-Jun-25 »
Will future versions feature auto rotation, so the iPad can be help in either horizontal position and the display will correct itself?

I think I read somewhere that a game got rejected because it didn't do this.
Might just have been an arsey tester though

11
GLBasic - en / Re: IPad Support!
« on: 2010-Jun-22 »
Congratz
I've managed to get my iPad to play nicely with xcode and i've had GLBasic running on it.
Thanks, can't wait to write a full game now

12
Bug Reports / Re: Problem with MOUSESTATE
« on: 2010-Jun-14 »
I've written a few games previously and didn't need to define them globally before.
It works now that they are defined.
Thanks for your help

13
Bug Reports / Problem with MOUSESTATE
« on: 2010-Jun-14 »
Not sure what is wrong as it's worked fine before but now I get an error when I use the MOUSESTATE command.
I tried just the sample in the help document: -
Code: GLBasic [Select]
WHILE TRUE // Endless loop
  LimitMouse(100, 100, 400, 300)
  PRINT "<=", mx, my // <-- THE ERROR IS ON THIS LINE
  IF b1 THEN END
  SHOWSCREEN
WEND

// ------------------------------------------------------------- //
// -=#  LIMITMOUSE  #=-
// MOUSESTATE mx, my, b1, b2 (GLOBAL)
// With limiting of the area
// ------------------------------------------------------------- //
FUNCTION LimitMouse: minx, miny, maxx, maxy
  // These variables are defined LOCAL:
  // minx, miny, maxx, maxy
  MOUSESTATE mx, my, b1, b2
  IF mx<minx THEN mx=minx
  IF mx>maxx THEN mx=maxx
  IF my<miny THEN my=miny
  IF my>maxy THEN my=maxy
  SETMOUSE mx, my
ENDFUNCTION // LIMITMOUSE

and I get the following error: -
"test.gbas"(3) error : variable is not explicitly defined : mx

I was using the new v8 beta, so I uninstalled it and installed the current version 7.301 and I still get the same error.
Any help is appreciated, thanks
DIJ

14
Announcements / Re: V8 beta
« on: 2010-Jun-10 »
Thanks for this.
I can't wait to get something running on my iPad

15
GLBasic - en / Re: IPad Support!
« on: 2010-Jun-03 »
I bought my iPad a few days ago, can't wait to get some games made for it.

Pages: [1] 2