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 - mindslight

Pages: 1 ... 7 8 [9] 10 11
121
General Jo Engine Help / Re: Problem after the Sega Logo.
« on: December 19, 2016, 09:22:22 am »
 :D

122
Project announcement / Re: Project Blaze
« on: December 19, 2016, 09:22:09 am »
Very nice progress :)

123
General Jo Engine Help / Re: Problem after the Sega Logo.
« on: December 11, 2016, 06:31:44 pm »
Hi,

I will check that ASAP (I also have to check some issue with CD music)  :)

124
General Jo Engine Help / Re: Loop audio track
« on: December 08, 2016, 09:11:05 am »
Hi,

I will check ASAP, maybe there is a bug or an emulator issue :)

125
I found it! :)

It's an approximation bug that I fixed.

Now, the code bellow works perfectly:

Code: [Select]
void my_gamepad(void) {
    if (jo_is_pad1_key_down(JO_KEY_UP) && !lock) {
        speed += SIZE_UNIT;
    }
    if (jo_is_pad1_key_down(JO_KEY_DOWN) && !lock) {
        speed -= SIZE_UNIT;
    }
    if (jo_is_pad1_key_down(JO_KEY_LEFT) && !lock) {
        tangle -= 90;
    }
    if (jo_is_pad1_key_down(JO_KEY_RIGHT) && !lock) {
        tangle += 90;
    }
}

You just need to update the engine : http://www.jo-engine.org/download/

126
Hi,

I will answer you as soon as possible :)

127
Project announcement / Re: Project Blaze
« on: October 19, 2016, 10:53:08 pm »
Very nice  :)

128
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 18, 2016, 10:00:02 pm »
If you update from the SVN (I will create a release this weekend), you will find 3 new functions:

jo_3d_window()
jo_3d_perspective_angle()
jo_3d_display_level()

And I also fixed jo_3d_get_polygon_count() and similar functions

129
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 18, 2016, 09:31:47 pm »
Hi dear friend,
I think these SGL functions would be helpful:
-slZdispLevel: For changing the Front Boundary Surface (draw distance close to the camera).
-slWindow: Mainly the part that changes de Rear Boundary Surface (draw distance limit).
-slPrespective(): For correcting the perspective distortion on non standard resolutions, compensate for widescreen TVs or for artistic effect.
I know you are working on the high resolution mode, later on, an option to configure the resolution within the application would be nice  :P.

I will try to make a tutorial soon on what I found on making correct use of the space available for drawing the 3d environment, I tried to explain a little in the last post but its hard to explain it correctly without a diagram or visual aid of some sort.
I will also try to make a little video showing the ghost polygon count issue.

I did what you said about project and it worked, thank you once again  :).

I will add wrappers for these functions asap.

The 3D part of Jo Engine is not as complete as the 2D implementation today, but I think I can improve it with your help :)

130
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 18, 2016, 09:26:39 pm »
I think i found the problem with the display polygon count.
I'm drawing 42 polygons, and it is showing 66.
If i do a conversion from decimal to hexadecimal of 66 the result is 42, which is the number i actually drew.
I think the value was already in decimal and suffered an unnecessary conversion.

You're right, I found a bug. I will fix it tonight :)

131
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 16, 2016, 04:27:51 pm »
Thank you very much!

You're welcome :)

I also love Exhumed, its one of my favorite FPS games ever, Lobotomy Software made an excellent job on their Saturn games  ::).

I agree.

Oh yes, I tested the "slZdspLevel()" SGL function because the polygons close to the camera were being clipped and was not understanding why.
It turns out I need to plan carefully where I draw them and their size/scale, if I draw the polygons too big they get clipped because I'm using to much space on the matrix.
For instance, with the default configurations, my observations led me to conclude that the drawing range is between around 400 to 7500 distance points from the camera.
For example if I draw a floor with square tiles with a width size of 1000 points I can only draw a distance of around 6 visible tiles, the closest tile would get distorted or disappear and the farthest visible one would have to be drawn within the 7500 points or it would also disappear.
The slZdspLevel() allowed me to still see the polygons closest to the camera but I eventually figured out this was not the solution although it might be helpful in some cases.
Also if I draw the polygons too small I would have trouble using the sine and cosine functions to move because there is just not enough detail to calculate the new camera positions correctly. For example I would rotate the matrix 60 degrees but if I wanted to move just 1 or 2 points I wouldn't actually go in that direction :o, I would need to move 20 or 30 points to get enough precision but then it would appear to be moving too fast because everything was "small" in comparison.

Do you need an slZdspLevel() wrapper in JoEngine ?

I also noticed the jo_3d_get_polygon_count() function is returning more polygons than I'm actually drawing on screen which is weird because you are getting that information from a SGL global variable right? The jo_3d_get_displayed_polygon_count() is also returning a number of polygons in some places even if they are not being displayed on screen, its like there are ghost polygons somewhere?
Maybe I am doing something wrong on my draw functions?

I don't know.
I will check your code :)

This post is getting really huge  :-\ maybe i should put all this information in another section?

Don't worry  ;)

I downloaded the latest update and tried to compile but Netbeans complains its necessary to "Resolve Missing Native Build Tools".
Maybe we need to manually setup these options on our host machines?

Yes you have to select one build environment but you can select any tools or any program even paint (see attachement).
Indeed, I override every option on the configuration


132
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 15, 2016, 12:28:34 pm »
Hi !

I added NetBeans support on Jo Engine :)

You just have to update :)

133
General Jo Engine Help / Re: Help setting up a project on CodeBlocks
« on: October 15, 2016, 10:45:00 am »
It would be so great to have an FPS game !  ;D

Don't hesitate to ask features  ;)

Exhumed is one of my favorite game (even now).

PS: Don't use SGL function directly because the library will be removed in future version  :)

134
Free talk / Re: Meet me at retrobarcelona 8 and 9 October 2016
« on: October 14, 2016, 08:45:59 pm »
Little souvenir :)

135
Jo-Engine release / Release 6.0
« on: October 14, 2016, 08:38:49 pm »
Hi!

I added 8 bits image support on the last release and many bug fixes :)

Pages: 1 ... 7 8 [9] 10 11
SMF spam blocked by CleanTalk