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

Pages: 1 ... 5 6 [7] 8 9 ... 22
91
TI-Nspire / Re: z80 emulator for Nspire
« on: March 18, 2013, 01:22:02 pm »
So you guys mean a calculator with a z80 microprocessor. And not a z80 microprocessor. Right? ',:| 

92
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: March 17, 2013, 12:02:20 pm »
What is wrong with just 2 emulators?

93
TI-Nspire / Re: z80 emulator for Nspire
« on: March 17, 2013, 12:00:14 pm »
Then that could lead to ZX programming!

Which would be awesome to have more on-calc programming

94
TI-Nspire / Re: z80 emulator for Nspire
« on: March 16, 2013, 06:15:00 pm »
So this could lead to a ZX spectrum emulator?

95
TI-Nspire / Re: z80 emulator for Nspire
« on: March 16, 2013, 12:43:47 pm »
I am sorry but I seem to be very confused.

How does one emulate a microprocessor?

No, I am not trying to be a smart-ass I am confused

Edit: Mistakes

96
Miscellaneous / Re: Awesome pictures thread
« on: March 14, 2013, 03:40:10 pm »
I used paint.net

97
Miscellaneous / Re: Awesome pictures thread
« on: March 14, 2013, 02:19:45 pm »

98
Problem solved. I used lists.

99
Miscellaneous / Re: Notch has lost his power
« on: March 01, 2013, 05:02:11 pm »

100
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: February 28, 2013, 11:36:27 am »
Have you already managed to successfully run those games, and have you made a savestate? If so, try deleting the savestates and running the game again. I've found that them savestates are eeeevul, or at least like killing your game :P

No save state for GTA.(never ran well)

Save state for Advance wars.(Campaign never ran well)

101
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: February 27, 2013, 03:00:04 pm »
I found some error.

When I try to start the advance wars campaign it crashes my nspire.(Maybe something to do with it being compressed?)

Same when I try to launch GTA advance(Probably too heavy to run). 

102
I was planning on that but, I have to delete the array every time DetectNPC runs as it is supposed to change size every time.

Edit:
The problem here is that the arrays are out of scope. That is, they are only defined within DetectNPC(). When you leave DetectNPC() via return, those arrays are cleared off the stack. You should either make them global variables, or members of a class that contains both methods.

That's what I am trying to change, I want to have the array in scope while still declaring it in the method. Any way of doing this?

Oops double post edited into one post.

103
Code: [Select]
public void DetectNPC()
{
    [...](Other code in method)
    Vector2[] PhilCharNPCHitVectors = new Vector2[ArrayLength];
    float[] NPCHitXCoord = new float[ArrayLength];
    float[] NPCHitYCoord = new float[ArrayLength];                   
    [...]
}

private void UpdateInput()
 {
            OldState = KeyState;
            KeyState = Keyboard.GetState();
            if (KeyState.IsKeyDown(Keys.S) && themap.HitMap[Convert.ToInt32(YCoord) + 1].Substring(Convert.ToInt32(XCoord) * 2, 2) == "..")
            {
                YCoord = YCoord + 1;
            }
            if (KeyState.IsKeyDown(Keys.W) && themap.HitMap[Convert.ToInt32(YCoord) - 1].Substring(Convert.ToInt32(XCoord) * 2, 2) == "..")
            {
                YCoord = YCoord - 1;
            }
            if (KeyState.IsKeyDown(Keys.D) && themap.HitMap[Convert.ToInt32(YCoord)].Substring((Convert.ToInt32(XCoord) * 2) + 1, 2) == "..")
            {
                XCoord = XCoord + 1;
            }
            if (KeyState.IsKeyDown(Keys.A) && themap.HitMap[Convert.ToInt32(YCoord)].Substring((Convert.ToInt32(XCoord) * 2) - 1, 2) == "..")
            {
                XCoord = XCoord - 1;
            }
            NextMap();
}

So I need to access the arrays from DetectNPC in UpdateInput. The arrays must be declared in the DetectNPC. Passing is not an option as UpdateInput is not called in DetectNPC.

104
Sorry to bother you again. I know I post here quite a lot for help. I have tried googling it.

Any way I need help changing the Accessibility Domain(?). Normally I declared all the variables at the top but this time I must declare an array in a method.

Thanks in advance and sorry to bother you again.

105
Computer Projects and Ideas / Re: My project: Phil
« on: February 20, 2013, 01:04:06 pm »
I made this Phil related artwork. The one on the right is the main antagonist, the other is a mob.

http://i.imgur.com/OzVk3OW.png

Pages: 1 ... 5 6 [7] 8 9 ... 22