News > Jo-Engine release

Release 8.0

<< < (2/2)

mindslight:
Thx, I'll check ASAP  ;)

mindslight:
You have 2 issues:

1) Line 122 in main.c


--- Code: ---
ii.type=0;
--- End code ---
must be

--- Code: ---
obj_table[ii].type=0;
--- End code ---

2) You have some static data on your code and the jo_engine is slightly bigger than before so you must reduce the size reserved for malloc like the shooter demo.

More, you don't use jo_malloc() so... :)

To do that, you just have to add the line bellow in your makefile


--- Code: ---
JO_GLOBAL_MEMORY_SIZE_FOR_MALLOC = 262144
--- End code ---

Now it works perfectly :)

null1024:
Ah, thanks a bunch! Working fine now.   :D
last console thing I'd been working on before I started that was an SG-1000 game, and I didn't have a malloc there.  :P

Also, a quick test of the billboard function, it's just drawing fully 3D quads.
A billboard always faces the screen -- you'd calculate the center position and scale in 3D rather than all four corners (and there's a VDP command to draw exactly that), right now it's just doing what jo_3d_draw_sprite() does.

Navigation

[0] Message Index

[*] Previous page

Sitemap 1 2 3 4 5 6 7 8 9 10 
Go to full version