A dumdum game for Genesis.
  • C 99.5%
  • Python 0.5%
Find a file
2026-07-25 13:52:26 -06:00
.vscode Almost a fully working battle. 2025-08-30 19:07:01 -06:00
mockup Battle scene setup. Added transition map->battle. 2025-08-19 01:26:45 -06:00
res Tests with music and smaller changes. 2026-07-25 13:52:26 -06:00
src Tests with music and smaller changes. 2026-07-25 13:52:26 -06:00
.gitignore First commit. 2025-08-15 06:16:31 -06:00
gen8.ttf Battle scene setup. Added transition map->battle. 2025-08-19 01:26:45 -06:00
gen8.zip Battle scene setup. Added transition map->battle. 2025-08-19 01:26:45 -06:00
README.adoc First commit. 2025-08-15 06:16:31 -06:00
script.txt Progress been done. 2025-09-20 11:37:11 -06:00
todo.txt First commit. 2025-08-15 06:16:31 -06:00

== Setting up SGDK with Visual Studio Code

This small project will help to setup a working environment (tested in Windows) for Sega Mega Drive developing with SGDK toolchain and Visual Studio Code as prefered editor. Visual Studio Code will be setup with c/cpp code extension and tasks to build and clean the workspace.


=== Prerequisites

. Download link:https://github.com/Stephane-D/SGDK[SGDK]
. Download link:https://code.visualstudio.com/[Visual Studio Code]


=== Setup

* Extract SGDK to a prefered directory.
* Create an environment variable `GDK` pointing to the SGDK directory (e.g. "C:/dev/sgdk").
* Install Visual Studio Code.
* Install the following extensions in vsCode: `C/C++ for Visual Studio Code`
* Clone this github repo: `git clone https://github.com/pleft/SEGA_VSCode_Template.git`.

=== Usage

* Open `VSCode` and `File->Open Folder...` and choose the folder of the checked out repository.
* Folder `.vscode` contains two files: `c_cpp_properties.json` and `tasks.json`
    * In `c_cpp_properties.json` it is added the include folder of the `SGDK`: `"includePath": ["${GDK}/inc"]`
    * In `tasks.json` there are 2 tasks to help build and clean the project, `make` and `clean`. 
        - To run `make` task press `Ctrl-Shift-B`.
        - To run `make` or `clean` press `Ctrl-P` then write `task make` or `task clean`.