miketv's Forum Posts

  • This is a really complicated effect, I would not encourage you to go this far if you are a beginner but, Rojohound made an example on this with the canvas plugin

    Thanks for the link, I'll start there. I guess I'm moving past the beginner level & into the experimental stage. I'm totally expecting this to be complicated, because if it was easy there wouldn't be so many people claiming it's impossible. The Canvas plugin is pretty amazing (even if i don't fully understand it yet). It's all about learning.

    Thanks again for the tip

  • The fruit-cutting example shown at http://www.scirra.com/arcade/addicting-example-games/2456/orange-ninja requires a separate pre-made sprite of half an orange to be spawned when the orange sprite is click/dragged across. That means that every single cut will result in exactly half an orange, sliced right across the middle, & the remaining pieces can't be cut again.

    The game shown here http://www.flasharcadegamessite.com/25012-Viking-Ice-Breaker.html (Viking Ice Breaker) clearly uses a different mechanic. In this game, the image breaks into 2 pieces WHEREVER the mouse drags across. I have serious doubts that they made a separate sprite for each possible length, angle, & location of the slice.

    So, how do I break a sprite into 2 pieces wherever I click/drag?

    Thanks in advance for any advice.

  • thanks, that's what I needed

  • I've got 3 global variables. VariableA & VariableB are both numbers that change according to different conditions.

    When an object is created, I want to set VariableC to whichever is the highest of variables A & B. Is there an expression for this?

    Sprite|On created|System|Set VariableC to _____(fill in the blank)_____

    thanks in advance

  • I personally really need to take the time out to study expressions --JUST expressions-- & how to construct them. I love playing around with them, but I'm still at the copy-paste-&-tweak level. Seems like understanding that process is going to be the real key to unlocking the plugin's possibilities.

  • The closest you can do is perhaps use the canvas plugin (third party).

    Is there a tutorial anywhere, or maybe just a general usage guide for Canvas? I've been kinda experimenting with it, & it seems like a great tool so I'd like to go a little deeper with it, but I can barely find any info....

  • oh THAT'S what I've been missing.....thanks for the plugin man

  • cool, thanks....I'll look into that

  • I think that's what I needed....thanks

  • The colors could either be on a tiled background or a sprite...I ha_en't gotten that far yet. I'm mainly concerned with the mouse being able to detect the color of the pixel, if it's possible.

  • Is there a way to tell what color my mouse pointer is currently over? Like, if I have hundreds of colors on my layout & I'm moving the pointer around, how can I make a little window that will A) update a preview of the color & B) display a text version the rgb info?

    I suspect there's a basic concept I need to read up on that would help me solve this on my own, but I'm not sure what it is....It doesn't help that scirra's search function isn't working.

    thanks in advance

  • I don't know, but I'm gonna follow this thread & hopefully I'll find out.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • thanks, but again, that just registers time spent playing the game....I'm looking to register the movement of the tiled background

  • Thanks for the reply. I don't think I asked the right way....my problem is more about registering the travel of the tiled background. As it moves from one side of the screen to the other, I'd like a ticker to count up.

    My version of the game doesn't automatically scroll from the start of the layout, as in the Flying template....in mine, you have to hit SPACE to set everything in motion. But when I do the "every tick" method, it starts counting as soon as the layout loads....which leads me to think it's actually registering the passage of time instead of distance. Am I wrong about that? If so, what do I need to do to resolve this? thanks again

  • I have a scrolling tiled background setup like the one in the Flying template. I know how to make a text display a global variable....but how do I make it count up each time the tiled background passes by?