Official CS50x Thread (Free Online Harvard Programming [C, PHP, HTML, Javascript, SQL...] Courses

Czerka

All Star
Joined
May 6, 2012
Messages
6,895
Reputation
-120
Daps
6,732
Reppin
NULL
@Liu Kang so i scrapped the game idea, working on a story now and am having a small issue, how do i go from one backdrop to another without the sprites, i want to progress the story so to speak, i can make the new backdrop easy, but the sprites transfer over and when i delete them they delete from the first backdrop also.


and why is scratch so :flabbynsick: even in offline mode

i did a short (very short) story too and only way i knew how to do it was hide the sprites. you can do a broadcasting message to tell the sprites to both hide and to change background when you want

yall are putting way more into scratch then i did, i made a little thing that fit the requirements and moved on. will probably come back to it another time tho
 

newarkhiphop

Moderator
Staff member
Supporter
Joined
Apr 30, 2012
Messages
37,901
Reputation
10,130
Daps
124,556
i did a short (very short) story too and only way i knew how to do it was hide the sprites. you can do a broadcasting message to tell the sprites to both hide and to change background when you want

yall are putting way more into scratch then i did, i made a little thing that fit the requirements and moved on. will probably come back to it another time tho


Yeah I got too frustrated tryining to make a game lol gonnna make a short story
 

Silkk

Thats My Quarterback :to:
Joined
May 2, 2012
Messages
194,682
Reputation
19,875
Daps
491,906
Need to get started, yall do 1 lesson a week or just as you feel?
 

Yvge

Rookie
Joined
Oct 17, 2013
Messages
77
Reputation
10
Daps
98
Good looks man. Have always been interesting, will finally start soooooon.
 

Liu Kang

KING KILLAYAN MBRRRAPPÉ
Supporter
Joined
May 3, 2012
Messages
13,749
Reputation
5,513
Daps
29,902

Liu Kang

KING KILLAYAN MBRRRAPPÉ
Supporter
Joined
May 3, 2012
Messages
13,749
Reputation
5,513
Daps
29,902
@Liu Kang so i scrapped the game idea, working on a story now and am having a small issue, how do i go from one backdrop to another without the sprites, i want to progress the story so to speak, i can make the new backdrop easy, but the sprites transfer over and when i delete them they delete from the first backdrop also.


and why is scratch so :flabbynsick: even in offline mode
It's all about "hide" and "show".
If it's a story you may have a timeline so for example :
1. From 0 to 5 sec
- In stage : when flag is clicked / show backdrop 1 / wait 5 sec / next backdrop
- In sprites : when flag is clicked / show / wait 5 sec / hide
2. At 5 sec, you then have the second backdrop without the sprites
[...]
yall are putting way more into scratch then i did, i made a little thing that fit the requirements and moved on. will probably come back to it another time tho
You're right but still, Scratch grants the beginner to understand the logic and a few concepts of coding
It's better to struggle at the start or to take a good amount of time (while enjoying doing so obviously) and fully acquire the right thinking than struggle afterwards because one doesn't understand the logic. So IMO @midwesthiphop, got to keep trying until he's finally achieved his project because that will mean that he has finally understood the logic.
 

Czerka

All Star
Joined
May 6, 2012
Messages
6,895
Reputation
-120
Daps
6,732
Reppin
NULL
i finished lesson 1's problem set last night. just a heads up, the mario one is harder cause you have to figure out the math and took me awhile to grasp. the coin change one is actually kind of easy - they let you do it either using modulos or loops. using modulos is easier but i made both. i have absolutely zero CS experience so if i can do it then yall can.

i know how hard this course is so im gonna try as get as far as i can. gonna put this down for a few days since i gotta focus on my day job, then go for lesson 2 on the weekend. i got really into this shyt last night :dead:
 

Hood Critic

The Power Circle
Joined
May 2, 2012
Messages
24,144
Reputation
3,747
Daps
110,147
Reppin
דעת
You're right but still, Scratch grants the beginner to understand the logic and a few concepts of coding
It's better to struggle at the start or to take a good amount of time (while enjoying doing so obviously) and fully acquire the right thinking than struggle afterwards because one doesn't understand the logic. So IMO @midwesthiphop, got to keep trying until he's finally achieved his project because that will mean that he has finally understood the logic.

Scratch annoyed the sh*t out of me at first, having some background in coding. At first I was going to do just enough to meet the requirements but I personally felt like I wouldn't be defeated by something simple.
 
Top