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 Your Projects 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.

This forum is locked: you cannot post, reply to, or edit topics. Project Ideas/Start New Projects => Your Projects
Author Message
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 16 Nov 2009 10:12:59 pm    Post subject:

I have an idea to program a game called wario's woods for the ti-83+. The basis of the game is little square shaped things fall. There are three- forum different types. You then have to try and make rows of at least three, which either go horizontal or vertical. The game can be 2 player or verse a computer. You have a character that will lift a pile, as long as he has room to do so, and he will move it to a new spot. If they're two higher then you, you can't climb them. Some extras are certain power ups for matching large rows, which may add blocks to your opponents side. Stones that cant be destroyed. Gems that give power ups etcetera.

Now the help I need is with the main action. I Doubt I can help very much besides giving descriptions and some coding help, but I want it to be on the graph. I have no idea how to code so you can move while things fall. I also can't account for changes in height of piles. This is where I need the help. Any help is appreciated, whether its volunteers or tutorials on what I don' know.
Back to top
dxfan101010


Member


Joined: 31 Mar 2008
Posts: 194

Posted: 16 Nov 2009 10:41:33 pm    Post subject:

Ill help optimize code and with any questions you have but its better to post up some code and ask for help. So we can see what you have done same thing for your other topic

you could try to do a simple version on the home screen first and then move it over to the graph screen

also multiplayer in basic dosent relly work its slow and laggey and programing a cpu player would probley be the better way to go


Last edited by Guest on 16 Nov 2009 11:10:03 pm; edited 1 time in total
Back to top
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 17 Nov 2009 05:29:29 pm    Post subject:

I will try it. My only problem is movement. I use a loop with if statements to make things move. I don't know how to incorparate the movement of another thing into that.
Back to top
ztrumpet


Active Member


Joined: 06 May 2009
Posts: 555

Posted: 17 Nov 2009 07:34:37 pm    Post subject:

Just use two variables.
Like:

Loop
:getkey
:C+(Ans=26)-(Ans=24->C
:H-1->H
End
Back to top
dxfan101010


Member


Joined: 31 Mar 2008
Posts: 194

Posted: 17 Nov 2009 08:29:57 pm    Post subject:

Use a repeat loop with
X and Y for your character

then other variables for your objects thatt are falling youse this code for movement

Output(X,Y,Space
getkey→K

X+(k=34 And X<[escape]Cool[/escape]-(k=25and X>0 )→ X
Y+(K=26 and Y ≤ 16)-(K=24 ≥1)→ Y
Output(x,y,"O

I think thats right
and than update all your varables and output a space at the old xy


Last edited by Guest on 01 Jul 2010 10:24:30 am; edited 1 time in total
Back to top
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 19 Nov 2009 07:49:38 pm    Post subject:

So like have an object fall, go to your character move or another falling object, etc.?
Back to top
dxfan101010


Member


Joined: 31 Mar 2008
Posts: 194

Posted: 19 Nov 2009 08:45:47 pm    Post subject:

you can have all of them in one loop
h
Back to top
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 19 Nov 2009 11:43:22 pm    Post subject:

What do you mean. If you suggesting that after or before your guys moves, then it doesnt work. It depends onyour guy moving first.
Back to top
dxfan101010


Member


Joined: 31 Mar 2008
Posts: 194

Posted: 20 Nov 2009 12:04:26 am    Post subject:

Then make it so a loop only creates an object when you move your character
id Like to see your code so i can help more
Back to top
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 20 Nov 2009 12:11:09 am    Post subject:

Well part of the game is that if you dont play things fall. Aight. Tomorrow I'll be working on a simple code or the fallings items. Not sure if it'll work though.
Back to top
dxfan101010


Member


Joined: 31 Mar 2008
Posts: 194

Posted: 20 Nov 2009 12:28:32 am    Post subject:

just a hint i alaways start with the basic movement of whatever character you are goung to use

Repeat x=100
getkey→k
If ans Then:\\ this line keeps the character from blinking
Output(X,Y,Space
Timer-1→Timer \\ use a varaible
Else
timer+1
end
IF timer>10
\\create an object code
maby use a string with your three objects
and do
Sub(str1,randit(1,3),1)→object youll output


X+(k=34 And X<[escape]Cool[/escape]-(k=25and X>0 )→ X \\ these lines are the optimized version
Y+(K=26 and Y ≤ 16)-(K=24 ≥1)→ Y \\ of the movement commands and the keep the guy in the screen

Output(x,y,"O
end


\\=comments
This code will wait until you havent pressed a key 10 times through the loop to create an object
i can explain anything you need me 2


Last edited by Guest on 01 Jul 2010 10:23:48 am; edited 1 time in total
Back to top
Bhaliar


Member


Joined: 16 Nov 2009
Posts: 221

Posted: 20 Nov 2009 11:22:20 am    Post subject:

Hmm thanks. Thats helpes alot. Havent started object codes yet. been busy with little nit picking stuff.
Back to top
Display posts from previous:   
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
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement