Giter Site home page Giter Site logo

Comments (4)

NagyD avatar NagyD commented on July 20, 2024

Until my graphic tablet arrives (so I can begin redrawing the character sprites),

Wait, you bought one just for that?

I would like to continue my work by mimicking the look of the stars found in the Macintosh version.

It seems to me that the stars are already drawn on the image, and they are animated by changing the palette.

The correct approach would be to disassemble the Mac executable to see how're they drawn to the screen,

I already had such a disassembly lying around, and I think I found the relevant part in it.
I tried to attach it but GitHub does not seem to like the ZIP.
It says it likes only "PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, PDF, or ZIP".

I removed all the symlinks from the provided archive as (AFAIK) Windows XP doesn't support them

It does seem to support Directory Symbolic Link and Directory Junction.
I can create those manually using 7-zip (outside archives).
But only Directory Junctions work correctly.
Directory Symbolic Links appear the same as Directory Junctions, but I can't open them.
File Symbolic links can also be created, but I can't open them either.

from sdlpop.

myself600 avatar myself600 commented on July 20, 2024

Sorry to keep you waiting. (had some very bad days lately)

Wait, you bought one just for that?

Basically, yes (this one). I've experimented with other ways to do that (scaling with pixel-art targeted filters, decreasing the color depth, recoloring the Mac sprites using the DOS palette, extrapolating the background from the reference video, placing a grid above a frame and manually repainting it, etc.), but none of them worked out. Also, not all reference frames are available so I'll likely have to complement them by hand, etc.

It seems to me that the stars are already drawn on the image, and they are animated by changing the palette.

I added those stars into the sprite. I also included a script to merge back changes from SDLPoP (no Windows support yet). Broken down, here's how I imagine this:

  1. Replace the stars color palette with the Macintosh one (#999 for color_8_darkgrey, #CCC for color_7_grey, and #FAFAFA for color_15_white). The very same problem with integrer limitation (i.e. overflow) from #61 applies here.
  2. Only display one multi-pixel star at the same time, for a duration of one frame, with multiple (how many?) frames showing one-pixel stars in-between, progressing from top-to-bottom (mimicking the behaviour of the Mac version).*

* I'm planning to extend this once (if) I complete the tech demo (intro remake) by actually animating the stars (adding more frames for the multi-pixel ones).

I already had such a disassembly lying around, and I think I found the relevant part in it.
I tried to attach it but GitHub does not seem to like the ZIP.
It says it likes only "PNG, GIF, JPG, DOCX, PPTX, XLSX, TXT, PDF, or ZIP".

I tried this and uploading works as long as the filename ends with ".zip". Maybe you've tried to upload a ".7z" file instead?

Anyway, that would only be useful for reference purposes as I'm currently unable to read/understand assembly code (nor C, but I'm planning to learn them both at some point, beginning with C/C++).

It does seem to support Directory Symbolic Link and Directory Junction.
I can create those manually using 7-zip (outside archives).
But only Directory Junctions work correctly.
Directory Symbolic Links appear the same as Directory Junctions, but I can't open them.
File Symbolic links can also be created, but I can't open them either.

Wikipedia mentions something about this, but I don't understand that since I don't use Windows anymore (have a W7Pro in dualboot though, and can also make some tests using VirtualBox if necessary). Rather, what I meant to say was that I've tried to open the symlinks created on GNU/Linux on a Windows XP machine before, and it didn't worked. However, on Windows 7, it seemed to work just fine.

Edit: The colors are in hexadecimal format.

from sdlpop.

myself600 avatar myself600 commented on July 20, 2024
  1. […] progressing from top-to-bottom

Or maybe this should be done in random order? (like the stars in the DOS version)

from sdlpop.

jmfergeau avatar jmfergeau commented on July 20, 2024

While we're at it, i'd love to see a version using the enhanced sprites used on Mac OS classic back then (a style close to PoP 2)

from sdlpop.

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.