Omnimaga

Omnimaga => Discontinued => Our Projects => Gateways: Portals of Time => Topic started by: yunhua98 on January 08, 2011, 05:30:38 pm

Title: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 05:30:38 pm
I've been working on this on and off for a week and have started over a couple of times due to an VERY stupid error I didn't notice until the third time I started over.  :P

anyway, I have a demo of my movement engine, which I'm going to add the storyline to as a kind of intro program, and here's the story so far and a screenie.

His Story and Your Story so far (I love bad puns.  :P):
  Seven generations ago, a devastating plague hit the Earth.  It was from the Alpha, the benevolent Creator.  However, he is not in the right mind, having been possessed by an evil spirit spawning from one of The Alpha's experiments gone wrong.  Fortunately, the Alpha regained his senses for a short time due to the immensity of the devastation.  He summoned his last reserves of energy and put himself into a deep sleep.  This the evil spirit will be stuck in him, yet unable to use the Alpha's massive power for 200 years.  The plague caused the rich nobles to escape into the heavens, and built structures in the skies.  Meanwhile the middle class struggled to survive on Earth.  Due to an alarming lack of natural resources, they forced the Peasants and poorer families underground, where they live to this day, little more than beasts.  Sadly, the 200 years are almost up, and signs of the Alpha's reawakening are emerging.
  You come from a the noble family of Regulus.  You have been chosen to descend from the heavens and extract the evil spirit from the Alpha without harming him.  The stars will guide you and your sword from the heavens will defend you.  There are five Time Portals hidden where none but the bravest men on the Earth will dare journey to.  These Portals will be crucial to your success.  Good luck, Traveler...

EDIT:  the greyscale is horrible in the screenie...
Don't worry, its flickerless on-calc, except for the house, which I update every frame just because I need to slow it down, even so, its still a little too fast.  :P
Title: Re: Gateways: Portals of Time
Post by: Binder News on January 08, 2011, 05:45:58 pm
This looks awesome!
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 05:47:56 pm
This looks awesome!

Agreed! It looks so good! The greyscale seems beautiful and fast, the movement engine too!

What language is this?
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 05:50:37 pm
Thanks guys!

I'll have to say, it seems a bit too fast, but I doubt that'll happen when the game gets more maps, lol.  For now, though, the game is about ~2200 bytes, i think.  ;)
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 05:53:52 pm
Hum... I also suggest to find another way of slowing down the house, the flashy floor hurts my eyes :w00t:
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 05:54:53 pm
yeah, it doesn't do that on the calc, but I've been trying to find a way to slow it down.  ;)
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 05:56:53 pm
yeah, it doesn't do that on the calc, but I've been trying to find a way to slow it down.  ;)

I'm glad so, :D Also, are the walls completed in the house? It looks like the black line of the walls doesn't cover all of it, check the corners.
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 06:00:03 pm
yeah, I know, I was designing tiles on an 8x8 editor, and I was lazy, so I didn't edit it after the tiles didn't fit right, same with the completely disproportionate house as viewed from the out side: look at the line the door.  XD
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 06:02:07 pm
yeah, I know, I was designing tiles on an 8x8 editor, and I was lazy, so I didn't edit it after the tiles didn't fit right, same with the completely disproportionate house as viewed from the out side: look at the line the door.  XD

How are you handling sprites? 8*8?
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 06:02:53 pm
yeah, so the bigger  are just multiple 8x8 sprites.
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 06:03:23 pm
yeah, so the bigger  are just multiple 8x8 sprites.

Hum... There are only pic vars from 0 to 9. You can only have 9 sprites in the whole game?
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 06:05:21 pm
those aren't BASIC vars, they're pointers, so you can also store inside Str's and GDB's.  plus you have names from Pic1-

