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

#101 2013-03-01 03:31:37

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

i ahve a few questions i need answered is that ok if you can answer them for me

Offline

 

#102 2013-03-01 03:35:38

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

1.    Hide objects when green flag clicked script on title screen. (All complete except for the screen which is under the start button if the start button is moved you will see it).
2.    Antonio – make y only when he touches platform
3.    Change platform costumes
4.    Fix up height of platforms
5.    Copy and paste new platforms from scratch folder. (green ones)
6.    Enemies gravity
7.    Change appearance x position
8.    Make fruit platter transition to next level (using broadcast)   
9.    Debug all code that is unnecessary
10.    Keep debugging code until all works

Offline

 

#103 2013-03-01 16:17:17

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Okay, here's some answers:

Q#1: Put this in the sprites you want to hide:

when gf clicked
hide
Q#2&6: Okay, like i said before, to make gravity and to have platforms stop that gravity, do this:
when gf clicked
forever
change y by (-10)
end
And:
when gf clicked
forever
if <touching color? [#000000]>
change y by (10)
end
end
You will want to put the previous script in a sensor sprite(Just a black line).
To make the sensor sprite go to Antonio, put:
when gf clicked
forever
go to x: <[x position v] of [Antonio v]> y:< <[y position v] of [Antonio v]> - (50) >
end

The "50" is just a guess, you will need to experiment with it to get it just right under antonio.

The same applies to the enemies, except of course that they need to have their sensors go to them and not antonio.


Hope that helps,

CAA14

P.S. Q# 10 and 9 is something you need to do, as this is your project. I would suggest posting your problems in "Help  with Scripts", as this is what this thread really is. I really can't "Collab" with you on this as i have plenty of other projects that i am making/going to make. I and others can help you better if you're specific and post this in "Help with scripts".  smile

Last edited by CAA14 (2013-03-01 16:21:59)

Offline

 

#104 2013-03-01 18:10:56

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

how dpo i make a sensor sprite

Offline

 

#105 2013-03-01 18:31:59

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

when i added in a when flag clicked hide the coin still didn't disappear on the title screen

Offline

 

#106 2013-03-01 18:37:51

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

antonio doesn't move and the crabs don't show up when the game has been started.

Offline

 

#107 2013-03-01 18:54:34

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: platform game 2

I think you're relying way too much on CAA14.

You should be able to solve most of the problems yourself. If you have a hide block on your coin but its not hiding, you obviously have another block making it show, or another coin, or something else you could EASILY find if you'd examine your scripts.

Basic platformers shouldn't require the work of multiple people; one should be enough. If you're going to add crazy physics in, maybe, but a basic platformer only needs one person, you. You can ask for help when you need it, but right now it seems like you're not even trying.

Offline

 

#108 2013-03-01 18:58:15

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Well, are there conflicting scripts?

You have got to try and figure out at least some stuff out on your own, you're asking me to help you with things i have either already answered or that i know you can easily figure out.

I CANNOT do all this for you. When you ask for help, ask for one thing at a time.  smile

And did you even see what i said in the last post of mine? I said that when you need help with scripts, you need to post it there, and with one question.

I will try to find out the problem with the title screen Sunday as i will not be available tomorrow and maybe not Sunday either.

Just try, you may surprise yourself.  wink

Regards,

CAA14

Offline

 

#109 2013-03-01 19:04:58

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

kayybee wrote:

I think you're relying way too much on CAA14.

You should be able to solve most of the problems yourself. If you have a hide block on your coin but its not hiding, you obviously have another block making it show, or another coin, or something else you could EASILY find if you'd examine your scripts.

Basic platformers shouldn't require the work of multiple people; one should be enough. If you're going to add crazy physics in, maybe, but a basic platformer only needs one person, you. You can ask for help when you need it, but right now it seems like you're not even trying.

That's my point as well, GDrama97.
I am glad you see this to Kayybee... I was wondering "I am i just to lazy or is GDrama not trying?"

GDrama97: Like i said before, just at least try to fix these things yourself. If you want, i can give you a link to some great scratch tutorials.

The reason i am frustrated is that i have answered your questions plenty of times, and you still do not seem to pay attention to them and/or don't seem to use common sense when using them. i am not trying to be rude, but you really need to either take basic tutorials or listen to the help i give you and figure out the problems that are easy... And if you can't, then ask and then APPLY what the person who helps you says WITH common sense. If i tell you to put a hide block to hide a coin, but the coin still shows, then either your scratch version is broken, or there's a show block somewhere.

It may be that scratch is slightly off. When this happens, then just save your project and upload it to see if the problem lies in your scripts or in scratch.

Regards,


CAA14

Offline

 

#110 2013-03-01 20:37:14

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

I am not trying to get people to do this for me i am just asking for some help as i have looked everywhere but can't seem to find the answers to my questions. i am trying to use your answers to my questions but i am trying to add them effectively in to the game so it fits nicely rather than taking out everything as my main character Antonio isn't working now.

Offline

 

#111 2013-03-01 22:56:51

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

im not sure ewhat i have done worng which isn't allowing my character ot move and go to next level

Offline

 

#112 2013-03-02 00:08:44

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

has anyone got any ideaas on what i should do fo0r my next few levels im wanting to make 10 levels but the last one is going to be a boss level

Offline

 

#113 2013-03-02 01:53:41

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

has anyone got any ideaas on what i should do for my next few levels im wanting to make 10 levels but the last one is going to be a boss level

Offline

 

#114 2013-03-02 03:03:11

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

i need some help with a few ideas fo my next few levels if anyone has got any could you please let me know

Offline

 

#115 2013-03-02 06:08:14

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

anyone know what i can do to fix my character so he moves and what i can do to make my game more interesting

Offline

 

#116 2013-03-03 14:01:29

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

About making your game interesting, you just need to fix it and it will be really neat.  smile

Also, i think ErnieParke was able to fix your moving issue.

Is that all you need? I can help you fix your bullets if you want.

Regards,

CAA14

Offline

 

#117 2013-03-03 16:30:14

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

if you could that would be great. are you help me to help me complete my game we can do this as a joint project if you have time.

Offline

 

#118 2013-03-03 16:59:57

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Well, we could, but i already had to leave a collab because i didn't have enough time, so unfortunetly i can't.  sad

I can help you with little issues that might come up, but i can't collab... Sorry.

You said that you were going to try and fix the bullets first... Is that still true?

Regards,

CAA14

Offline

 

#119 2013-03-03 17:44:10

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

yeah i will if u tell me what the problem is with the bullets

Offline

 

#120 2013-03-03 18:03:59

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Okay, the problem is that they seem to always shoot to the right.

If you get stumped, i already have an idea to fix it.

Regards,

CAA14

Offline

 

#121 2013-03-04 16:11:15

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

what is your idea to fix this problem so i can see if i did it right or not

Offline

 

#122 2013-03-04 16:24:15

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Okay, what i would do is i would make it so that when the button is pushed that you want to be the fire button, that the bullet points towards the direction of Antonio, and then moves 10 steps until touching the edge, which it then disappears.

Her's how it should look about:


when [space v] key pressed
broadcast [shoot v] and wait
hide

when i receive [shoot v]
go to x: <[x position v] of [Antonio v]> y: <[y position v] of [Antonio v]>
show
point in direction < [direction v] of [Antonio v] >
repeat until <touching? [edge v]>
move (10) steps

The 10 steps is something you can change to taste.
Also, i think that

broadcast [shoot v] and wait
Will make it so that the bullet doesn't try to start over if the space bar is clicked before it's done, but i may be wrong on that one.

Also, you don't have to solve it like i would to make it right, just try your best.  smile

Regards,


CAA14

Last edited by CAA14 (2013-03-04 16:25:26)

Offline

 

#123 2013-03-05 05:20:05

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

i would like to do do things to my game

1. make Mario reset when falling off platform (broadcast level#)
2. create level 3

if you could help me with those questions that would most greatly appreciated

Offline

 

#124 2013-03-05 08:39:45

CAA14
Scratcher
Registered: 2013-01-14
Posts: 1000+

Re: platform game 2

Did you get the bullets working? Also, if you use my method of using a variable to determine the level, than resetting him shouldn't be a problem. Basically, you either need another sensor sprite that's completely ghosted, and then put it all along the bottom and then tell it to broadcast retry if touching Antonio. Or, if Antonio never can actually touch the top or the sides of the screen, then you could just broadcast retry if he's touching an edge... But the last method is prone to Bugs.

Either way, you need Antonio to reset his position once he receives retry, and also minus one from a life variable.

As far as creating level 3, just use your imagination for the design, and give each platform a new position when "level" = 3.

Hope that helps,

CAA14

Offline

 

#125 2013-03-05 15:25:53

GDrama97
New Scratcher
Registered: 2013-02-02
Posts: 100+

Re: platform game 2

what is a good idea for level 3

Offline

 

Board footer