Arcade Game Designer for MSX

Página 14/15
7 | 8 | 9 | 10 | 11 | 12 | 13 | | 15

Por jltursan

Prophet (2541)

Imagen del jltursan

12-12-2020, 11:32

zPasi wrote:
jltursan wrote:
  • The game freezes randomly when sprite flicker is happening.

I think this fixes that bug:

.fullsat:
		sub colltab&$FF
		jr z,.zerolen
		ld c,a
		ld hl,colltab
		ldir				; copy 2nd half
.zerolen
		ld a,$D0			; no more sprite from here

Indeed the freezing bug was "colltab" related, thanks for pointing this out Smile. This table meant to be an aligned one and I missed it; so, the freezing did happen when there're flickering sprites and the random table position makes it cross a 256 byte boundary. Now the table it's always aligned Running Naked in a Field of Flowers

The MSX2 version badly needs full mode 2 sprites. I need to implement an OR3 mechanism to solve this; but of course, it'll support them Smile

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

03-03-2021, 22:16

I've been interested in making some older computer games for awhile and I've always loved the MSX. I've been fiddling with MPAGD for the past few days and it is really nice to use, especially for someone who isn't great at programming such as myself. For some reason though I haven't been able to get music working using the basic commands as listed on Github. Using a shell of a game and the demo PT3 included in the Cold Snap zip I've been able to use the DEFINEMUSIC command fine (I think) in the Game initialization screen, but any time I put MUSIC <1> <1> into the main loop I get an error when compiling the AGD source (usually a not a number/variable and missing argument). I don't get these errors when I remove just the music line. What am I doing wrong? (Also sorry if this is the wrong place to post this).

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

03-03-2021, 22:22

Woops double post, didn't think my first message went through.

Por UltraNarwhal

Rookie (21)

Imagen del UltraNarwhal

03-03-2021, 23:38

McCheeseBob wrote:

For some reason though I haven't been able to get music working using the basic commands as listed on Github. Using a shell of a game and the demo PT3 included in the Cold Snap zip I've been able to use the DEFINEMUSIC command fine (I think) in the Game initialization screen, but any time I put MUSIC <1> <1> into the main loop I get an error when compiling the AGD source (usually a not a number/variable and missing argument).

1. Make sure the pt3 file is in the MSX Suite\Resources folder. 2.Put MUSIC 1 1 in GAMEINIT event.

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

04-03-2021, 01:04

Thanks! Silly me just forgot to remove the brackets.

Por jltursan

Prophet (2541)

Imagen del jltursan

04-03-2021, 09:34

And to stop any time remember to use:

MUSIC 0

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

25-05-2021, 06:29

Thanks for all your work as always jltursan. Do you have a rough eta for when the MSX2 engine might be usable? Thanks.

Por jltursan

Prophet (2541)

Imagen del jltursan

26-05-2021, 13:05

Not yet, I'm still finishing a new release of the MSX1 engine. The MSX2 version won't come any time soon definitely...Sad

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

27-05-2021, 06:29

Alright, sounds good. Thanks for this!

Por McCheeseBob

Supporter (9)

Imagen del McCheeseBob

10-06-2021, 04:16

Not sure if anyone else has had a similar problem but I've had issues any time I've tried to update my build version (yes I know it's a few months late to ask about something that came out in February). Usually I'll just drag and drop all of the new files from the github into my existing 0.7.10 directory and try to build either a preexisting project or a brand new one but I always get the same compiler error. It always says that the system can't find the batch label specified - getopt . Is this something that was changed/added/removed with the February update? Is there some extra step/dependency I missed? I've tried this on multiple computers and fresh installs over the past month or so but give up every time, though I'd like to be able to use the newer build now that I have MSX hardware to test things on. Thanks as always.

Página 14/15
7 | 8 | 9 | 10 | 11 | 12 | 13 | | 15