BASIC

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Off Topic / Re: Hacker News
« Last post by Moru on 2019-Mar-10 »
22
Beta Tests / Re: 3d Space Sim
« Last post by Hemlos on 2019-Mar-09 »
Very cool. How do you come up with that kind of ideas?

I randomly study of math and astrophysics on a regular basis, using GLBasic to visualize some math.
I really wanted to see gravity in action, to see; stars, planets and moons form and take on unique orbits.
When i saw the formula for gravity from Isaac Newtons principia, i figured it could be worked out using a double nested loop.
Also, it has become a great platform for refining my 3d libs for cameras, particle engine, lighting, and sfx, etc etc
23
The first thanks to Gernnot for the Rs232 LIB, now is possible to do very very instesting projects with Arduino using a real nice and cool interface or anything on the Phone..

<a href="http://www.youtube.com/watch?v=EKmkDbDxv-Y" target="_blank">http://www.youtube.com/watch?v=EKmkDbDxv-Y</a>
I leave an Image and the Arduino Code, for if anyone want test with Arduino.

This open another world of possibilities with GLbasic, thanks Gernnot.

I know is possible over TCP connection perhaps using ESP8266, but I want to do using BT.

The String is sended from my Phone... Arduino CODE
Quote
void setup() {
  Serial.begin(9600);
  Serial.println("Inicio BT");
  // put your setup code here, to run once:

}

void loop() {
  Serial.write("Hello");
  delay(100);
 
  // put your main code here, to run repeatedly:

}


24
GLBasic - en / Vulkan?
« Last post by JohnnyB on 2019-Mar-09 »
Hi! Cool tool you got there. I like the syntax more than AGK.

Is there any ambition to turn GLBasic into some sort of V(ulkan)Basic in the near future or are such large changes out of the question?

Greetings,
Johnny
25
Beta Tests / Re: 3d Space Sim
« Last post by Kitty Hello on 2019-Mar-09 »
Very cool. How do you come up with that kind of ideas?
26
Beta Tests / Re: GUI in purely GLBasic
« Last post by Kitty Hello on 2019-Mar-09 »
Cool stuff. I just wonder, what is wrong with using DDgui instead?
27
You don't need a separate object if you want to switch the texture.
28
Bug Reports / Re: MOUSEAXIS fails
« Last post by Hemlos on 2019-Mar-09 »
Figgured it out..

MOUSEAXIS outputs are realtime, and you have to try and capture the output all through your program.
Even at the end of all nested loops.
What i mean is, MOUSEAXIS value can and does change several times between showscreen calls.

so i used this setup to capture the mouse output many times in the program loops:
function detectmouse
mX = MOUSEAXIS
self.CaptureX = mX

and then at the end of the main loop, just before the showscreen update the delta api mouse

function update_mouse
deltamouseX = CaptureX
delta stuff
CaptureX = 0 // RESET (showscreen should be next)
endfunction

ensure to reset the value so you can start capturing again, after the showscreen

29
Im wasent aware of the other very old post and im property have not found it or aware of it. But. Here is so a integrated source code version of it, so you can invoke it by SETSCREEN command directly and its dosent break combatible, nor using inline when working.

This is how borderless windows should have been done really, which is what SETSCREEN is for. but both is actuelly valid and is not required if the old one still works.

Also there was various issues with the normal fullscreen in Windows 10 general, but its a totally different issue. But here all that was required is just mininmize its window when its got inactive from fullscreen.

PS. im also update the post for avoid a another little bug, so its fill the full window.
30
Hi SF,

How does this differ to the older version of the borderless code - I used the older one and it worked - a bit of a delay between window and borderless (less 1 sec) but otherwise same.

Is this a borderless requirement for win 10 or specific platforms - glb 16?
Pages: 1 2 [3] 4 5 ... 10