Giter Site home page Giter Site logo

Comments (2)

s7jones avatar s7jones commented on July 21, 2024

Infact I'm having a lot of problems following Tutorial 3.

At the moment I'm stuck on trying to add the blue_moon.jpg/blue_moon.bmp.

I've ran rescomp.exe on blue_moon.bmp to make a blue_moon.res and blue_moon.h.

Then blue_moon.h is:

extern const Bitmap moon;

But the compilation fails because

u16 w = moon[0];

u16 h = moon[1];

VDP_setPalette(PAL1, (u16 *)&moon[2]);

VDP_loadBMPTileData((u32*)&moon[18], TILE1, w / 8, h / 8, w / 8);

and Bitmap moon is a struct not an array.

So instead I do

u16 w = moon.w;

But I start to get lost after then?

Am I on the right track?

Can I take it that the tutorials are out of date / incomplete at this point?

from sgdk.

Stephane-D avatar Stephane-D commented on July 21, 2024

Ok, i fixed all wiki / tutorial stuff.
You should find updated sources files now to reflect what we have into wiki pages :)

from sgdk.

Related Issues (20)

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.