Rhindon's Forum Posts

  • This is a GREAT idea. For even the most knowledgeable people on C2 don't always TEXTUALLY explain things. It helps many of us to SEE exactly how it's done.

  • Nimtrix - AH! Thank you, sir! (Total side note: I LOVE your avatar image. That just rocks.)

    I wondered if it wasn't that simple. I'll test that out a.s.a.p. Thank you again.

  • I'd like to know if this can be done, too. Good stuff to learn. *open eyes to better hear the replies*

  • Digging around in the included examples with C2, I came across the lighting.capx file that (apparently) was created by ASHLEY. (LOVING the effect, too! I'm gonna use it somehow.)

    The effects and settings for the image sprite seem straight forward enough. But when I examine the animations part, I'm not quite sure if that's truly an imported image or what... Ultimately, what I'm seeking is how to initially START the object. Is it just a dot that's manipulated further? An imported image? What?

  • Kyatric - I think I got it. Thanks. I tested it and everything seems to be working.

  • Kyatric - (Hello! Iiiit's me again.) I actually just found that very .capx and wanted to learn how to recreate it so I could learn further how to manipulate it. The problem I'm having is knowing where to start. I see that both light objects are sprites...so I took a peek at the "edit animations" feature. Is that an imported image or is it more of a quick-drawn image made via C2's drawing tools?

    I tried to insert a new object, and maybe I'm not searching deep enough, but I don't see (initially) how to implement such a lighting effect.

  • Kyatric - AH! Okay, so if I want to isolate the GroupVar to its group, I just need to set the variable to static so it doesn't get reset every time?

  • justifun - *chuckles* Thank you, too, for your input. I guess I need to clarify what I'm after. The technical/programming parts I've got down just fine. It's working on that end. What I wanted to ask about was if - according to my description - that sounded like an interesting graphical presentation. Where the "pixels" of my stickman are constantly hiding and reappearing from behind a grid immediately in front of it. Like, imagine a piece of graph paper and the lines are solid, but the spaces are transparent. Then imagine watching all the action take place behind it. The characters are made of of squares of the exact same size as the spaces of the graph paper. And portions of the squares (pixels) seem to "hide" behind the graph paper grid lines OR reappearing on the opposite side of the of the grid line. Almost to the point that the individual pixels look like they're resizing as they go behind the grid lines. All of this while the normal action takes place.

  • Kyatric - So I checked out the example you posted (many moons ago).

    I have a group set up to control the horizontal movement of my character. I then create a local variable (we'll call it GroupVar). GroupVar is set up to control the speed of the character --> Set X to PlayerBox.X+GroupVar*dt (PlayerBox being the invisible platform object).

    All the Events following GroupVar's declaration inside that group remain on the same level as GroupVar.

    At the push of a button, I add or subject a value from GroupVar, ultimately adjusting the speed of the character as it moves.

    That's the idea, anyway. This works when I set GroupVar as a global variable. But (using an on-screen text test) I noticed that when I declare GroupVar locally at an initial value of 120, no matter how many times I push the proper button, it remains at 120. Again, as a global variable, it worked perfectly, and I saw the text display the proper value and the character moved accordingly (even to the point of moonwalking at negative values! lol)

    What I don't quite understand (though I believe I have an inkling as to the reason) is why a global variable seems to not be reset every tick while a local variable is. IS THIS because every tick the local variable is essentially re-declared within the group/event it's associated with, whereas the global variable remains open to any and all events/actions that may call on it?

    As always, thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • RicoD - Thank you for the input. :)

    My question was really about if they could picture what I was trying to describe. I pretty much got everything set up just fine, including transparency with another program like the ones you suggested.

    I wanted to know if anyone could visualize what I described and if that seemed like an interesting graphical presentation.

  • Certainly an odd subject line, I'm sure. I'll try to clarify.

    As I'm learning to better use C2, I wanted to get creative and have the gameplay BEHIND what might otherwise be considered a bg image, the hope being it would display an interesting visual as you watch the action take place behind it...obviously, it would have to be see-through in some respect.

    Since I'm not much of an artist, I drew a grid on MS Paint, then filled in the blank spaces to make a "pixelated" stickman (making editing animation frames much easier for me). I called him Mr Stick (he has an arch nemesis called Dr Box...be afraid). Each "large pixel" is roughly 9x9 pixels in Paint...I think. I forget the exact dimension. Anyway. The individual spaces in the grid are large enough to see through, while the grid lines are only one or two pixels thick, so they can be rather easy to see, too.

    So imagine standing on one side of a fence and watching the action on the other side, with minor portions of the characters hiding behind the fence links, while at the same time other portions are equally coming into view. All of this, of course, in the form of several tiny squares but a couple of pixels separated.

    I've set the "background" grid as Layer 1 and the paralax to "0,0" with "Yes" transparency, and the gameplay action as Layer 0 ("100,100" paralax and no transparency).

    Can anyone picture this? What are your thoughts? Does this sound like an interesting graphical presentation? (I'm not inquiring about if I did it right - the technical/programming elements are working fine.)

  • Ashley - Ooookay... So, I tried to add an Event or Action to set the text object to display the LastButton value. I'm not sure what all I'm doing right or wrong at this point, but I am not seeing how I can bring up the GamePad object's button value. What instructions can I input to the Event sheet, por favor?

  • Ashley - THANK YOU! Once again, you're awesome.

    I'll test the mapping with text you instructed to me and I'll get back to you if I still need help.

    I THINK I get the zero-based index... So, say I have two USB controllers plugged in, and index numbers 1-10, for example, correlate to controller 1, numbers 2-20 would be controller 2...yes?

  • I have an SNES USB gamepad - I bought it for the Mega Man X Street Fighter game (FREE - check it out...just Google it). Sometime later I discovered C2...so I'm not just yet willing to spend more money for an XBox 360 gamepad (which I hear is ideal for using with C2). I also favor Google Chrome for my browser, but I'm not clear yet based on the forum posts as to whether or not that's the best option. Anyway..! Onto my main problem.

    I've checked the manual and searched through the tutorials and forums, but I cannot find a clear answer.

    In the Events sheet, I'm trying to set up basic control movement - left, right, jump, etc. I've created a gamepad object named SNES_USB (snazzy name, eh?). It brings up the parameters window and prompts me to enter two values: the "zero-based index of the gamepad to test", and the button.

    I leave the gamepad zero-index value at zero and the button as Button A - I don't change anything. Then I add the action to simulate a platform jump. All the other preliminaries for a basic platform game are set - I tested it with the keyboard object and it worked fine.

    My main confusion is how to recognize what buttons on the USB gamepad have what zero-index values so C2 will do the correct action per button. Frankly, this is one aspect I'm just totally lost on.

    UPDATE: I missed this in the manual - I was using the downloaded version during my initial search. I did find something about raw values for non-Xbox 360 controllers. Can someone help me with that as well? How do I obtain raw values?

    PS - please be patient with me if I ask a TON more questions to any gracious replies. I just want to make sure that I'm SURE I'm understanding this. THANKS!

  • I have no wifi access where I live...I rent an RV and the paneling literally blocks the rare signal I receive from my landlord's house despite being within 50 ft from the wireless router.

    So unless I'm at a wifi cafe, I have either nothing OR the not-so-mobile-friendly Web site on my smartphone.

    Any plans to remedy that?