A few questions about AGD (V2.6)

How do you use the toggle command? It keeps flagging up as an error when I try to enter it.

Is it possible to use less than or greater than commands. eg IF A>6

Is it possible to create disappearing platforms and conveyor belts?
Post edited by Rebelstar without a cause on

Comments

  • edited December 2010
    How do you use the toggle command? It keeps flagging up as an error when I try to enter it.

    Is it possible to use less than or greater than commands. eg IF A>6

    Is it possible to create disappearing platforms and conveyor belts?

    Look further on in the update list and toggle was replaced with other, spawned and original which was all to do with events you can write for when sprites collide

    second part is no, but would help if you wanted to compare positions on a screen say - if you wanted a sprite to fire in the direction of the player

    possible but that would have to be worked out by using sprites, see the moving platforms in mulders flipping horace for some ideas about using sprites as platforms, I did try to do a conveyor belt but had limited success I found that once on one I couldn't make the player jump off again (or I may be confusing that with a moving platform I did, I haven't used it in ages due to working on the Ghost Castle series with CodenameV)
  • edited December 2010
    BiNMaN wrote: »
    ...I did try to do a conveyor belt but had limited success I found that once on one I couldn't make the player jump off again (or I may be confusing that with a moving platform I did, I haven't used it in ages due to working on the Ghost Castle series with CodenameV)

    Hmmm ... interesting ... so this could be used as a "sticky" tile? Can the player continue moving though (but jumping disabled)? and is jumping restored once moved off of the "sticky" platform?
  • I think the jump command checks to see if you're on solid ground. If you use a sprite as a platform it will think you're in the air and won't let you jump. You can get round it by making you're own jump routine using the sprite up command instead.
  • edited December 2010
    I think the jump command checks to see if you're on solid ground. If you use a sprite as a platform it will think you're in the air and won't let you jump. You can get round it by making you're own jump routine using the sprite up command instead.

    probably but you would keep going up, you'd have to set up something like the fire routine in the 'pumpkins' example to limit it

    or even easier, get Jonathan to add the conveyor block from pgd
  • edited July 2011
    OK I have not touched that utility yet, but I have a question: is it possible to create at least fake scrolling using AGD? Something like vertically moving sides of a cave... not wholescreen stuff...
Sign In or Register to comment.