I Like Toast (Demo Available!)

yoshirider4

  • Posts: 85
Thank you, I appreciate it.

Right now I'm having a little issue with the ammo pack. I have the gun firing behavior on as well, but I don't know how to get rid of the unlimited ammo. If anyone could help me, that'd be awesome.

« Last Edit: July 21, 2011, 04:25:53 pm by yoshirider4 »

yoshirider4

  • Posts: 85
Double posting because I have another problem. I can't change any of the animations now for some reason, and I don't know where to put the code for the gun shooting animation. If someone could help, I'd appreciate it. Thanks

Sunflower

  • Posts: 591
Well, about unlimited ammo: do you have ammo variable? If you do, then do something like that:

Code: [Select]
//when this shoots; it can be actually done in "when this hears [shoot]" block
set actor value [ammo] to [[get actor value [ammo] as number] - 1]
It's not actual code, but it shows the blocks you should use. Set/get actor value are to be found in Actor >> Properties, and difference in Numbers & Text >> Arithmetics.

yoshirider4

  • Posts: 85
Oh I forgot I posted that... Yes, I was able to fix it, thank you though!

Edit: For some reason, nothing in my first scene can change, only the second. The physics are the same, but scene two is clearly faster and plays my new animations. Could anyone please explain why this is like that?

« Last Edit: July 24, 2011, 11:42:56 am by yoshirider4 »

KAProductions

  • Posts: 58
I can't explain any problems, but I have another Idea for you to consider (I haven't downloaded the game yet so I can't help anyone).

What if you could put more than toast in the toaster? So like different types of ammo?

Like putting a bagel in the toaster: Very heavy and powerful, but only one shot.

Or a waffle: Fast but doesn't do much damage.

I know that the game is called "I like Toast" but why not? :D
Hi I'm KingArthurProductions. Nice to meet you.

yoshirider4

  • Posts: 85
Interesting concept, but I'm going to limit it to toast for a few reasons, mainly because I want to keep the game fairly simple and because I'm pretty bad at coding...

Anyway I fixed all of my problems, but I can't get this charged shot to work. Can anyone help?


KungFuFurby

  • *
  • Posts: 487
The code seems plausible... just that it looks like you need to code something that confirms your shot is all charged up.
Hi, all! I'm KungFuFurby, music composer. If you're looking for some music for your game, just PM me.
My Works List for Non-Stencyl Games
My Works List for Stencyl Games

yoshirider4

  • Posts: 85
I figured the yellow tint would have been the indication, but unfortunately, it doesn't go away...

In other news, I have no idea what this is!


« Last Edit: July 24, 2011, 09:37:55 pm by yoshirider4 »

xmagicx60

  • Posts: 213
Ah! I got that error when I killed an object and then tried to reference it later on.

yoshirider4

  • Posts: 85
It has something to do with my timed invincibility script.

Anyway, with a ton of help from Greg, I managed to get the Charged Shot up and running. It fires out a piece of burnt toast that doubled the speed and doubled the damage from the normal piece!

yoshirider4

  • Posts: 85
For some reason the bullet doesn't disappear anymore. I didn't even change anything. I am getting aggravated, so if someone could help me a out, that'd be great.

Edit: Nevermind, I think I got it.

First post updated if anyone actually cares.

« Last Edit: July 29, 2011, 08:47:50 pm by yoshirider4 »

chaosoul

  • *
  • Posts: 260
Ohh this game sounds so damn fun I wanna play it so bad please release a small demo plox.
COOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESS

yoshirider4

  • Posts: 85
I plan on it, but since I have isometric sprites, it looks awkward on the preset tilesets. I want some custom tiles before it makes it's debut.

yoshirider4

  • Posts: 85
Eh, didn't finish the tiles so I'm using the preset ones.

Tell me what you think.
http://www.stencyl.com/game/play/6046

yoshirider4

  • Posts: 85
*Gone for 10 days and sees no comments*


Eh, but on a serious note, I'm coming back to update this thing.