RetroBASIC

Retrogamecoding(.org) => General game development => Topic started by: johnno56 on July 11, 2018, 02:58:35 PM

Title: Linux User
Post by: johnno56 on July 11, 2018, 02:58:35 PM
I am interested in trying my hand at making games for my grandkids. (ages 2 to 11)  I am a Linux user and would appreciate any tips/tuts/vids/Docs etc that can help me achieve this goal. I mainly use Basic and only dabbled very little with Python and Lua. Platformers and shooters are what they like playing at the moment. But, kids being kids, that can change in a heart beat...

Any help would be appreciated. Thank you.

J
Title: Re: Linux User
Post by: Aurel on July 12, 2018, 06:18:40 PM
Hey
Title: Re: Linux User
Post by: johnno56 on July 12, 2018, 09:55:41 PM
Thanks Aurel.

The grandkids love playing platform games. Cool.

In regards to Linux: Knowledge of Linux is not required. I use the Linux versions of QB64 and SDLBasic. So, any ideas about Platformers or Shooters in Basic, would be great. (NB. QB64 and SDLBasic do not have nor use a tile map editor... If you know of one written in Basic, and are willing to share it, that would be good as well... lol)

Again, thank you for the link. THAT one will be "book marked"!!

Cheers

J
Title: Re: Linux User
Post by: B+ on July 13, 2018, 12:22:20 AM
Hi J,

What became of platformer started in SdlBasic? You (we) had the player all the way to a door to next level as I recall.
Title: Re: Linux User
Post by: johnno56 on July 13, 2018, 01:29:48 AM
I still have that game (for want of a better word) but I didn't like the collision detection. Hence the inquiry into tile mapping. I am keen to try it using EGSL but I'm having difficulties with the installation... (posted problem earlier...)

I haven't done much with it... Attendance on SDLBasic site is well, almost like a ghost town, compared to most 'Basic' sites... lol  So basically I was working on it for a very small audience. Maybe I will have better luck on this site? (assuming I can get EGSL to run... lol)

So, long story short, the game is alive - barely breathing - but alive none the less... lol

I haven't been very active on this site. What is your impression of the level of help here? Nuts! My cup of tea has gone cold. Time to upgrade it to a 'proper' drink!!

J
Title: Re: Linux User
Post by: B+ on July 13, 2018, 01:27:14 PM
Hi J,

???

The collision detection for two tiles (rectangular areas) you posted at QB64 is outstanding. I modified it to a function and expect to use it next time I need it.
Title: Re: Linux User
Post by: johnno56 on July 13, 2018, 03:16:19 PM
You are too kind. It was just a translation of a simple "bounding box" algorithm. The main problem I have is jumping. Either jumping or falling, the player, seems to partially overlap with the sprite it contacts with... hmm... could be a velocity issue. Normal movement velocity works ok but when moving faster... hmm...

SDLBasic has a collision system built in... SpriteHit() and BobHit()... because of a 'screw loose' in the colorkey, I can't use 'solid' colour sprites. Therefore PasteIcon() has to be used and PasteIcon() is not used by Sprite and BobHit().... Thus having to rely on GetPixel(), point() or bounding box for collisions... My brain hurts... Nuts! It's gone 1 AM and I have to be up in 4 hours!!

Later on this morning, I may take the game 'back to formula', and try a modified RPG method of tile mapping... can't hurt... much...

Good night. (morning... what ever...)

J
Title: Re: Linux User
Post by: Aurel on July 14, 2018, 05:11:19 PM
Joh
Title: Re: Linux User
Post by: johnno56 on July 14, 2018, 08:56:43 PM
Aurel,

Thank you for the list. Much appreciated.

Godot and GDevelop I already have installed. I have found tutorials for them some time ago. The tuts are easy enough to follow, but for me anyway, the learning curve is quite steep. I think repetition should help out there... lol

I didn't install Polycode, mainly because, the Linux version is 32 bit and I use 64 bit.

CRY and Urho I looked at, I was impressed, but 3D is not the direction I want to go. Crumbs. I find it hard enough to tackle 2D as it is... lol

I have Game Maker 6 and 8.1 installed. "6" runs almost flawlessly using Wine on Linux. Unfortunately, most of the current samples and tutorials, are geared for Game Maker Studio. "8.1" has its problems and "Studio"... well, I'm not going to list the headaches I have had with THAT one...

As much as I search and research, I still end up going back to Basic, after all it's what I know best... lol But my skills (and I use that word VERY loosely) are not as good as I would hope for... One of the reasons I visits sites like this one... lol

But thank you for the advice and the time you have taken to offer it. Much appreciated. :)

J
Title: Re: Linux User
Post by: Aurel on July 14, 2018, 10:15:12 PM
No problem i will try some of them
32bit of course...i ewally dont neeed 64bit mumbo jumbo
all best ;)
Title: Re: Linux User
Post by: ScriptBasic on July 15, 2018, 12:40:49 AM
If you were to make that statement in the Linux world, people would think your nuts. You're safe for awhile running Windows.
Title: Re: Linux User
Post by: Aurel on July 15, 2018, 06:48:04 AM
There
Title: Re: Linux User
Post by: ScriptBasic on July 15, 2018, 07:01:21 AM
Most mainstream Linux distros have already discontinued 32 bit versions of the OS. I have the 32 bit libs installed on my 64 bit Ubuntu laptop which is required for 32 bit Wine programs to run.

32 bit is in emulation mode going forward and most hardware manufacturers don't make 32 bit boards or graphic cards anymore.
Title: Re: Linux User
Post by: Aurel on July 15, 2018, 07:44:38 AM
Yes
Title: Re: Linux User
Post by: ScriptBasic on July 15, 2018, 09:12:05 AM
Eros is correct as far as Windows interpreters go. Microsoft is distancing themselves as an OS vendor and trending toward Linux and open source in the cloud.
Title: Re: Linux User
Post by: ZXDunny on July 15, 2018, 09:25:43 AM
Linux and Apple have ditched 32bit, yes. I personally have no 32bit machines or OS's in the house any longer and the outfit I work for no longer targets 32bit Windows as the larger memory addressing means our users are no longer limited.

32bit is going away fast, I'm afraid.
Title: Re: Linux User
Post by: Aurel on July 15, 2018, 11:41:53 AM
Yes..
Title: Re: Linux User
Post by: ScriptBasic on July 16, 2018, 02:16:06 AM
Windows 32 bit is supported as a WoW layer on 64 bit Windows.

Linux uses a set of 32 bit libs which allows gcc to cross compile 32 or 64 bit executables.

I run Windows 32 bit versions XP, 7 and 10 as VirtualBox VMs on my 64 bit Linux laptop. I still have a Windows 7 64 bit dedicated partition on my old laptop.
Title: Re: Linux User
Post by: ZXDunny on July 16, 2018, 10:35:54 AM
Yes..
so what mean that Spec Bas for windows need 64bit windows
i think that you can execute any 32bit app on 64bit windows machine
right?

Yes, you can. SpecBAS (for official releases) comes in 32bit and 64bit versions, but the 64bit version is a lot faster, for obvious reasons.
Title: Re: Linux User
Post by: Tomaaz on August 23, 2018, 08:47:11 PM
Johnno, have a look at LOVE (https://love2d.org/). Yoy write code once and it runs on Windows, Linux and Android. You can configure Geany to work with it and there is an appimage for 64-bit Linux distros, so you don't have to compile and configure anything or worry about dependencies. If you want I can help you configure Geany to work with it.
Title: Re: Linux User
Post by: johnno56 on August 23, 2018, 10:10:31 PM
Tomaaz,

Thank you for the suggestion. I have had Love2D installed for quite some time. I have been working my way through tutorials and find it quite impressive. Lua is something that will take me a while to get used to. The structure is quite nice and is ok for smaller programs. But with larger programs it gets a little confusing... for me any way... The one thing I am not crazy about are the looonnnggg love2D reserved words... I know, they can be shortened... but still...

Again, thank you for the suggestion. Much appreciated.

J
Title: Re: Linux User
Post by: Tomaaz on February 28, 2019, 10:21:08 PM
Most mainstream Linux distros have already discontinued 32 bit versions of the OS.

Linux and Apple have ditched 32bit, yes.

32bit is going away fast, I'm afraid.

You can still download 32-bit versions of Debian, Buntus (Lubuntu, Xubuntu), Mint, Fedora, Slackware. I agree that support for 32-bit is going to disappear eventually, but it hasn't happened yet. I know - I should have replied several months ago, but better late than never. ;)