new here. some questions

This forum is dedicated to those who want support programming in ugBASIC.
Questo forum è dedicato a chi desidera supporto per programmare in ugBASIC.
Ce forum est dédié à ceux qui souhaitent prendre en charge la programmation en ugBASIC.
Post Reply
zartan917
Posts: 3
Joined: Fri Mar 28, 2025 1:42 pm

new here. some questions

Post by zartan917 »

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!
spotlessmind1975
Site Admin
Posts: 204
Joined: Fri Oct 06, 2023 8:25 pm

Re: new here. some questions

Post by spotlessmind1975 »

Hi zartan917, and welcome! :D

First of all, thank you so much for the message!
zartan917 wrote: Fri Mar 28, 2025 5:17 pm im following the tutorials but when i add an image it just shows the name of the image not actual picture.
The result you got seems to be the one you get by writing something like:

Code: Select all

PRINT image
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.
zartan917 wrote: Fri Mar 28, 2025 5:17 pm Also could ugbasic export to nintendo ds and/or ti 89?
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.
zartan917 wrote: Fri Mar 28, 2025 5:17 pm lastly could i sell a game commercially made in ugbasic? thanks!
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.
zartan917
Posts: 3
Joined: Fri Mar 28, 2025 1:42 pm

Re: new here. some questions

Post by zartan917 »

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!
spotlessmind1975
Site Admin
Posts: 204
Joined: Fri Oct 06, 2023 8:25 pm

Re: new here. some questions

Post by spotlessmind1975 »

Hi zartan917!

First of all thank you so much for the support and the link!
zartan917 wrote: Fri Mar 28, 2025 11:00 pm 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.
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.
zartan917 wrote: Fri Mar 28, 2025 11:00 pm 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?
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.
zartan917 wrote: Fri Mar 28, 2025 11:00 pm 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?
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.
zartan917
Posts: 3
Joined: Fri Mar 28, 2025 1:42 pm

Re: new here. some questions

Post by zartan917 »

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!
Post Reply