FANDOM

A FANDOM user
  Loading editor
  • Hey SquareFingers, would appreciate your feedback on the draft for the next Learning Petit tutorial: User:KevinFoley/Draft. Thanks!

      Loading editor
    • View all 10 replies
    • I still personally prefer the approach of having beginners think in integers

      You don't say that anywhere. The assumption that everyone has the same simple-minded idea about health values - that they are integers - is unwarranted, and even insulting the intelligence of some of your readers, and confusing them. You're also showing them brittle code: even if the assumption of integer health values holds for the particular implementation coded by one developer, and the code runs fine and bug-free, that code will break if the next developer decides that health should be in units of one-tenth, rather than units of one. Don't start them out with bad coding habits, and making unstated assumptions and brittle code, start them out with good habits.

      And whether dealing in integers or not, the value that partitions positive from negative is zero, so it's more natural to have the expression that partitions alive from dead have that value, zero, rather than another value that makes an assumption about the domain.

      I should probably adjust the == TRUE again as you suggest.

      I'm sorry if I didn't make myself clear, I was trying to suggest that as it is now (having IF XIS6 == TRUE THEN ... near the beginning and IF FOUNDSWORD THEN ... later) looks good to me, I don't think it needs adjusting.

      In Draft2, you're missing some @ symbols, and one of your tos and some of your xs are not capitalized.

      I would introduce NEXT statement with the form that includes the variable name. Again: start them with good habits. It is good programming practice to be sure you know, for each end-of-loop line, what the corresponding start-of-loop line is. Afterwards, perhaps, indicate that the variable can be omitted, but where there is a tool to help you keep your code straight, it's best to use it unless there's a compelling reason not to.

      You should reorganize the section:

      If we wanted to print the values from 3 to 6, we would change the previous example to start
      FOR X = 3 TO 6
      Each repetition of a loop is known as an iteration. This loop has 6 iterations (0,1,2,3,4,5).

      to:

      Each repetition of a loop is known as an iteration. This loop has 6 iterations (0,1,2,3,4,5). If we wanted to print the values from 3 to 6, we would change the previous example to start
      FOR X = 3 TO 6

      Otherwise "This loop" appears to be referring to 3 TO 6 rather than 0 TO 5.

      You might want to mention that a STEP value of 0 can be used to make infinite loops without GOTOs:

      FOR FOREVER = 0 TO 1 STEP 0
      ' Code that will run, over and over, forever
      NEXT FOREVER
      

      Combining this with another concept you describe gives another structure that you might, or might not, want to include.

      FOR STOP_LOOPING = 0 TO 1 STEP 0
      ' Code that gets executed at least once
      ' if it should get executed another time, leave STOP_LOOPING alone
      ' if this is the last time, set STOP_LOOPING to 1
      NEXT STOP_LOOPING
      
        Loading editor
    • Thanks for the feedback and corrections. Sorry I've been taking several days to respond in each case, I've been much busier lately, but these tutorials are still on my to-do list. I'm in a hurry at the moment but have made most of the corrections and started adding a thanks to you in the "notes" at the end of each tutorial.

        Loading editor
    • A FANDOM user
        Loading editor
  • Do you think preset sound effects and bgm should go on the existing pages ot a new one?

      Loading editor
    • Are you talking about preset sound effects and BGM for PTC3? I haven't found a specification for them...

      It depends.  I imagine the numbers already used in PTC2 are used for the same sounds in PTC3, so adding to the bottom of the list (with a note that they're PTC3 only) would make most sense.  On the other hand, if the sound system gets a major overhaul in PTC3 so that it doesn't resemble PTC2, that might be an argument for a new set of pages.

        Loading editor
    • I'll check to see about that.

      Edit: No.  At least, they have different names.

      The instruments are the only thing that seem the same.

        Loading editor
    • Yeah, the first twenty-some just have different names, but I can't tell if it keeps the existing order...

        Loading editor
    • A FANDOM user
        Loading editor
  • Pixel wanted to do something and he misread the directions.

    I can't rollback edits more than one deep, but I can try one after the other.  I'm telling you because doing so remove the edit summary from the wiki's changes page and I didn't want you to freak out when your re-categorization disappears.

    Edit: Turns out it does record it, but it still disappears in activity.  Also that it can't be done one after the other.  At any rate, your edit still doesn't show but the page should be as you left it.

      Loading editor
    • I don't quite understand what's going on; for my edit to "List of Preset Music", rather than just an unexplained 'undo', I thought it would be more polite to give a reason: a direct quote from the Category:Audio page that clearly indicates that it belongs.

      As long everyone agrees that the categories end up being right, the purpose of the edit summary disappears, and I don't mind if you remove it.

        Loading editor
    • I think he understands, he just thought I meant all the pages except BEEP- and DRUMDEMO, when I said all the programs (except those two).  You obviously wanted to make it clear why it was in that category, so I didn't want you to think your statement was being ignored.

        Loading editor
    • A FANDOM user
        Loading editor
  • I remembered this, and thought you might want to see it: http://smileboom.com/special/ptcm2/html_bug.php

    It's a list of bugs that have been fixed in the various versions.

    One example being "Freeze If you specify an invalid color information in the string instruction COLSET"

      Loading editor
    • Wow, thank you!  You're absolutely right, I want to see it.  It's a relief to know that SmileBoom is actually aware of some of these things.  I'll plug it into Google Translate...

        Loading editor
    • Interesting.  I've added some bits from there to this wiki (including the COLSET one you mention).

      Shall I feel smug that the date I created the page -0 (Numerical Value) was 2012.07.26, and the date on SmileBoom's page associated with the bug is 2013.02.01? Hm. Yes, I shall feel a little smug. :)

        Loading editor
    • Er, I'm not sure that applies anymore, but you also might try contacting them about the other bugs at "info@smileboom.com" (at least, I think that's the right address for that.  It's what is listed under the English company information page.)

        Loading editor
    • Lumage wrote:
      "info@smileboom.com"

      Thanks for that - I had tried the e-mail address in the built-in help file, but it didn't work.  This one, at least, hasn't sent an automated error message within the first 10 minutes of e-mailing it.

        Loading editor
    • A FANDOM user
        Loading editor
  • Indications are that Petit Computer 3 will have Z axis parameters for graphic commands.  Do you want to have something about that under the graphic commands' "Version 3" sections?

      Loading editor
    • Well, it's a wiki.  If you think it's worth adding now, go right ahead.  I wasn't going to add anything about V3 I until I actually have V3 and have seen for myself, but I won't compel you to do the same.

        Loading editor
    • I suppose it would be of no use to anyone to have it on the page at this time, and if they wanted to know that, they would be looking at the "Petit Computer 3" page.  If I find any information on the specific syntax, I may add that.

        Loading editor
    • A FANDOM user
        Loading editor
  • I'm not sure how to contact the admins, hopefully one will see this.

    I'm seeing two problems with the wiki. First, when I create a new page, it appears on the home page of the wiki in a box titled "New programs", even though I never indicated that the page was about a program (at least, I don't think I did).

    Second, I created a page "/ (Operator)", and when I try to create a link to it in the "List of Operators" page, the system seems to be getting confused by the fact that / is a delimiter in URLs: w://x/y/z.

      Loading editor
    • View all 23 replies
    • The problem with http://petitcomputer.wikia.com/wiki/Category:Programs?sort=recentedits is that the only way I can think of putting it on the front page is linking it, and that is... unnacceptable. Also, false alarm grammar edits.

        Loading editor
    • OK, here's what I got:

      "Thanks for contacting us. It is not possible to not automatically capitalize page titles, as the software relies on pages being named that way. However, you can make it look like a page has a different title using the DISPLAYTITLE magic word - it doesn't change the URL, only the displayed page name. You can read more about that magic word towards the end of https://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata

      Regarding editor focus switching - we're currently working on a completely overhauled visual editor which shouldn't have these kinds of issues. You can read more about it here: http://community.wikia.com/wiki/Help:VisualEditor. (As such we're unlikely to tweak the older visual editor much further - it'll get phased out, eventually.)"

        Loading editor
    • A FANDOM user
        Loading editor
  • Who are you too?

      Loading editor
    • A FANDOM user
        Loading editor
  • I hope that the new categories are to your liking.

      Loading editor
    • "Resources" seems like a less informative name for a category than "Programming"; it's like replacing "This is something useful for making programs" with "This is something useful".  Some people don't visit the wiki to make programs, they're just looking for games or applications to download, so there's a difference.  But, it doesn't bother me.  Every wiki has its own odd ways, I guess.

        Loading editor
    • Well, that's why I made it "System Guides". The over-arching category is "Resources", so even if we did have a category called "Programming", it would still be under "Resources". So really I replaced "Programming" with "System Guides". 

        Loading editor
    • A FANDOM user
        Loading editor
See archived talk page
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message