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.

AppGameKit Classic Chat / Convert Dark basic pro code to appgamekit

Author
Message
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 2nd Dec 2021 07:23
Here is the code in question

It would work better in appgamekit

I saw this and used it and it works but very slow and I see a lot of code that can be used but not sure about all of it.


pavel_sv_1982
10
Years of Service
User Offline
Joined: 9th Apr 2013
Location: Russia
Posted: 2nd Dec 2021 08:25 Edited at: 2nd Dec 2021 08:29

or

Attention, plz fix offline support for code examples.
I am already experiencing difficulties myself.
Quote: "Here is the code in question
It would work better in appgamekit
I saw this and used it and it works but very slow and I see a lot of code that can be used but not sure about all of it."

To begin with, I advise you to dig deeper into the examples of programs that are given along with the program in order to understand what's what.
programming is a hobby, not a job.
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 2nd Dec 2021 19:20
Hi pavelman

I do not think you understand what I am asking

I am asking if this dark basic pro code can be translated, not if someone will translate it.

I think I can do most of it, I just am not sure if some of it will work at all.

If not I will not waist my time.
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 2nd Dec 2021 19:58
Since you don't want anyone to convert it for you then the real question is:
Are you, yourself capable of converting it?
And the fact that you are asking the question is its own answer.

However, if you are simply asking if AppGameKit is able to perform the same function as the above code, then the answer is yes.
The code is loading a 3D model, animating it and exporting 2D images of the frames to use as a sprite sheet. You can do that in AGK.

Bored of the Rings
User Banned
Posted: 2nd Dec 2021 20:06
yes, the onky way to learn is to do it yourself. so take each line at a time and write equivalent code in AppGameKit syntax it helps if you know both languages then translation will be qucker, if not , then the online guides will help
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 2nd Dec 2021 20:38 Edited at: 2nd Dec 2021 20:39
Quote: "You can do that in AGK."


Ok, I figured so I was not 100 percent sure on some of it.

I will try my best.

Quote: "Are you, yourself capable of converting it?"


I will try

Bored of the Rings

I was trying this and hopefully I will get it to work correctly.

Thank you for looking at it and letting me know guys.
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 2nd Dec 2021 21:58 Edited at: 2nd Dec 2021 22:00
Having established that you can do it, I'm now going to suggest that you don't. Not unless you just want to take on the challenge.
If you want to do it because you need the end results, as in, you want to create a sprite sheet from a 3D model, then I would suggest using Blender (or just about any other modelling software). The functionality is already available and it's much easier to set up the camera, lighting and materials.
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 2nd Dec 2021 22:07 Edited at: 2nd Dec 2021 22:55
Quote: "Having established that you can do it, I'm now going to suggest that you don't. Not unless you just want to take on the challenge."


To be honest it is just to see if I can and if it will work better and faster in appgamekit. I think it will.

Quote: "If you want to do it because you need the end results, as in, you want to create a sprite sheet from a 3D model, then I would suggest using Blender "


I use iClone v7.93, it makes all my frame images then I just make them all into a sprite, but Doing this will be faster and easier.

Plus it was already done so I am going to try myself if possible.


I already have the model loaded up and animated, just need to figure out the rest. but wow, I'm not to sure lol.




edit:

I got it to get each frame image, im getting there

Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 3rd Dec 2021 01:03 Edited at: 3rd Dec 2021 01:03
Well after trying and trying I see this will not run any faster for me any how.

It is still very slow.

I think it is due to getting image for each frame.

it looks to use a lot of ram and pc disk usage for some reason.

well At least I know it will not run any faster.
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 3rd Dec 2021 04:27
blink0k

Wow, that is pretty cool

It has a lot of code but I think most of it is for fpsc levels

It works pretty good

I will look at the code and see what makes it function.

Thanks
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 5th Dec 2021 17:59
Does it matter how fast it runs, if you are just generating a sprite sheet its not game logic, does it matter?

Hit generate and go have a coffee and a biscuit and its done [if your generating 20 spritesheets I would not advise drinking that much coffee tho!]

Quote: "Not unless you just want to take on the challenge."


Isn't that the whole point of any of this coding lark?
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 5th Dec 2021 18:41 Edited at: 5th Dec 2021 18:41
Quote: "Hit generate and go have a coffee and a biscuit and its done"



lol, I do not have all day to wait silly.

You always make me laugh.
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 5th Dec 2021 19:07
all day, dam is it that slow?

Quote: "You always make me laugh."


If laughter really is food for the soul, you owe me £12.80 for that meal.





Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 5th Dec 2021 19:39
Quote: "you owe me £12.80 for that meal."


mmmmmm, Well If you need it you need it.

I wonder what that is in us dollars lol.

14.48 United States Dollar

wow, that is a cheap date.
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 5th Dec 2021 20:15
Yeah a cheap date, I hope you like McDonalds! lol

14 dollars... dam is the pound ever going to recover!

I went to the US about 15 years ago on a mates stag (Las Vegas) and changed up £1000 GBP and got over $2500 USD, but on the plus side its a good time for you guys to buy British! lol
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 5th Dec 2021 20:59 Edited at: 5th Dec 2021 21:10
you 2 might be interested in my Trillion™ featurette which i've just renamed "1 eggnog, 2 straws".

original thread which i've necro'd in case you feel inspired to add your own.
Scraggle
Moderator
20
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 5th Dec 2021 21:22 Edited at: 5th Dec 2021 21:23

Attachments

Login to view attachments
ando
4
Years of Service
User Offline
Joined: 21st Feb 2020
Location: Australia
Posted: 5th Dec 2021 21:27 Edited at: 5th Dec 2021 22:04
lol !!!

BASIC appeared in May 1964. Lightning flashed, the wind roared and the Earth moved.
And nine months later I was born.
So here I am.
I am Basic.
Code is in my genes.
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 5th Dec 2021 21:41
Lmao!!

But... I would start a war with anyone that touches my strawberry milkshake!!

“Be careful not to choke on your aspirations.”

Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Game_Code_here
3
Years of Service
User Offline
Joined: 2nd Jun 2020
Location:
Posted: 5th Dec 2021 22:10
Quote: "strawberry milkshake"



mmmmmmmmmmmmmmmmmmmmmmmmmmmm

Login to post a reply

Server time is: 2024-03-29 06:32:39
Your offset time is: 2024-03-29 06:32:39