Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (LucasJoshua), 18,135 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[GSTNet] Example to get started, C-Lite (made by me) #251812
02/15/09 02:39
02/15/09 02:39
Joined: Nov 2000
Posts: 1,534
hamburg
Samb Offline OP
Serious User
Samb  Offline OP
Serious User

Joined: Nov 2000
Posts: 1,534
hamburg
Ok, got it faster than I thought.
This is a basic GSTNet example to get started.
WARNING: This example is for users who know what they do. so, if you can't program in C-Lite you can't use this.

you can find the files here:
http://www.bysamb.de/priv/gstnet_example.zip

It's a basic example for a player movement over the internet. It just sends the keys you press and also the position, if you pressed a new key. this is good for arcade-like games.

open "snowball.wmp" and run it to test it.
"schneeballmain.c" is the main script file. I tried to comment everything, but, I think, everyone who had problems with GSTNet just want to see the main function.

Ok, I hope this will solve some of you guys problems smile
Now go out there and produce some multiplayer games!!!

Last edited by Samb; 02/15/09 02:40.
Re: [GSTNet] Example to get started, C-Lite (made by me) [Re: Samb] #252032
02/16/09 04:25
02/16/09 04:25
Joined: Nov 2000
Posts: 1,534
hamburg
Samb Offline OP
Serious User
Samb  Offline OP
Serious User

Joined: Nov 2000
Posts: 1,534
hamburg
quick correction:
fps_lock must be 0, not 1. it works better with 0.

anyone tested it? just wanna know if it works so I don't have to worry about it smile

Re: [GSTNet] Example to get started, C-Lite (made by me) [Re: Samb] #252039
02/16/09 06:35
02/16/09 06:35
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
yeah, it works.

it'll be very helpful, thank you !


3333333333

Moderated by  aztec, Blink, HeelX 

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