Don't have an account? Register now to chat, post, use our tools, and much more.
Latest Headlines
Online Users
There are 108 users online: 3 members, 71 guests and 34 bots. Members: Ashbad, shundra9. Bots: VoilaBot (3), Spinn3r (2), MSN/Bing (1), Magpie Crawler (3), VoilaBot (5), Googlebot (13), Googlebot (5), MSN/Bing (2).
RSS & Social Media
SAX
You must log in to view the SAX chat widget
|
This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's TI-Freak8x subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.
 Pokemon Purple => TI-Freak8x
| Author |
Message |
|
cssc
Newbie

Joined: 04 Jan 2008 Posts: 36
|
Posted: 15 Dec 2009 08:45:55 pm Post subject: |
|
|
| Good luck! I'll be looking out for progress |
|
| Back to top |
|
|
tifreak8x
Elite

Joined: 27 Aug 2005 Posts: 956
|
Posted: 18 Dec 2009 02:30:06 pm Post subject: |
|
|
Proof that I am not complete fail:
They only move left and right, and only move if you are sitting still. |
|
| Back to top |
|
|
tifreak8x
Elite

Joined: 27 Aug 2005 Posts: 956
|
Posted: 20 Dec 2009 05:44:08 pm Post subject: |
|
|
4-way movement for NPCs are now implemented!
To do:
-Make NPCs recognize character as non-walkable
-Make NPCs not clear a trail in grassy areas
-Make it so you can talk to NPCs again ._. |
|
| Back to top |
|
|
cssc
Newbie

Joined: 04 Jan 2008 Posts: 36
|
Posted: 20 Dec 2009 11:37:19 pm Post subject: |
|
|
Very Nice! Is it random which way they move?
Good luck on your list, I'm sure you'll work it all out |
|
| Back to top |
|
|
tifreak8x
Elite

Joined: 27 Aug 2005 Posts: 956
|
Posted: 21 Dec 2009 10:17:44 am Post subject: |
|
|
yeah, it pulls from randInt(1,4 to decide how they move.
Also, made NPCs unwalkable, made character's position unwalkable, and gave them both a new ascii character for facing down.
Last edited by Guest on 21 Dec 2009 10:18:39 am; edited 1 time in total |
|
| Back to top |
|
|
JoeYoung
Advanced Member

Joined: 15 Nov 2008 Posts: 316
|
Posted: 21 Dec 2009 03:05:27 pm Post subject: |
|
|
| tifreak8x wrote: | yeah, it pulls from randInt(1,4 to decide how they move.
Also, made NPCs unwalkable, made character's position unwalkable, and gave them both a new ascii character for facing down. |
at every instance of randInt, does every NPC character move on the screen, or is it independant? And if it isn't, are you running maybe a randInt(0,1) * randInt(1,4) to see if they move at all? (standing still at 0) |
|
| Back to top |
|
|
cssc
Newbie

Joined: 04 Jan 2008 Posts: 36
|
Posted: 21 Dec 2009 04:44:00 pm Post subject: |
|
|
If you did that why not just do randInt(0,4)?
But I'm liking the progress so far |
|
| Back to top |
|
|
tifreak8x
Elite

Joined: 27 Aug 2005 Posts: 956
|
Posted: 21 Dec 2009 05:34:45 pm Post subject: |
|
|
| as of right now they all move at once, without any real noticeable slow down, since they only move when you aren't walking. |
|
| Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
© Copyright 2000-2013 Cemetech & Kerm Martian :: Page Execution Time: 0.025345 seconds.
|