Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch Game Lab into public beta #15434

Merged
merged 5 commits into from Jun 1, 2017
Merged

Launch Game Lab into public beta #15434

merged 5 commits into from Jun 1, 2017

Conversation

caleybrock
Copy link
Contributor

@caleybrock caleybrock commented May 26, 2017

Create code.org/educate/gamelab to get ready for launch: This isn't perfect, but I want to get it in staging so Poorva could update links if she needs to. Most of this was copied from code.org/educate/applab

  • Create page for code.org/educate/gamelab
  • Have code.org/gamelab redirect to code.org/educate/gamelab
  • Have "Make my own" button in Game Lab go to code.org/educate/gamelab
  • Rename "Challenges" to "Sample Projects" and add button that links to project gallery

screencapture-localhost-code-org-3000-educate-gamelab-1495841091616

cc @poorvasingal

@caleybrock caleybrock requested a review from breville May 26, 2017 23:27
- csdunit3_videos << { id: 'csd_gamelab_velocity', category_title: 'Sprite velocity', code: 'zcP94yMYqrI', download_path: 'https://videos.code.org/cs-discoveries/gamelab/gamelab_velocity.mp4', studio_stage: '/s/csd3/stage/15/puzzle/2' }

- csdunit3_videos.each do |video|
// Show the chapter title at the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: need to line-wrap this early?


:javascript
$(function() {
$('.highlight-item').mouseover(function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a comment about what exactly is fading in & out? also do we need a touch equivalent for non-mouse users?

@caleybrock caleybrock changed the title Create code.org/educate/gamelab to get ready for launch Launch Game Lab into public beta Jun 1, 2017
- unless video[:category_title].nil_or_empty?
.clear
%h2= video[:category_title]
%div{style: "float:left; padding:10px; width: 275px;"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

%h4 Grades 7 - 9
.smalltext In Unit 3, students build on their coding experience as they create programmatic images, animations, interactive art, and games. Starting off with simple, primitive shapes and building up to more sophisticated sprite-based games, students become familiar with the programming concepts and the design process computer scientists use daily. They then learn how these simpler constructs can be combined to create more complex programs. In the final project, students develop a personalized, interactive program. Along the way, they practice design, testing, and iteration, as they come to see that failure and debugging are an expected and valuable part of the programming process.
%a{:href=>CDO.studio_url("/s/csd3")}
%button{style: "margin-top: 20px;"}= I18n.t(:view_unit)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

- unless video[:category_title].nil_or_empty?
.clear
%h2= video[:category_title]
%div{style: "float:left; padding:10px; width: 275px;"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

%h4 Grades 7 - 9
.smalltext In Unit 3, students build on their coding experience as they create programmatic images, animations, interactive art, and games. Starting off with simple, primitive shapes and building up to more sophisticated sprite-based games, students become familiar with the programming concepts and the design process computer scientists use daily. They then learn how these simpler constructs can be combined to create more complex programs. In the final project, students develop a personalized, interactive program. Along the way, they practice design, testing, and iteration, as they come to see that failure and debugging are an expected and valuable part of the programming process.
%a{:href=>CDO.studio_url("/s/csd3")}
%button{style: "margin-top: 20px;"}= I18n.t(:view_unit)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

- unless video[:category_title].nil_or_empty?
.clear
%h2= video[:category_title]
%div{style: "float:left; padding:10px; width: 275px;"}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

%h4 Grades 7 - 9
.smalltext In Unit 3, students build on their coding experience as they create programmatic images, animations, interactive art, and games. Starting off with simple, primitive shapes and building up to more sophisticated sprite-based games, students become familiar with the programming concepts and the design process computer scientists use daily. They then learn how these simpler constructs can be combined to create more complex programs. In the final project, students develop a personalized, interactive program. Along the way, they practice design, testing, and iteration, as they come to see that failure and debugging are an expected and valuable part of the programming process.
%a{:href=>CDO.studio_url("/s/csd3")}
%button{style: "margin-top: 20px;"}= I18n.t(:view_unit)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use inline style attributes

@caleybrock
Copy link
Contributor Author

fyi @poorvasingal @tanyaparker - this should be ready to go.

= view :highlight_item, item: {image: "game-lab/example-bounce", title: "Bounce", desc: "Move the platform to avoid the ball hitting the bottom. Challenge: Add different obstacles and points", cta: cta, url: 'https://studio.code.org/projects/gamelab/J2R-PHcvE4Wgb2xO2bjk0Q/remix'}
.clear
%a{:href=>CDO.studio_url("/projects/public")}
%button.default See more student projects in the public gallery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer this shorter like "View project gallery"

%link{href: "/shared/css/course-blocks.css", rel: "stylesheet"}
%link{href: "/css/highlights.css", rel: "stylesheet"}

= view :jumbotron_banner, img: CDO.code_org_url("/images/app-lab/girl-cropped.jpg"), title: "Game Lab (beta)", desc: "Game Lab is a programming environment where you can make simple animations and games with objects and characters that interact with each other. Design an animation or game, code with blocks or JavaScript to make it work, then share your app in seconds.", specs: "Ages 13+, all modern browsers, English only", url: CDO.studio_url('/p/gamelab'), cta: "Make an animation or game", photo_cred: "Photo courtesy of Fundación Sadosky", nav_bar: [{text: 'Resources', url: '#resources'}, {text: 'Challenges', url: '#challenges'}, {text: 'Video Library', url: '#videos'}]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename Challenges here to Sample projects


#videos
%h1.responsive-body Video library
Some of these videos appear in Unit 3 (Animations and Games) of the CS Discoveries course and are displayed here as a quick introduction to each of the main concepts from the unit. Check out each video to see how you can add new features to your project.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you hyperlink CS Discoveries course to /educate/csd?

@caleybrock caleybrock merged commit 910124e into staging Jun 1, 2017
@caleybrock caleybrock deleted the gamelab-page branch June 1, 2017 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants