Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TedMar, AndrewAMD), 1,344 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 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 | chip programmers | 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