GUI issues

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: GUI issues

Postby arfur9 » 2017-07-05, 15:27

Yes I've tried to program simple games of my own and encountered the demons of the mouse click lol.. I can't remember what my problem was but I'm sure it was something similar
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: GUI issues

Postby arfur9 » 2017-07-08, 15:15

I guess the other issue is if you left click on the gui while holding a weapon.. ie a rocket launcher.. it pretty much kills you instantly :/
User avatar
Carsten
Site Admin
Posts: 2130
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: GUI issues

Postby Carsten » 2017-07-08, 21:34

Don't worry, will address that as well. :cheesy: :up:
Best regards,
Carsten
User avatar
Carsten
Site Admin
Posts: 2130
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: GUI issues

Postby Carsten » 2017-07-18, 10:39

Done. :up:
I've pushed several commits that implement GUI mouse clicks via the "fire" button -- the left mouse button.
And this without firing the active weapon at the same time. :cheesy:

These commits also prepare for a couple of future changes and I'll still implement some additional improvements as well.
Best regards,
Carsten
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: GUI issues

Postby arfur9 » 2017-07-18, 15:58

Awesome work! Its working really well :)
Every now and again the Cafu crashes changing game, for example if I loaded testpatches then testphysics.. when I try techdemo Cafu stops responding and closes.
I'll try and see if I can find a reason why, I just tried 6 different games and it was ok!

Has something changed regarding the player? I have a Player Phototype but its not recognized.. I deleted the old one and it works now
User avatar
Carsten
Site Admin
Posts: 2130
Joined: 2004-08-19, 13:46
Location: Germany
Contact:

Re: GUI issues

Postby Carsten » 2017-07-19, 09:02

arfur9 wrote:Every now and again the Cafu crashes changing game, for example if I loaded testpatches then testphysics.. when I try techdemo Cafu stops responding and closes.
I'll try and see if I can find a reason why, I just tried 6 different games and it was ok!

Is this a reproducible problem?

Has something changed regarding the player? I have a Player Phototype but its not recognized.. I deleted the old one and it works now

Yes, sorry, I realized too late that there is some backwards-incompatibility involved.
It's about lines such as

Code: Select all

c4:set("OldWishJump", false)
in .cent files, which can simply all be removed to fix the problem.
Best regards,
Carsten
User avatar
arfur9
Posts: 69
Joined: 2017-02-25, 18:57
Location: uk
Contact:

Re: GUI issues

Postby arfur9 » 2017-07-19, 12:46

I'll try and give a step by step to how to recreate the crash

I think I have 4 games which I can simply replay the player, its no big deal

Return to “Cafu Engine Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests