Author Topic: Project Feedback - Imagination Quest  (Read 40155 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Project Feedback - Imagination Quest
« Reply #120 on: September 13, 2010, 08:45:29 pm »
X.x, that sucks BASIC is so slow. Oh well, at least games like yours and a few others here shows that BASIC can still make cool games at least ;D

Nice to see this is still progressing. Can't wait to see battle system :)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #121 on: September 13, 2010, 09:11:57 pm »
For the title screen is everything hard coded in with each line having it's own command or are the coordinates compressed at all?
No, no compression.  Would that be any slower?  The title screen effect requires fast displaying letters.

X.x, that sucks BASIC is so slow. Oh well, at least games like yours and a few others here shows that BASIC can still make cool games at least ;D

Nice to see this is still progressing. Can't wait to see battle system :)
Thanks.  I really would like to have flipping, but after seeing the severe speed decrease, I just did away with it.
You might have to wait a while for the battle system, though.  Progress is going to really slow down now that school is on a roll with tests and everything.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #122 on: September 13, 2010, 09:12:41 pm »
For the title screen is everything hard coded in with each line having it's own command or are the coordinates compressed at all?
No, no compression.  Would that be any slower?  The title screen effect requires fast displaying letters.
Compression would take too long.  How big is it now? :)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #123 on: September 13, 2010, 09:15:45 pm »
For the title screen is everything hard coded in with each line having it's own command or are the coordinates compressed at all?
No, no compression.  Would that be any slower?  The title screen effect requires fast displaying letters.
Compression would take too long.  How big is it now? :)
Well, let's see....the whole title screen program is about 1400 bytes, so maybe 1000 bytes of line( commands.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #124 on: September 13, 2010, 09:28:01 pm »
Well if lists were used to store the coordinate data wouldn't that save room? I have no idea though, was just a thought.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #125 on: September 13, 2010, 09:54:59 pm »
Well, let's see....the whole title screen program is about 1400 bytes, so maybe 1000 bytes of line( commands.
Ah, okay. :)

Well if lists were used to store the coordinate data wouldn't that save room? I have no idea though, was just a thought.
I doubt if it would save much space, but it would be slower.  You could make it smaller with strings, but that would be slower as well. :)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #126 on: September 13, 2010, 10:04:58 pm »
How much slower though? I can't imagine it making it to bad.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #127 on: September 13, 2010, 10:07:53 pm »
I think it would be possible to get good speed with strings.  Hmm... :)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #128 on: September 13, 2010, 10:09:24 pm »
Hmm, ya. A string would also be easier to code.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Project Feedback - Imagination Quest
« Reply #129 on: September 14, 2010, 04:19:32 pm »
You could actually probably get decent compression with lists, plus they'd retain a fair amount of speed, if done right. (Contra 83 style!) Each line would be one list element, and you can actually draw it fairly quickly for compressed stuff in BASIC. I believe I posted an image editor that lets you draw images in that form of compression, and includes the drawing routine somewhere in the sprite request thread for this.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #130 on: September 14, 2010, 05:33:25 pm »
Ya, thats what I was thinking too. And honestly I think lists and strings would both work. It would just be a matter of testing.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #131 on: September 14, 2010, 06:27:09 pm »
So, how would I do this with lists?  Store the coordinates in lists and use a for loop with a random wait at the end for the typing effect?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #132 on: September 14, 2010, 06:38:17 pm »
Well with lists there are a couple ways you could store to them. You could do either one set or coordinates per element or you can store up to six or seven coordinates per element. For example, if you did one set per element it would look something like {1020304,5060708,9101112,...} and then use a combination of 10^( and multiplying by a hundred to pull the right coordinate. The timing might be a little hard this way. If you did six or seven coordinates per element then you could do {1020304050607,8091011121314,15161718192021,...} and do a similar method to decompress it.

If you give me a list of coordinates, in order of how they would be displayed, I can put together an example of what I mean in action.

Also, for the string method. It's more obvious with it but I'll explain anyways. You'd basically just line them up in order of being displayed, such as "010203040506070809101112131415161718192021...", and then use a For( loop going from one to the length, minus three I think (three or four), going up by fours and just use the sub( to call the correct coordinates.
« Last Edit: September 14, 2010, 06:45:17 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Project Feedback - Imagination Quest
« Reply #133 on: September 14, 2010, 07:00:33 pm »
Here's the coordinates for the first letter.
1,-2,9,-2
5,-2,5,-7
1,-7,9,-7

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Project Feedback - Imagination Quest
« Reply #134 on: September 14, 2010, 07:21:51 pm »
Code: (List Compression) [Select]
{1020902,5020507,1070907→L1
For(A,1,dim(Ans
Line(iPart(E2fPart(L1(A)/E8)),-iPart(E2fPart(L1(A)/E6)),iPart(E2fPart(L1(A)/E4)),-iPart(E2fPart(L1(A)/E2
End

Note:
Each "E" in that code is the scientific notation E.

Code: (String Compression) [Select]
"010209020502050701070907→Str1
For(A,1,length(Str1)-7,8
Line(expr(sub(Str1,A,2)),-expr(sub(Str1,A+2,2)),expr(sub(Str1,A+4,2)),-expr(sub(Str1,A+6,2
End

There might be optimizations that can be made, I just threw those together real fast to demonstrate the methods.

Note:
The list method is 108 bytes while the sting is 114 bytes. BUT, the string is 35 bytes while the sting is 39 bytes.
« Last Edit: September 14, 2010, 07:28:40 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)