Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BlakPilar

Pages: 1 ... 17 18 [19] 20 21 ... 49
271
Oh, indentation. That wouldn't be hard. Do you mean auto-indentation? Where if you type in Repeat getKey(15) and hit enter it automatically changes it to
Quote

Repeat getKey(15)
  |
End
Where | is the cursor?

272
Hmm... I'm not quite sure what you mean by "incrementation."

273
Ahh, thank you! When opening files the folding is buggy (but that's a problem on the editor's part, not mine). I actually just changed it so that it will recognize whether to fold for Axe or BASIC, so that's fixed for 1.2! :D

Thanks!

274
Computer Projects and Ideas / Re: The dawn of a new OOPL
« on: January 08, 2012, 01:17:59 am »
As I get time, I'm going to be looking at Mono.Cecil to see about IL generation. I don't think I can use it directly to compile non-C# code, but it will be very useful in testing to see what I can and cannot due (though, I'd imagine if you can do it in VC++, you can do it in IL). I watched a video about Microsoft's Roslyn project, and it gave me a couple ideas; most importantly to create an explicit syntax tree. That would make everything very easy after lexical analysis and dead-code removal and whatnot.

EDIT: just thought I'd give that little update :)

EDIT2: I've also decided to possibly include all of the data types .NET offers.

275
Music Showcase / Re: I Need a Name!
« on: January 07, 2012, 11:35:11 pm »
Wow, this is really good! Here's just a random list to nit-pick from, if you so choose:
  • Sanguine
  • Ascension
  • Chromatic
  • Microcosmic

276
TI Z80 / Re: TinyCraft [Axe]
« on: January 07, 2012, 06:17:33 pm »
That's always a good thing too. It would also be good to make sure only certain biomes are placed near each other (but you all probably knew that already).

277
TI Z80 / Re: TinyCraft [Axe]
« on: January 07, 2012, 06:14:15 pm »
ZippyDee is right (in my opinion). If you had pre-defined maps, after one play-through it would get quite boring. Besides, most sandbox games do have random levels. I don't know what createTopMap looks like, but the validation wouldn't be hard at all.

278
Web Programming and Design / ASP.NET Textbox help
« on: January 07, 2012, 03:24:33 pm »
So I've been fooling around with ASP.NET and I have what would seem to work, but it doesn't... I was just wondering if anyone who knew ASP.NET could help.

Spoiler For Site.master:
<body>
    <form runat="server">
        <div class="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server"/>

            <asp:TextBox runat="server" ID="txt" />
            <asp:Label runat="server" ID="lbl" />

        </div>
        <div class="clear">
        </div>
    <div class="footer">
       
    </div>
    </form>
</body>

Spoiler For Site.master.cs:
public partial class SiteMaster : System.Web.UI.MasterPage {

    protected void Page_Load(object sender, EventArgs e) {
        txt.AutoPostBack = true;
        txt.TextChanged += new EventHandler(textChanged);
    }

    public void textChanged(object sender, EventArgs e) {
        lbl.Text = Server.HtmlEncode(txt.Text);
    }
}

EDIT: I've modified the source. It works only when the textbox loses focus, though. Also, if there are any HTML-specific characters (such as '>' and '<') there's an error thrown. I thought Server.HtmlEncode() was supposed to take care of that?

279
TI Z80 / Re: OPIA - A full OOP language for z80
« on: January 07, 2012, 02:15:22 pm »
Ooohhh, okay, I understand now. That would be awesome if there were both ways!

Also, another question that I've been meaning to ask is will you provide built-in methods for things math and output? Like in .NET there's the static Math class where you can do things like Math.Pow(2, 6); which is the same as 26. And by output, I mean like Print, PrintLn, turning pixels on buffers on/off, etc.

280
TI Z80 / Re: OPIA - A full OOP language for z80
« on: January 07, 2012, 01:31:00 pm »
I was a little confused about that part (using switch statements as variables). If I had something like switch(Foo) g1 = g1.X; is that essentially initializing g1 as the type Foo while setting its value to Foo.X (i.e. Foo g1(Foo.X); in C++)? Then if I did switch(g1), case X would be the one executed?

281
TI Z80 / Re: OPIA - A full OOP language for z80
« on: January 07, 2012, 12:53:24 pm »
Personally I would think look-up tables are the best (I normally go for flexibility), but seeing as this is on the calculator, I would say direct addresses.

282
Well it's not just squares lol. I think I just locked the rows/columns so they HAD to be multiples of 8, so there could be a 16x8 sprite. Oh well, though. I can mess around with Bitmap for a couple of minutes if necessary lol.

Thanks, though, Quigibo. And you too, epic7. You've helped add a feature :D haha

EDIT
Spoiler For the work policy I'm going by for BexIDE right now:


283
Alrighty; can do. And for the Bitmap format, does width or height come first?

284
Ahh, okay. The Bitmap format would be just in a single line with the two dimensions first then, right?

285
Ok, nevermind. I can't understand why our hexes are different. I tried putting mine on my calc and it displays your enemy fine.

Pages: 1 ... 17 18 [19] 20 21 ... 49