Pages: 1
Topic closed
If I want 2 enemies on the first level then >2enemies on the second level how do I do that.Also I want a restart level button not restart game button and can someone see if there is any bugs on my demo version of the game.
The game's name is Jack's amazing adventure.
Offline
it could maybe have a better gravity engine, and some xvelocity to. check out my interactive scratch platform maker for examples of that
Offline
make as many enemies as will be in total in the game. make them all hide at the beginning and have 2 show in the 1st level. set others to show after the 1st level is complete.
Offline
also can anyone show me a wall script.
Offline
NightSky3574 wrote:
also can anyone show me a wall script.
Walls don’t have scripts except to stay where they are. The player has to do something about hitting the wall. When you hit a wall, what does it do? Does it execute some sort of magic power that makes you stumble backwards or feel pain? No. You stumble backwards and YOU feel pain.
And, I don’t mean to be offensive, but since you’re new, try not to get ahead of yourself when making an advanced project.
Offline
on a few levels I want boxes that change gravity like instead of going down going left.
Offline
henley wrote:
NightSky3574 wrote:
also can anyone show me a wall script.
Walls don’t have scripts except to stay where they are. The player has to do something about hitting the wall. When you hit a wall, what does it do? Does it execute some sort of magic power that makes you stumble backwards or feel pain? No. You stumble backwards and YOU feel pain.
And, I don’t mean to be offensive, but since you’re new, try not to get ahead of yourself when making an advanced project.
I'm pretty sure he was referring to scripts relating to walls, not necessarily to actually make the walls do something. That kind of script can be simple or complex, but the simplest one would be something like this:
When green flag clicked Forever If <key left arrow pressed> change x by -5 If <touching color wall_color> change x by 5 If <key right arrow pressed> change x by 5 If <touching color wall_color> change x by -5 If <key up arrow pressed> change y by 5 If <touching color wall_color> change y by -5 If <key down arrow pressed> change y by -5 If <touching color wall_color> change y by 5
NightSky3574 wrote:
on a few levels I want boxes that change gravity like instead of going down going left.
You might do that by making a variable that tells what direction gravity is going and having it change the direction it's falling based on that variable. I can post a script if you want, but it will depend on how you've implemented gravity already.
Offline
Topic closed
Pages: 1