Made my main menu screen, with vertical text sprites
Sits at just under 800 bytes, I'm sure I can optimize it even more by changing some of the characters, but eh, nbd
Only drawback to this is that any MP OSes would need to run a small asm program (specifically asm program with this hex: FDCB058EC9) because of the flag that deletes the bottom row in the text routine.
Next up is making AI, and this should be complete (but then AI will take a while to make... so hopefully I'll be finished before due date )
After the contest, I'll probably implement 2 player mode, either via link cable with asm program help or 2 player on 1 calc mode
Edit: So far, the code takes up 10348 bytes, that's without any AI or implementing win condition. Win condition should be easy, but hopefully AI fits in another 10k bytes
Yes I deleted the whole folder and extracted it. I'm heading to work now so I can provide u with more detail soon
Edit: Okay this is the message I get.
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
startIndex cannot be larger than length of string. Parameter name: startIndex.
Spoiler For detail:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at System.String.Substring(Int32 startIndex) at TokenIDE.Prog8xEditWindow.UpdateHighlight(List`1 tokens, Range range) at TokenIDE.Prog8xEditWindow.ProgramText_TextChanged(Object sender, TextChangedEventArgs e) at FastColoredTextBoxNS.FastColoredTextBox.timer2_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
this happens when I type in backslash anywhere in TokenIDE (including within the string).
I don't know if you update your version number, but it's 0.10.0.0, and I have icons next to all Hex Sprite Editor, DSC Gui Designer, and Image Editor.
i do have the icons, that's why I was confused. I was typing:
Text(9,16,sub(" \|>=>|>Sigma\|<=<<|3",F,1
Whenever I type that backslash, it throws me unhandled exception, I'll post up exactly what it says tmmr, but yeah. Even if I ignore it by pressing Continue, the groups are wrong. What I want it to be is: |, >=, >, |>, Sigma, |, <=, <, <|, 3 but I'm getting: \, |>, =, >, |>, Sigma, \, |, <=, <, <|, 3
Notice the backslashes in there, and also that |> instead of >= in the 2nd one.
Alright, new update! Now the unit movement, attacks, damage calculations, they all work, and also ending a turn works!
If you see it to the end, you'll see that the archer changes from archer to infantry when it makes a successful attack. It's already fixed, but I was too lazy to make another screenshot
Stuff I need to do now: -Main menu with the ability to load the game -Saving the game -Checking the bases' HP and telling the player if he won or lost -Most importantly, AI
First 3 should be really easy, I'm just afraid of how I'm going to do AI. It'll be a major PITA for a decent AI (since this is very much like chess or advance war). Hopefully I can make one that's decent without being too slow...
As far as the item menu goes I think either is fine. Your current setup looks good to me, and it's really a matter of preference. If you have time later and decide you want to change it then do so. If it works and is function for now leave it as it is. Focus on getting a complete working product first.
yeah if it works, get other things done first, and then if you still have time and want to change it, do it then Current setup looks pretty good, so it's not a big deal imo
Yeah I haven't finished the campaing yet. I tend to prefer standard multiplayer games than missions, although I would still like to finish the campaing, even if on medium.
That reminds me, I wonder if Heart of the Swarm will end region locks for custom games? I heard it might. I also heard about clan support, which might be cool for creating an Omni group. But I'm particularly interested in the region lock removal if that happens, since I would finally be able to play with more people here on the forums.
yes there will be region lock removal. It'll be like sc1 or diablo 2, where you choose which server to log in at the log in screen.
I still have some things to straighten out, like actually being able to select the units to move/attack, make new units, few changes to the HUD to make it better, etc.