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

#1 2010-04-17 10:23:31

EtherealSkys
Scratcher
Registered: 2010-04-14
Posts: 4

One last question... (I hate scratch.) D:<

How do you make objects SOLID? Like UN-PASSABLE through? In every single other game making program I've used it is just a matter of clicking the box that says 'make solid.' And your sprites cannot pass through it, and come to a standstill when in contact with it. Scratch on the other hand, has nothing like this, and after a couple of hours experimenting on my part, I can write "if not touching sprite blah blah" change x by blah" but once it hits the sprite, ofc, it gets stuck, as it won't move, cause I've told it not to if it's touching this particular sprite. ARGH!

Offline

 

#2 2010-04-17 11:43:06

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: One last question... (I hate scratch.) D:<

Click the little < > button to make it so your sprite can face in only 2 directions (for 2D, for 3D, keep it normal). Then make a dot on the side of your character the color of the background. Then do "if not color [background color] is touching [wall color]". If you go the other way, you won't get stuck!

Last edited by SeptimusHeap (2010-04-17 11:43:23)


http://i46.tinypic.com/dw7zft.png

Offline

 

#3 2010-04-17 11:56:30

illusionist
Retired Community Moderator
Registered: 2008-07-02
Posts: 1000+

Re: One last question... (I hate scratch.) D:<

You hate Scratch because you don't know how to use it?  roll

look here: http://scratch.mit.edu/projects/archmage/101212


http://i.imgur.com/8LX1NrV.png

Offline

 

#4 2010-04-17 12:23:07

EtherealSkys
Scratcher
Registered: 2010-04-14
Posts: 4

Re: One last question... (I hate scratch.) D:<

illusionist, you got me. =>.<=

Just stressed cause I have to have a perfectly completed game completed and evaluated by Monday. Blarg. Don't mean to sound like a horrible person, trollin' the forums. ^^

Offline

 

#5 2010-04-18 07:29:54

fnick
Scratcher
Registered: 2009-11-25
Posts: 4

Re: One last question... (I hate scratch.) D:<

This isn'y template junk. I'ts real programming. Yes it's in basic, but I don't want to program in a template! You think real game designers click a box that says "solid!"
NO! in normal basic (the simplest language there is) it takes this much to make a sprite say hello!

open #win for graphics as mainwin
loadbmp "smiley.bmp" as sprite1
loadbmp "text.bmp" as sprite2

print #win.graph, "cyclesprite sprite1 sprite 2"
print #win.graph, "movesprite sprite 1 50 50"
print #win.graph, "movesprite sprite 2 50 54"
print bmp sprite1
printbmp sprite 2
for timer= 1 to 50
next timer
wend
close #win

Scratch is as simple as it gets!

Offline

 

#6 2010-04-20 20:41:33

lonwol
Scratcher
Registered: 2008-11-10
Posts: 1000+

Re: One last question... (I hate scratch.) D:<

fnick wrote:

This isn'y template junk. I'ts real programming. Yes it's in basic, but I don't want to program in a template! You think real game designers click a box that says "solid!"
NO! in normal basic (the simplest language there is) it takes this much to make a sprite say hello!

open #win for graphics as mainwin
loadbmp "smiley.bmp" as sprite1
loadbmp "text.bmp" as sprite2

print #win.graph, "cyclesprite sprite1 sprite 2"
print #win.graph, "movesprite sprite 1 50 50"
print #win.graph, "movesprite sprite 2 50 54"
print bmp sprite1
printbmp sprite 2
for timer= 1 to 50
next timer
wend
close #win

Scratch is as simple as it gets!

Yep. Dont cry if scratch is too simple for you.


I host servers for money ya?

Offline

 

#7 2010-04-20 21:27:37

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: One last question... (I hate scratch.) D:<

One simple approach (no sensor sprites used) that might work for you

Non-rotating sprite
http://scratch.mit.edu/projects/Paddle2SeeFixIt/188825

Rotating sprite
http://scratch.mit.edu/projects/Paddle2SeeFixIt/188807


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer