Search found 29 matches

by ronin68k
Wed Jun 21, 2017 4:46 pm
Forum: SGDK
Topic: VDP_fadeIn question.
Replies: 9
Views: 6567

Re: VDP_fadeIn question.

Here is the part of code. Once i press the button, VDP_fadeIn speeds up for the further and no matter how its called. But before its called by controller (for example, sega screen with time out), it works fine. if (changed & state & BUTTON_START) { VDP_fadeOut(0, 16, 30, FALSE); Scene_CodeScreen(); ...
by ronin68k
Wed Jun 21, 2017 2:52 pm
Forum: SGDK
Topic: VDP_fadeIn question.
Replies: 9
Views: 6567

Re: VDP_fadeIn question.

Sure, here it is... https://www.dropbox.com/s/y8qcmk7q1ur2l ... e.rar?dl=1
Update - this bug is only active after button pressed. (see codescreen.c)
by ronin68k
Wed Jun 21, 2017 11:26 am
Forum: SGDK
Topic: VDP_fadeIn question.
Replies: 9
Views: 6567

VDP_fadeIn question.

Hi everyone! The problem is...
When I use VDP_fadeIn function for the first time, it works just fine. But at second and further times, this function works way-way faster. So fast, i need to times the value x10 to slow it down a bit. Is it a bug or just me? :)
by ronin68k
Wed Jun 21, 2017 11:06 am
Forum: SGDK
Topic: SGDK and Visual Studio Code template
Replies: 13
Views: 12393

Re: SGDK and Visual Studio Code template

My friend found an solution about VS here...
https://github.com/Stephane-D/SGDK/pull/80
by ronin68k
Thu Sep 29, 2016 11:08 pm
Forum: SGDK
Topic: Draw image
Replies: 14
Views: 8524

Re: Draw image

Hi, Stef! Thanks for the reply. After some time, i got it to work. I made 2 arrays, one for VDP_drawImage - const * Arr_images[] and (thank you for advice) another one for tileset - const Image Arr_imageMaps[] . Somehow, rendering more than 1 picture causes glitches to second one... weird, but thank...
by ronin68k
Thu Sep 29, 2016 10:03 pm
Forum: SGDK
Topic: Draw image
Replies: 14
Views: 8524

Re: Draw image

Hi! Talking about image.tileset->numTile , can i get image tileset from array? For example, we have an array of BG images... const void ImageArray[]= { &image0, &image1, &image2, &image3 }; i can use ImageArray with VDP_drawImage and this will work fine. But now, i should tell the program, what tile...
by ronin68k
Mon Jun 20, 2016 10:35 am
Forum: SGDK
Topic: Garbled GFX when I add sprite
Replies: 10
Views: 7234

Re: Garbled GFX when I add sprite

It solved the problem! :D
Thanks, my friend! <3
by ronin68k
Mon Jun 20, 2016 5:28 am
Forum: SGDK
Topic: Garbled GFX when I add sprite
Replies: 10
Views: 7234

Re: Garbled GFX when I add sprite

Hi, guys! Sorry if i posted it to a wrong place, but i think, i have almost similar problem. (and i think the problem is me) Im trying to draw complete Mortal Kombat arena background and it shows me this... https://pp.vk.me/c631626/v631626487/2fcba/SCI-BfinK5s.jpg I presume, original Mortal Kombat g...
by ronin68k
Sat Apr 23, 2016 4:40 pm
Forum: SGDK
Topic: Couldn't Allocate Heap, win32 error ...
Replies: 22
Views: 15222

Re: Couldn't Allocate Heap, win32 error ...

Glad to help you, Stef! Thank you for sgdk, you made my dreams of genesis coding come true.
Hope, you will get 2.8 working :)
by ronin68k
Sat Apr 23, 2016 4:34 am
Forum: SGDK
Topic: Couldn't Allocate Heap, win32 error ...
Replies: 22
Views: 15222

Re: Couldn't Allocate Heap, win32 error ...

I don't have the sources anymore
Could those help sgdk development or this is completely useless for now? Also, what features are we missing with 2.8?
Sad, we cannot also use clang.
by ronin68k
Thu Apr 14, 2016 10:54 am
Forum: SGDK
Topic: Couldn't Allocate Heap, win32 error ...
Replies: 22
Views: 15222

Re: Couldn't Allocate Heap, win32 error ...

djcc's instructions (set winXP compatibility to make.exe) helped me with sgdk lib compilation, thanks a lot! But this does not work to a game project for some reason. When i try to build a game project with xp-compatible make.exe/admin, im getting following errors: "in function _start_entry, undefin...
by ronin68k
Fri Mar 25, 2016 11:09 am
Forum: SGDK
Topic: Couldn't Allocate Heap, win32 error ...
Replies: 22
Views: 15222

Re: Couldn't Allocate Heap, win32 error ...

I think the version which produce best code for m68k is around 2.8.xx but that is definitely too old and some nice compiler features are missing. I think version 3.4.6 is "good enough", 4.X or new (5.X) produces poorly optimized code and generally later versions are worst :-/ That is just due to GC...
by ronin68k
Mon Nov 02, 2015 6:07 pm
Forum: SGDK
Topic: Do you need tutorials ?
Replies: 76
Views: 1197146

Re: Do you need tutorials ?

thank you, Stef :)
by ronin68k
Mon Nov 02, 2015 5:48 am
Forum: SGDK
Topic: Do you need tutorials ?
Replies: 76
Views: 1197146

Re: Do you need tutorials ?

Hi, guys! Thank you all, who is working on SGDK, so much - i love what you do. I got only one question, is it possible to make SGDK output assembly code? I know, GCC can do it if we used -s command, but i have no idea where to put this flag here (if its even possible). Thank you <3 Why this... Im wo...