Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added public/assets/characters-preview/luis.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/characters/luis/walk.png
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Esto está increible 🔥 también puedes agregar el spritesheet "dance" de tu personaje, si estas usando la página donde creamos el otro personaje (Spritesheet generator) entonces la animación es la de "slash"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Genial, apenas entienda como funciona jeje

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/characters/sofia2/walk.png
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LuisFerUIO esto también no es necesario

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sin esa carpeta pasa lo siguiente: El usuario selecciona el avatar sofi2 y al entrar al juego se queda en una pantalla negra, solo son visibles los controles donde esta el chat y demás.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions src/app/cafe/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function CafePage() {
}

return (
<OnlineUsersProvider>
<OnlineUsersProvider>
<EmoteProvider>
<div className="relative w-full h-dvh overflow-hidden">
<div className="w-full h-full">
Expand All @@ -36,12 +36,13 @@ export default async function CafePage() {
id: userId || "",
username: profile?.username || "Guest",
profile_url: profile?.profile_url || "default-avatar.png",
avatar: profile?.avatar,
}}
/>
</main>
</div>
</div>
</EmoteProvider>
</OnlineUsersProvider>
</EmoteProvider>
</OnlineUsersProvider>
);
}
5 changes: 5 additions & 0 deletions src/components/profile-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ const avatars = [
name: "sofia2",
image: "/assets/characters-preview/sofia.png",
},
{
id: "3",
name: "luis",
image: "/assets/characters-preview/luis.png",
},
];

export const ProfileForm = ({ profile }: ProfileFormProps) => {
Expand Down