Skip to content

Releases: sampenland/nova2d

nova2d :: pre-alpha v.0.0.9

20 Apr 20:24
Compare
Choose a tag to compare

Getting Started with nova2d v.0.0.9

Welcome

There may appear to be many steps below, and there are, but I feel being very descriptive on how to get up and running is important. In the coming releasing, build systems, scripts, etc. will be involved making this process easier.

Currently, nova2d can target Windows and some Web targets. The web side of things has just been added and not fully tested.

Steps to get a running project setup for developement:

  • Download "nova2d.zip" below.
  • Download and install Visual Studio 2019 or higher with C++
  • Start a new empty C++ project from scratch
  • Extract "nova2d.zip" into your Project Directory
  • Create a "src" folder and a "res" folder inside your Project Directory
  • Copy the "res" folder's contents (fonts) from the nova2d extracted folder to your Project Directory's "res" and "src" folders
  • Right-click your Project and go to the C/C++ Section
  • Under "Code Generation" make sure to switch "Runtime Library" to "Multi-threaded" (Debug for Debug configuration and Release for Release configuration)
  • Then select "All Configurations" at the top left
  • Under "General" in the C/C++ Section, under Additional Include Directories, add the location of nova2d's "include" folder
  • Open the "Linker" section in project properties, under General, under Additional Library Directories add the location of nova2d's "lib" folder
  • Under "Input" in the "Linker" section, add to Additional Dependencies, "nova-zero.lib"
  • And lastly, under "Linker" and "Command Line", add this to Additional Options: /NODEFAULTLIB:msvcrt.lib
  • Now try building the project. This will fail but create an Output folder (usually something like "$(SolutionDir)$(Configuration)" which is Debug or Release in your Solution Directory). In that output folder copy all the files located in the "copy-to-exe-folder".
  • Try running the project again and you should get the welcome screen.

Contact Support if these steps do not work.
You can register there on the right side of the page.