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,607
  • Total Topics: 198
  • Online today: 12
  • Online ever: 54 (Sep 14, 2025, 08:48 AM)
Users Online
  • Users: 0
  • Guests: 4
  • Total: 4
Welcome to SyntaxBoom. Please login or sign up.

Recent

I finally understood what I want From an IDE

Started by Hardcoal, Jun 27, 2025, 03:00 AM

Previous topic - Next topic

Hardcoal

I want that when I press on a function/method it will open the Function in a New window or tab..
Because of the editor I use dont have Go back button.. Thats one thing.

The Second is Smart folding or display functions in a window so i can jump and see all of them at once..

any other ideas?

I know those things exist on some IDE's but not the one im using.

There are plenty more things.. But thats the basics
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Dabzy

I think everyone has their own little ways which they like, some just prefer using stuff like notepad for development, even Vim, some like the all out tools like Visual Studio and the like.

It's very much a horses for course setup really.

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Baggey

Quote from: Hardcoal on Jun 27, 2025, 03:00 AMI want that when I press on a function/method it will open the Function in a New window or tab..
Because of the editor I use dont have Go back button.. Thats one thing.

The Second is Smart folding or display functions in a window so i can jump and see all of them at once..

any other ideas?

I know those things exist on some IDE's but not the one im using.

There are plenty more things.. But thats the basics


Normal BlitzmaxNG does that?  ::)
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Hardcoal

It has nothing to do with the language baggey.. its about the IDE.
when you work on big projects.. i waste plenty of time that accamulate to years. going back to where i was..
Im using blide.. which is very good.. but Jungle IDE Ziggy Added this option of going back and forth..
Sadly none on Blide
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Jackdaw

#4
@Baggy What Hardcoal is talking about is a code navigation bar and code explorer. Vscode will have a out look and a code navigation system, and you can get vscode extension for BlitzMax.

And there is also a Blitz3D extension, but it states that it's pre-release. So expect bugs.
If you've dug yourself into a hole. Just keep digging. You're bound to come out the other side eventually.

Baggey

my mistake.  ;)

I thought he was on about the IDE.

I found BLide to mess my code up. Thats why i use the standard IDE

I use crtl Y or Z which is undo or redo. to go back and forth when i make a mistake.

Find or Find next to take me straight to somewhere in the program.

And the Code to the right shows me all my functions etc..

Sorry if i misunderstood, i only ever try to help!  ::)

Kind Regards Baggey
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Hardcoal

I tried VS Code..  Im still new at using it.
also im still using blitzmax Vanilla..
maybe ill target VS Code to blitzmaxNg
and finally ill be able to work with blitmaxNG

blide answers most of my needs except those things ive mentioned..

and it never messed my code..
i dont understand how it can
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Dabzy

#7
I only started using VSCode due to my current delving into python, which I'm rather liking so far if I'm honest, and that library "ursina", seems okay, it's doing the doings, here's one of my little play things:

You cannot view this attachment.

Code  python Select
from ursina import *
import math

def generate_tilemap(height_data, parent_entity, center_x, center_y, center_z):
    rows = len(height_data)
    cols = len(height_data[0])
    tiles = []

    for y in range(rows):
        for x in range(cols):
            height = height_data[y][x]
            if height > 0:
                tile = Entity(
                    parent=parent_entity,
                    model='cube',
                    position=(x - center_x, height / 2 - center_y, y - center_z),
                    scale=(.98, height, .98),
                    texture='white_cube',
                    color=color.lime if height == 1 else color.cyan if height == 2 else color.blue if height == 3 else color.violet if height == 4 else color.orange if height == 8 else color.white,
                )
                tiles.append(tile)
    return tiles

app = Ursina()

height_map_data = [
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],
    [0,0,1,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,1,2,3,3,3,3,3,3,3,3,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,4,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,8,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,4,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,3,3,3,3,3,3,3,3,2,1,0,0,0],
    [0,0,1,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,1,1,1,1,1,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,2,2,2,3,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,3,3,3,3,3,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,3,3,3,3,3,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
]

height_map_data = [row[::-1] for row in height_map_data]

map_width = len(height_map_data[0])
map_depth = len(height_map_data)
max_map_height = max(max(row) for row in height_map_data if row)
center_x = (map_width - 1) / 2
center_z = (map_depth - 1) / 2
center_y = max_map_height / 2 if max_map_height > 0 else 0.5
target_point = Vec3(0, 0, 0)  

tile_parent = Entity(position=Vec3(3.5, 0, -1)) 
tilemap = generate_tilemap(height_map_data, tile_parent, center_x, center_y, center_z)

