This site requires JavaScript, please enable it in your browser!
Greenfoot back
MissionAccomplish
MissionAccomplish wrote ...

2016/10/10

how to get flames on my rocket

MissionAccomplish MissionAccomplish

2016/10/10

#
i want to get flames on my rocket if it touches the edge of the world (currently it just disappears and game over text comes)
public void act()
{
        helpMeGetFlames!.Greenfoot;
}
danpost danpost

2016/10/10

#
MissionAccomplish wrote...
i want to get flames on my rocket if it touches the edge of the world (currently it just disappears and game over text comes)
public void act()
{
        helpMeGetFlames!.Greenfoot;
}
This should not even compile. The character '!' is not allowed in a variable name. Also, there is no way it could disappear and show game over text with this code. Either show valid code or discontinue asking for help here. We will help fix detailed issues here when attempted code and a detailed explanation of your issue is supplied; but, we generally do not do your work and supply the code for you here.
MissionAccomplish MissionAccomplish

2016/10/11

#
danpost wrote...
This should not even compile. The character '!' is not allowed in a variable name. Also, there is no way it could disappear and show game over text with this code. Either show valid code or discontinue asking for help here. We will help fix detailed issues here when attempted code and a detailed explanation of your issue is supplied; but, we generally do not do your work and supply the code for you here
nooo it was a style to share my issue with u all , i have not put any code till now so pl help me do it
MissionAccomplish MissionAccomplish

2016/10/11

#
can you make me a code ,THAT would be a great help
AuroraGamer AuroraGamer

2016/10/11

#
Okay, first of all, I agree with what danpost said, don't expect to be able to just post this and have someone do everything for you. But to answer your question, first do you want to just change to a still image of a rocket in flames? Or do you want it animated? If you just want a still image, since you already have it disapear at the edge, I'll assume you can use isAtEdge, then just use setImage("fileNameHere.ext") to change it to an image of the rocket with flames.
NAMYA1403 NAMYA1403

2016/10/12

#
auora gamer he was just asking for help and u were getting to rude with him Mission Accomplish post all ur codes in the game and show what all have u done
MissionAccomplish MissionAccomplish

2016/10/12

#
no thnx Namya1403 i dont want my account to get banned once again due to this idiot danpost so lets just ignore them
AuroraGamer AuroraGamer

2016/10/12

#
Namya1403, I wasn't being rude, I was being clear, you can't just expect someone to do everything for you, especially if you post fake code that makes it look like you've done nothing. I'm sorry if I came across as rude, but I also did provide possible answers on an unclear question.
MissionAccomplish MissionAccomplish

2016/10/12

#
no problem gamer , srry danpost for dicribing you as an "idiot" well i tried to discover its code on youtube and wikihow.com but their codes weren't what i wanted so had no idea how to find this code so i posted this
MissionAccomplish MissionAccomplish

2016/10/12

#
i take my question back , no need to help me
You need to login to post a reply.