Gamestudio Links
Zorro Links
Newest Posts
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
Camera always moves upwards?
by NeoDumont. 11/14/25 16:32
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 6,697 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
tritom, sheliepaley, Blueguy, blobplayintennis, someone2
19178 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: I'm out of date on full-screen shaders... [Re: Ichiro] #301170
12/08/09 18:51
12/08/09 18:51
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
Originally Posted By: Ichiro
It's doing some really weird things (exiting on ESC?), but I think it actually means things are starting to work!


try remove the line
#include <default.c>
That file defines standard keys, like quitting on esc and f10, changing screen res and quicksave and quickload, which might overwrite what you have set in c-script.

Re: I'm out of date on full-screen shaders... [Re: SchokoKeks] #301187
12/08/09 20:40
12/08/09 20:40
Joined: Oct 2006
Posts: 470
Balkan
Ganderoleg Offline
Senior Member
Ganderoleg  Offline
Senior Member

Joined: Oct 2006
Posts: 470
Balkan
No problem smile I'm glad I was able to help out smile

As for esc I'm not sure- I have default.c included in my script and everything works fine. To be honest everything works fine also if I exclude it so... both are o.k. in my case. My GS version is commercial 7.50. Maybe that has something to do with it.

Btw- you can't share your vars between C-Script and Lite-C but you can use engine vars to communicate between them.
I use turb_speed for kick-effect: when enemies hit player I set turb_speed to 2 in C-Script and that triggers shake ppe in Lite-C. After 0.5 sec shake turns turb_speed back to 1.


>>Demos free3DModels Tutorials<<
>>>>>>> by Pavle Nikolic <<<<<<<

Re: I'm out of date on full-screen shaders... [Re: Ganderoleg] #301194
12/08/09 21:25
12/08/09 21:25
Joined: Aug 2002
Posts: 681
Massachusetts, USA
Ichiro Offline OP
User
Ichiro  Offline OP
User

Joined: Aug 2002
Posts: 681
Massachusetts, USA
> try remove the line
> you can use engine vars to communicate between them

Aha! Great to know. Thanks to you both. laugh


Dejobaan Games - Bringing you quality video games for over 75 years.
Re: I'm out of date on full-screen shaders... [Re: Ichiro] #301202
12/08/09 22:52
12/08/09 22:52
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Originally Posted By: Ichiro
You're right; it's far past time. laugh But my team's versed in it, and all our legacy code is there.

Well it took me ~1 hour to get into lite-c and to be able to convert all my c-script code to lite-c, it really only is a matter of capital letters and the precompilers. And it would enable you to use all the additional lite-c functions available.


Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Page 2 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1