Phobos002's Forum Posts

  • Problem Description

    This hitscan system breaks when using R174 or higher, but works perfectly on R173. No idea what the real cause is, but it might be the collision detection.

    Description of Capx

    Contains simple top-down scene with player, enemies with no AI, and some walls.

    Hitscan algorithm:

    1. Draw a line

    2. Check if any objects are overlapping the line. If true, record the object type, the distance from the object and the origin of the line, and the objects UID.

    a. If it's overlapping a wall, break the wall down into a vector for each side, then find out where on that vector does the line cross. (Line intersection algorithm not by me.)

    b. If overlapping an enemy, stop.

    3. Once all objects are recorded, sort the array on the X axis (This is why 'distance' is on top of the array)

    4. For each element on X axis, do stuff based on what object was hit.

    5. Clean everything up

    Steps to Reproduce Bug

    • Install 174+
    • Run and notice the wacky detection for the lines
    • Install 173
    • Run and notice it works perfectly

    Observed Result

    The line ends at weird positions and outright ignores some walls, especially at strange angles.

    Expected Result

    Line stops at a wall based on the lowest distance

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: ???

    Operating System and Service Pack

    Windows 7 64-bit Service Pack 2

    Construct 2 Version ID

    Construct 2 R173-R175

  • http://phobos001.itch.io/rfe

    <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • This looks very useful, but after reading it, I realized that this is for web-based apps. I feel embarrassed about not mentioning this to start with, but I'm distributing the game via Node-Webkit.

    Is it still possible to use this functionality when native, or no? I noticed there is no trace of an offline.appcache file, so I'm assuming no. Either way, I appreciate the help and I'm really enjoying Construct 2. :)

  • Interesting. I'll mess around with base64 encoding/decoding and see if it does anything different. I think the Extra Expressions plugin has this built-in, which is nice. :)

    Thank you again!

  • Hello again! I have attempted to create an auto-updater for my game 'ROCKETS <img src="smileys/smiley35.gif" border="0"> EVERYWHERE', and so far everything is responding correctly, until I finish downloading a file (like a .zip or a .png) and it's corrupt; full of unrecognizable characters.

    Based on minimal research, it turns out that javascript variables store info as ASCII and it can't recognize most binary characters used.

    Is there a way to get AJAX to download as Binary and not ASCII or Unicode? If not, is there a way around this problem?

  • Hello again! I created a simple ray system in Construct 2, but the problem is that, even at short ranges (2048 pixels), it uses a good 16%-ish of my CPU. I know this value is approximate, but I still feel a bit 'ehhhhh' about the whole thing. Is there anyway I can improve the performance at all, or am I forever doomed?

    CapX File (Includes a bunch of other stuff like a console etc): dl.dropboxusercontent.com/u/21499454/support/hitscans.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just recently got my game, 'ROCKETS F***ING EVERYWHERE' (Ceonsored only for the forums auto-censor), on steam greenlight. It's exciting! All support is appreciated ^^

    steamcommunity.com/sharedfiles/filedetails

  • A bit late to change the name, don't ya think? Also, why would I want to relate my game to a meme? It seems kinda silly, sillier then the name.

    I shoved the link through bit.ly, so it should work now. Hopefully it does, anyways xD

  • You posted the wrong link to the itch.io ! Looks really good from the video though!

    Aw crap, the 'No Follow' thing is in effect and I can't have hyperlinks. Try this instead: http://bit.ly/1i8Nnx8

  • Aha! I managed to get the game on itch.io! http://bit.ly/1i8Nnx8

    It's up for $3.00, but demos are available for those who want to try it.

    Should I make a new thread for this, or should I modify the OP?

  • Wait, is itch.io related to clay.io? And if so, is there a chance this can be compatible with it? I'd love to use the leaderboards :)

  • Ah, thank you! I hope you have fun ^^ (All stages are unlocked for now for testing purposes. In the full release, you'll have to play in progression of the stages.)

    Also, I was thinking of different names earlier and I couldn't think of anything that fit as well as the current one. If any publishers complain, I can negotiate an '�n-store title' so everything will be groovy :3

  • I'm aware of this. I might change the name at some point, but I wouldn't know what that would be. I'll have to think about it...

    Unless you have any good ideas? :3

  • Hello again! It is with high spirits that I announce my near-completion of my dodge-em-up, 'ROCKETS F*CKING EVERYWHERE' (The title isn't censored in the game, but I know the site doesn't like me swearing, soooo...)

    The goal of the game is to dodge rockets and get a high score. This stunning and innovative gameplay spans over five stages, each with it's own chiptune-ish music track by Pitfall.

    My plan is to either ask Ashley if it could be put on the scirra store ala 'Super Ubi Land', or try to self-publish it myself until I get enough money to afford a Greenlight submission. (I plan to sell it for, like, $3 or so. Pitfall and I have an agreement on how we will split the profit.)

    For right now though, I think the game needs to go through one more testing phase to see if it works on others machines, try to figure out possible minimum/recommended system requirements, and hear/read what you guys think about the game or ideas of how I should handle selling it.

    The version I am putting up has all stages unlocked. This is so people will be able to try out each state, but they will be relocked on the final release.

    You can find a download for your OS (Windows, OSX, Or Linux) here

    Let me know what you guys think. Thank you, and have fun! ;)

    [Video of old version. I'll make a trailer at some point:]

    [TUBE]http://www.youtube.com/watch?v=opE3FO4PBFM[/TUBE]

  • KaMiZoTo, gillenew, ThunderZ, Windwalker Thanks! I did make it with C2 (Why else would it be here then?)

    The thread was made BTW! You can see it here! :P