iso_pitch = 35.26
iso_yaw = -45
map_diagonal = math.sqrt(map_width**2 + map_depth**2)
camera_distance = map_diagonal * 1.4
yaw_rad = math.radians(iso_yaw)
pitch_rad = math.radians(iso_pitch)
offset_x = camera_distance * math.sin(yaw_rad) * math.cos(pitch_rad)
offset_y = camera_distance * math.sin(pitch_rad)
offset_z = camera_distance * math.cos(yaw_rad) * math.cos(pitch_rad)

camera.position = target_point + Vec3(offset_x, offset_y, offset_z)
camera.orthographic = True
camera.fov = max(map_width, map_depth) + max_map_height - 11
camera.look_at(target_point)
camera.rotation_x = iso_pitch

AmbientLight(color=color.gray)
DirectionalLight(direction=(15, 10, 1), color=color.white, shadows=True)

def input(key):
    if key == 'x':
        tile_parent.rotation_y += 90
    elif key == 'z':
        tile_parent.rotation_y -= 90

app.run()

Not amazing I know, but hey... One is learning! ;)

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Baggey

Quote from: Dabzy on Jun 27, 2025, 03:02 PMI only started using VSCode due to my current delving into python, which I'm rather liking so far if I'm honest, and that library "ursina", seems okay, it's doing the doings, here's one of my little play things:

You cannot view this attachment.

from ursina import *
import math

def generate_tilemap(height_data, parent_entity, center_x, center_y, center_z):
    rows = len(height_data)
    cols = len(height_data[0])
    tiles = []

    for y in range(rows):
        for x in range(cols):
            height = height_data[y][x]
            if height > 0:
                tile = Entity(
                    parent=parent_entity,
                    model='cube',
                    position=(x - center_x, height / 2 - center_y, y - center_z),
                    scale=(.98, height, .98),
                    texture='white_cube',
                    color=color.lime if height == 1 else color.cyan if height == 2 else color.blue if height == 3 else color.violet if height == 4 else color.orange if height == 8 else color.white,
                )
                tiles.append(tile)
    return tiles

app = Ursina()

height_map_data = [
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0],
    [0,0,1,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,1,2,3,3,3,3,3,3,3,3,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,4,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,8,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,4,4,4,4,4,4,4,3,2,1,0,0,0],
    [0,0,1,2,3,3,3,3,3,3,3,3,3,2,1,0,0,0],
    [0,0,1,2,2,2,2,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,1,1,1,1,1,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,2,2,2,3,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,3,3,3,3,3,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,3,3,3,3,3,2,1,0,0,0],
    [0,0,0,0,0,0,1,2,2,2,2,2,2,2,1,0,0,0],
    [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
    [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
]

height_map_data = [row[::-1] for row in height_map_data]

map_width = len(height_map_data[0])
map_depth = len(height_map_data)
max_map_height = max(max(row) for row in height_map_data if row)
center_x = (map_width - 1) / 2
center_z = (map_depth - 1) / 2
center_y = max_map_height / 2 if max_map_height > 0 else 0.5
target_point = Vec3(0, 0, 0)  

tile_parent = Entity(position=Vec3(3.5, 0, -1)) 
tilemap = generate_tilemap(height_map_data, tile_parent, center_x, center_y, center_z)

iso_pitch = 35.26
iso_yaw = -45
map_diagonal = math.sqrt(map_width**2 + map_depth**2)
camera_distance = map_diagonal * 1.4
yaw_rad = math.radians(iso_yaw)
pitch_rad = math.radians(iso_pitch)
offset_x = camera_distance * math.sin(yaw_rad) * math.cos(pitch_rad)
offset_y = camera_distance * math.sin(pitch_rad)
offset_z = camera_distance * math.cos(yaw_rad) * math.cos(pitch_rad)

camera.position = target_point + Vec3(offset_x, offset_y, offset_z)
camera.orthographic = True
camera.fov = max(map_width, map_depth) + max_map_height - 11
camera.look_at(target_point)
camera.rotation_x = iso_pitch

AmbientLight(color=color.gray)
DirectionalLight(direction=(15, 10, 1), color=color.white, shadows=True)

def input(key):
    if key == 'x':
        tile_parent.rotation_y += 90
    elif key == 'z':
        tile_parent.rotation_y -= 90

app.run()

Not amazing I know, but hey... One is learning! ;)

Dabz

That looks like antattack graphics  8)
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Dabzy

Well, car is in garage getting its nails done, waiting for "the call", so I took that Cube thing from above, and swung it through my Launchpad IDE bowl, 100g of Blitz3D and a smattering, just a smattering mind, of my 2D DX9 library, and voila:

https://www.syntaxboom.com/forum/dabzy/ballizzy.mp4

\o/

This is why sometimes I get nowt really productive done, fannying on like a t[HEYYYYYY MACARANA]t! ;)

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!