Custom Jersey

Moderators: flockmastoR, Gipfelstuermer, Alkworld, systemmods

Post Reply
Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Custom Jersey

Post by Gipfelstuermer » Sun Oct 23, 2022 7:33 pm

Hello,

another small but relevant topic (especially in the sprint) for newcomers, and perhaps some comeback teams, is the custom jersey.

Does anybody remember how exactly it worked in Flash? We can share the empty jersey for download in React and we can also let users upload their custom jersey in React.

But, we only want people to edit parts of the picture (only the grey areas), so how do we ensure this? Does anybody know a technical solution? (preferred) Somebody with experience in graphic design here? ^^ Or would we need a JC = Jersey Committee = Some trustworthy users who look at all uploaded custom jerseys and approve them before they go online?

Image
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Wed Oct 26, 2022 12:34 pm

No graphic designers here? :D

Seeing this funny pixelated rider, we could also have a completely new rider picture for the sprint, if somebody is motivated...

But it's really more about the technology to have parts of the rider editable, but other parts not editable. Looking for a technology for that...
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

Schnuggeritos
Posts: 112
Joined: Mon Aug 01, 2022 10:37 am
Contact:

Re: Custom Jersey

Post by Schnuggeritos » Sat Oct 29, 2022 2:29 am

Never heard of a way to protect parts of an image from changes.

Maybe, but I'm not sure if this is realisable, teams can download this version of the rider. They can edit the complete rider. When uploading the server merges the upload and a mask over the uploaded one that overwrites everything but the grey parts. Something like this
https://www.npmjs.com/package/merge-images

Maybe this could solve the Problem.

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Mon Nov 21, 2022 10:35 am

Schnuggeritos wrote:
Sat Oct 29, 2022 2:29 am
Never heard of a way to protect parts of an image from changes.

Maybe, but I'm not sure if this is realisable, teams can download this version of the rider. They can edit the complete rider. When uploading the server merges the upload and a mask over the uploaded one that overwrites everything but the grey parts. Something like this
https://www.npmjs.com/package/merge-images

Maybe this could solve the Problem.
Thanks for this hint, Schnuggeritos. It led us in the right direction. We ended up solving it the following way:

Frontend: react-konva for previewing the jersey
Backend: gd module in php for image processing and saving

Now the Schnuggeritos can finally have their own jersey! :)
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

team fl
Posts: 5009
Joined: Tue Mar 02, 2010 10:43 am
Contact:

Re: Custom Jersey

Post by team fl » Mon Nov 21, 2022 11:02 am

You forgot the bottle!!!


:D
I didn't mean to say it. But I meant what I said.

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Mon Nov 21, 2022 11:28 am

team fl wrote:
Mon Nov 21, 2022 11:02 am
You forgot the bottle!!!


:D
No no, prefer black shoes / grey bottle combination over black/black combination! And you can make your own design anyway :)
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

team fl
Posts: 5009
Joined: Tue Mar 02, 2010 10:43 am
Contact:

Re: Custom Jersey

Post by team fl » Mon Nov 21, 2022 11:50 am

Gipfelstuermer wrote:
Mon Nov 21, 2022 11:28 am
team fl wrote:
Mon Nov 21, 2022 11:02 am
You forgot the bottle!!!


:D
No no, prefer black shoes / grey bottle combination over black/black combination! And you can make your own design anyway :)
I already have an unbeatable design ;). But I've heard that the man, the myth, the legend, famous jersey designer (among many other things) Takashi Murakami is back in town for a short time (is it christmas yet?)...
I didn't mean to say it. But I meant what I said.

Schnuggeritos
Posts: 112
Joined: Mon Aug 01, 2022 10:37 am
Contact:

Re: Custom Jersey

Post by Schnuggeritos » Mon Nov 21, 2022 12:54 pm

Gipfelstuermer wrote:
Mon Nov 21, 2022 10:35 am
Thanks for this hint, Schnuggeritos. It led us in the right direction. We ended up solving it the following way:

Frontend: react-konva for previewing the jersey
Backend: gd module in php for image processing and saving

Now the Schnuggeritos can finally have their own jersey! :)
Glad I could help. I'll be working on my jersey in the next few days. I already have a few ideas.

User avatar
Casablanca ProTeam
Posts: 24
Joined: Thu Apr 11, 2019 1:09 am
Contact:

Re: Custom Jersey

Post by Casablanca ProTeam » Mon Nov 21, 2022 1:22 pm

How do you edit your jerseys guys ?
I tried the in game edit, but it does not save jersey.

