Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
Wait For Keys
« previous
next »
Print
Pages:
1
2
[
3
]
4
Go Down
Author
Topic: Wait For Keys (Read 22851 times)
0 Members and 3 Guests are viewing this topic.
qazz42
LV9
Veteran (Next: 1337)
Posts: 1130
Rating: +30/-12
hiiiiiiiii
Re: Wait For Keys
«
Reply #30 on:
September 26, 2010, 02:54:09 pm »
lol,
Logged
+0/-1 karm for this message
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.
Re: Wait For Keys
«
Reply #31 on:
September 26, 2010, 02:56:59 pm »
Quote from: Deep Thought on September 26, 2010, 02:46:26 pm
Soo, which routine are you going to use?
While {Lobesteritus_Ensues}
getKey->{The_Game}
End
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Quigibo
The Executioner
CoT Emeritus
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +1075/-24
I wish real life had a "Save" and "Load" button...
Re: Wait For Keys
«
Reply #32 on:
September 26, 2010, 03:02:56 pm »
By the way, adding a pause in a loop with a getkey doesn't actually do anything control-wise other than make the response time a little slower. The pause needs to be internal in the getkey routine itself (which I have fixed now).
Logged
___Axe_Parser___
Today the calculator, tomorrow the world!
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Wait For Keys
«
Reply #33 on:
September 26, 2010, 03:14:00 pm »
Do you mean pause and getkey will be merged? I am not too sure what you mean by being internal in the getkey routine
Logged
calcdude84se
Needs Motivation
LV11
Super Veteran (Next: 3000)
Posts: 2272
Rating: +78/-13
Wondering where their free time went...
Re: Wait For Keys
«
Reply #34 on:
September 26, 2010, 03:51:45 pm »
Quigibo, does that mean something like the getKey(#)
r
I suggested, or am I misunderstanding?
Logged
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler
For
"PartesOS links"
:
I'll put it online when it does something.
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Wait For Keys
«
Reply #35 on:
September 26, 2010, 04:17:16 pm »
You mean getKey(#) will have the pause built-in from now on, right? So no messing with Pause for keypresses
EDIT:
Oh, yeah, you're right, Quigibo. Even if we added a pause, it wouldn't affect anything since the getKey routine's already done.
«
Last Edit: September 26, 2010, 04:18:19 pm by Deep Thought
»
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Wait For Keys
«
Reply #36 on:
September 26, 2010, 04:43:11 pm »
Oh I see now what he meant. It would be nice if we could make the pause internal.
Logged
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Wait For Keys
«
Reply #37 on:
September 26, 2010, 04:44:38 pm »
It has to be, anyway. So what was the problem earlier? Did the getKey(#) routine simply not have a pause, so the key codes could turn out wrong or something?
Logged
calc84maniac
eZ80 Guru
Coder Of Tomorrow
LV11
Super Veteran (Next: 3000)
Posts: 2912
Rating: +471/-17
Re: Wait For Keys
«
Reply #38 on:
September 26, 2010, 04:47:40 pm »
I think it didn't have a long enough pause for 15MHz mode.
Logged
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Wait For Keys
«
Reply #39 on:
September 26, 2010, 04:57:45 pm »
I think in Wabbitemu, this also happened in 6 Mhz mode. One of player1537 program (his first contest entry I think) had that problem. Wabbitemu migth have handled key detection differently or something.
Logged
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Wait For Keys
«
Reply #40 on:
September 26, 2010, 04:59:29 pm »
Could Wabbit be running too fast? It seems to be, even for 6 MHz now.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Wait For Keys
«
Reply #41 on:
September 26, 2010, 05:03:47 pm »
Yeah I heard people saying it has been running a bit faster. However, in 6 MHz mode I didn't notice.
Logged
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.
Re: Wait For Keys
«
Reply #42 on:
September 26, 2010, 06:00:15 pm »
In 6mhz mode on my calc (an 84+SE letter M) I need to add extra Pauses when doing loops like this:
While getKey(54)
End
(I must do While getKey(54):Pause 40:End. Please note the 40 isn't exact, it's the first number that I tried, and it works, so...
)
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Wait For Keys
«
Reply #43 on:
September 26, 2010, 06:00:50 pm »
What happens if you don't? Does it not register the keypresses?
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Wait For Keys
«
Reply #44 on:
September 26, 2010, 06:08:17 pm »
I assume so. Isn't a smaller delay enough, though? Personally I would hate if the delay was too long because then the game starts slowing down, which is bad if you are using grayscale.
Logged
Print
Pages:
1
2
[
3
]
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
Axe
(Moderator:
Runer112
) »
Wait For Keys