Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Baggey

2025-09-24, 17:57:11
They'll be using Expanding foam to glue bricks together next  :-X

Dabzy

2025-09-24, 06:09:52
You can also get the expanding foam post fix, but, I wouldnt trust it really, especially where I live on the side of a valley and when the storms blow in the right direction, whistling down the valley, nowt is safe!

Baggey

2025-09-23, 08:53:01
That Postcrete stuff is amazing. I never know how much water to add. May be i should read the Instructions  ;D 

Dabzy

2025-09-22, 21:33:46
Cannot beat a breaky uppy mode, saves the hand cramps and chipped knuckles knocking ten bells out of a chod of conc with a hammer and chisel.

GfK

2025-09-22, 21:28:44
I have a massive JCB drill with a concrete breaky uppy mode which has got me out of jail free a couple of times replacing rotted fence posts that has been concreted in.

Amon

2025-09-22, 19:23:30
What about Roly?

Dabzy

2025-09-22, 19:22:35
Putting my 2 deckings in.... I've dug enough post holes to last me a life time... I feel sorry for the future poor sod who may want to shift'em... Like most things I do, I tend to go over the top, and as such, I've probably got shares in postcrete! :D

GfK

2025-09-22, 19:10:57
Round is a shape.

Baggey

2025-09-22, 19:04:49
Consult a qualified electrician for compliance with BS 7671 and local building Regs! Avoid areas where future digging is likely. ;)

Jackdaw

2025-09-22, 18:18:24
That depends on where the cable is to run. Minimum depth in a garden in 450mm. Under pavements 600mm.

Members
  • Total Members: 55
  • Latest: Amon
Stats
  • Total Posts: 1,608
  • Total Topics: 198
  • Online today: 12
  • Online ever: 54 (Sep 14, 2025, 08:48 AM)
Users Online
  • Users: 0
  • Guests: 6
  • Total: 6
Welcome to SyntaxBoom. Please login or sign up.

Recent

Blitz3D Cube Fun

Started by 3dzForMeStill, Jun 13, 2025, 12:53 AM

Previous topic - Next topic

3dzForMeStill


; Some nice Blitz3D code  :o

; Turning a cube into a wall
; use walls to create maps :)
; CREDITING Paks for original cube spinny code.......
; https://github.com/Pakz001/Blitz3d/blob/master/CreateCube%20to%20Wall.bb

Graphics3D 640,480
SetBuffer BackBuffer()



Global ang
Global wall

wall = CreateCube()
ScaleEntity wall,1,1,0.05
PositionEntity wall,x,y,0
ang=0

cam = CreateCamera()
MoveEntity cam, 0,0,-4


While KeyDown(1) = False
   ang=ang+1
   If ang>359 Then ang=0
   RotateEntity wall,0,ang,0
   RenderWorld
   Flip
   
   ; moving it aobut a bit...........
   If X<300
      X=X+1
      MoveEntity wall,0.05,0,0
   EndIf
   
   If X=300
      MoveEntity wall,-0.15,0,0
      X=0
   EndIf
   
Wend

End

3dzForMeStill

;Now with moving camera!!!!

; Turning a cube into a wall
; use walls to create maps :)
; CREDITING Paks for original cube spinny code.......
; https://github.com/Pakz001/Blitz3d/blob/master/CreateCube%20to%20Wall.bb

;v2 with receding camera on a counter

Graphics3D 800,600
SetBuffer BackBuffer()



Global ang
Global wall

wall = CreateCube()
ScaleEntity wall,1,1,0.05
PositionEntity wall,x,y,0
ang=0

cam = CreateCamera()
MoveEntity cam, 0,0,-4


While KeyDown(1) = False
   
   
   counter=counter+1
   
   ang=ang+1
   If ang>359 Then ang=0
   RotateEntity wall,0,ang,0
   RenderWorld
   ;Flip
   
   ; moving it aobut a bit...........
   If X<300
      X=X+1
      MoveEntity wall,0.05,0,0
   EndIf
   
   If X=300
      MoveEntity wall,-0.15,0,0
      X=0
   EndIf
   
   If counter=100 Then
      maxcounter=maxcounter+1
      counter=0
      MoveEntity cam,0,0,-1
   EndIf
   
   
   
   Text 20,20,"counter"
   Text 120+(maxcounter*20),20,maxcounter
   
   Flip
   
Wend

End