Search found 3343 matches

by BasicCoder2
Jan 25, 2020 9:32
Forum: Tips and Tricks
Topic: Some Variations of a Binary Fractal Tree
Replies: 16
Views: 415

Re: Some Variations of a Binary Fractal Tree

@hurtado
Looks very much like a real tree. Are you able to add texture to the trunk? Placing Randomize at the start gave lots of better variations.
by BasicCoder2
Jan 15, 2020 23:06
Forum: Hardware Interfaces / Communication
Topic: ESCAPI3 (Windows 32/64-bit)
Replies: 2
Views: 127

Re: ESCAPI3 (Windows 32/64-bit)

@Joshy,

Thank you for the update.

Although it has been a long time recently I have being playing around again with visual code using the escapi.bi
by BasicCoder2
Jan 15, 2020 9:12
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

@badidea,
Keep up the good work. I can't seem to get excited about programming at the moment but drop in occasionally to see what is happening here.
@Paul Doe,
I remember your 3d playground in your GitHub repository. Made me realise how far I was from being able to go beyond 2d graphics.
by BasicCoder2
Dec 28, 2019 0:15
Forum: Community Discussion
Topic: Dry Christmas.
Replies: 14
Views: 550

Re: Dry Christmas.

Maybe someone can do a 3d version adding baubles on the way? Maybe shade branches according to the direction they are growing? const as single M_PI = 3.141592654 type sgl2d as single x, y declare constructor declare constructor(x as single, y as single) end type constructor sgl2d end constructor con...
by BasicCoder2
Dec 26, 2019 21:04
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

Regarding FreeBasic Miner,
404 Not Found error from url given.
Found at,
http://games.freebasic.net/dumpbyid.php?input=166
by BasicCoder2
Dec 24, 2019 23:15
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

badidea wrote:In your demo, you move the player from 1 tile to the next. My miner movement is less locked to the grid, he get stop halfway to tiles. This makes things a bit more complex.

The reason for that is it makes it easier to line up a sprite to move between tiles.
by BasicCoder2
Dec 23, 2019 16:33
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

Yes I meant a map editor. I also wrote a simple tile editor and sprite animation editor. However they are only as good as your art and animation skills. A game engine lays the software framework to build and create video games. They provide features from animation to artificial intelligence. Game en...
by BasicCoder2
Dec 23, 2019 6:26
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

It appears that with the purchase you get "ready-to-use App and Game Templates and something about being able to reskin an app? Maybe the graphics were for the Treasure Miner game and are just being given out. Longer example, https://www.youtube.com/watch?v=HFC0Q1pxeBg This seems similiar with ...
by BasicCoder2
Dec 21, 2019 23:28
Forum: Game Dev
Topic: Another freebasic miner
Replies: 22
Views: 901

Re: Another freebasic miner

So how is it going so far? Makes sense to use other people's images when artistically challenged as you can always change them later without changing the code. The images can make a big difference. I duplicated some of the coding of the Wonderboy game. When I used the image data from the real game i...
by BasicCoder2
Dec 21, 2019 5:22
Forum: General
Topic: C++ to FB
Replies: 12
Views: 325

Re: C++ to FB

It might be worth remembering that a C++ for() loop does not increment the loop counter itself. That's what the 3rd term is for. You can do an infinite loop with for(;;). It's basically a fancy syntax for a type of while loop. Ok thanks for that. My limited knowledge of C++ has faded over years of ...
by BasicCoder2
Dec 20, 2019 22:32
Forum: General
Topic: OpenCV to capture an image with a webcam?
Replies: 13
Views: 479

Re: OpenCV to capture an image with a webcam?

Thanks Joshy I will give it a try later.
by BasicCoder2
Dec 20, 2019 22:29
Forum: General
Topic: C++ to FB
Replies: 12
Views: 325

Re: C++ to FB

My effort? #include <iostream> using namespace std; int left = 15; int n = 13; int size = 1; int main() { for (int left = 0; left < n; left += 2*size){ cout << "Hello world!" << endl; } return 0; } dim as integer lefto = 15 dim as integer n = 13 dim as integer size = 1 for lefto = 0 to n-1...
by BasicCoder2
Dec 19, 2019 21:06
Forum: General
Topic: OpenCV to capture an image with a webcam?
Replies: 13
Views: 479

Re: OpenCV to capture an image with a webcam?

Thank you for your responses.
by BasicCoder2
Dec 19, 2019 19:29
Forum: General
Topic: OpenCV to capture an image with a webcam?
Replies: 13
Views: 479

Re: OpenCV to capture an image with a webcam?

Where did you type locate vlc.bi ?
All I can find in my FreeBasic folder is fbc_linux_armv7a_hf_debian
The bin, doc, inlcude and lib folders seem empty.
The vlc.bi is in the Windows version of FreeBasic.
by BasicCoder2
Dec 19, 2019 10:07
Forum: General
Topic: OpenCV to capture an image with a webcam?
Replies: 13
Views: 479

Re: OpenCV to capture an image with a webcam?

Sorry brain glitch!! I had been trying to compile it on windows10. It has been some time since I last ran a FreeBASIC program on the RPi and my knowledge and experience with Linux has been very limited. The example code and vlc download stuff was on a ram stick. The Linux directory system is a littl...

Go to advanced search