hi, new to ugbasic.
I think its great it outputs for many platforms!
im following the tutorials but when i add an image it just shows the name of the image not actual picture.
Also could ugbasic export to nintendo ds and/or ti 89?
lastly could i sell a game commercially made in ugbasic? thanks!
new here. some questions
-
- Site Admin
- Posts: 204
- Joined: Fri Oct 06, 2023 8:25 pm
Re: new here. some questions
Hi zartan917, and welcome!
First of all, thank you so much for the message!
where image is the name of a variable that contains an image. To get the image itself on the screen you need to use the PUT IMAGE command. There is a chapter dedicated to this type of operations (6.2 Drawing images), in the user manual while on this page you can find a short description. Let me know if this was helpful.

First of all, thank you so much for the message!
The result you got seems to be the one you get by writing something like:
Code: Select all
PRINT image
Actually not, because they are not 8-bit computers. It is possible that in the future ugBASIC could generate executables for computers with more powerful processors. Since the project is Open Source, it is possible that there could be forks in this direction in the future.
Absolutely yes, you can. Games and programs made with the ugBASIC software may be licensed under any license (also commercial one), as long as you acknowledge the use of ugBASIC in the development of the program.
Re: new here. some questions
Thank you! That worked!
Yes i will have a link to ugbasic with the game(s) i try to make. When i downloaded ugbasic did it download emulators too? i find i have to set the path to the emulators, are they included or i have to get each one. Ill read the manual thanks i was able to download it from firefox.
im doing sokoban games now
https://zartan917.itch.io/mirror-the-clown
and am getting back into retro consoles
https://zartan917.itch.io/cabyrinth-for-msx
and i saw a soko+, could i strip it and use it as a starting point (put in my own graphics/levels)
to sell a new (old) sokoban game, and/or is there a soko tutorial?
Also I made a very simple text game in c64 basic from late 1980s would that be portable to open in ugbasic and export to different platforms?
Thanks again keep on gaming!
Yes i will have a link to ugbasic with the game(s) i try to make. When i downloaded ugbasic did it download emulators too? i find i have to set the path to the emulators, are they included or i have to get each one. Ill read the manual thanks i was able to download it from firefox.
im doing sokoban games now
https://zartan917.itch.io/mirror-the-clown
and am getting back into retro consoles
https://zartan917.itch.io/cabyrinth-for-msx
and i saw a soko+, could i strip it and use it as a starting point (put in my own graphics/levels)
to sell a new (old) sokoban game, and/or is there a soko tutorial?
Also I made a very simple text game in c64 basic from late 1980s would that be portable to open in ugbasic and export to different platforms?
Thanks again keep on gaming!
-
- Site Admin
- Posts: 204
- Joined: Fri Oct 06, 2023 8:25 pm
Re: new here. some questions
Hi zartan917!
First of all thank you so much for the support and the link!
For example, if by "soko+" you mean SOKO64+, this game is distributed under the Apache 2.0 license. This license is very open and allows you to do many things, except use the name of the game, which you must call something else. Furthermore, remember that the original code is covered by this license, whose terms you must respect: you can also sell the executable but you must acknowledge that it was based on SOKO64+.
In summary, if you use any Apache 2.0 code, you must include the original copyright notice, a copy of the license and, finally, a statement of any significant changes you have made to the original code. This last requirement is essential: if you make changes to the code, you must disclose those changes in any updated version. Not necessarily the source, but you must explain how it differs from the one you took inspiration from, and therefore you must give a backlink to the original game.
First of all thank you so much for the support and the link!
Emulators are downloaded separately, and are not part of the IDE or ugBASIC. The IDE allows you to use several emulators. Most of them integrate with the IDE's Run command, which allows you to directly run compiled executables. This makes development convenient. The emulator executables can be downloaded and installed wherever you want, just tell the IDE where to find them.
Programs written from scratch with ugBASIC can be licensed and sold commercially. In this case you can do whatever you want, as long as you indicate that it was done with ugBASIC. However, other programs written with ugBASIC may have been licensed under different licenses.
For example, if by "soko+" you mean SOKO64+, this game is distributed under the Apache 2.0 license. This license is very open and allows you to do many things, except use the name of the game, which you must call something else. Furthermore, remember that the original code is covered by this license, whose terms you must respect: you can also sell the executable but you must acknowledge that it was based on SOKO64+.
In summary, if you use any Apache 2.0 code, you must include the original copyright notice, a copy of the license and, finally, a statement of any significant changes you have made to the original code. This last requirement is essential: if you make changes to the code, you must disclose those changes in any updated version. Not necessarily the source, but you must explain how it differs from the one you took inspiration from, and therefore you must give a backlink to the original game.
I would imagine so, as long as you use standard text primitives, so you don't have direct access to video memory. Note that ugBASIC is largely compatible with BASIC V2, so porting should be feasible.
Re: new here. some questions
Thank you for your wonderful answers. it would be very difficult doing this without a forum! wow that manual is over 1000 pages! I gotta lotta reading to do! OK hope to have some games made! Keep on gaming!