Commit graph

217 commits

Author SHA1 Message Date
in0finite
e415d019fc use RawImage for player icon 2020-05-31 19:09:55 +02:00
in0finite
d404419d5f minimap seems to be converted 2020-05-31 19:09:55 +02:00
in0finite
811c28aa98 enable minimap canvases 2020-05-31 19:09:55 +02:00
in0finite
592de8bc7d use 1 bool to control if FPS should be updated 2020-05-31 19:09:55 +02:00
in0finite
dc283954e5 don't display FPS by default 2020-05-31 19:09:55 +02:00
in0finite
d5ca8ac00d change color of labels to white 2020-05-31 19:09:55 +02:00
in0finite
b4b524f9c2 fix chat display 2020-05-31 19:09:55 +02:00
in0finite
761fb9383c chat display almost finished 2020-05-31 19:09:55 +02:00
in0finite
40e8f6386d change color of FPS text 2020-05-31 19:09:55 +02:00
in0finite
6fbb632eb6 change sort order of canvases 2020-05-31 19:09:55 +02:00
in0finite
fcbf323219 convert FPS display 2020-05-31 19:09:55 +02:00
in0finite
bd2d9489db improve chat input field 2020-05-31 19:09:55 +02:00
in0finite
5143587b01 improve button container in pause menu 2020-05-31 19:09:55 +02:00
in0finite
709f2e8ede some UI adjustments 2020-05-31 19:09:55 +02:00
in0finite
101069ce0a convert speedometer 2020-05-31 19:09:55 +02:00
in0finite
7243560fe0 convert ped state label 2020-05-31 19:09:54 +02:00
in0finite
c7111469fb re-save prefabs 2020-05-31 19:09:54 +02:00
in0finite
93398fb2fb weapon image, weapon ammo, and healthbar are working 2020-05-31 19:09:54 +02:00
in0finite
9993959810 adapt main menu to MenuBar 2020-05-31 19:09:54 +02:00
in0finite
33b57668dd restore canvas statuses 2020-05-31 19:09:54 +02:00
in0finite
6786ab5e76 convert chat input 2020-05-31 19:09:54 +02:00
in0finite
147abe2af6 convert pause menu label 2020-05-31 19:09:54 +02:00
in0finite
e6b3a9f300 menu entries are now components ; fix sorting of menu entries ; 2020-05-31 19:09:54 +02:00
in0finite
29920c8bfa adjust size and position of menu bar 2020-05-31 19:09:54 +02:00
in0finite
0b62ec3c0a remove test button from prefab 2020-05-31 19:09:54 +02:00
in0finite
1185732b28 first working version of new pause menu 2020-05-31 19:09:54 +02:00
in0finite
541f4c333a create canvas for pause menu 2020-05-31 19:09:54 +02:00
in0finite
3b9b41794a delete pausemenu prefab ; group all windows at one game object ; 2020-05-31 19:09:54 +02:00
in0finite
13d3418fef extract "Settings" game object to a prefab 2020-05-31 19:09:54 +02:00
in0finite
439353e588 reduce font size again 2020-05-31 19:09:54 +02:00
in0finite
87313b1b7b reduce font size for main menu button 2020-05-31 19:09:54 +02:00
in0finite
9d76c56ac0 re-enable canvas for touch input 2020-05-31 19:09:54 +02:00
in0finite
477bab3d31 create custom event system which makes it possible to use imGUI and new UI at the same time 2020-05-31 19:09:54 +02:00
in0finite
b4d48ac4c7 change button color 2020-05-31 19:09:54 +02:00
in0finite
bea171a7e6 dynamically adjust font size of button text 2020-05-31 19:09:53 +02:00
in0finite
76aad79d40 only enable main menu canvas in startup scene 2020-05-31 19:09:53 +02:00
in0finite
540e6a83f5 some adjustments 2020-05-31 19:09:53 +02:00
in0finite
dbbcdb4e80 convert Exit button 2020-05-31 19:09:53 +02:00
in0finite
d0138fcca7 convert logo 2020-05-31 19:09:53 +02:00
in0finite
b2ee510576 convert background 2020-05-31 19:09:53 +02:00
in0finite
6b58fdf964 main menu buttons almost done 2020-05-31 19:09:53 +02:00
in0finite
552e4453e0 remove GXT window because GXT is not loaded currently 2020-05-31 19:09:53 +02:00
in0finite
a217af283a re-save ped prefab 2020-05-31 19:09:53 +02:00
in0finite
886edc3084 adjust camera focus position and camera distance 2020-05-31 19:09:53 +02:00
in0finite
a2e9d3f971 camera offset is configurable 2020-05-31 19:09:53 +02:00
in0finite
212d1187ff drive-by firing WIP 2020-05-31 19:09:53 +02:00
in0finite
e50a1e70e2 drive-by WIP 2020-05-31 19:09:52 +02:00
in0finite
aec5a46ccd add scripts to prefab 2020-05-31 19:09:51 +02:00
in0finite
ace5f0d444 attach scripts to prefabs 2020-05-31 19:09:51 +02:00
in0finite
c3382928c2 implement network discovery 2020-05-31 19:09:51 +02:00
jaan242
92bbc4bd53 radio (#69)
* radio

* radio 2

* radio 3

* radio 4
2020-05-31 19:09:51 +02:00
in0finite
b9d409a31c improve enex look ; enex can be animated 2020-05-31 19:09:50 +02:00
in0finite
4b6c42ef61 create enex objects from prefab 2020-05-31 19:09:50 +02:00
in0finite
22c0f06d12 change default IP address in JoinGame window 2020-05-31 19:09:49 +02:00
in0finite
fca5096eba some GXT fixes 2020-05-31 19:09:49 +02:00
AlexWei
e236f7d032 Import gxt (#23)
* import GTX code

import GTX code
add some empty function before integrate

* set gtx path

* refactor code

* fix typo and ui prefab

change gtx to gxt

remove window from start scene and add it in prefab

* add language interface

add language interface;
add some todo comments;
change file tab; make it consistent with project.

* fix game path and typo

add test ui

* add ui part

* fix set gui style pos

it will cause bug in ctor

* add pages to gxt ui

* revert changes to startup scene
2020-05-31 19:09:49 +02:00
in0finite
6da3108432 don't disable vehicle's rigid body 2020-05-31 19:09:48 +02:00
in0finite
26130bb1ef restore default physics update rate to 50 2020-05-31 19:09:48 +02:00
in0finite
2f9c78bd6f increase font size 2020-05-31 19:09:48 +02:00
in0finite
b481c9dbcb make ped movement button larger 2020-05-31 19:09:48 +02:00
in0finite
45a79c4da7 change touchPointerSensitivity 2020-05-31 19:09:48 +02:00
in0finite
ebc9225977 increase font size 2020-05-31 19:09:48 +02:00
in0finite
4895134fd2 save UI prefab 2020-05-31 19:09:48 +02:00
in0finite
074f7d0d98 adjust size and position of turn button 2020-05-31 19:09:47 +02:00
in0finite
2f1d7fd2ea create weapon switching buttons 2020-05-31 19:09:47 +02:00
in0finite
9d7970b551 reenable ped input 2020-05-31 19:09:47 +02:00
in0finite
60c733e1cc create vehicle touch input 2020-05-31 19:09:47 +02:00
in0finite
956bfd3c63 change position of buttons 2020-05-31 19:09:47 +02:00
in0finite
f88e904fa8 change active button color 2020-05-31 19:09:47 +02:00
in0finite
1ad26f11ed implement movement button with arrows 2020-05-31 19:09:47 +02:00
in0finite
15ddef4cfd create movement button 2020-05-31 19:09:47 +02:00
in0finite
5b33399623 add action buttons 2020-05-31 19:09:47 +02:00
in0finite
39077b1b06 add UIManager script to prefab 2020-05-31 19:09:47 +02:00
in0finite
8c03f86241 add custom input script to prefab 2020-05-31 19:09:47 +02:00
in0finite
1fab8740c5 add script to prefab 2020-05-31 19:09:46 +02:00
in0finite
cefcf20510 limit number of messages in console to 200 2020-05-31 19:09:44 +02:00
in0finite
aba562a3f8 add weapon column to player stats 2020-05-31 19:09:44 +02:00
in0finite
68507d06f3 add weapon to spawnable prefabs list 2020-05-31 19:09:44 +02:00
in0finite
72b0554001 assign weapon prefab 2020-05-31 19:09:44 +02:00
in0finite
b2d5b9b4b7 add networkevents2messagebox script to prefab 2020-05-31 19:09:44 +02:00
in0finite
c84cdd1134 assign sort priorities 2020-05-31 19:09:44 +02:00
in0finite
ed4c0bbfc9 create weapon prefab 2020-05-31 19:09:44 +02:00
in0finite
4b94a75efe don't automatically start server in headless mode 2020-05-31 19:09:43 +02:00
in0finite
109536ff41 add scripts to prefabs 2020-05-31 19:09:43 +02:00
in0finite
7247518b6c add script to prefab 2020-05-31 19:09:43 +02:00
in0finite
90e5f6f594 add NetManager to prefab 2020-05-31 19:09:42 +02:00
in0finite
d96f890d02 add world stats 2020-05-31 19:09:42 +02:00
in0finite
65e32df63d remove world stats window 2020-05-31 19:09:42 +02:00
in0finite
173011aee2 save GameManager.prefab 2020-05-31 19:09:42 +02:00
in0finite
83615206d5 Change scene name in StartGame window 2020-05-31 19:09:42 +02:00
in0finite
552b27e049 Adjust column widths and preserve stats game object across scenes 2020-05-31 19:09:42 +02:00
in0finite
8c2aefe161 Change default ped sync rate to 20 2020-05-31 19:09:41 +02:00
in0finite
e9d4374af8 Don't use scroll view for stats window 2020-05-31 19:09:41 +02:00
in0finite
bd2aeea20f Create prefab for stats 2020-05-31 19:09:41 +02:00
in0finite
0893fd0ca1 Add stats window to prefab 2020-05-31 19:09:41 +02:00
in0finite
f3bacefadb Change vehicle setting 2020-05-31 19:09:40 +02:00
in0finite
861aeb5422 Change some vehicle settings 2020-05-31 19:09:40 +02:00
in0finite
b1f7854d48 Change vehicle setting 2020-05-31 19:09:40 +02:00
in0finite
9e116c0341 Set localPlayerAuthority for vehicle to true 2020-05-31 19:09:40 +02:00
in0finite
3c1e24cb1c Don't sync linear and angular velocity 2020-05-31 19:09:40 +02:00
in0finite
9a01c2464a Add vehicle to list of spawn prefabs 2020-05-31 19:09:39 +02:00
in0finite
7098d72625 Add VehicleManager script to prefab 2020-05-31 19:09:39 +02:00
in0finite
3d00c4c28f Create vehicle prefab 2020-05-31 19:09:39 +02:00
in0finite
3084cf03db Add PedSync script to player prefab 2020-05-31 19:09:38 +02:00
in0finite
92a81ea5c8 Replace NM on a prefab 2020-05-31 19:09:38 +02:00
in0finite
00ac3b5153 Make console available in main menu 2020-05-31 19:09:38 +02:00
in0finite
353029a0d5 Don't add weapons to NPC peds 2020-05-31 19:09:38 +02:00
in0finite
0ebc71c88b Assign player prefab in NM 2020-05-31 19:09:37 +02:00
in0finite
f5aeee0bb8 Create NetPlayer.prefab 2020-05-31 19:09:37 +02:00
in0finite
568ba31690 Add NetworkTransform to ped prefab 2020-05-31 19:09:37 +02:00
in0finite
25c9943be1 Add SpawnManager to GameManager prefab 2020-05-31 19:09:37 +02:00
in0finite
7106892550 Add NetworkIdentity to ped prefab 2020-05-31 19:09:37 +02:00
in0finite
917ab7c986 Assign player prefab in NetworkManager 2020-05-31 19:09:37 +02:00
in0finite
00d5556025 Add JoinGameWindow to UI prefab 2020-05-31 19:09:37 +02:00
in0finite
b465ba0d67 Create NetworkManager prefab 2020-05-31 19:09:37 +02:00
in0finite
86addef421 Add StartGameWindow and JoinGameWindow to UI prefab 2020-05-31 19:09:37 +02:00
in0finite
039ae76a14 Initial commit 2020-05-31 19:07:22 +02:00