This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-12 12:07:31

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

panther camera blocks-new blocks for games

I'm making a game in Panther, and you move around (with a camera) and make the sprites interact like you. I am unsure how to do this, but I could really use some help. I think that these blocks would help.
http://i54.tinypic.com/x3za02.gif(one for colors and one for motion)
but I don't know how to code them. could somebody please help me????

Last edited by GP1 (2011-07-12 12:07:57)


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#2 2011-07-12 12:32:57

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: panther camera blocks-new blocks for games

I would make a http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=point+at+pixel+with+color+$Color$&type=stack&color=color
You would have to use the code from the http://theblocklibrary.site11.com/include/img/blocks/specparser.php?spec=color+pixel+at+x:$Number$y:$Number$&type=color&color=colorblock, then you would have it search the screen for that color. (using two variables to keep the x and y positions. Starting at top right corner.) Then once it hits the color, it will point at that position. I could make it maybe after my vacation.

Last edited by Pecola1 (2011-07-12 12:36:54)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#3 2011-07-12 17:48:58

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: panther camera blocks-new blocks for games

I attempted this before. I believe I uploaded them to the panther website. I think I got a person replicating your movements in the end.


You can now reach me on Twitter @johnnydean1_

Offline

 

#4 2011-07-12 21:26:47

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: panther camera blocks-new blocks for games

try the Kinect sensor program for scratch - Scratch & Kinect


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#5 2011-07-13 13:08:06

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: panther camera blocks-new blocks for games

I don't have the kinect (I don't really need one at the moment, I don't have an xbox 360, but I think that it would be worth it. )
@pecola1 I am trying that for a test project I'm doing. I have this one sprite sweep the screen and when it touches the color, it changes the background color. I'll suggest that to them for panther 1.1


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

Board footer