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

Messages - baicskillet

#16
So, sorry for my noobish question, but do all the new capabilities from v. 4 are available in GLB? Including their much touted advertising feature?  I was thinking about implementing it to some programs I'm making for the appstore.
#17
So like, I have several design docs for simple games I would like to see on the pc, as well as the handheld devices, and I've followed the GLB tutorials, but, I'm not a programmer, I'm more of a game designer, so I wanted to know if anyone from this fine community would like to work on one of my designs for me, with proper compensation that is.  Or maybe review my work and let me know the amount of work it would be required, and such.

:)
#18
What about the new features from 4, are they all implemented in glb?
#19
So, any ETA on the next release that fully supports the Ipad?  I really want to make apps for the ipad with glbasic.  :-*
#20
Great job! Was this game made entirely in GLBasic??
#21
Ah, thank you, ill check that tutorial out!  :)
#22
I've been looking into glbasic programming, trying to learn the most of it, because I am interested in using it to develop apps for the iphone.  There is a section of the help file on considerations for the iphone, but it's mostly general stuff. Like, I havent found example code for using the touchscreen for input.  I only understood that everything in the iphone is considered a mouse event, since there are no keys.  So, could anyone please point me to a code example for having the person input a choice selection shown on the iphone's screen with the touch controls, and then the program showing some output from it?

thank you!
#23
OK, thank you for your reply, but what about when there's many conditions that are NOT supposed to be true? If I may, this is the code I'm talking about:

Code (glbasic) Select

repeat
   x := random(16)
  until (x in [1..6,9..15])and(x<>Col1)and(x<>Col2)and(x<>Col3)and(x<>Col4);
  Col4  := Col3;
  Col3  := Col2;
  Col2  := Col1;
  Col1  := x;
  Cycle := x;


That's pascal code.  That until line defines the condition that will stop repeating x=random(16), which are x not being in the [1..6,9--15] array, and x not being either Col1,2,3 or 4.  At least that's how I understand it, if I understood wrong please someone correct me.  :)
#24
Hi, is there some sort of statement to use in a while or for that checks if a condition is NOT true? Like, the !(variable) statement of pascal and such? Or the WHILE NOT (condition1)?

thankyou!
#25
Ah, awesome. I think i prefer to not stop the program.  I mostly need to check if any key has been pressed. As in a loop that executes commands as long as ANY key has been pressed.  I assume i'd have to use that for loop to check the whole 256 keys inside a function, and then make that function return either a 1 or a 0, right? Then, assign that returned number to a variable. 
#26
Quote from: FutureCow on 2010-Feb-22
You pass it a key that you wish to know the status of. It will return one of the following values.

//  0 = not pressed
//  2 = just pressed
//  1 = pressed
// -1 = release event

The standard keyboard commands in the language don't give you this detail (they can only tell you at a given time if a key is pressed or not).

Ah ok, thank you for that explanation.   =D  But, hmm, let's say I would like to use the standard keyboard commands to know if a key, any key, has been pressed or not.  What would I have to do?
#27
So, what does this keyhit program do?  I'm trying to learn glbasic, I'd appreciate your kindness.  :happy:
#28
Awesome, thank you both for your replies! Hmm, from what I've been looking about the "in" statement from Pascal is that is checks whether the variable before the "in" statement is somewhere in the variable or variables after the "in" statement.  So I suppose a foreach loop that compares the before variable with each element in the array, right? Yeah, the number aren't sequential, and sometimes they are letters and strings instead.  I'll try that foreach loop and let you know!
#29
Hi, this is sort of a newbie-like question, but I'm trying to learn glbasic by porting a simple pascal program, and the program uses very often the "in" statement, as in "x in [1,2,3,4]".
Is there an equivalent for the in statement in Glbasic, or is there another way to do the same the in statement does?

thank you!