Author Topic: Map Mode Question  (Read 7063 times)

0 Members and 1 Guest are viewing this topic.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Map Mode Question
« on: March 29, 2011, 05:14:55 pm »
I'm not sure If I should post this here, but I was wondering, How exactly do I use Map Mode?  Maybe its just me, but the manual wasn't very clear.

As in, how could I use map mode to do a scrolling tilemap?
« Last Edit: March 29, 2011, 05:15:12 pm by yunhua98 »

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Map Mode Question
« Reply #1 on: March 29, 2011, 05:48:01 pm »
Sorry about the manual.  I tried my best to make it clear, so I feel that it's more that I rushed testers into reading the entire thing.  Anyways, don't worry about asking questions.

Be careful about smooth-scrolling a tilemap, as it's not as fast as doing it on Axe.  However, to move it to the left (like if your character is moving right), specify a negative X coordinate.  The following code will smooth-scroll a map to the left when the user hits the "right" key on the keypad.  Assume that A = 0 at the start.


Lbl AA
e^(0,A,Str1
A-1->A
int("DD
Goto AA

The same goes for Y Coordinates.  If you want to move a map up when the user presses the "down" key, use negative Y coordinates.

Please do not go above 0 for X coordinates for right now.  I have a bug to fix.

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Map Mode Question
« Reply #2 on: March 29, 2011, 05:55:00 pm »
Okay, i still need to fix the sprite though.  ;)

as for above 0, I could just add a black border around my map or something like I do for Axe.

Thanks!

btw, should we have a Correlation questions thread like for Axe?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Map Mode Question
« Reply #3 on: March 29, 2011, 05:57:08 pm »

btw, should we have a Correlation questions thread like for Axe?

When it's released

Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Map Mode Question
« Reply #4 on: March 29, 2011, 06:20:41 pm »
Ah, okay, so for now can we ask them in the bug reorts topic, or should we make our own topic?

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline Hot_Dog

  • Project Author
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Map Mode Question
« Reply #5 on: March 29, 2011, 07:05:45 pm »
You should make your own question under Our Projects/Correlation if it's not a bug-related thing.  That makes it easier for me :)