We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D maze in browser controlled by Small Basic
Thinking of it like Turtle is a good idea.

The point of LDNetwork.SendWebRequestAsync is really that a program could use the cpu cycles while an animation is happenning.  Without this and just waiting, then the following 2 commands are pretty much equivalent to Turtle.Turn(45) operation for example.

Code:
LDNetwork.SendWebRequest("https://litdev.uk/apps/maze3D/maze3D.php?action=set&rotate=45") 'Start the animation
LDNetwork.SendWebRequest("https://litdev.uk/apps/maze3D/maze3Dasync.php?action=isReady") 'Wait for it to finish

In this way, PTSV104.000 can be simplified to PTSV104.000-0.
[-] The following 1 user Likes litdev's post:
  • stevantosic
Reply


Messages In This Thread
RE: 3D maze in browser controlled by Small Basic - by litdev - 03-07-2025, 11:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)