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 Studio Chat / [SOLVED] AppGameKit Studio I do not like

Author
Message
cgw
4
Years of Service
User Offline
Joined: 29th Oct 2019
Location:
Posted: 29th Oct 2019 05:33
AppGameKit Studio I do not like:
I can not write sound to a file (for now). When I can???
I cannot write sound to an array. (always)
I need to access to process this sound in an array.
I can not play the sound from the array. (always)

When I launched Trial Demo Project I see an error

Compiling C: / Program Files (x86) / The Game Creators / AppGameKit Studio Trial / media / Projects / Text / Printing / main.agc
Error: Failed to open file for writing media / bytecode.byc
Error: Failed to open bytecode file for writing
Compilation failed.
Current project: Printing.agk
--------------------------------
>  Printing.agk
    >  media
    >  main.agc
...
>  -> Classic DLC Media

File Edit View | <> |
    12/1 22 lines | Ins | ... Text / Printing / main.agc


And so with all the demo projects.

Does this mean that the engine is not working or am I doing something wrong?

Can I include other external scripts written in C ++ or another language in the game?
for example DLL file ???
For example, I need to access the COM port

What do you say about this all ???

The author of this post has marked a post as an answer.

Go to answer

blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 29th Oct 2019 07:23
Quote: " C: / Program Files (x86) / The Game Creators / AppGameKit Studio Trial / media / Projects "

You do not have access to write to the projects folder.
Maybe copy that folder to your Documents folder and build from there
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 29th Oct 2019 10:13
This post has been marked by the post author as the answer.
Quote: "Can I include other external scripts written in C ++ or another language in the game?
for example DLL file ???
For example, I need to access the COM port"


Yes you can include external C/C++ code in plugins, and call this from AppGameKit code - see https://www.appgamekit.com/documentation/guides/14_plugins.htm

This way you can access a COM port if you needed to. Ive done this before and its fairly easy to do if you can write C.

App game kit allows you to load sounds and then manipulate them in an memblock which is an array really. You could even write a plugin to record sound into a memblock if wanted. If you want to actually process audio then interpreted basic is not the fastest way to do it so writing your processing functions in C++ would also be a good idea.



cgw
4
Years of Service
User Offline
Joined: 29th Oct 2019
Location:
Posted: 30th Oct 2019 02:06
Thanks to all.
Moved to another way it worked.

Thanks for the link https://www.appgamekit.com/documentation/guides/14_plugins.htm
This changes the matter.

Now I like AGK.

Login to post a reply

Server time is: 2024-04-20 16:04:53
Your offset time is: 2024-04-20 16:04:53