Search results

  1. Mu0n

    68k ScrnBase and its alternate screen address

    It's not a game engine yet, but it could be. No, I was working (for now) on a sing-along type app for The Last Unicorn's theme song. It follows the song at the syllable level. The graphics are changed with screen flip so as to never show any weakness in the graphic speed department. I'll made...
  2. Mu0n

    [High Score Challenge 02] new batch: Mouse Stampede 2.0, Crystal Quest 2.2, Crab Attack II

    You can hold the mouse button in Mouse Stampede and it'll fire continuously.
  3. Mu0n

    [High Score Challenge 02] new batch: Mouse Stampede 2.0, Crystal Quest 2.2, Crab Attack II

    SCOREBOARD (submit screens or photos between January 21st 2023 00:00 PST to February 21st 2023 23:59 PST MOUSE STAMPEDE 2.0 SCORE - NAME - DATE CRYSTAL QUEST 2.2 SCORE - NAME - DATE CRAB ATTACK II SCORE - NAME DATE 291,863 - Mu0n - Feb 21st 2023 1,336,025 - Mu0n - Feb 13th 2023 2,560 - Mu0n...
  4. Mu0n

    [High Score Challenge 01] Get the highest score for 1-3 of these games

    Go for it! Then tell me WTF is going on in room 51, it's the Great Reaper. I think I remember it from back in the day too.
  5. Mu0n

    [High Score Challenge 01] Get the highest score for 1-3 of these games

    in the OP, I state it as 23:59PM EST Jan 20th to avoid confusion on which midnight to use
  6. Mu0n

    [High Score Challenge 01] Get the highest score for 1-3 of these games

    Last entry for Glider, 193,382 so let's see yours you probably had in reserve, @3lectr1c !
  7. Mu0n

    68k ScrnBase and its alternate screen address

    Cascading crashes is the name of my indie prog rock band
  8. Mu0n

    68k ScrnBase and its alternate screen address

    Indeed, I knew that but for some bone-headed reason, the emulator spoiled me into concentrating on other problems first. I think I have to go there for good measure, so thanks for once again putting me on the right track. What you propose, main loop only? pass 1: TickCount polled, no events to...
  9. Mu0n

    68k ScrnBase and its alternate screen address

    Target platform: real Mac Plus Secondary target platform for quick bug squashing: mini-vMac My project has been real challenging. I've stumbled upon every possible bug, like always, despite avoiding a ton more. But I feel like mastering this brings me significantly closer to my fluid game...
  10. Mu0n

    68k ScrnBase and its alternate screen address

    Another bug found: mini-vMac doesn't care if you check if an unassigned PicHandle is nil or not, but the real Mac will give you a address bus error ID=02.
  11. Mu0n

    68k ScrnBase and its alternate screen address

    SHAMEFUL DISCOVERY empty out obscure bitmap-like areas before usage, kids. It worked after I filled the space with white. I would like to thank @YMK and @Crutch for their help and patience.
  12. Mu0n

    68k ScrnBase and its alternate screen address

    Meanwhile, no problem manually splattering a character all over the alternate screen like so: with this chunk of code replacing DrawPicture(img2,&r); char *paint; //.... //Draw on alternate screen here qd.thePort->portBits.baseAddr = altScreen; //DrawPicture(pic2,&r)...
  13. Mu0n

    68k ScrnBase and its alternate screen address

    Hitting a bit of a snag when I'm trying to show the alternate screen's content, it shows up as a really dark screen: Here's my code of a small program simply aimed at testing the technique - I had to look up how to use branch statement with labels with asm blocks in THINK C: #include...
  14. Mu0n

    68k ScrnBase and its alternate screen address

    I don't know what this is and I guess I didn't need it since my stuff works! To appreciate how screen flipping can truly help me, I'd need to know common quickdraw function timings. I need help understanding how scenario B helps things: Scenario A: Draw as fast as you can on the main screen...
  15. Mu0n

    68k ScrnBase and its alternate screen address

    Ok, lemme get this straight. let's assume X is the number of cycles needed to complete a frame of high speed video game graphics. let's assume V is the number of cycles between vertical blanks of the screen retrace (V being as long as 1 tick, 1/60 th) let's assume X is such that X < V Show the...
  16. Mu0n

    68k ScrnBase and its alternate screen address

    This quick code seems to work under mini-vMac, and I assume (!!) on a real Mac Plus as well. I just used the swap_screens() function of the book on p.301 https://vintageapple.org/macprogramming/pdf/Programming_C_On_The_Macintosh_1986.pdf Still got to find the best way to draw something onto...
  17. Mu0n

    68k ScrnBase and its alternate screen address

    Let's get it over with: paging @Crutch since I know he has tips inside his mind at the ready, with no need to consult any reference, like always. Goal: I want to prepare an alternate screen buffer graphic a few seconds in advance so I can instantly 'screen flip' at a precise time when needed...
  18. Mu0n

    [High Score Challenge 01] Get the highest score for 1-3 of these games

    I reached part 2, room 46 and got 162,620, taking the lead for Glider 4.0!
  19. Mu0n

    Dedicated tinkering space (soldering and other)

    The full 3.8 m (12.5 ft) length of my corner as of Jan 2023 Last pic: finally have a free phone app on Android to take good CRT pictures with 1/70 s aperture thanks to a video from DosFox.