add a letter or number, so there are effectively 1080 pointers for sprites and you can use the RAM for sprites too...  ;)
Title: Re: Gateways: Portals of Time
Post by: Munchor on January 08, 2011, 06:07:32 pm
those aren't BASIC vars, they're pointers, so you can also store inside Str's and GDB's.  plus you have names from Pic1-

add a letter or number, so there are effectively 1080 pointers for sprites and you can use the RAM for sprites too...  ;)

You have saved my life.
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 06:11:01 pm
those aren't BASIC vars, they're pointers, so you can also store inside Str's and GDB's.  plus you have names from Pic1-

add a letter or number, so there are effectively 1080 pointers for sprites and you can use the RAM for sprites too...  ;)

You have saved my life.
No problem.  ;)
Title: Re: Gateways: Portals of Time
Post by: Michael_Lee on January 08, 2011, 06:16:28 pm
those aren't BASIC vars, they're pointers, so you can also store inside Str's and GDB's.  plus you have names from Pic1-

add a letter or number, so there are effectively 1080 pointers for sprites and you can use the RAM for sprites too...  ;)

You can actually add 2 letters/numbers to each Pic, Str, or GDB.

So that would be...  1110 possibilities?
Did I do my math right?  'Cuz that seems a bit off...

I like the plot for the game!  It seems like an interesting story.
Title: Re: Gateways: Portals of Time
Post by: Runer112 on January 08, 2011, 06:17:57 pm
Axe has a maximum allowance of 150 labels and static pointers by the way.
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 06:18:28 pm
thanks, and also, its 12960.  :P

EDIT:  aww...  :(
Title: Re: Gateways: Portals of Time
Post by: Michael_Lee on January 08, 2011, 06:19:28 pm
thanks, and also, its 12960.  :P

lol, I knew I did something wrong.
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 08:49:16 pm
Axe has a maximum allowance of 150 labels and static pointers by the way.

also, is it 150 static pointers and labels together or each?
Title: Re: Gateways: Portals of Time
Post by: FinaleTI on January 08, 2011, 08:52:24 pm
Together. After that, it's the MAX SYMBOLS error.
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 08, 2011, 08:54:05 pm
darn...  What if you displayed the pic without a pointer?  like Pt-on(0,0,[FFFFFFFFFFFFFFFF])?
Title: Re: Gateways: Portals of Time
Post by: ztrumpet on January 08, 2011, 08:55:44 pm
That doesn't count as a symbol. :)
Title: Re: Gateways: Portals of Time
Post by: FinaleTI on January 08, 2011, 08:58:02 pm
Yep, that's the way around the MAX SYMBOL error.
Title: Re: Gateways: Portals of Time
Post by: squidgetx on January 08, 2011, 10:02:51 pm
I hate that error. You think, oh, 150 is a pretty big number. It's not lol, especially with a large game like an rpg. Good luck yunhua; I can't wait to see what comes of this :)
Title: Re: Gateways: Portals of Time
Post by: FinaleTI on January 08, 2011, 10:30:42 pm
It's 153 now, but still.
Title: Re: Gateways: Portals of Time
Post by: Deep Toaster on January 09, 2011, 05:49:55 am
darn...  What if you displayed the pic without a pointer?  like Pt-on(0,0,[FFFFFFFFFFFFFFFF])?

It doesn't count as a symbol, but you still might want to avoid that (it's a lot easier to optimize if you don't use inline data). Having contiguous blocks of data is the easiest way to get around the MAX SYMBOLS error, since Str0+8 is exactly the same size as Str08 and is only one more keypress :D

yeah, it doesn't do that on the calc, but I've been trying to find a way to slow it down.  ;)

Set the number of grays in Wabbit to six. It usually works out the best for me. And why nnot Pause NUM to slow it down?

Anyway, this looks great! How far are you into the engine?
Title: Re: Gateways: Portals of Time
Post by: yunhua98 on January 09, 2011, 09:24:36 am
Well, I'm probably going to make a separate program for each world, and paurse number messes up grey