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
#60
Tinkering again Smile , added control variables (rotate and forward), they take change in angle (degrees) and forwards distance (in current direction).  There are a lot of controls with the interaction stuff I was working on I did a full set of tests and I think fixed a couple issues recently introduced may all be OK now.

The following is example using the new controls.

Code:
  LDNetwork.SendWebRequest(urlSet+"&animate="+dir) 'Valid values of dir are 0, 90, 180 & 270

'New methods - note we can rotate by other angles and longer distances

  LDNetwork.SendWebRequest(urlSet+"&rotate="+(dir-data["angle"])) 'dir is new absolute angle
  Program.Delay(1000)
  LDNetwork.SendWebRequest(urlSet+"&forward=1")
[-] The following 2 users Like litdev's post:
  • AbsoluteBeginner, stevantosic
Reply


Messages In This Thread
RE: 3D maze in browser controlled by Small Basic - by litdev - 02-09-2025, 04:40 PM

Forum Jump:


Users browsing this thread: 33 Guest(s)