Log In  

Cart #30625 | 2016-10-11 | Code ▽ | Embed ▽ | No License
2

I had known that there was a curious memory location in PICO that would give you interesting effects.

I now know why it didn't work for me. You must be inside a LOOP to see it. Once your program exits, however, the effect disappears.

Thanks to MineRobber9000 for providing the demo that showed it actually works.

Here is some information I found through experimentation about it:

POKE(24364,n)
0 .. normal
1 .. double-wide
2 .. double-tall
3 .. double-size
5 .. Normal Plot & Mirror Plot X
6 .. Normal Plot & Mirror Plot Y
7 .. Normal Plot & Mirror Plot X & Y (Good for Kaleidoscope)
NO OTHER NUMBERS DO ANYTHING (cannot combine effects)

This should make for some interesting future carts ! No need to use SSPR() just to have double-size sprites and text now. :D

P#30624 2016-10-11 00:27 ( Edited 2016-10-22 01:18)

:: dw817

I'm actually finding that someone discovered this before MindRobber. Well everyone needs to get credit for everything they do right ?? :D

Here is the initial post, provided by JeremyRedhead:

https://www.lexaloffle.com/bbs/?tid=2547

This is such a tiny little program though, I think it's fine where it's at.

Had MindRobber never made his post, I never would've found out about it. And even if he is not the original author, I STILL must THANK him for presenting it to me !

P#30724 2016-10-11 22:28 ( Edited 2016-10-12 02:28)

@dw817 haha, no problem.

I actually found out about it from https://neko250.github.io/pico8-api/ .

I was looking for something to do to make it quite obvious that it was corrupting, and I found out about 0x5f2c and that it changed how the screen looked. That's why, in "Woop Woop", it pokes a random value 0-7 into that location. I'm glad you found a better use for it.

P#31428 2016-10-21 21:14 ( Edited 2016-10-22 01:14)
:: dw817

I made use of that double-pixel size in two other programs now, MR9:

Primary can be found HERE:

https://www.lexaloffle.com/bbs/?tid=27942

It's convenient for name entry as the 3x5 font becomes 6x10 w no extra fancy coding needed.

Shame you can't mix and match with, oh, I don't know, SCALE=2

What am I doing now (albeit tomorrow) ? I promised to do some work HERE:

After that. I need to backtrack a little and upgrade all my old PICO projects to a new level, starting with Easy Notepad - give it a good sliding menu to affect pages.

https://www.lexaloffle.com/bbs/?tid=27743

P#31429 2016-10-21 21:18 ( Edited 2016-10-22 01:23)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-08-08 09:14 | 0.021s | 4194k | Q:29