Search found 20 matches

by TwoCatsYelling
Thu Mar 25, 2021 9:02 pm
Forum: General Discussion
Topic: "Project Based" learning for PB?
Replies: 12
Views: 4139

Re: "Project Based" learning for PB?

And what do you get out of learning an example in one context, but then your program is in a completely different context?

As mentioned in my first post, the system of 'learn all the commands and then start programming' will no longer work. That may have been true many decades ago, but not today ...
by TwoCatsYelling
Thu Mar 25, 2021 8:32 pm
Forum: General Discussion
Topic: "Project Based" learning for PB?
Replies: 12
Views: 4139

Re: "Project Based" learning for PB?

What you're looking for may have been possible in the past, where you could fit the entire instruction set of the programming language into a 200 line program.

You should roughly deal with the commands and have a rough overview of the available libraries. Then you know when programming at least ...
by TwoCatsYelling
Thu Mar 25, 2021 7:25 pm
Forum: General Discussion
Topic: "Project Based" learning for PB?
Replies: 12
Views: 4139

"Project Based" learning for PB?

Hi all,

So, I'm going through the "Learn2ProgramPB" PDF book. I'm about 55 pages in, and got to Arrays.

It occurs to me that there haven't been any kinds of projects or "tests" or anything to apply/test what I've learned. It's all just pure front-loading of information, presented in a "type what I ...
by TwoCatsYelling
Thu Mar 25, 2021 12:40 pm
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Searching for info in the forums... that'll be hit or miss for a bit. There's going to be times, for a bit anyway, where I'm not even sure what the right question is lol.
I totally get this! I started a new job some time ago and a lot of their operational processes are online, and we're expected ...
by TwoCatsYelling
Thu Mar 25, 2021 3:10 am
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Dipping back to the InitSprite() thing...

To restate the first quote in other words:
The InitSprite() command needs to be executed to let PB know that you
want it to use the game graphics commands known as “sprites.” We’ll be discussing
sprite commands in full detail later in the book, for now ...
by TwoCatsYelling
Thu Mar 25, 2021 1:24 am
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Dipping back to the InitSprite() thing...

Read this part in the book...
The InitSprite command let’s PB know that you want it to use the game
graphics commands known as “sprites.” We’ll be discussing sprite
commands in full detail later in the book, for now though just know that
when performing ...
by TwoCatsYelling
Thu Mar 25, 2021 1:08 am
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?


...
Again, that may not have been the intent, but it just seems kind of "braggy".
okay, that's not what I meant. I have great respect for anyone who wants to learn programming. In no way do I want to come across as "boastful" here. Sorry.

Okay, cool.
I apologize for the rather harsh response ...
by TwoCatsYelling
Tue Mar 23, 2021 12:07 am
Forum: General Discussion
Topic: A Hello and a Question
Replies: 11
Views: 2330

Re: A Hello and a Question

...some good, basic tutorials, to at least get me rolling in the right direction?
This might be a good start:

> The Basic Anatomy of a PureBasic Program

Thank you!

I followed it fine up 'til the very end, where we create the form version of the window, to grab the text from the Text field and ...
by TwoCatsYelling
Mon Mar 22, 2021 11:55 pm
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

@TwoCatsYelling

Please take a look at blueznl's "PureBasic Survival Guide" it's a nice tutorial:

PureBasic Survival Guide

also download the PureBasic Book from purebasic.com, it's a must read:

PureBasic.pdf

lastly, don't forget to use google search to search for content in this forum ...
by TwoCatsYelling
Mon Mar 22, 2021 11:42 pm
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Though I don't know if I'd put outdated code in the "learning programming is hard" category, since it wouldn't work for anyone.

Well, I agree with you for absolute beginners, but if you already know how to program and want to learn a new language, old program codes are also suitable. Especially ...
by TwoCatsYelling
Sat Mar 20, 2021 12:58 pm
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Change 16 to 32 (color depth) and it works. For some reason 16 bit color is unsupported? It changes display mode.. don't like it when example code uses that but ok.

Just compare with the help file Sprite.pb example . Would use OpenWindowedScreen btw.

Ah okay. Just that simple, then. I guess 16 ...
by TwoCatsYelling
Sat Mar 20, 2021 12:57 pm
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

Hi TwoCatsYelling,

don't give up.

From my point of view you have the possibilities, which also depend on your previous knowledge:
a. try to run the examples in the current version of PB (you will learn a lot)
b. install the corresponding (old) version of PB*) and work through the examples ...
by TwoCatsYelling
Sat Mar 20, 2021 3:23 am
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Re: Learn2Program PB outdated?

If you look at the first page of the book you see it was written for PureBasic version 4.61 and updated for 5.0
There have been over 20 versions of PureBasic since then so you will certainly find syntax changes as well as new commands since then.

If you want to follow the book exactly, you can ...
by TwoCatsYelling
Sat Mar 20, 2021 2:10 am
Forum: General Discussion
Topic: Learn2Program PB outdated?
Replies: 23
Views: 4451

Learn2Program PB outdated?

Hello,

I'm going through the "Programming 2D Scrolling Games" book. The free PDF download.

I'm noticing that for the past several example programs, it's opening with:
If InitSprite()=0 Or InitKeyboard()=0 Or OpenScreen(640,480,16,"Input Test")=0
MessageRequester("Error!", "Unable to Initialize ...
by TwoCatsYelling
Fri Mar 19, 2021 3:44 pm
Forum: General Discussion
Topic: Can't get out of "error" mode?
Replies: 3
Views: 1285

Re: Can't get out of "error" mode?

Ahh.. So it's in debugger mode. Okay, didn't know what was going on there.

I'd set the icons to the "monochrome" mode, so there was no red x, else I'd have probably clicked on that.

I'm going to keep the behavior on, at least for now. I'm sure it's going to come in very helpful.

I'm really new at ...