Recent Posts

Pages: 1 [2] 3 4 ... 10
11
General Jo Engine Help / Re: TGA 8-bit in background
« Last post by FranMatsusaka on January 22, 2022, 09:20:25 pm »
Palette fixed:

12
General Jo Engine Help / Re: TGA 8-bit in background
« Last post by FranMatsusaka on January 22, 2022, 06:03:39 pm »
Check the "demo - vdp2 plane".

While not exactly what you want, it does demonstrate the process of loading an indexed color targa file to a VDP2 background layer.
You could copy this structure entirely, and simply not rotate the background layer.

Thank you very much! I fell a little silly because I couldn't find that jo_set_background_8bits_sprite by myself... Anyway, I have removed old code and substituted by all 8bit versions. I have not worked properly on the palette yet, but besides that it looks like there's some kind of corruption.

Here's the old code commented and the new:
Code: [Select]
        //jo_img  bg;
        //bg.data = NULL;
        //jo_tga_loader(&bg, "BGO", image_to_load, JO_COLOR_Transparent);
        //if (bg.data != NULL) {
            //jo_set_background_sprite(&bg, 0, 0);
            //jo_free_img(&bg);
        //}
       
        jo_img_8bits bg;
        bg.data = NULL;
        jo_tga_8bits_loader(&bg, "BG8", image_to_load, JO_COLOR_Transparent);
       
        if (bg.data != NULL) {
            jo_set_background_8bits_sprite(&bg, 0, false);
            jo_free_img(&bg);
        }

And here's te result... it looks like the tiles are displayed with some extra offset. Also, it looks like the tiles are 90ยบ rotated


This is the original TGA in case anybody wants to check
https://drive.google.com/file/d/1qvcGEQqIViJUClh37X4_T9KCrY5eNPUk/view?usp=sharing
13
General Jo Engine Help / Re: TGA 8-bit in background
« Last post by ponut64 on January 21, 2022, 11:07:40 pm »
Check the "demo - vdp2 plane".

While not exactly what you want, it does demonstrate the process of loading an indexed color targa file to a VDP2 background layer.
You could copy this structure entirely, and simply not rotate the background layer.
14
General Jo Engine Help / TGA 8-bit in background
« Last post by FranMatsusaka on January 19, 2022, 10:50:41 am »
Hi,

I'm doing a Resident Evil like game, with 3d characters moving on a prerendered backgound, and I'm finding memory out problems.
I've seen that 8bit sprite is implemented and working, but I couldn't find a way to load TGA 8bit background. I've seen that there's a jo_img_8bits object type, and a jo_set_background_8bits_sprite, but I couldn't find a 8bit version of jo_tga_loader function. How can I load a 8bit TGA into a jo_img_8bits object?

Thanks in advance.

15
General Jo Engine Help / Re: Faster Way to load an TGA image pack?
« Last post by RenatoRodrigoBS on August 24, 2021, 01:19:38 am »
I also would like to know how todo this! In fact, Id like to know how put a 8bit color 3D sprite in a 3D world too !? im traying but without success ! How this works ?
16
Project announcement / Re: Reye's scary game
« Last post by mindslight on August 15, 2021, 12:01:03 pm »
Very nice, I'll test it  ;D
17
Project announcement / Reye's scary game
« Last post by SuperReye on August 05, 2021, 11:13:30 pm »
So I made another game for saturn using jo-engine. i had to mix some SGL stuff in here too to achieve shading effects. But I think it turned out great.
I made this game for DualGame jam, in just a few days, so I hope you can excuse the jankines of it :D

Anyway, enough rambling, here is the game on itch.io
https://superreye.itch.io/scarygame-saturn

and here is a link the jam: https://itch.io/jam/dual-jam

I will post source code of the game and alternative link to download it on my website  ;)
EDIT: here is the link to the game and source code on my website https://reye.me/?show=Project&Id=ScaryGame
18
General Jo Engine Help / Re: Help me!
« Last post by lo_gi on February 23, 2021, 11:32:27 pm »
That is not Jo Engine code and it cannot be the code that is displaying the sonic image.

Look at the printf sample.

You want something like this:
Code: [Select]
#include <jo/jo.h>

void my_draw(void) {
    jo_set_printf_color_index(JO_COLOR_INDEX_White);
    jo_printf(0, 0, "Hello World");
}

void jo_main(void) {
jo_core_init(JO_COLOR_Black);
jo_core_add_callback(my_draw);
jo_core_run();
}

Although the Sega Saturn is not the best system to learn to code on.
19
Free talk / Password reset not working
« Last post by lo_gi on February 23, 2021, 11:24:58 pm »
I always seem to forget my password for this site and when I click on the 'forgotten password' link it never sends the message to my email.
I end up having to just create a new account. I think this is my third :)
I was using a hotmail account when this last happened.
20
Project announcement / Re: Reye's TankGame
« Last post by mindslight on February 04, 2021, 07:38:00 pm »
Your game is very cool :)

Don't hesitate to contact me for help ;)
Pages: 1 [2] 3 4 ... 10
SMF spam blocked by CleanTalk