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

Messages - dijster

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
Thanks, Didn't think it would be that easy
GLBasic - en / Universal App
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
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
Announcements / Re: V8 beta
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
DRAWRECT 100,100,824,568,RGB(255,0,0)

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
Announcements / Re: V8 beta
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]
Quote from: bigsofty 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.

Quote from: Schranz0r on 2010-Jul-06
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.

GLBasic - en / Glowing Lines
Just wondering how I can achieve this effect in GLBasic

Announcements / Re: V8 beta
Cool, thanks for answering.
It's great fun running code on the iPad, thanks again!!!
Announcements / Re: V8 beta
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
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
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
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

// ------------------------------------------------------------- //
// -=#  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

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
Announcements / Re: V8 beta
Thanks for this.
I can't wait to get something running on my iPad
I bought my iPad a few days ago, can't wait to get some games made for it.