Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Eeems

Pages: 1 ... 225 226 [227] 228 229 ... 370
3391
Project M (Super Mario) / Re: Project M Reboot
« on: May 06, 2010, 02:01:08 am »
O.o
Thst just blew my mind.
That will win you a POTY for sure.
Wow...

3392
Web Programming and Design / Re: jBasic
« on: May 05, 2010, 08:19:44 pm »
ok, I've added a keySim() command for all of those who want to give the users out there without a proper keyboard a way of using it :P

keySim(key);
simulates a key-press. key is down for 100 milliseconds, then the key is "released".

key = the key-code of the key pressed

EDIT: added objLocWidth() objLocHeight() and objCheck(). they are untested though, so I don't know if they work.

objLocHeight(obj);
returns the y location of the bottom of the object
obj = the pointer to the object

objLocWidth(obj);
returns the x location of the right side of the object
obj = the pointer to the object

objCheck(obj);
checks to see if the object is within the window
obj = the pointer to the obj

3393
TI Z80 / Re: SIr's 3d program
« on: May 05, 2010, 08:14:18 pm »
that sucks...have they blocked unitedti.org?

can't wait to see that screenshot, and to see the axe version :P

3394
Web Programming and Design / Re: jBasic
« on: May 04, 2010, 11:18:26 pm »
Thanks :) yeah, its the best way to use it :p
I'll try to add string based testing later for the more used keys, but its not a priorety.

3395
Web Programming and Design / Re: jBasic
« on: May 04, 2010, 05:22:44 pm »
yeah..well I got multiple keypresses working, but now I can't support the way I had it before, so:
http://www.webonweboff.com/tips/js/event_key_codes.aspx keycodes are here, and the new format for getKey() is:

getKey(e)
returns true if the key is pressed and false if it is not

e =  the keycode you are checking for

3396
Web Programming and Design / Re: jBasic
« on: May 04, 2010, 04:50:41 pm »
yes, this will be meant for game development, so which key's would you want?

3397
Web Programming and Design / Re: jBasic
« on: May 04, 2010, 04:27:49 pm »
ok, I've been making some progress on jBasic, so far I have just added some support for getting and setting the x and y position of objects, so this will make it easier to move stuff on the screen. It's hard to make an object orientated language work like TI-Basic, so there will be some differences, mainly, it's still object orientated. I'll probably be adding more object manipulators, like something that checks if it is still within the screen, etc.
For the Key's I have text identifier support for the arrow keys, shift, ctrl, alt, pause/break and enter, any more I should make easily accessible? Keep in mind I still have the Key-codes so you can check for all the keys :P Multiple key-presses are still not supported, but I will be adding them possibly soon.

New Template:
Code: [Select]
<html>
 <head>
  <title>
   Title
  </title>
  <script type="text/javascript" src="jBasic.js"></script>
  <script type="text/javascript">
   function setup(){
    //put code here
   }
  </script>
 </head>
 <body onload="gScreen = document.getElementById('window');setup();" >
  <div id="window" >
  </div>
  <form name="keyform">
   <input id="getkey" style="visibility:hidden;" readonly="readonly" type="text" value=""></input>
   <input id="getkeycode" style="visibility:hidden;" readonly="readonly" type="text" value=""></input>
  </form>
 </body>
</html>

3398
Nice! I can't wait to use it on my calc :p
what's the new estimate on the completion date?

3399
Other / Re: Android on iPhone!
« on: May 03, 2010, 04:23:36 pm »
Apple can't do anything either :p

3400
Other / Re: Android on iPhone!
« on: May 03, 2010, 01:42:03 am »
Its free, but it hasnt been ported to iTouch yet.

3401
Other / Re: Android on iPhone!
« on: May 02, 2010, 06:40:31 pm »
I've been following this since they first booted the Kernel :P
It has me excited :P can't wait to get a device that I can try it out on :P

3403
Web Programming and Design / Re: jBasic
« on: May 01, 2010, 11:07:52 pm »
Yeah I intend to write some tutorials :) hopefully they will help :)

Now to figure out how to get multiple keypresses.

3404
Web Programming and Design / Re: jBasic
« on: May 01, 2010, 07:01:27 pm »
well that and if you have a pre-designed character built with html (using tables and such) then you can use this to add them.
ok, GetKey() and getKeyCode() works now :D they require the addition of
Code: [Select]
<form name="keyform">
  <input id="getkey" style="visibility:hidden;" readonly="readonly" type="text" value=""></input>
  <input id="getkeycode" style="visibility:hidden;" readonly="readonly" type="text" value=""></input>
</form>
between the <body> tags

try pressing the arrow keys in the demo :P

3405
Web Programming and Design / Re: jBasic
« on: May 01, 2010, 06:34:38 pm »
I mean like animated characters and such, things that you built using HTML and you want to just include that.

also, getKey() doesn't work...but I'm working on it.

Pages: 1 ... 225 226 [227] 228 229 ... 370