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 | #201 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/28/2023 1:55 PMCopy HTML
THIS IS SOME MORE TEXT <div style=" width:400px; margin:0px auto; padding:20px; text-align:center; font-size:24px; font-weight:900; background-color:black; "> <p style=" background:linear-gradient(to right, #00ff00 0%,#ffff00 25%,#ff0000 50%, #ffff00 75%, #00ff00 100%); -webkit-background-clip:text; -webkit-text-fill-color:transparent; display:inline-block; "> THIS IS SOME MORE TEXT </p> </div> CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #202 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/28/2023 1:56 PMCopy HTML padding:20px; leaves some black around the text. It also got rid of 8  's. Radial gradient will shorten it even more by omitting end-to-end extra colors. VIEWER'S BROWSER MUST BE ABLE TO HANDLE WEBKIT CODE I spent a couple of hours failing at doing this till I looked online. Then I had to convert external CSS to inline CSS, so it wasn't spontaneous "Zenith-coding"! It's not knowing the answer, but knowing how to FIND the answer, that's important. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #203 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/29/2023 1:30 AMCopy HTML I believe that background: and background-image: display gradients the same. Don't rely on me ... You should check that, and thereafter use the shorter one. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #204 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/29/2023 2:05 AMCopy HTML Hi Dave. I have noticed that "background" and background image" seem to be the same. Yes, my rainbow text had a HUGE amount of coding. Interesting how you used a "webkit"? What exactly is that?
I first learned about rainbow text many years ago. Yahoo Messenger had a feature where you could type in rainbow text, and you could type an unlimited number of words, line after line, displaying one rainbow. In other words, the text at the top was one color and by the time it got to the bottom of the page it was another color. So anyway, I would type something using Yahoo Messenger, then copy paste it onto a post, or email, lol. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #205 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/29/2023 5:14 AMCopy HTML https://stackoverflow.com/questions/18083056/what-are-moz-and-webkit
These are the vendor-prefixed properties offered by the relevant rendering engines (-webkit for Chrome, Safari; -moz for Firefox, -o for Opera, -ms for Internet Explorer). Typically they're used to implement new, or proprietary CSS features, prior to final clarification/definition by the W3.
This allows properties to be set specific to each individual browser/rendering engine in order for inconsistencies between implementations to be safely accounted for. The prefixes will, over time, be removed (at least in theory) as the unprefixed, the final version, of the property is implemented in that browser. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #206 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/29/2023 5:23 AMCopy HTML Joe: Is this what you see in your browser? CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #207 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:05/29/2023 7:55 AMCopy HTML Yes, that is the top part of Post #201. That's what I see. The only difference the black box is further over to the right on mine, signifying that my page is wider than yours. More resolution.
See you tomorrow (Monday) evening. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #208 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 1:34 AMCopy HTML HOW TO ADD THE "COPYRIGHT" LINE: <!-- there is code above here --> <!-- sometimes put it here! --> </td></tr> </tbody> </table> <!-- put it below here! --> <div style=" margin:0px auto; border:1px solid #663300; text-align:center; font-size:12px; width:250px; color:#ffffcc; position:relative; top:7px; "> *** Another Name Creations Original *** </div> <!-- put it above here! --> </td> </tr> </tbody> </table> </div> CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #209 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 1:39 AMCopy HTML Adjust the top:7px; to get the middle of the cellspacing or border-spacing. Sometimes you need to go up one more table ending, if more suitable. This one has the box around it. May need to change background-color: (not shown .. crap!), or other colors. You know enough to dick around with this code. If it folds then widen the div, or reduce font-size. Style can be in any order! [The blue code goes together.] |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #210 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 2:58 AMCopy HTML |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #211 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 11:41 AMCopy HTML Made a new Swappit. Dreary colors , but seem to go together! CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #212 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 6:19 PMCopy HTML A NOTE ON HEX COLORS: ===================== This is a way to get a handle on hex colors so you can imagine a close one first time. We will use 33h jumps starting at 00h. Just remember CCh as set#12, and FFh as set#15. (It's really 16x12+12=204 and 16x15+15=255, the RGB numbers, but never mind that!) We know 00 is darkest and FF is lightest. We will use only 00,33,66,99,CC,FF. We also know the hex colors as #RrGgBb, which stands for RED, GREEN, BLUE. In a kid's water color set we should remember the primary colors are red, yellow, and blue. You can make any color from those. Red and blue = purple Red and yellow = orange Yellow and blue = green The whole lot is brown or gray. With lights it's a bit different. The primaries are red, green and blue. Matching to the kid's colors, red and blue is magenta .. almost purple. Green and blue is greeny-blue, or cyan. The real eye-opener is red and green. That combo makes yellow. Magic! OK, so brightest colors are: #FF0000 red #00FF00 green #0000FF blue #FFFF00 yellow #FF00FF magenta #00FFFF cyan 80h (128d) is about half of FFh (255d). #808080 is mid gray Three of the same is gray, except that #FFFFFF is white #000000 is black. Ok, so going down from FF in 33's gives us darker colors. The colors in between are too close to notice. For pastels, where 00 is used above replace it with one of EE,DD,CC,BB,AA,99. RGB colors go up in 51d steps re RGB(red,grn,blu) CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #213 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/04/2023 6:48 PMCopy HTML ** BROWSER-SAFE COLORS ** HEX DEC 00 000 33 051 66 102 99 153 CC 204 FF 255 #FFFFFF = rgb(255,255,255)
CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #214 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/05/2023 3:45 AMCopy HTML Nice! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #215 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/05/2023 12:50 PMCopy HTML Now you need a butler, Joe! .. LOL
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #216 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 3:41 AMCopy HTML
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #217 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 3:44 AMCopy HTML Dave, in your other groups is there anyone that is proficient in HTML and enjoys experimenting like you and I do? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #218 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 12:00 PMCopy HTML Joe: You're the only one, and that makes you special to me. I thought Mike would have joined in the code stuff since it's what he does. I had a kid from Arizona who invited me to teach him Python, and math twice a week. He was 13 yr old. Taught him till he was 18 and then girls took all his time. If you learn one comp language, the others are mostly similar except for syntax. Html is a scripting language, which is a bit different, and Aimoo will not let us use full-fledged Javascript inside it, due to viral concerns. The others use FOR/NEXT, WHILE/WEND, and IF/ELSE conditional controls. I find it entertaining to get a prog I write to do stuff for me. I usually use Freebasic to write programs that write games in HTML. It's a 3 second wait to get a game that would take you an hour to make by hand. Of course it takes all day to make the Basic prog in the first place. But I'm old and I get a kick out of telling progs to toe-the-line, so to speak. I know you don't like to download exe's that did not come with windows, but after a viral check they should be OK. I could teach you some elementary Basic (most versions are similar) if you like, then you could be off and running with it, looking up examples on the web. Freebasic has an IDE that lets you write, debug, and also look-up how to use various commands. It points out (most of) your mistakes in debugging. What is an IDE? An IDE, or Integrated
Development Environment, enables programmers to consolidate the
different aspects of writing a computer program. IDEs increase
programmer productivity by combining common activities of writing
software into a single application: editing source code, building
executables, and debugging. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #219 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 1:15 PMCopy HTML CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #220 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 1:26 PMCopy HTML It worked, but it would be better to edit the = signs to get them in line under each other. Plus the prog doesn't tell the user what it does. Also we need to include .00 on the end of integer amounts. These things pop up as we progress trying stuff out. Well, poop! We need to chop the third and fourth decimal places off! CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #221 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/07/2023 2:45 PMCopy HTML This will do it. Look it over for other changes. It's almost in plain English. Had to squeeze it to get a screenful to copy. cls means Clear Screen, otherwise we get a multiple item scroll. The last "input" pauses for a key, so we don't need "sleep". The black text (and green) is stuff I made up myself, except the format $$####.##. The blue is language key-words. Spaces between math signs is arbitrary, as you may notice I forgot to put some in here and there! CONCEIVE, BELIEVE, ACHIEVE!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #222 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/08/2023 3:16 AMCopy HTML That looks very complicated! And I wouldn't know what to do with the program once I got it written, LOL. Good work, Dave! I also admire you for helping the 13-year-old boy with his math, etc. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #223 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/08/2023 1:09 PMCopy HTML It's a demo program in Freebasic, showing some calculations, inputs, and printouts. There are other programs I could show you that are more complicated and do more usable things.
Not to brag, but I don't know if my mind is special from other people. I seem to be the only one in my family that can do this sort of thing. Like Superman saying, "Alright people, let's all fly to Alaska and watch the whales for the afternoon. What, you don't know how to fly!"
I don't know, but it come easily to me. I've won over 3000 Freecell games without losing any. Try one and see whether it's easy. On the other hand, with 3 failed relationships, and the fact that I wrote this, I'm fairly certain that I'm socially inept. Win some, lose some! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Niceguy2 | #224 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/09/2023 3:10 AMCopy HTML I KNOW I'm socially inept, lol. It's why I never married. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Zenith | #225 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Re:Game Code Development Area Date Posted:06/09/2023 12:06 PMCopy HTML Hey, Joe! I feel like an idiot for writing that sh!t. I'm 83-2/3 yr old. Maybe it was an old-age mood swing!
You, my friend, are the only one in my circle of friends that gives a hoot about code, and code is what keeps me sane. That and pretending to play the guitar. I also made 3 pedal steel guitars from info on the web. I failed at playing E9 so made my own tuning of G-major. With the C6 I can only play it without the pedals. I also read a lot of fiction. I took a bunch of code tutorials using my library card.
I am basically an introvert. I have one guy that sends me funny email jokes, and a school friend that phones me once a month. Apart from that the only ones I know in town of about 100 families are the ones that work at the local hardware store, and we've (relationship #4 ... still hanging on) been here 8 years.
Let me post the so-called co-pedant of the guitar I can play good. I know, you don't give a sh!t, but it keeps me busy, sitting in my room 99.9% of my life. |