Discuss Scratch

RamenAppleJuice
Scratcher
3 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

I've been stuck trying to figure out how to add moving enemies that can also scroll using griffpatch's rpg tutorial. Really need help on it!
broskinumber3
Scratcher
41 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

RamenAppleJuice wrote:

I've been stuck trying to figure out how to add moving enemies that can also scroll using griffpatch's rpg tutorial. Really need help on it!

i havent been keeping up with griffpatch's RPG series, but i think i know what youre talking about.

im assuming a few things exist, like scroll x and scroll y

to make an enemy, first make a new sprite
make 2 variables, both “for this sprite only” called x and y respectively
x and y act as the sprite's x and y position, because scratch's x and y positions cannot go past the fencing scratch has already set up.

make a new custom block
define Position
go to x: ((x) - (scroll x)) y: ((y) - (scroll y))

now there is ALOT more that could be added here, but if you really want more, just watch griffpatch's top down scroller series
link: https://www.youtube.com/watch?v=GXsjYupfDYk
RamenAppleJuice
Scratcher
3 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

I did make some progress, but the code just doesn't fit together at all, i dont think using two different tutorials would work out
RamenAppleJuice
Scratcher
3 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

jeez, i might as well start over from the beginning and rework all of the rpg code i did then
Rafin_Mia
Scratcher
7 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

yo! I think I can help! If you go to my projects I have a project called ‘RPG BASE FINISHED’ and i have all the scripts ready to use so you can remix that!
Minecraft_Dinos001
Scratcher
36 posts

I need help on scrolling enemies using griffpatch's rpg tutorial

Rafin_Mia wrote:

yo! I think I can help! If you go to my projects I have a project called ‘RPG BASE FINISHED’ and i have all the scripts ready to use so you can remix that!
Yes!
cosmosaura
Scratch Team
1000+ posts

I need help on scrolling enemies using griffpatch's rpg tutorial

Topic closed due to necroposting.

Powered by DjangoBB