Code Monkey home page Code Monkey logo

sgdk-ohsat-megapong-tutorial-commented's Introduction

SGDK-OhSat-MegaPong-Tutorial-Commented

THIS IS JUST MY FINISHED "HOMEWORK" AT PROGRAMMING A GENESIS GAME WITH SGDK:

https://github.com/Stephane-D/SGDK

I followed and wrote in my style the following tutorial by OhSat:

https://www.ohsat.com/tutorial/megapong/megapong-1/

I got the most important texts (based on my view-point) of the tutorials and commented each line so you can know what the SGDK functions does!

THE ROM FILE IS IN THE FOLDER "out" AS: 'rom.bin'

SETUP CODEBLOCK FOR SGDK:

https://www.youtube.com/watch?v=cDEGpLxKDK0

FIX CODEBLOCK COMPILER ERROR:

https://www.youtube.com/watch?v=17RazgwROAg

#################################################

#################################################

#################################################

COMPILING WITH CODE::BLOCK, THE RESULTS ARE THOSE (4 WARNINGS):

||=== Build: default in MegaPongOhSatTutorial (compiler: SGDK Compiler) ===|

hello.c|133|warning: data definition has no type or storage class|

hello.c|133|warning: type defaults to 'int' in declaration of 'game_on' [-Wimplicit-int]|

hello.c||In function 'startGame':|

hello.c|157|warning: implicit declaration of function 'updateScoreDisplay' [-Wimplicit-function-declaration]|

hello.c|177|warning: conflicting types for 'updateScoreDisplay'|

hello.c|157|note: previous implicit declaration of 'updateScoreDisplay' was here|

||=== Build finished: 0 error(s), 4 warning(s) (0 minute(s), 10 second(s)) ===|

#################################################

#################################################

#################################################

sgdk-ohsat-megapong-tutorial-commented's People

Contributors

sophia-cristina avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.