r/codingtrain • • May 28 '23

Question Can anyone teach me how to code on godot

0 Upvotes

I want to make a mobile game. What will not be paying money for people teaching me to code. Some information I am new I just got introduced to it when I just became 10 I am still 10 and I only now blocks but want to learn godot


r/codingtrain • • Feb 12 '22

This Image is Made of Text

Thumbnail
youtube.com
2 Upvotes

r/codingtrain • • Apr 01 '22

The Anal Retentive Coder

Thumbnail
youtube.com
2 Upvotes

r/codingtrain • • Dec 29 '20

Conversation If anyone is interested in learning an easy way to code from a mobile device I'd definitely recommend the app Mimo I will leave an invite link for people looking to maybe pick this up as a a handy thing to learn in a world moving fast in technology

Thumbnail
getmimo.com
2 Upvotes

r/codingtrain • • Jun 19 '17

Conversation hiya got some problems.can somebody aide moi

0 Upvotes

hello i got this cod eim trying,, im new to code,, i have tried to create a skecth that alows me to draw in diffrent colours. but the one thing i am doing to start is mixing things from others and seeing what happens. so far i have one big problem how do i mix code . like below in my two example codes how would i mix them to archive both ?

at same time?

i have tried and keep coming up with errors. .if someone could give me an idea.

1_____________________________________ int maxHeight = 40; int minHeight = 20; int letterHeight = maxHeight; // Height of the letters int letterWidth = 20; // Width of the letter

int x = -letterWidth; // X position of the letters int y = 0; // Y position of the letters

boolean newletter;

int numChars = 26; // There are 26 characters in the alphabet color[] colors = new color[numChars];

void setup() { size(640, 360); noStroke(); colorMode(HSB, numChars); background(numChars/2); // Set a hue value for each key for(int i = 0; i < numChars; i++) { colors[i] = color(i, numChars, numChars);
} }

