Jase00's Forum Posts

  • jayderyu

    Hmm. I know it could be done without "Multitags" if I were to repeat event's multiple times to give multiple effects to each Tag, but that's severely impractical.

    Let me explain my elaborate situation:

    Some tags are generated in a way to enable them to be stopped if the sound is coming from a specific Sprite, making a tag like ("Rawr"&Sprite.UID), so that if I want that specific Rawr to stop that is from that specific Sprite, I can do "Stop sound" ("Rawr"&Sprite.UID)

    Now that would mean there would exist several Tags like "Rawr23", "Rawr56" ectect. Now say the Rawr sound (which lets say is a 5 second sound) is playing whilst the player is underwater. The sound would get created and we would apply the low-pass filter to mimic the underwater audio effect. Now say the player goes above water DURING the rawr sound effect (3 seconds into the sound), I would now need to change the low-pass parameter so that it no longer sounds underwater for every sound it affected, so now I'd end up running a few loops to remove filters from every possible situation even if the sprite is not playing a Rawr (ForEach Sprite, Set effect parameter for "Rawr"&Sprite.UID). This (I think) seems realllllllly inefficient, especially if one had multiple different sound effects other than "Rawr" that come from multiple sprites, ectect.

    However, having Families, (still not entirely sure how audio families would exactly work in my mind but), when creating the "Rawr"&Sprite.UID, I could ("Add to family ("Underwater")), which will now render that tag to be affected by some separate events for that family, so that I have only 1 or 2 events to detect if the player is underwater or not, and just do "Set Audio Family Effect Parameter" literally ONCE for each event. This would apply to all sounds/music, and literally lessens the events to 1 or 2.

    Extremely elaborate and probably confusing, I apoligise. :P

  • Another practical example would be the "underwater" low-pass effect to play over multiple sounds/music :P

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • +1! Being unable to easily recreate layers across multiple layouts causes me to fear making levels and work on just 1 layout until I think I won't need more layers :P

  • I thought about this yesterday and never thought of the concept of" Audio Families" which sounds perfect! +1

  • blackstr

    You can decide whether to load from files or directly within C2's layout editor! I personally choose C2's editor rather than external files :P

    With variables, most of the time I put them in the sprites. Every single character + monster is the same underlying sprite called "Player", which has many instance variables (I think I managed to rack it up to 60 variables per player! Not sure if that's bad design in the long run but works for me :P) It's good to put variables into the sprites that you know you will have multiple instances of, as you would want to handle individual instances' variables like HP and speeds and other stats.

    As for sprites, I personally loaded them into C2, which was extremely time-consuming and it's definitely not the best way if you are planning to have a lot of different images/frames (like in MapleStory, there's 1000's of monsters with several animations and frames, there's tonnes of clothing items, so these things would probably be better to load externally IF you plan to use a lot of them.)

    Loading external sprites is the most "eh" thing about all of this. Let me explain (and I'm explaining this unaware if there is a plugin that would greatly help this situation):

    IF you wanted to only have 1 character that gets the ability of having external files as images, then sure, you can do that, but only 1 character. Why?

    Well, Construct 2 can indeed load external images into a sprite, it loads over the current frame, so you could load in lots of separate frames into a sprite and load in some origin points into instance variables (you can't specify origin values when loading an external image file, so you have to store the origin point coordinates in another separate file and load them in), then yes, that's basically how to load external images into the game. However, if you had more than 1 instance of this object, it will always share the same images, therefore you can't load some other files in the same sprite, because ALL sprites will change to the new file.

    I guess one work around (Which I'm having the feeling is not the best workaround), would be to clone a sprite several times so that you can load different animations in each blank sprite and then throw all those sprites into a Family so you can handle them all at once, but then you're limited to the amount of times you clone the sprite, and also if you needed to add a new frame or animation or something into the sprites, you'd need to edit every single sprite you cloned to add in the new animation frame. Not a sensible idea! But I think it's best not to worry about it so much, there's probably speedy ways to load things in but I'm not sure at this moment.

  • RookieDev

    Thanks! I never actually released it or put it up anywhere due to nobody really being interested in the project. I guess if there was more demand to play it, I could spend some time cleaning it up and put it up on the Arcade or something :P

    TiAm

    Hey thanks! I have a few reasons why I stopped working on it, mainly because I was enthused by the Tizen Challenge which meant I had to make a game with my own content (not MapleStory images lol), as well as how messy I designed the game.

    MapleStory has literally hundreds of clothing items, each with their own Origin points and frames (there's probably around 50 frames per clothing piece, not to mention certain items were in two's (One shirt would be the "Shirt" and the "ShirtOverArm" pieces, so that's 100 frames to import and align!). There's already lots of tools out there to generate XML files for the origin points, but I didn't know and didn't want to risk trying to load XML's and whatnot in Construct 2, so I would just look at the XML file of an item and align it manually in C2's animation editor. Could take 30 minutes to do 1 item, an hour if it's a top or gloves!

    Also, I didn't design it to be very modular (I believe that's the correct word), whereby if I change a small piece of one thing in the events, it would break 100 other things, such as in the video at 5:16 onwards, you see the window popup with a glitched character; I had designed that menu perfectly: you'd see a clone of your character within that window which you can change the hair and haircolour (same with eyes and eyecolour), but because I tried adding something new (I think I tried adding different body skin tones or tried making it possible to import animation frames externally from a folder, I forget lol), it made characters break in those windows. So in the end, it'd be better to just start fresh

    Another point is that nobody noticed the game, and I fail at marketing/advertising, never really felt good about going to forums to flood them with my game, I think I did it once and it got me nowhere lol.

    The most main reason is, I'd be damned if I put all this time and effort into the game, just to get sued for copyright infringement because I used images/sound that's owned by Nexon (MapleStory company). I'm now making a project which uses things I had made/planned to make in my MapleStory game, except it's better designed, and is no longer a copyright claim waiting to happen <img src="smileys/smiley16.gif" border="0" align="middle" />

  • Yes, definitely!

    I spent many months making a clone of MapleStory in which it is single player and has more fast-paced gameplay. It was my first project ever in Construct 2, although I did use MMF2 and other software for a few years before I found C2. I spent so much time working on it on my own, using the Scirra forum to ask questions I needed to ask here and there, and came out with this!

    I'll upload a video so you can see what I managed to make.

    Here is vid:

    [TUBE]http://www.youtube.com/watch?v=eRywKLbrF7M&feature=youtu.be[/TUBE]

    But anyway, to answer the specific details,

    Large-scale sidescroller

    Yes, definately, as long as you design the level appropriately (Not one massive 10000x1000 image, but instead, lots of small repeated tiles/scenery.) You should check out Remember not to waste your memory and also take a peek at the Tilemap object for level designing efficiency! (I personally didn't use the Tilemap object, it didn't exist at the time I made the game!)

    Character Classes

    Yes! Depending on how you plan to implement the logic behind this, this could be a breeze. It would tie in with other things like if you planned to "Only warriors can equip 2H swords", then that would tie in to the inventory logic, where upon attempting to equip something, detect the class that the item allows, and detect the players class, and if they match, then equip. If not, then popup message saying "No" :P

    All items could be in one "Family" called "Items", which would allow you to assign Instance Variables to that family, such as "Name", "Description", "Str", "RequiredStr", which will make it super easy to implement things later on like inventory/equip stuff! Making "Class specific" items (like, how to assign the property to items so that they can only be worn by 1 or 2 classes) could be done in several ways but my mind is currently blank on that right now, very tired indeed lol.

    Drop tables

    Yep :P See, here is where I should probably say "Use Arrays/Dictionaries/XML" or something, but when I made my game, I didn't use anything except pure Construct 2 events. I do recommend you learn about those things if you don't already, I reckon they'll allow you to handle drop tables really well. You can have all the properties you desire, like rare/uncommon (You could do it like Maplestory with the % chance, I think I made the Blue snail shell in the video have 90% chance of dropping or something), you just need to prepare the correct logic to make that sort of system!

    You're not in over your heads at all, it's totally possible to do it, I've done what I've done single-handedly, I can imagine you and your friends working together as a group would end up creating something way more cooler (and neater)!

    If you have any other questions, I'm more than happy to answer them :)

  • zenox98

    Oh wow I never realised this applies to resizing objects, I was aware of it and have it switched on all the time to 1x1, but never thought to change it to see if it worked with size. Thanks!

  • Hey!

    This suggestion is super tiny but would be extremely useful to me and potentially others that use Tiled Backgrounds when creating levels!

    I think it would be very useful to be able to hold "ALT" (or any other key) whilst resizing a tiled background object, and cause it to snap into it's nearest image dimension relative to the mouse cursor (So say the Tiled Backgrounds image is 64x64 and you resize it horizontally whilst holding ALT, it would snap the width to the closest multiple of 64 (64,128,192)).

    The reason I would find this highly useful is because when making a long stretch of tiled background, it's not as easy to find the exact multiple of the image, which is necessary for sprites that need to connect to a different type of tiled background (They would look out of place if the 1st tiled background cuts off at like 17 then suddenly another tiled background is there that is drawn to connect to the side of the 1st tiled background.)

    It seems like a pointless suggestion almost, but after having to deal with multiple different tiled background placements and having to figure out the right size, it takes away a lot of time in the long run!

    Thanks for reading!

  • Hey!

    So I've had this demo of a game on the Arcade, it worked when I first uploaded it, but ever since I've updated it with a newer version (months ago now), it never loads on that page anymore, just a black empty space where it should be loading. I just assumed it may need a moment or day or so to settle in or something after updating it, but no, it remained broken.

    I also just ended up ignoring it entirely because I noticed that the "view" stat is broken too, as well as I'm aware of the new arcade in the works, but now I've just tried re-compiling the game in the latest version of construct, and re-updated it, and STILL it's not loading, it's made me really curious as to why.

    Link to the game:

    construct.net/en/free-online-games

  • I think having a counter increase every tick isn't really taxing at all, but however, you may be able to do it this way:

    Start of Layout

    Set a value ("StartTime") to the expression wallclock

    End of Layout

    Set a value ("EndTime") to wallclock

    And then to calculate the time, you simply do Endtime-StartTime.

    If not wallclock, there's probably another time expression :P

  • HTML5 is cool, yo.

  • Jase00 This looks like a crosswalk problem specific to your phone software configuration. Can you file an issue at https:X//crosswalk-project.org/jira/secure/Dashboard.jspa

    Remove the X after https: above. I can't post URL's yet.

    Mention that you are building with XDK. Give the model for your phone and the OS version. Attach a zip of the output of the exporter for a very simple project. JIRA will create an issue number so it would be good to edit your Scirra forum post to include the JIRA issue number so we know how to track the problem.

    IntelRobert

    I went ahead and began filling in all the fields with great detail, until I hit the hurdle of uploading the project. I zipped, rared, 7ziped, but I can't get the APK to reach 10mb or less. Unless you're reffering to the Construct 2's export, rather than the XDK's export?

    I reckon I have a likely suspicion as to why it don't work on my phone specifically, and that's from just these 2 details:

    My phone is a Samsung Galaxy S (GT-I9000)

    The operating system is CyanogenMod (Version 10.1.2) which is based on Android 4.2.2

    I mention this just out of the small chance that CyanogenMod is the potential problem that may have already been come across.

    I appreciate what you're doing for the Scirra forums! <img src="smileys/smiley32.gif" border="0" align="middle" />

  • Ok I've tried building my app a few times changing different things here and there. Once I install the APK, I launch it, get a black screen for about 10 seconds, then an error pops up, reading:

    "The connection to the server was unsuccessful. (file:///android_asset/www/index.html)"

    Pressing ok made my phone crash the first time, so the other times it happened I have killed the app.

    I'll try with a much smaller simpler app and see if I get the same results in a while!

    EDIT: I tried building one of the templates in Construct 2 and installed the APK and still get the error above. I also noticed that during the 10 seconds of the black screen, my phone is completely unresponsive.

  • Allchix

    RookieDev

    If you're still having installation problems, I found a workaround.

    Assuming you have WinRAR installed, rightclick the setup file ("xdk_web_win_master_0240.exe") and click "Open in WinRAR" and then you'll see a "Setup.exe". Click that. :P