CrazyVulcan's Forum Posts

  • Go into the folder that you exported and find the file that says index.html run that in your browser of choice.

  • https://www.scirra.com/forum/plugin-json-import-export-generate-edit-inspect_t100042?&hilit=JSON

    Here is a plugin designed to sort JSON text. As far as I know there is no way for C2 to pull data directly off of LOL's server. AJAX will call a file but it only pulls the text of a file with no native way for it to understand what it just pulled. It then is either put in a Array or Dictionary object that you can then sort though. Again think of AJAX as the messenger, it just brings the news you then have to use it. Yanns JSON plugin would work great once you get use to working with it. Just use AJAX to call the URL that you want and then load it into a JSON object. Then with a text object you just need to have it <set text> of what you want. also may want some global variables to make it essayer like varID, varName and varLevel. Just when you set up your data set each variable to what your need.

    "ID: "&varID&newline&"Name: "&varName&newline&"Level: "&varLevel
    [/code:25xzk0xt]
    
    Remember the & is the text object that allows you to string more then one type of data together
  • > https://www.dropbox.com/s/mfyboi0fkzyspqk/OfficerMenuDebug.capx?dl=0

    >

    > Wondering why it's taking so long. And just remembered that without a capx file you wont answer these.

    >

    From the Must Read First Guidelines:

    [quote:2tsvh6v6]Why haven't you responded to my bug report yet?

    We do look at every report, but developer and release schedules mean we may not get round to it immediately. Please allow a few weeks for it to be investigated. If you are waiting, you can improve the chance it is resolved when a developer does get round to it by carefully reviewing these guidelines and providing as much useful information about the problem as possible. If you are missing anything, you may end up waiting a few weeks for a reply simply asking for the missing information, and then you're waiting again.

    Thanks zenox98, just impatient to get back to work. I do believe I found the culprit (Very Likely)

    I have 2 computers I use C2 on and was trying to find a way to share my work between them. Using Dropbox, Onedrive and a home network. The files that will not work are the ones I shared on this network and edited between the two computers. I will in the future avoid saving my capx directly to my sharing drive and only share copy's to avoid this. I don't think it is corrupting the file but what ever it did cant be undone. Fortunately I was not far into my redo and the original file backup works just fine.

    Take your time in answering/fixing this but I am mostly sure as to what I need to do in the future

  • https://www.dropbox.com/s/mfyboi0fkzyspqk/OfficerMenuDebug.capx?dl=0

    Wondering why it's taking so long. And just remembered that without a capx file you wont answer these.

  • So a update on how I started my business for any who wish to see an example of how to do it with less hair pulling then I dared to hope.

    I went through leagelzoom.com and selected their start a buisness package. After a lot of research on what kind of company I wanted I finally settled on forming a LLC(Limited Liability Company) Basicly I have all the protection from certain financial liabilities of a corporation but it has the flexibility of a small business. There is right now only one manager/owner and I do all the work myself so a LLC was a natural choice but do your homework. If you are a small team maybe look into S-Type Corporations.

    There was a lengthy online form to fill but the site did a good job of explaining what my options were. Things like When the end of your fiscal year is for tax purposes. What state will you be operating in and what type of business you are running. I am considered a "Entertainment Company" but I may want to reevaluate that. Then I selected two choices for a name to operate under. I got my first choice and it depends on what state you live in and if there is another company doing business under that name. So my company is "Vulcans Forge Studios, LLC" and my trademark is pending once I finalize some art.

    Also you get a EIN (Employee Identification Number) with the IRS that I then take to the bank and will start a account just for my business. That number is what I use in lieu of my name when doing purchase or filling tax forms. Again important to keep in mind to sign everything under your EIN or Company name and not your personal name. If you do you void your liability protection as a LLC.

    I also through Legalzoom got a lawyer for a discounted price. But let's talk numbers. The fee for LZ to do all the legwork was about $900, my lawyer fees to sign them on was another $700 and add another 300 for registering my trade mark. So right now I am in for $1900. That is a lot of money, and now I need to start making that back as quickly as possible. But the reason I am doing this now and not later is that I am joining a group called tabletopia. Who are doing something similar to tabletop simulator only game developers make and publish games on their site. So you don't have the issues of piracy on TTS and everybody wins. Since I want to be protected come tax time and make sure all my earning are documented. Hate to get a audit right out of the gate.

    So check out Vulcans Forge Studios on Tabletopia this November!

  • The error to my understanding is that when you exported the file, it now wants to run in debug mode. Which it cannot do since it is exported and no longer in C2. I have two suggestions the first being hopefully the easiest. Make sure that in the project properties panel that the default way to launch the games in the editor is localhost:50000. It could be as simple that your C2 file is setup to automatically run in debug which in turn is affecting your export. Then try to re export for the Scirra arcade.

    If that doesn't work then it gets harder to actually do as this requires manually editing the "config.html" file and you will need a file editor(hopefully notepad will do) we are doing the second one of the suggested fixes from the report.

    1 Open the folder of the game you exported

    2 edit the file that says config

    3 Copy and paste the

    <configuration>

    <system.web>

    <compilation debug="true"/>

    </system.web>

    </configuration>

    into your file. At the top should be fine.

    If that works then know that when you launch the game it will be in debug mode. see "Note that this second technique will cause all files within a given application to be compiled in debug mode." So you really need to try to get my first suggestion to work so when you export your next attempt will run smoothly

    I try to make it simple to get across, but explaining tech issues across language barriers is difficult.

    Also https://www.scirra.com/tutorials/82/uploading-to-the-scirra-arcade Is the turorial for uploading to the scirra archade

    Look at "Currently the Arcade only supports the built-in plugins and behaviors, except for the platform specific plugins (like the Windows 8 object). Also, the Browser object has limited features on the Arcade: any actions which can navigate to a different page are blocked for security reasons." Dose your game run useing any downloaded plugins or behaviors? That too can be the problem.

  • I'm not sure what you mean by PHP output

    I am using a .json file to do this

    Have you looked at Yann's Json plugin in the extending C2 section of the forum? I belive that would be worth looking into for you. However you can with a few adjustments change the json syntax to be used in a dictionary object.

    {"c2dictionary":true,"data":{
    "damage":"2",
    "resistance":"16",
    "health":"1",
    "speed":"1",
    "acceleration":"20",
    "traillength":"0",
    "wavethreshold":"0",
    "homingthreshold":"0",
    "selfdestruct":"1",
    "armingtimer":"0",
    "explosiontype":"-1";
    }
    [/code:nn2rsoib]
    
    Then import that into your project files folder. Use AJAX to load project file then on success have your dictionary load that json from Ajax.LastData
    
    In your game just call from that dictionary and change the keys according to any effect the player may have on them. Also cool thing is you can save that dictionary as a json and reverse the process to save your game. 
    
    Also when using files inside C2 best to leave them a .txt C2 will be able to tell the difference between formats like php, json, and sql
  • >Update<<

    I have found out what the circumstances of this bug are.

    When using a .capx created before the v212.1 update it will work fine. However any .capx created after the .1 or .2 update will not launch in any browser I have tried. (Chrome and Firefox)

    I don't think there is anything I can do to fix this and seems to be something that needs to be addressed with a patch. Certainly I am not the only one this is happening to.

  • C2 v212.2 64bit Steam Version

    Win10 v 64bitOS

    Chrome v 45.0.2454.93

    When running a game in localhost:5000 or in Debug the game loads 100% but then goes back to a black screen. Waiting results in a error where my browser(chrome) wants me to either wait for program to respond or kill it. This is happening to both new mostly empty projects as well as older versions that worked well previously.

    This is not a new issue with version .1 or .2 but started with the release of v212. But before I could simply restart the game or hit refresh on my browser and the game may work 70% of the time, usually. However starting yesterday and today I am unable to run any of my games in local host. Will try running on another port and will report back.

    Checking windows updates I see that my update on 9/22 has failed and will try to fix and or update manually. This my be the problem and will report after fixing windows update.

    I am also updating chrome to see if that will resolve my issue.

    Edit<<

    Updated Chrome, Updated Windows no change. Started a new file and seen that I was able to preview and debug and started remaking my game with a focus on optimization. After a few hours I now am unable to preview with it again loading to 100% and then stalling. It seemed that its either once a file gets to a certain size, I guess around 1000KB. Or after a number of hours working on C2. I don't know and will continue to experiment with restarting my pc, steam, and C2 and see where that lands me.

    I looked to see if I could export a error report when launching my preview, but was unable to find a way.

  • https://www.dropbox.com/s/mfyboi0fkzyspqk/OfficerMenuDebug.capx?dl=0

    Damn, I am such a math nerd. I finally got it to work 90% of the time. there is a weird bug that I think I fixed causing all the variables to set at a number higher than my total number of items I am checking. I think my last item finally makes it so if my last slot is greater then the CSV objects total number of rows then it will force the whole list to the start.

    Finally I got the WhileLoop to work like I needed. Now just need to make sure this is optimized by using instance variables.

    Now I will sleep.

  • Hello all its been a minute but let's get back into this. I have found a solution to how I want to handle the players unlocked items. Instead of a very large CSV file that I am pulling from my server. Which is both slow and expensive. I simply have a JSON of a C2 Dictionary that list which items are locked vs unlocked. I then after loading the dictionary use it to change a master CSV that I pull from the project folder that has everything locked as default. Seeing as right now my one faction has 125 characters one can choose from plus each having unique stats and abilities this I found is a great solution.

    Now the thing tripping me up at the moment is more basic to C2. In my menu I have six instances of my officers I can choose from. Also instances of text items for their name, various stats and abilities. This is something that I have always had a time of wrapping in my head. How does one translate how one object functions by using a different object?

    I have a "For each Row in Column" Loop with the Compaire Two Items "CSVOfficer.At("Unlocked",CSVOfficer.CurRow). I also have a Pick instance just selecting instance 0 of one of my six sprites that show the portrait of the officer in question. I then want to change the frame of that sprite to equal the row (which is indexed numerically) of my CSV.

    That works all well and good but now I am attempting to do the second sprite (the other five as well) Where it is the same only i Pick instance 1 of my sprite. But without knowing how to increment to the next option those five sprites end up being the same as Sprite number 0.

    I've tried adding the sprites IID number to the option when setting the frame but that will not work since it is possible for the next row to be false so if they were on row 3 and I add one it then would display row 4 but if row 4 was false then that is not right.

    And that is not even taking into account flipping through pages of all the officers.

    Thank you for your time,

    CrazyVulcan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes leaving it invisible and simply turning it visible while Mouse is down will be the easiest. And you can set it to play a animation while visible for more flare. Dont worry about spawning then destroying the sprite. That actually makes more load on your game then simply toggling the visibility.

  • The Blazer makes me think of a sales person, the tie and pocket handkerchief brings it more upscale so a keeper of a expensive shop. The glass' look antiquated giving the view of maybe someone working with antiques or artifacts. The fact of the glass' being opaque and the come over give the hint of maybe something shadier going on then first impression would make. Also in classic cinema a moustache usually goes with dishonesty.

    Maybe a sympathetic character with a past, but trying to move forward. Probably is responsible for your plight in a slight way. Sells you a cursed item to try to get rid of it maybe.

  • Could you go into more detail on what you mean by "Retro Button Menu"? I dont really know what you are trying to do.

  • JeremyBenson11

    That dotted line is the right boundary of your viewport window. Click on the top most folder of your project, usually the folder that is the name of your game. Then on the left under properties you can change the "Window Size" if you wish to have a window of 512x512 then you will change the window with and height to 512 and 512. Then using your 32x32 tile set you will then have a 16x16 grid on your page to do with as you please.

    Your project properties have a lot of features to look at for every object in the game. When stuck on something looking there is usually a good place to start.