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 - AngelFish

Pages: 1 ... 31 32 [33] 34 35 ... 215
481
Axe / Re: Physics Based Collisions
« on: August 26, 2011, 12:19:45 pm »
Here's a PM from a discussion Builderboy and I had when I first joined Omnimaga. Hope he doesn't mind me reposting it.

Quote
So for mathematical collision (which is a must if you are not going the pixelTest way) you just go through several parts of an If Statement.

If X1+W1>X2  AND  X2+W2>X1  AND  Y1+H1>Y2  AND  Y2+H2>Y1
there is a collision!
END

Where X and Y are position and W and H are width and Height.  As for collsion velocity tranfer, the equations are this:

V1 = (C*M2*(V2-V1)+M1*V1+M2*V2)/(M1+M2)
V2 = (C*M1*(V1-V2)+M2*V2+M1*V1)/(M2+M1)

Where V is velocity, M is mass, and C is a constant from 1-0.  1 being a perfectly elastic collision (no energy lost) and 0 being a perfectly inelastic collision (objects stick together).  Note that when the masses are the same and C=1, the velocities of the objects are swapped.  These equations are what i just implemented into Zedd, and they work quite well

482
Other / Re: iVO- Plazm, Need help
« on: August 26, 2011, 09:12:25 am »
I really hate to sound mean because it's not what I intended, but it's kind of inevitable with this.

Quote
It will run any Operating system you install, and have any processor I can get ahold of. It has a touchscreen, 320GB harddrive, and it will be for anything really.

You won't have an Operating System on the device out of the box? That is a *very* bad idea. Secondly, I'm going to venture out and say that there's no way anyone is going to be able to write any C/C++ code without a very good idea of what the hardware and OS will look like. That means you need to decide on a Linux distro (because you're not likely to get permission for Windows or Mac OS) and you need to decide on a processor. You can't possibly compile a program without knowing those things.

Also, how sure are you that you'll even have Python? While it sounds nice, it's a lot more work to port than I think you imagine because of the things I said in the previous statements.

So again...

What is the processor type and model?
What OS is it running out-of-the-box?
What will the runtime environment look like?
How exactly will programs be expected to interact with the user?
What will the API look like?
What type of programs are you looking for?
Is there any documentation available, such as the touchpad (how will that be available for access?) or filesystem type/access?

If you can't answer the majority of these, it's far, far too early to be asking for help with anything like demonstration programs.

483
Casio Calculators / Re: I got a Prizm :D
« on: August 26, 2011, 12:44:03 am »
Try rebooting and/or installing the manager trial on the CD. If that fails, then the factory debug menu has a USB test that tries to install drivers, but...

484
Miscellaneous / Re: Gaming at school
« on: August 25, 2011, 02:23:42 pm »
that Happy-Wheels-Link shouldn't be blocked!!
Nothing in the adress, that would be blocked!!

Most blockers go by far more than just the address.

485
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: August 25, 2011, 01:15:17 am »
Added quotes 127-137.

486
News / Re: Texas Instruments redesigns entire graphing calculator line
« on: August 24, 2011, 03:21:18 pm »
That depends on what calculator you have. If you have an Nspire <3.0, you use C, ASM, or BASIC. For Nspire's >3.0, people generally use Lua or BASIC. If you have an 84+ calculator, you can use C, ASM, BASIC, BBC BASIC, or Axe. For the 68k calcs, there's basically the same selection, except that more people use C. If you happen to own a prizm (not a TI calc...), you can write C, ASM or BASIC, though there is a project in the works to bring Java, Lua, and Brainf*ck to that calculator.

As for interfaces, you generally don't use a whole lot of OO with calculator dev :P

487
Miscellaneous / MOVED: best android tablet?
« on: August 24, 2011, 03:10:39 pm »

488
Axe / Re: string - duplicate symbol
« on: August 24, 2011, 01:53:04 pm »
I'm not sure why everyone has been using Zeros(pointer,size) in their code. This is not valid syntax. Zeros() only takes a single argument, and that is size. You want to use Zeros(size)→pointer instead.
* Qwerty.55 is launching a covert campaign to get Quigibo to change the syntax...

489
Axe / Re: string - duplivate symbol
« on: August 24, 2011, 10:42:47 am »
I'm trying to write a "chat-program" for the TI, but I have a problem:
If I want to write something, I'll have to edit the string!
But how can I save something in a String if ther's alreadsy saved something in it?
Code: [Select]
:DelVar Str00
:"abc" -> Str00
Isn't working

but sometimes, I deed olly to add one letter to String00! How to do that???
It allways tells me DUPLICATE SYMBOL

You need to do something like
Code: [Select]
:Zeros(Str1,3)
:"abc"->Str1
To get that to work (Assuming you can store a string to memory in axe). Most Axe variables are *not* like TI-BASIC variables. They're created at compile time, which means that if you were to store more information to them than was originally placed there, you'd either corrupt RAM or overwrite part of your program.

490
Computer Projects and Ideas / Re: Yet Another Brainf*ck Text Editor
« on: August 23, 2011, 12:56:46 am »
There are a few interpreter oddities that make refreshing the screen a PITA to do consistently, so that's one of the things I want to figure out next.

491
Computer Projects and Ideas / Re: Yet Another Brainf*ck Text Editor
« on: August 23, 2011, 12:25:42 am »
Yeah, the equality test I used for ~ is... slightly long. But if you want to replace "~" with your own value, just change this part of the code to generate the character value you want:
Code: [Select]
+++ ++++[<+++ +++ +++>-]<[<++>-] That's set to 0x7E or 126 in the regular code. The test works for any value.

On a side note, I still have features planned for this simply to see if I can implement them :D

492
ROM Hacking and Console Homebrew / Re: Omni Emblem
« on: August 22, 2011, 11:37:14 pm »
I can't believe I haven't looked at this thread before...

493
Computer Projects and Ideas / Re: An epic Brainf*ck text editor
« on: August 22, 2011, 09:02:20 pm »
The text editor core is like five instructions :P

The rest of that is just parsing inputs.

494
Computer Projects and Ideas / Yet Another Brainf*ck Text Editor
« on: August 22, 2011, 08:55:48 pm »
Introducing the future of text editors, the Tidal editor. Hand-written in raw, optimized Brainf*ck (after being ported from both the TI-84+ and Casio FX-CG families of calculators) and released under a GPL license for this exclusive beta download, Tidal is the fastest and most powerful Brainf*ck text editor around.

Spoiler For Screenshots:

Spoiler For Usage:
Tidal is a standard text editor designed to work with the Brainf*ck Developer. Normal usage is very simple: Just type in the text you want to edit on the input line. Backspace is used by entering the "~" character as input. Also, please comment about features you'd like to see added to Tidal, such as a native brainf*ck interpreter or dynamic refresh.

Spoiler For Source:
Quote
+[-,>,----------[++++++++++>][-][<]<[>+>+<<-]+>-[<+>-]>>>>+++++++[
<+++++++++>-]<[<++>-]<<[>-<-]>[>>]<<[-]<[-]<+]


495
Site Feedback and Questions / Re: Message to the entire Omnimaga staff
« on: August 22, 2011, 08:07:30 pm »
Message to the entire Omnimaga staff: I haz lobsterz in me fizhtank city.

Pages: 1 ... 31 32 [33] 34 35 ... 215