Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SuperReye

Pages: [1]
1
Project announcement / Reye's scary game
« 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

2
Project announcement / Reye's TankGame
« on: February 04, 2021, 12:10:27 pm »
So i made simple multiplayer only game for 2 players, where each player controls a tank and tries to kill the other player. I released first version of the game as an entry for SX 26th aniversary competition and I thought while looking here at the forum, why not post it here too for ppl who don't follow SX discord (I know this is a bit late, am just lazy :P).

Am trying to make the game by only using stuff Jo-Engine provides. Don't get scared if you see ugly code on my git, I'm still trying to learn C  :D
In the future I want to make more levels, upgrade graphics (menus and level) and add support for more players (maybe 6 or more)

Links: Git, SEGA Saturn 26th Anniversary Game Competition entry, TankGame (reye.me)

Edit: Added link to project page on my website

3
General Jo Engine Help / Re: How Can I Play CD Track Without a Button?
« on: February 16, 2020, 10:26:36 am »
If you look into the source code of the audio demo, you can see there is an IF statement on line 48. It compares whether button B is pressed and music is not playing, when result is true it will call code inside that brach. So to make it work like you need to just remove jo_is_pad1_key_pressed(JO_KEY_B) && from the IF statement.

I recommend learning some basics of C language before (just simple stuff, IF statements, functions, switch cases, ...), so you can read the code more easily.

EDIT: I forgot, the actual function that starts playing music is jo_audio_play_cd_track(), you can find what it does in joEngine docs.

4
General Jo Engine Help / Re: How to make a timer? (again)
« on: January 20, 2020, 04:45:32 pm »
Well, you could read the ticks the functions returns and convert that into seconds. That could tell you how much time has passed. But idk how many ticsk are in a second.
You can also count number of frames that have passed and since you know what FPS cap there is (60 for NTSC). You can say that when you count to 60 frames 1 second has passed.
This however can be a problem if your game does not run at stable framerate.

Edit: Here is a code of what I am using https://pastebin.com/TebNaJGf might be of some use to you.
You would need to modify it for your usecase however.

5
General Jo Engine Help / Re: Help: rendering 3D mesh with different colors
« on: February 02, 2019, 12:13:03 pm »
So I got some more free time to mess with this, and I probably figured it out.
Only thing what I had to do is to wait for some small amount of time, before saturn finishes drawing of the mesh and than continue with another one.



Code: [Select]
jo_3d_set_mesh_color(&MeshBalloon, balloon->Color);

// Draw balloon
jo_3d_push_matrix();
{
    jo_3d_translate_matrix_z(10);
    jo_3d_translate_matrixf(balloon->PositionX, (balloon->PopFrame * dropPerFrame) + woble + balloonYOffset, 0.0f);
    jo_3d_rotate_matrix_x(90);
       
    display_balloon_mesh(balloon->Air < balloonLifeTime ? JO_MIN(balloon->Air + baseLife, totalLife) / totalLife : 0.0f);
}
jo_3d_pop_matrix();

// wait here, makes colors work
for(int wait = 0; wait < 4000; wait++) {}

That opens another question, is there an interupt or some way to tell when mesh drawing has ended?

6
General Jo Engine Help / Help: rendering 3D mesh with different colors
« on: January 27, 2019, 11:07:47 pm »
I have problems when drawing one mesh multiple times on screen, but with different colors.
When I try to change mesh color, draw it, and than change it again and draw it again not all quads change their color


Is there a proper way on how to do this?

Current source code: Source.zip
(Its currently setup for VSCode and i have jo engine on my NAS, so you need to change some paths in compile.bat and makefile to compile it)

Edit: I also have troubles with light being weird, but I'll probably figure out that eventually

7
Jo Engine Wish List / Re: Skewing Sprites
« on: January 15, 2019, 03:06:56 pm »
You could draw a solid color transparent quad, since you can deform it how you need

8
About you / Hello there...
« on: December 28, 2018, 05:58:37 pm »
Hi,

Bought Sega Saturn one day, figured I should mess around with it, instead of just playing games. So I ended up here.
I work as a C# programmer, so I thought C is not that hard (that was a mistake), well, I'll start with something simple and we'll see where I'll end up.
Hopefully I'll have something to show soon!

Pages: [1]
SMF spam blocked by CleanTalk