Will script size affect performance?

GPC2 script programming for Titan Two. Code examples, questions, requests.

Re: Will script size affect performance?

Postby Nstarnoe » Sun Jun 09, 2019 9:36 am

Hi sachi

I am mind blow by you help and skill, thank you so much :)

A few questions, as I don’t really understand the use of gph, nor events

When used the new xin file do I have to change “xkeys_event_active” to “xin_is_active” etc or is the naming the same ?

And as far as I can tell, you even included the scroll wheel function - going above and beyond :) But how do I call it in the main script?
User avatar
Nstarnoe
Master Sergeant
Master Sergeant
 
Posts: 40
Joined: Sun Jan 13, 2019 2:19 pm

Re: Will script size affect performance?

Postby Scachi » Sun Jun 09, 2019 4:03 pm

Don't change your xkeys_event lines, your mouse code or anything else in your script.

The xin.gph header files does/should understand the xkeys_event lines, anything else in this header file isn't completed and will not work. So don't change your code :wink:

I have started this file some time ago to test ideas for being able to handle more keys or testing different approaches. The keyboard stuff should work and use less cpu (there can be bugs :wink: )
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Previous

Return to GPC2 Script Programming

Who is online

Users browsing this forum: midg3t2 and 225 guests