yellowbelly1970
Processing Plant
Scratching my head, trying to add Arkos Music to MPAGD
Posts: 20
|
Post by yellowbelly1970 on Jun 16, 2021 7:28:00 GMT
Sorry if this has been answered before, my game using mpagd is coming along nicely. i am using the platformer engine on my character. the problem i have is the screens link to each other lovely left and right but cant go up or down. eg sprite climbs a ladder up to a new screen above or drop down a hole to a screen below. screens are placed correctly on the map. Any ideas?
Sorry if this is in the wrong area maybe a Newby questions / help area?
Just tried it on speccy and same so assume its something i am missing due to lack of knowledge
OKAY if i change it to top down controls it goes up/down screens however if i copy the routine over to player script for platformer it still doesnt work. ugh
LET DIRECTION = UP
IF Y <= TOPEDGE
SCREENUP
LET Y = BOTTOMEDGE
EXIT
ELSE
IF CANGOUP
SPRITEUP
ANIMATE
ENDIF
ENDIF
|
|
yellowbelly1970
Processing Plant
Scratching my head, trying to add Arkos Music to MPAGD
Posts: 20
|
Post by yellowbelly1970 on Jun 17, 2021 7:43:50 GMT
OKAY i think i got a work around, useing my poor memories of basic (I am 51) I used this to go up a screen in the player script instead.
IF Y <= 9 SPRITEUP SCREENUP Y = 160 ENDIF
|
|