Omnimaga
Calculator Community => Other Calc-Related Projects and Ideas => Topic started by: Raylin on October 29, 2010, 01:35:18 am
-
Discuss the game here.
The digital documentation is linked here. (http://ourl.ca/7663)
-
/me lost the game and wonder what is this project.
-
Linked this topic with digital documentation.
-
By "bat," do you mean like baseball, or vampire?
-
Baseball bat.
-
Ah, that's what I thought. Sounds cool!
-
It will get better as I add more to the digital documentation.
-
Hah, looks like a very good thriller, hope to play it someday haha :)
-
You'll play it in two weeks. This is my contest entry for ASHBAD_ALVIN's Team Battles.
-
Who are you working with?
-
No one. I am taking on the two alone.
-
Ah, ok. Good luck!
-
You'll play it in two weeks. This is my contest entry for ASHBAD_ALVIN's Team Battles.
Would it be wrong to say that I'm looking forward to playing it?
-
Absolutely not.
-
Well, I look forward to playing it.
EDIT: For some reason, I can't find my post count...
-
lol MRide! :P
Sounds neat! Good luck Raylin. :)
-
Well, I look forward to playing it.
EDIT: For some reason, I can't find my post count...
Same here ???
On the topic, I can't wait in 2 weeks :)
Good luck!
-
Thank you, gentlemen.
-
Good luck. I hope you really go all out with it :)
-
Thank you again, sir. :P I plan on making it truly epic.
-
Also don't forget about this (http://ourl.ca/6863) while making this project, knowing what happened to your Doors CS previous contest entry. X.x
-
Haha. Funny, DJ. I'mma rip out a battery! :D
Anyway, planning is almost finished. Going to start coding soon.
EDIT: I need the easiest way to replace a character in a string.
Right now, my code looks like this:
:"<theta><space>→Str1
:sub(Str2,1,3<length of map>)+sub(Str1,1,1)+sub(Str2,3H+2,length(Str2-sub(Str2,1,3H
That looks nasty. Is there an easier way?
-
Woops, I completly forgot about this topic earlier. The bricked calc incident and something else sidetracked me. I'll try to see what I did to replace chars in strings before. Zelda DLQ uses such thing, but I am not confident about if it's better than your way or not. Hold on...
EDIT: Ok, well, not sure if what I got is any better really, but this is what I would do:
Assuming Str1="*", Str2="ABCDEFGHIJKLMNOP" and that I want to change char #5 in Str2 (5 is stored into L), I would do:
sub(Str2,1,L-1)+Str1+sub(Str2,L+1,lenght(Str2)-L->Str2
This appears to run at about 10 times a second on a regular 83+. Not sure if it is small and fast enough for your needs. Hopefully this might help, though.
In this case, the result is "ABCD*FGHIJKLMNOP".
(Darn I haven't coded TI-BASIC in so long...)
-
DJ, thank you for that. You just resolved a major slowdown in our game too ;D
I was previously splitting the string in half, editing the one symbol left out, and then recombining the string. Took forever because there's a lot of data to move around.
EDIT: Wait, I just realized that's exactly what that code does. :P
Thanks anyway though. It's still more efficient than what I was doing.
-
Lol no problem. :D
I don't remember if this is what I did in DLQ but that game was made over 6 years ago so it must be less optimized than most stuff people are doing today.
-
/me wonders if there will be a screenshot soon...
-
HOLY MECRIMINYJESUS.
Movement engine is horribly slow. It takes a full second to move now.
On the other hand, you can modify all of the graphics in the game, you can make any size map you want now (including obstacles), your player can climb stuff now, there's enemies, and YOU CAN TAKE COVER BEHIND BUILDINGS AND WALLS.
Sorry to hear about the speed. X.x I hope you can solve the issue before the deadline. Those new features seems really cool, though, especially the ability to take cover behind buildings/walls.