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

#1 2010-12-12 00:37:42

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Trouble with Lakitu

Hi!


Here is my general vision of the game:
I am making an upgrade game featuring mario and lakitu. You are mario and are battling through waves of Lakitu to save princess peach. My plan is to make mario stay in an enclosed space with a certain amount of Lakitu (depending on the wave) until he defeats them. Once all of the Lakitu are killed, a key will fall from the sky and Mario's signature victory chant will play when he grabs it. In the levels there will be question boxes that give powerups. After each level, there will be upgrades, but I have not figured out how i am going to do the currency (to spend on the upgrades). Riding the lakitu clouds will be much more difficult than usual, but besides temporary pwnage these might also give easter eggs.


I have only started just recently (a few days ago) and i haven't had much time to work on it.


Main Reason for posting this: I can't figure out a way to implement the throwable spinies. I am also having difficulty with the more complicated scripts such as wall jumping, moving while jumping, implementation of holding buttons, etc. Please help.



In Case you don't know what or who lakitu is check out these two links:
for info about him <http://themushroomkingdom.net/mariopedia/name/Lakitu>
and to play a game with him in it <http://www.vizzed.com/vizzedboard/retro/game.php?id=684&system=nes&name=Super-Mario-Bros-3>

Offline

 

#2 2010-12-12 08:37:01

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

... sigh, nobody?

Offline

 

#3 2010-12-12 09:45:33

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: Trouble with Lakitu

For your wall jumping and control problems, you are free to use this engine or take bits of it if you like.


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

#4 2010-12-12 10:44:36

Thenuclearduck
Scratcher
Registered: 2010-10-17
Posts: 100+

Re: Trouble with Lakitu

Hi goldram6. That sounds like a very complicated game, and I can help. With your jumping and moving scripts, you could use something similar to in my game, Mario Bros DS. It goes a bit like this.
[block]<when green flag clicked>[/block]
[block]<forever>[/block]
[block]<change y by( gravity )[/block]
[block]<if>[/block]
[block]<touching[ ground ][/block]
[block]<set{ Gravity }to( 0 )[/block]
[block]<else>[/block]
[block]<change{ Gravity }by( -0.5 )[/block]
[block]<end>[/block]
[block]<end>[/block]


http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=text&amp;num=1 is my newest project! It has http://blocks.scratchr.org/API.php?user=Thenuclearduck&amp;action=projects&amp;type=newest&amp;return=views&amp;num=1 views!

Offline

 

#5 2010-12-12 11:19:59

ESN
New Scratcher
Registered: 2010-12-03
Posts: 100+

Re: Trouble with Lakitu

Here is a good engine for moving though the air too.


http://is.gd/jZ5chhttp://is.gd/jZhXDhttp://is.gd/jZhU7

Offline

 

#6 2010-12-12 12:04:13

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

Thanks!!
But I still need help with the spinies.
Also the wall jumping doesn't have the mario game "feel". its controled differently, and you stick to the walls

Offline

 

#7 2010-12-13 12:29:52

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

Also, Please elaborate on moving while jumping.
But my biggest issue is still the spinies.

Spinies Details: Lakitu is supposed to throw the spinies at mario every 3.25 seconds. Upon hitting the ground, they grow legs and follow around mario on foot. They do not jump.

Offline

 

#8 2010-12-14 10:01:27

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

Is it really that complex that nobody knows how?

Offline

 

#9 2010-12-14 15:26:45

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

sigh....

Offline

 

#10 2010-12-15 12:43:04

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

Can anybody help me?!!!

Offline

 

#11 2010-12-15 19:09:15

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

I give up!

Offline

 

#12 2010-12-15 21:42:23

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Trouble with Lakitu

Is the ground a part of the stage or its own sprite? If the ground is its own sprite, you could use <if><touching[ whatever sprite the ground is ] <switch to costume[ spiny with legs ]. For the following Mario around, you could use <point towards( Mario ) and have it move at whatever pace you want then.


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#13 2010-12-19 18:54:18

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

but then it would follow mario while he is jumping, too

Offline

 

#14 2010-12-19 19:29:51

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Trouble with Lakitu

goldram6 wrote:

but then it would follow mario while he is jumping, too

Is the spiny just not supposed to jump, or is it supposed to completely stop when Mario jumps?


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#15 2010-12-20 09:48:35

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

no, what i had in mind for the spiny was something along the lines of chasing after the x-position of mario, se no he does not jump

Offline

 

#16 2010-12-20 11:29:16

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Trouble with Lakitu

goldram6 wrote:

no, what i had in mind for the spiny was something along the lines of chasing after the x-position of mario, se no he does not jump

Well, then using <point towards( Mario) and having it move at whatever pace you want shouldn't make it jump. Try it out maybe, and if it jumps, let me know.


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#17 2010-12-20 11:50:54

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

All right i got it to work, sorta. I'll upload it and link to it here.
There are plenty of glitches. tell me what u think. I also still need more info on wall jumping!!!.

Offline

 

#18 2010-12-20 11:58:27

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

Here is the link:
http://scratch.mit.edu/projects/goldram6/1491782

Please provide constructive criticism where necessary.
I am having a lot of trouble with adding mario-style wall jumping, moving platforms, and power-up appearance (randomly falling)

Offline

 

#19 2010-12-20 13:38:35

gettysburg11
Scratcher
Registered: 2008-06-14
Posts: 1000+

Re: Trouble with Lakitu

One of the spinies doesn't move after it hits the ground, but other than that it's very smooth, even online. Keep up the good work!  smile


http://i256.photobucket.com/albums/hh184/mnacmilan/LOGO_ACMILAN-Splash.gif

Offline

 

#20 2010-12-21 09:45:05

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

SO, anybody know something about moving platforms or wall jumping?

Offline

 

#21 2010-12-21 09:51:11

goldram6
Scratcher
Registered: 2010-12-11
Posts: 16

Re: Trouble with Lakitu

new version: http://scratch.mit.edu/projects/goldram6/1493560
better graphics (my friend revamped it)
it is also running a bit more smoothly

Offline

 

Board footer