Frank the Fruit Fly
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
I think I figured it out. The reason why Frank's movement was flaky was because I was using the a variable in the title screen code to make him move around, flap his wings, but I was also using it in the code to switch between the two screens to get the gray effect. So in the code to get the gray effect, I switched a with b, and it worked fine. I'm guessing I can't use b in the screens that need both the b and a variables (which would be most of them.) So I guess it'll be just the title screen that has the gray effect? Does this make sense?
I'm wondering though why PokeMini emulator chose the .bmp format for screen captures when the .png format has way smaller file sizes. 162kb vs. 3kb.
I guess the gray technique would work well for my abandoned Party 2 game, but not so much for Frank the Fruit Fly with tons of different screens to navigate through and complex code.
I'm wondering though why PokeMini emulator chose the .bmp format for screen captures when the .png format has way smaller file sizes. 162kb vs. 3kb.
I guess the gray technique would work well for my abandoned Party 2 game, but not so much for Frank the Fruit Fly with tons of different screens to navigate through and complex code.
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
I found another variable to use: l. Now something like this is possible:
- RazorLeafAttack
- PM.net Staff
- Posts: 145
- Joined: May 9th, 2017, 00:58
Re: Frank the Fruit Fly
glad you got the grey working. It looks very nice. Is the second method you show easier to code?
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
What I did was before I wrote to irq_prc_copy, have a list of the screens and then say what each one should go to. I tried it on my Pokemon Mini and it works, but not as well as in the emulator. So I'm going to try to make it work a lot better.
- RazorLeafAttack
- PM.net Staff
- Posts: 145
- Joined: May 9th, 2017, 00:58
Re: Frank the Fruit Fly
very nice. well keep it up! would you like me to update the screenshot on the homebrew page with one of the screenshots above?
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
I learned a lesson: Use the gray sparingly. Because if not, it will shimmer a bit on a real Pokemon Mini. The title screen though is fine for some reason. It will still work and still be gray, but it will display kind of weirdly (I don't know how to describe it. Put the rom on a real Pokemon Mini and try it out and you'll see what I mean if you look at the grass on the first screen.) What I am trying to describe does not happen on an emulator for some reason.
- Attachments
-
- ftff20190308.zip
- (15.38 KiB) Downloaded 978 times
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
I want the snowflakes to fall at a random x position each time. I have a bit of code that can do that, but it's in the wrong assembly type. Does anyone here know how to make this bit of code Pokemon Mini assembler-like?
Rand and Rand16 are variables to be put in RAM.
Code: Select all
Random:
lda Rand
lsr
ifconst Rand16
rol Rand16
endif
bcc noeor
eor #$B4
noeor
sta Rand
ifconst Rand16
eor Rand16
endif
rts
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
Yes, that would be nice.RazorLeafAttack wrote:very nice. well keep it up! would you like me to update the screenshot on the homebrew page with one of the screenshots above?
- RazorLeafAttack
- PM.net Staff
- Posts: 145
- Joined: May 9th, 2017, 00:58
Re: Frank the Fruit Fly
Cool. Which one did you want me to use? Flat ground with mountain, or curvy ground?VirtualChris wrote:Yes, that would be nice.RazorLeafAttack wrote:very nice. well keep it up! would you like me to update the screenshot on the homebrew page with one of the screenshots above?
You should also join the Discord server. There are some very smart people there that could probably answer your question in a few seconds. https://discord.gg/QZJaNZu
-
- Posts: 153
- Joined: February 21st, 2015, 22:53
- Location: United States
- Contact:
Re: Frank the Fruit Fly
The flat ground, please. That one is the title screen.