Hello,
Is there any scenario for point and click adventures? So I have just have to add background and other pictures without creating new commends?
I hope you know what i try to say and to ask for.
Thank you!
I'm not sure what you're looking for... could you maybe provide an example? If you're looking to make games in Greenfoot without coding then that's defeating the point of using Greenfoot. If you have trouble coding, there are tutorials around, and we oddballs who frequent the discussion boards are more than happy to help you if you get stuck!
It was meant like that:
The main commends are given like "click", this would mean that if i click the correct object it disappears. I know that even if such commends are defined, i would have to write still actions, but it would be much easier for me and it would save time.
It's not really taking ideas of somebody else. I would tell my own stories and use my own pictures, but the part of creating new commends. I could also just ask por example how i should write a commend that would affect this: if the cursor is on an object there appears information about the pointed object. I could do it like this too and if i have luck you would help me.
Maybe i am a bit too lazy for creating these commends, but i think i just wanna concentrate myself upon the story and pictures, because programming is not really my hobby, but telling story is.
I hope, now nearly everything is clear.
Thanks for the first replies :)
umm well im not sure that is a profression in programming but perhaps you could get someone to program the whole thing for you and you come up with the story behind it but i doubt it >.> so gl
wow thats kind of easy make up something like mario and make it almost guessable lol like just as he was about to save the princess the bad guy swooped in and took her to another castle which will appear in are next expansion
Thank you for the replies!
But I already have a problem...it s a simple problem, but i am a beginner with Greenfoot:
I want to say that if i click "this" object, it should be removed from the map, but Greenfoot sais :" ')' expected":
if (Greenfoot.mouseClicked(this))
{
removeObject(Actor this);
}
Thanks, and i am sorry for my stupid questions.
This:
removeObject(Actor this);
Should just be:
removeObject(this);
You don't need to specify the type of the parameter when you call a method, only when you define a new method.
The line 'removeObject(Actor this);' has two problems.
(1) removeObject(object) is a World method, so it should be 'getWorld().removeObject(object);'
(2) 'this' is already a sub-class of Actor; therefore 'getWorld().removeObject(this);' should work.
Thank you!
Next question...how do i write the following method?
If i click a button on the screen, the background (the world?) should change, so it looks like my point-and-click-adventure character "moved".
if (Greenfoot.mouseClicked(button))
{
...
}