≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
setup running - no js
Posted by:
(you are not logged in)
Enter the missing letter in: "Intern?tional"
(you are not logged in)
Text:
[quote][b]Robo[/b] wrote: There is a javascript available in the forum for run function but if you don't like editing javascript then it cans till be done via menu keys. I admit its a pain but can be done: To setup a run function first setup these variables before drawing anything: up=0 down=0 left=0 right=0 Shift=0 move=0 Then every like 20ms or so do this: if up is pressed down, set up = 1 if up is left up, set up = 0 (do this same method for each other variable above except for 'move') Then another query every 50ms or so: if up=0, if down=0, if left=0, if right=0, then move=0 for each alternative action set move=1 such that any movement key pressed will make 'move' equal to 1 Then create another query: if move=1 and shift=1 then: set variable "HASHplayer1.movementspeed = 0.045 (or whatever speed you want to run at) 'player1' is just the name of your player. This is long winded but only this I found works without stuffing up somehow...and tried numerous ways.. Enjoy.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact