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
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)
Offline
You hate Scratch because you don't know how to use it?
look here: http://scratch.mit.edu/projects/archmage/101212
Offline
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
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
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.
Offline
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
Offline