TEXAS_JOE Posted March 31, 2012 Share Posted March 31, 2012 Hi. I need an effective way of controlling a character on screen (not sprite) with emulated joystick in Classic99 I'm sat here trying all sorts, I can't seem to get hold of the right literature for this. What are the commands for the joystick to control a char? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
TEXAS_JOE Posted March 31, 2012 Author Share Posted March 31, 2012 (edited) Ok, sorry guys - I've worked out the controls ... I just can't address the fire button .... The joystick is addressed with 4 and -4, but what is the code for the fire button ? I'm making a game that controls a little guy, Chad, around the screen, collecting gold coins in a minefield. The aim is to collect as much gold as you can without being blown into smithereens. The reason it has to be joystick controlled is because it's being made for my friend who has a Sony PSP and wants to run PSP TI99 emulator! That's also the reason why I need to know the fire-button code. (Fire is to be pressed as a panic button to move you up a level, as in Blitz my other game) Edited March 31, 2012 by TEXAS_JOE Quote Link to comment Share on other sites More sharing options...
sometimes99er Posted March 31, 2012 Share Posted March 31, 2012 I believe TAB and Q are FIRE in Classic99. 100 CALL KEY(1,K,S) 110 PRINT K,S 120 GOTO 100 The above will return 18 in both cases. Quote Link to comment Share on other sites More sharing options...
Tursi Posted March 31, 2012 Share Posted March 31, 2012 Q will also respond as fire for Joystick 1 on the real TI, just due to the way that the split keyboard scan works in KSCAN. Tab of course is Classic99 specific, though the joysticks can be configured to use the PC joysticks instead. Quote Link to comment Share on other sites More sharing options...
TEXAS_JOE Posted April 1, 2012 Author Share Posted April 1, 2012 Thankyou Karsten & Tursi. Keycode 18 ... right I'm on it! My personal preference is to use an XBOX 360 pad for TI gaming unless i'm playing munch man Quote Link to comment Share on other sites More sharing options...
orion1052003 Posted April 3, 2012 Share Posted April 3, 2012 K=18 for the red button on the "wired remote controllers" CALL JOYST and CALL KEY together to move a char around and do something with the button. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.