Title: Game Code Development Area | |
friendsoffortiesfive > General > Games | Go to subcategory: |
Author | Content |
Zenith | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Date Posted:02/05/2023 8:20 PMCopy HTML CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #226 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/09/2023 3:16 PMCopy HTML Lost my old sheet so made one in HTML. The cyan means the pedal lowers the tone, and magenta raises it. LKL means left knee-lever going left, and so on. The P's are floor pedals. The letters in the yellow are not notes, but my designation for what I call the pedal or knee. I know pretty much what combinations give certain chords, Pedal-5 used to have the root minor chord on it (3 to 3b), but I get mixed up hitting the correct pedal, since I can't see them. It's my spare in case I come up with a new chord. Hey, to heck with the meaning .. it's colorful to look at. LOL!
CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #227 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/09/2023 4:02 PMCopy HTML Here's a pro playing an E9 that he built. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #228 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/10/2023 3:46 AMCopy HTML Dave, no need to apologize for what you wrote. I have some pretty good mood swings, myself. And like you, I am an introvert, always have been. I am alone in this apartment 98% of the time and have very few friends.
In school I finished at the top of my class, would have been the valedictorian, except for a couple of girls who took lesser classes, and weren't even known for being smart. Me, I took all the college level classes in high school that I could.
I wanted to go to college, but my dad outright discouraged me from it. He said I needed to get a job immediately, so I'd have some income. One of my biggest regrets is not going to college. I wanted to be like Einstein, my idol, LOL.
Here I am writing my life story, haha. Sorry about that. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #229 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/10/2023 3:55 AMCopy HTML Nice chart, but might as well be Greek, to me, LOL.
Awesome video! He is good! I've never even seen a steel guitar like that with pedals. Didn't know there was such a thing. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #230 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/10/2023 12:50 PMCopy HTML Well, I'm sorry you didn't get college, Joe. Don't apologize. I had a hard time there, like being in jail, but could leave any time. Always homework in half a dozen difficult technologies. Never done. Takes 3 days to do homework, and then another pops up. We were assigned companies to work for every alternate 4 months for 6 years. Worked in electronics. Finally wound up in a TV maintenance department, but was the only one who wanted to draw wiring schematics of the studios. Being socially inept, I criticized some situations, and not many of the techs liked me much, so I became the draftsman in my own room. That was with pencil and paper in the old days. Later we got ACAD where I was the first to get a PC computer, and had to use DOS to run it. What kind of work did you do? CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #231 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/10/2023 1:20 PMCopy HTML Joe: Not sure whether you know the following, but it's good to file it away for reference.
1 . 2 . 34 . 5 . 6 . 71 C . D . EF . G . A . BC BigCrappy ElephantFarts is one way to embed where they are missing. EDITED: and on the left they put a # on a C. If you play the C-scale starting and ending on A, you have played the A-minor scale. Every major scale has what is called a relative minor. CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #232 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/10/2023 4:47 PMCopy HTML Well, I'm sorry you didn't get college, Joe. Don't apologize re story. I had a hard time there, like being in jail, but could leave any time. Always homework in half a dozen difficult technologies. Never done. Takes 3 days to do homework, and then another pops up. We were assigned companies to work for every alternate 4 months for 6 years. Worked in electronics. Finally wound up in a TV maintenance department, but was the only one who wanted to draw wiring schematics of the studios. Being socially inept, I criticized some situations, and not many of the techs liked me much, so I became the draftsman in my own room. That was with pencil and paper in the old days. Later we got ACAD where I was the first to get a PC computer, and had to use DOS to run it. What line of work were you in, Joe? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #233 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 1:44 AMCopy HTML I did construction work for 45 years, at first working as a laborer and then as a full-fledged brick- and block- mason. Back-breaking work, hot in the summer, and cold in the winter. One thing I liked about it was I got rainy days off, but of course no pay for those days. I know it's irrational, but I've always been sort of ashamed to tell people what work I did. Sort of akin to digging ditches, you know? I felt I could have done better in life. However, I did fabulous work, and got raves on my perfect brickwork. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #234 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 1:51 AMCopy HTML It's an art-form, Joe, and you excelled in your profession. You should be proud. Lots of folks would make a royal f-up of it, and I would be one of them. How do you keep a wall perfectly vertical with no bulges? I feel I wasted my education. I got an electrical engineer's degree and worked as a technician. All that time (6yr) and money just to be eligible to sign people's passport applications. I did invent some electronics devices for the TV studio, though, since later I had 3 other people working with me in the R&D dept. That's where I learned to program micro-computers (from a book) to run the devices. One was a TV studio lighting system, and the other was a game-show readout display with the yellow dots. There were other things also, and in between I did the drawings. Then came a strike .... After that my dept was abolished and I was put to down-linking TV programs from satellites. I worked the night shift after making a mistake and putting a sports program off-air. It was a BIG effing deal, and the sports people wanted me fired. Too many day people using limited Bell lines and I overwrote one of them. At night there was just me, and I knew what as what on the Bell microwave lines since I put it there. I was not cut out for that job, but was too chicken to throw it away and get an engineering position elsewhere. Do you belong to "The Masons" organization? I mean re the "eye" symbol on US money group? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #235 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 2:05 AMCopy HTML No, I never did join the Masonic Lodge.
To answer your question, we use a taut line to keep the courses of brick straight.
Here's a couple of photos of my work which I did one morning:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #236 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 2:30 AMCopy HTML Terrific work, Joe. You had to level the ground, too.
I guess there's some kind of footings underneath. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #237 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 6:06 AMCopy HTML Yes, the footings are poured concrete. The block foundation is laid on the footings, then the house built, and finally the brickwork. On this particular house the bricks are only going about four feet high, instead of all the way up. Vinyl siding is much less expensive.
Dave, you didn't waste anything with your life. It's regrettable that you made one serious mistake but look at the knowledge you now have. I only wish I could have accomplished one tenth of what you have. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #238 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 1:02 PMCopy HTML Thanks, Joe. I like to share knowledge, but stuff I know, many others don't give a hoot about.
Everyone excels at something, and with me its code and math, but I can't do the kind of math like Einstein did. And with code its not rocket science code, it's amateur code. But I can figure out a method to work with text and extract info (most of the time). I'll show a small example next post. Did you ever get a virus from downloading third-party software? If you get "freebasic", we can do a step-by-step till you feel 'at-home' with it. Then you can do online tuts in python and C++ etc, since the thinking is the same, but the grammar (syntax) is different. "Le crayon jaune," type thing. I'm very glad you learned a bit from me, and online, about HTML and CSS. Now you are doing things that a year ago you didn't know about. It gives me a friend who speaks the same language. I just realized I made a mistake in post 231, and edited it. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #239 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 3:27 PMCopy HTML FREEBASIC CODE NOTES:
A variable is a 'box' to put info in till we need it,
and we need to label the box so we know what's inside.
We have different variable types, and they all have certain sizes.
We need to tell the compiler what we are dealing with,
so we mark them with different endings.
We will start with 3 types of variables:
A string variable could be mystring$ = "Hello, Joe!"
An integer variable could be myAge% = 83
A float variable could be PI! = 3.14159
The compiler starts looking at the top and goes to the bottom of the "source code" (that you write).
The PRINT statement can print in 2 ways.
PRINT mystring$
PRINT "How are you?"
On the screen this produces:
Hello, Joe!
How are you?
Also we could write a concatenation:
PRINT mystring$ + " How are you?"
On the screen this produces:
Hello, Joe! How are you?
INPUT uses an included string, which could be ignored as "",
and sticks what you type into a variable.
PRINT "EXAMPLE"
PRINT "======="
INPUT "Please type your age: ", userAge$
PRINT "Your age is " + userAge$
On the screen this produces:
EXAMPLE
=======
Please type your age: 83 (or whatever)
Your age is 83
Note that the age is a string.
To get it into an integer (for calculations) we do the following.
hisAge% = val(userAge$)
twiceAge% = 2 * hisAge%
PRINT "Ha! My grandpa is "; twiceAge%; ", but he's dead!"
On screen gives:
Ha! My grandpa is 166, but he's dead!
Note that the concatenation uses a semicolon for numbers.
Enough for now ... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #240 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/11/2023 4:02 PMCopy HTML ' Your code needs this envelope to work ... ' You need only 1 apostrophe for a comment, but 2 will signify a special one. ' ' MY FREEBASIC DEMO PROGRAM, by Joe, Jun 2023
' 'setup ==============================
#lang "fblite"
screen 15 'a screen selected from a sized list in the IDE ' 'your program stuff below ============================== . . . ' 'ready to exit ============================== sleep end |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #241 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 3:36 AMCopy HTML I don't recall ever downloading a virus, though I have had viruses in the past. Not lately, thankfully.
Yes, I have learned a lot from you, that's for sure. Thank you.
That Freebasic Code looks mighty complicated, Dave. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #242 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 3:59 AMCopy HTML I'll create a variable to hold a string in freebasic.. Let's say daves_string$ is an area in memory that I named and I stuff "Hello, Joe" into. daves_string$ = "Hello, Joe" Consider daves_string$ as a nick-name on a packing box with a "Hello, Joe" note inside. The compiler saw the $ on the end and knew the box was supposed to be the kind that holds a string. It looks like a dollar sign, but does not mean dollars here. The compiler figures out where in memory to put it .. I don't care where. I just know what name I gave it. Put it anywhere you like, compiler. PRINT is a keyword that (calls a function that) does what it says. PRINT daves_string$ prints what's in the variable box. The screen shows: Hello, Joe ==================== I can also do it like this. PRINT "Hello, Joe" The screen shows: Hello, Joe ==================== We use the variable when we don't know what's going into it yet. The box is labelled and stored with nothing inside it. INPUT is a key word that reads the keyboard and sticks what you typed into your empty variable box. INPUT "Type something! " , thevariable$ Print it if you want, or convert it to a number and mess with it using math, depending what was input. The message asking for input should state clearly what type of input you want. Press ENTER when your (user) typing is done? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #243 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 6:24 AMCopy HTML Hmm... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #244 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 12:32 PMCopy HTML Mary and sister live across the street from Randy Sodd. Mary has 4 windows which face Randy's house. D | C | B | A A candle in window-A means SIS IS HOME. A candle in window-B means COME OVER. A candle in window-C means COME OVER WITH BEER. A candle in window-D means COME OVER WITH CONDOMS. Let's say a candle burning is a ONE message. No candle burning is a ZERO message Mary can give Randy the following 16 messages: ==============
D | C | B | A
==============
0 | 0 | 0 | 0
--------------
0 | 0 | 0 | 1
--------------
0 | 0 | 1 | 0
--------------
0 | 0 | 1 | 1
--------------
0 | 1 | 0 | 0
--------------
0 | 1 | 0 | 1
--------------
0 | 1 | 1 | 0
--------------
0 | 1 | 1 | 1
--------------
1 | 0 | 0 | 0
--------------
1 | 0 | 0 | 1
--------------
1 | 0 | 1 | 0
--------------
1 | 0 | 1 | 1
--------------
1 | 1 | 0 | 0
--------------
1 | 1 | 0 | 1
--------------
1 | 1 | 1 | 0
--------------
1 | 1 | 1 | 1
-------------- Computer memory has "windows" that are transistor switches turned ON or OFF. Your "comp" is a city block of apartments. Each apartment has 32 or 64 "windows". Lots of messages can be sent. The "central processing unit" has the cheat-sheet of what they mean. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #245 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 12:57 PMCopy HTML The messages can be instructions like PRINT or data like HEY, JOE. The CPU and compiled program know what is what, and perform accordingly. Each letter or instruction needs several windows (or pigeon holes if you use a post-office message center analogy) to be different from all the others. The pigeon-holes (each 1 BIT) are arranged in 16, 32, or 64 bit WORDS 8 BITS is called a BYTE, so the WORDS are made of several BYTES. For example, the letter "A" is 0100 0001 = 41hex and can be held in 1 byte. "B" is 42hex, etc "HEY" would be: H= 48 hex = 0100 1000 E= 45 hex = 0100 0101 Y= 59 hex = 0101 1001 That's little transistors turned on or off in memory chips. The ones and zeros are known as BINARY code. We use HEX code so humans don't get the 1s and 0's mixed up, but the comp uses the binary. Each BYTE has an address, so the comp memory is composed of: ADDRESS1: BYTE1 ADDRESS2: BYTE2 ADDRESS3: BYTE3 ADDRESS4: BYTE4 ... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #246 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 1:56 PMCopy HTML CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #247 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 2:36 PMCopy HTML 0D and 0A are carriage return and line-feed. The prog that made the table uses dots to represent non-visible characters, as well as for actual dots (2E). Below is the ASCII CODE for the keyboard characters, plus a few CTRL characters. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #248 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/12/2023 3:44 PMCopy HTML I can make variables from this table. Lets say I want CR$ for carriage return and LF$ for line feed.. It's easier to remember than 0Dh and 0Ah. FREEBASIC CODE FOR THAT: CR$ = chr(0D) LF$ = chr(0A) 'Now, since we use them together we can have CRLF$ = CR$ + LF$ Print "Hey, Joe!" + CRLF$. 'This puts a new line after the message. The quotes mean it's a string, and appended$ mean it's a string, so we stay concatenated with +. If the variable were a number we would have to use ; to concatenate. Age% = 83 print "Dave's age is" ; Age% |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #249 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/13/2023 4:59 AMCopy HTML Dave --- "The 'central processing unit' has the cheat-sheet of what they mean." I wish I had a cheat sheet! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #250 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/13/2023 1:22 PMCopy HTML It's nice to learn new and interesting things, Joe. Today I will present a talk on BINARY NUMBERING SYSTEM.
9205 BINARY SYSTEM: Let's take an intuitive jump: A number like 25 decimal would be What is 6 decimal in binary? What is 50 decimal in binary? (hint: extend the table) |