Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Bending Sprites C++ Inline Assembly Language

Author
Message
DeVaughn_B
1
Years of Service
User Offline
Joined: 16th Apr 2022
Location:
Posted: 17th Apr 2023 06:16
Hi All

I currently started reusing DarkGDK for development and now only 1 task is missing bending live sprites does anybody know a good bending sprite plugin made out of assembly language?

If so you would be solving literally the last big hurdle I have using this engine.
Kevin Picone
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 25th Apr 2023 05:24
what kind of blending ?

PlayBASIC To HTML5/WEB - Convert PlayBASIC To Machine Code
The Tall Man
10
Years of Service
User Offline
Joined: 16th Nov 2013
Location: Earth
Posted: 26th Apr 2023 00:28 Edited at: 26th Apr 2023 00:30
One work-around would be to pre-render the different variations of your sprite into frames, then show the appropriate frame for the given situation.

But if you're looking for a more physics-based approached that can really adapt to a variety of situations, who's unique combinations would be way too numerous to use pre-rendered frames, I would suggest using an open-source version of DarkGDK. It was written in C++ too, so there's no need for inline assembly unless you're just looking for speed. You can, running in debug mode, step into some of the sprite handing functions and find your way around the relevant source code. Then create and add whatever additional functions you need to your copy of DarkGDK itself.

You can download the source-code here (the second post):
https://forum.thegamecreators.com/thread/209827
Judging what we see is the greatest blinder and self-limiter in the universe.

What we perceive is never reality. It is only a story we tell ourselves based on our current perspective, which has far more to do with our beliefs about ourselves than with anything else.

Login to post a reply

Server time is: 2024-02-24 15:43:37
Your offset time is: 2024-02-24 15:43:37