Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Potrzebna pomoc!
- hunter_fortis
- New to Scratch
2 posts
Potrzebna pomoc!
Zrobiłam sobie tutaj taką tam gierkę, ale mam pewien problem i utknęłam. Okazuje się, że jeśli ścigający będą na koniec bardzo blisko siebie, to jest możliwe teoretyczne zwycięstwo obu graczy. Nie mam pojęcia jak to wyeliminować. Ktoś coś?
Link do gry: tutaj
Link do gry: tutaj
- asivi
- Scratcher
1000+ posts
Potrzebna pomoc!
Firstly broadcast the message then say whatever, put in divers when i receive (the message from the other) stot scripts in this sprite.
- dual_creator43
- Scratcher
1000+ posts
Potrzebna pomoc!
Jeśli używasz klonów, to jest łatwiejsze, jeśli użyjesz przypadkowego ruchu dla każdego i ukryj oryginalny sprite, jak poniżej:
when green flag clickedWciąż nie rozumiem dokładnie tego, o czym mówisz.
repeat (2)
create clone of [pursuer v]
end
stop [this script v]
when I start as a clone
repeat (Numer, który chcesz użyć) // Nie powinna to być zmienna
go to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))
end
I'm dual_creator43, and I hope I've done well with anything. (Projects, forum replies, etc.) My Scratch habits include:
- checking my inbox
- being active in the forums
- working on my projects (sometimes)
My most famous quote: “Nothing good ever comes from posting near the end of a page.”
This is probably the best post anyone has ever made for me.
Don't you hate it when your signature isn't big enough to show everything you put in it?
But I guess it doesn't matter since you're (probably) using Shift+↓.
- hunter_fortis
- New to Scratch
2 posts
Potrzebna pomoc!
Ogólnie rzecz biorąc chcę uniknąć takiej sytuacji jak na zdjęciach link: https://drive.google.com/open?id=0B19MdjTvfYocQk1zMmcyUjZEeVU
Last edited by hunter_fortis (June 12, 2017 17:38:52)
- Discussion Forums
- » Help with Scripts
- » Potrzebna pomoc!