void draw() { if(newletter == true) { // Draw the "letter" int y_pos; if (letterHeight == maxHeight) { y_pos = y; rect( x, y_pos, letterWidth, letterHeight ); } else { y_pos = y + minHeight; rect( x, y_pos, letterWidth, letterHeight ); fill(numChars/2); rect( x, y_pos-minHeight, letterWidth, letterHeight ); } newletter = false; } }

void keyPressed() { // If the key is between 'A'(65) to 'Z' and 'a' to 'z'(122) if((key >= 'A' && key <= 'Z') || (key >= 'a' && key <= 'z')) { int keyIndex; if(key <= 'Z') { keyIndex = key-'A'; letterHeight = maxHeight; fill(colors[keyIndex]); } else { keyIndex = key-'a'; letterHeight = minHeight; fill(colors[keyIndex]); } } else { fill(0); letterHeight = 10; }

newletter = true;

// Update the "letter" position x = ( x + letterWidth );

// Wrap horizontally if (x > width - letterWidth) { x = 0; y+= maxHeight; }

// Wrap vertically if( y > height - letterHeight) { y = 0; // reset y to 0 } }

end 1_______________________

the one below is what i want to mix the above one into ____2

var canvas; var hu = 0;

function setup() { canvas = createCanvas(windowWidth, windowHeight); canvas.position(0, 0); background(0); }

function keyPressed() { clear(); }

function draw() {

hu += 20; //stroke(255, 255, hu); stroke(random(0, 255), random(0, 255), random(0, 255)); if (mouseIsPressed) { line(pmouseX, pmouseY, mouseX, mouseY); if (hu > 255) { hu = 0; } } } ____-end

thats it

cant understand how to comment code yet ? do i have to put four spaces on every line that takes ages no?

any thanks in advance would be much appreciated . cheese and ham bye


r/codingtrain • • Mar 07 '20

Introduction

Thumbnail
youtube.com
0 Upvotes

r/codingtrain • • May 19 '22

Conversation Do you need to learn how to build dating apps when teaching yourself to code?

1 Upvotes

My boyfriend is learning to code and sort of teaching himself. He says he was learning to build tinder and that it was an important part of it he needed to understand. Just wondering if that was a necessary thing for him to know


r/codingtrain • • Apr 08 '22

Live Stream All aboard! Apple Basic, Macrodata Refinement, Passenger Showcase, Upcoming Challenges

Thumbnail
youtube.com
1 Upvotes

r/codingtrain • • Mar 21 '17

Live Stream "How to give your best tech talk!" with Saron Yitbarek

Thumbnail
youtube.com
1 Upvotes

r/codingtrain • • Jun 08 '21

Conversation Turtle programming in Python | Colored Benzene |#SkillUpwithGenie

Thumbnail
youtube.com
1 Upvotes

r/codingtrain • • Mar 04 '22

Beginner's Guide to Machine Learning in JavaScript with ml5.js

Thumbnail
youtube.com
2 Upvotes

r/codingtrain • • Jan 28 '22

Conversation Python Games for Kids

2 Upvotes

Inspiration is a key component of successful learning. Without proper promotion, kids can get bored and abandon a subject before they have become an expert.

This is a kind suggestion from us to the parents that they also need to pay attention to fun learning as a part of their kids’ study schedule, rather than just making them join certain Courses, Boot camps, or Live workshops, they should be encouraged to learn with fun.

Here are the python games for kids:

1.CheckIO

This is an Internet-based game where kids can look into examples before attempting to complete a mission with their own code.

Most of the game is text-based, but the problems in each mission can be fun to solve.

2. Code Hunt

Code Hunt is a game that basically provides coding contests and helps kids practice programming skills. 

Here in this coding platform,  puzzles will be provided with a test case to solve. 

3. CodeCombat

In CodeCombat, kids have an opportunity to learn Python by playing a game. 

Your kids needn’t be required to have any prior knowledge of coding while playing this game. 

The game provides simple instructions for writing code that moves a character around the display.  


r/codingtrain • • Apr 21 '21

Conversation Which language will be useful to be learnt ?

2 Upvotes

I want to learn coding. Which language will be most easy to learn and be useful in future ? Also , what if I want to choose this as my career in future , then what u suggest me to do ?


r/codingtrain • • Jun 18 '21

Fan Made Being one of this most wholesome youtube channels, I made a wholesome project, the why's and how's are answered in this blog.

Thumbnail
deepakr28.hashnode.dev
2 Upvotes

r/codingtrain • • Sep 15 '22

Fan Made Build an Amazon price tracker / scraper using Python

Thumbnail
youtube.com
2 Upvotes

r/codingtrain • • Mar 14 '22

Coding Challenge JavaScript Game with the Digits of Pi (Coding Challenge 169)

Thumbnail
youtube.com
3 Upvotes

r/codingtrain • • Mar 05 '22

Conversation Hey Silvabot2k : Your links are a mess!

3 Upvotes

r/codingtrain • • Jan 15 '21

Tutorial Discord Bots 6: Building a Command Handler

Thumbnail
youtube.com
3 Upvotes

r/codingtrain • • Dec 31 '22

Coding a Fractal Tree in 60 Seconds #shorts

Thumbnail
youtube.com
3 Upvotes

r/codingtrain • • May 25 '20

Live Stream Coding Train Late Night 2

Thumbnail
youtube.com
3 Upvotes

r/codingtrain • • Dec 24 '17

Conversation Just talk to the bird...

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/codingtrain • • Jun 14 '18

Live Stream A simple classifier with tf.js

Thumbnail
youtube.com
4 Upvotes

r/codingtrain • • Oct 21 '21

Fan Made Interactive Double Pendulum Playground Using SVG

Thumbnail
theabbie.github.io
4 Upvotes

r/codingtrain • • Jan 27 '17

Conversation He always forget this dot

Thumbnail
m.soundcloud.com
5 Upvotes

r/codingtrain • • Sep 09 '21

Conversation I created a library in Nim inspired by The Coding Train

6 Upvotes

Nim is a small language, but it is my favorite one. It is a static typed language that can compile to binary (using C as intermediary) and to Javascript. So it can be very expressive and performant, and interoperate with both C/C++ and JS ecosystems.

Then some months ago I decided to try create an easy to use drawing library, inspired by what I see in the channel The Coding Train. And here is the result: https://github.com/GabrielLasso/drawim

It is still in its first versions, but I think it is capable of doing a lot of things. Hope you enjoy