VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Pong (with Lua) - CS50's Intro to Game Development

Pong (with Lua) - CS50's Intro to Game Development

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn game development by creating the game of Pong using Lua and L-VE2D. This beginner's course teaches the foundations of game development. This video is lecture 0 of CS50's Intro to Game Development from Harvard University. Check out the full course playlist: https://www.youtube.com/playlist?list=PLWKjhJtqVAbluXJKKbCIb4xd7fcRkpzoz -Assignment: https://docs.cs50.net/ocw/games/assignments/0/assignment0.html --Contents
Date: 2022-03-14

Comments and reviews: 9


I took CS50's Introduction to Game Development via EDX, but I had a bad experience.-
Pricing Structure problems:-
Before I started the course, I paid the $150 for a certificate because I wanted to get certified. I found out later that if I rejected the certificate offer, the very next page would offer me the certificate 10% CHEAPER. Seems like a punishment for people who pay right away, which seems like a very opposite reward.-
Work submission problems:-
- During the course, ALL submissions were ONLY accepted via github. The software they provide you to aide in this ONLY works with Linux or on a MAC. I had to spent a full working day to learn github just to submit my work to them. This was not mentioned prior to taking the course.-
- When I submit my work, if there is a problem, I cannot make edits, I have to re-submit the entire form all over again. If there is a further problem, again, I have to write everything out again. No edit button?-
- Part of the requirement of work submission involves making a screen cast of 5 minutes demoing your software. I had to spend another day learning and installing OBS. I also had to buy a microphone. None of these requirements were mentioned prior to taking the course.-
- I took one assignment per week. However, work is graded in batches once every, say, 2-4 weeks. It's random. So I submitted 4 assignments by the time it took them to grade all 4. ALL FOUR had problems, which meant I had to fill out the form FOUR TIMES to correct the mistakes again.-
- For the 5 minute demo video, well, I wanted to show my YouTube subs my software, so I made a 10 minute video. I clearly stated at the start of the video and in the submission (-Just watch the first 5 minutes, the first 5 minutes cover everything you ask for-). They reject my submission because -Specification imposes a 5-minute limit length on videos.-. This is just laziness!-
I wouldn't recommend this course or body to anybody. Sorry. It's good for free learning, but when you pay, it kinda sucks.

reply

Here was everything I needed for this to work in Love 11.2:
- method getPixelScale needs to be changed to getDPIScale
- setColor uses values between 0-1 instead of 0-255 so old values will cause white screen.
push: setColor(1,1,1)
main: clear(0.2, 0.21, 0.3, 1) -- this is a guessed conversion
note: fps colors added in 7 will work as-is, but 255 can be changed to 1 for good practice
- Anyone on a Retina screen may get a half-sized screen, so on push:101 set -_PSCALE- to -self._highdpi and 1- (getDPIScale throws it off)
Once you update the push file with the above updates, you can use that version in the rest of the folders.
There are lots of additions to 11 to DRY things up, but the above is what I needed to complete and run all of the code from the GitHub repo.

reply

I just copied the Pong-0 without the comments and put it in a zip file renamed 'Game001.love' like they say to do on the love website. I just keep getting:
Error-
boot.lua:575: No code to run-
Your game might be packaged incorrectly.-
Make sure main.lua is at the top level of the zip.-
Traceback-
[C]: in function 'error'-
[C]: in function 'xpcall'-
[C]: in function 'xpcall'
Even though there should be no reason for this to occur.

reply

27 seconds in and I'm already having a hard time paying attention, because one of the presenters looks like he thinks this is a modern art exhibition and doesn't want to be here. If you can't present yourself in a professional capacity at Harvard University and look like you actually care about what you're doing, then why should anyone care what you have to say? This is all referring to kid on the left of the video.
reply

couldn't start the pong1 main.lua file. It is giving me the following error:Error: push.lua:101: attempt to call field 'getPixelScale' (a nil value) . So for some reason the getPixelScale function in the push.lua file is returning null. Any suggestions? I am on Arch Linux
reply

What a great video and a great series. Programming and game development has never been more accessible than it is today. I'm so excited to see further advancements in accessibility and creativity in the future.
reply

This lecture is great, I initially thought it would be too complex but your explanation made everything clear. The assignment also looked very complex but was actually very simple.
reply

Hi,
I am unable to open the codebase on mac osx. I am able to play the game, but not able to edit the code.
Kindly suggest some solutions

reply

I couldn't follow the lessons, the lecturer's hair was too distracting. What is his condition called? Nu-male pattern baldness?
reply
Add a review, comment






Other channel videos