You're the second person to say that. Which is strange, since this looks nothing like the shadow of the beasts I've been playing.Chilly Willy wrote: ↑Sun Feb 11, 2018 10:12 pmHeh - nice use of the Shadow of the Beast background art. I loved the hell out of that series. It really demonstrated the best aspects of the Amiga.
Tänzer, a "ninja" game (Dev Diary thread)
Moderator: Mask of Destiny
Re: Unnamed "ninja" game (Dev Diary thread)
Tänzer kickstarter: https://www.kickstarter.com/projects/83 ... lusive-gam
https://twitter.com/mix256
https://twitter.com/mix256
Re: Unnamed "ninja" game (Dev Diary thread)
It's the clouds.
Sik is pronounced as "seek", not as "sick".
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Unnamed "ninja" game (Dev Diary thread)
There was a bug in older SGDK version where 1 frame of animation could be skipped when changing animation or frame manually but normally it has been fixed.Ran into some strange things with the animations of everything. Seems that I need to clear the animation timer (sprite->timer = 0;), otherwise the first frame would be skipped. First time you'd use the sprite it would be ok, but not when adding a sprite using the same spriteDef the second time. If you loop them forever it won't make a difference, but for explosions that's supposed to be removed when the animation is done, it was.
@Stef is this something known or am I doing something wrong?
What do you mean by " adding a sprite using the same spriteDef the second time" ? Do you mean just adding a new sprite using the same SpriteDefinition as another active sprite ? That shouldn't give any troubles...
If you can post a snippet of code which reproduce the problem that would help me
Re: Unnamed "ninja" game (Dev Diary thread)
I'd kill for sotb clouds.
spr = SPR_addSprite(def,...) then a few frames later SPR_releaseSprite(spr), then after another few frames SPR_addSprite(def) again, I think.
Like "ordinary" sprite handling, i guess?
Even when doing SPR_setAnim() after the add, the timer doesn't seem to be reset.
When I get home tonight I'll do some more testing and might produce a snippet with the problem.
EDIT: I'm running 1.33...I see now that there is a 1.34. Could that be it?
EDIT2: Ofcourse it is, right? But how come I'm not running the latest...? I probably downloaded the top of the list at the downloadpage, and not the one saying "last version".
Tänzer kickstarter: https://www.kickstarter.com/projects/83 ... lusive-gam
https://twitter.com/mix256
https://twitter.com/mix256
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Unnamed "ninja" game (Dev Diary thread)
Indeed, if you look at the changelog you will see the version 1.34 fix something about that
But what is weird is that normally the issue appeared only when doing animation or frame change manually... not when adding a new sprite.
Can you test with the last SGDK version and tell me if the issue is fixed ?
But what is weird is that normally the issue appeared only when doing animation or frame change manually... not when adding a new sprite.
Can you test with the last SGDK version and tell me if the issue is fixed ?
Re: Unnamed "ninja" game (Dev Diary thread)
Yep, seems to have fixed it. Awesome!
Tänzer kickstarter: https://www.kickstarter.com/projects/83 ... lusive-gam
https://twitter.com/mix256
https://twitter.com/mix256
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Re: Unnamed "ninja" game (Dev Diary thread)
Ey, what's this?
Might not be used for anything, but I had fun doing it.
Edit, now with stolen guyver silhoutte from internet:
And yes, the gray bkg is scrolling.
Might not be used for anything, but I had fun doing it.
Edit, now with stolen guyver silhoutte from internet:
And yes, the gray bkg is scrolling.
Tänzer kickstarter: https://www.kickstarter.com/projects/83 ... lusive-gam
https://twitter.com/mix256
https://twitter.com/mix256
Re: Unnamed "ninja" game (Dev Diary thread)
The problem with this kind of images is that it wastes big portion of video memory, if you are thinking of using them in a menu, or something rather similar, you will find that there is no much more memory left.
The idea of reusing tiles always pops out.
The idea of reusing tiles always pops out.
HELP. Spanish TVs are brain washing people to be hostile to me.
-
- Very interested
- Posts: 3131
- Joined: Thu Nov 30, 2006 9:46 pm
- Location: France - Sevres
- Contact:
Re: Unnamed "ninja" game (Dev Diary thread)
Sprite masking magic ? :p
Re: Unnamed "ninja" game (Dev Diary thread)
Is available any utility to do that? I don't know, just asking. If comes with code it will be even greater!
HELP. Spanish TVs are brain washing people to be hostile to me.
Re: Unnamed "ninja" game (Dev Diary thread)
It involves exploiting layer priorities and sprite ordering: sprites are put on top of each other strictly by order (ignoring the priority bit), and then the end result is mixed with the other two layers (only here the priority bit takes place). This means that a low priority sprite can cover a high priority one, and if there was plane A/B with high priority in the same place, you effectively create a cutout (which can be exploited to make silhouette effects).
Also those images seem to have a tad more repeated tiles than Miquel believes. The texturing loops several times.
Also those images seem to have a tad more repeated tiles than Miquel believes. The texturing loops several times.
Sik is pronounced as "seek", not as "sick".
Re: Unnamed "ninja" game (Dev Diary thread)
Ah, so I can do this without actually doing any manual masking and copying? That would be awesome!Sik wrote: ↑Wed Feb 14, 2018 5:14 pmIt involves exploiting layer priorities and sprite ordering: sprites are put on top of each other strictly by order (ignoring the priority bit), and then the end result is mixed with the other two layers (only here the priority bit takes place). This means that a low priority sprite can cover a high priority one, and if there was plane A/B with high priority in the same place, you effectively create a cutout (which can be exploited to make silhouette effects).
Also those images seem to have a tad more repeated tiles than Miquel believes. The texturing loops several times.
Here's the rom of what you see in the pics: http://mix256.com/megadrive/transp.bin
Will start experimenting with this masking technique right away. Thanks!
Tänzer kickstarter: https://www.kickstarter.com/projects/83 ... lusive-gam
https://twitter.com/mix256
https://twitter.com/mix256
Re: Unnamed "ninja" game (Dev Diary thread)
Well, sprite limits are your enemy here so don't try to do it on wide areas...
Sik is pronounced as "seek", not as "sick".