User avatar
flockmastoR
Posts: 3112
Joined: Thu Feb 18, 2010 11:42 pm
Contact:

Re: Custom Jersey

Post by flockmastoR » Mon Nov 21, 2022 2:15 pm

Casablanca ProTeam wrote:
Mon Nov 21, 2022 1:22 pm
How do you edit your jerseys guys ?
I tried the in game edit, but it does not save jersey.
Probably it needs a cache deletion, not sure if it is working proper, but it is a common display problem
Boaz Trakhtenbrot:
  • Winner Giro 2022
  • 10 GC wins
  • 16.609 Eternal Points
__________________
Schrödinger's Dogs: Alive & Dead

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Mon Nov 21, 2022 2:47 pm

flockmastoR wrote:
Mon Nov 21, 2022 2:15 pm
Casablanca ProTeam wrote:
Mon Nov 21, 2022 1:22 pm
How do you edit your jerseys guys ?
I tried the in game edit, but it does not save jersey.
Probably it needs a cache deletion, not sure if it is working proper, but it is a common display problem
Might be that there was a small error when releasing v 1.3.0. We'll fix it soon.
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

Schnuggeritos
Posts: 112
Joined: Mon Aug 01, 2022 10:37 am
Contact:

Re: Custom Jersey

Post by Schnuggeritos » Mon Nov 21, 2022 6:36 pm

Gipfelstuermer wrote:
Mon Nov 21, 2022 2:47 pm
Might be that there was a small error when releasing v 1.3.0. We'll fix it soon.
As i'm not sure if I understood it correctly I have to ask: Does it not save the new Jersey or is it just a display-thing for us on the profile page?

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Mon Nov 21, 2022 11:33 pm

Casablanca ProTeam wrote:
Mon Nov 21, 2022 1:22 pm
How do you edit your jerseys guys ?
I tried the in game edit, but it does not save jersey.
Schnuggeritos wrote:
Mon Nov 21, 2022 6:36 pm
As i'm not sure if I understood it correctly I have to ask: Does it not save the new Jersey or is it just a display-thing for us on the profile page?
Now it should work.

(2 files had not been updated correctly on the server.)

Let me know if it still doesn't work for you.
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

User avatar
Casablanca ProTeam
Posts: 24
Joined: Thu Apr 11, 2019 1:09 am
Contact:

Re: Custom Jersey

Post by Casablanca ProTeam » Mon Dec 12, 2022 9:47 pm

Gipfelstuermer wrote:
Mon Nov 21, 2022 11:33 pm
Casablanca ProTeam wrote:
Mon Nov 21, 2022 1:22 pm
How do you edit your jerseys guys ?
I tried the in game edit, but it does not save jersey.
Schnuggeritos wrote:
Mon Nov 21, 2022 6:36 pm
As i'm not sure if I understood it correctly I have to ask: Does it not save the new Jersey or is it just a display-thing for us on the profile page?
Now it should work.

(2 files had not been updated correctly on the server.)

Let me know if it still doesn't work for you.
oh sorry for the late answer it works fine now thanks

User avatar
cataracs
Posts: 743
Joined: Tue Jan 24, 2012 2:10 am
Contact:

Re: Custom Jersey

Post by cataracs » Wed Feb 08, 2023 11:18 pm

Will the National Jerseys be added to the sprint screen?

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Wed Feb 08, 2023 11:48 pm

cataracs wrote:
Wed Feb 08, 2023 11:18 pm
Will the National Jerseys be added to the sprint screen?
on my self-imposed long to-do-list for the weekend ! (same for leader jersey's in general)
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

Gipfelstuermer
Posts: 1513
Joined: Wed Jul 13, 2011 10:43 am
Location: Weltenbummler
Contact:

Re: Custom Jersey

Post by Gipfelstuermer » Sun Feb 12, 2023 12:02 am

cataracs wrote:
Wed Feb 08, 2023 11:18 pm
Will the National Jerseys be added to the sprint screen?
Available in v1.15.0 :)

Let us know if any are missing/wrong. You can also re-design them if you want.
GIP MASTERPLAN
Gameplay: Flexible Min-Tact. Improve Sprint System. Windkante.
Marketing: Re-attract old players. Advertisement. Social Media.
New Players: Fair Start Budget, New Tutorial.
Fairplay: Improve FPC features, Fair Prize Money Disribution.

User avatar
cataracs
Posts: 743
Joined: Tue Jan 24, 2012 2:10 am
Contact:

Re: Custom Jersey

Post by cataracs » Sat Feb 18, 2023 10:26 pm

The Turkish jersey is missing

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests