Lua - Benutzbar in GLBasic

Previous topic - Next topic

trucidare

Das ist ja kein problem Gernot. Hab ja schon so einige da reingefummelt. Jedoch bin ich mir nich sicher wie ich die Variablen rüber bekomme. Ich wrede im laufe des tages verschiedene varianten ausprobieren.

Was seit heute neu ist, sind die positionierung des textes und co. also die restlichen aufrufparameter. Update kommt aber noch nich.

alle lua spezifischen sachen funktionieren. der interpreter läuft sicher und stabil. :)
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

trucidare

Update Siehe ersten Post
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

WPShadow

Kann da nichts mehr runterladen!?!
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Schranz0r

I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

WPShadow

Hey, wollte mal nachfragen, wie es mit deinem LUA - Projekt aussieht!?!

Ich, für meinen Teil, wäre total motiviert, das in mein System einzubinden, falls es entsprechend funktioniert...
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

trucidare

Ich arbeite an einer verbesserten Version ohne die Probleme der vorherigen Version. ich kann sagen der Kram rennt richtig gut. Ich denke wenn alles so läuft wie ich das will dann kommt ein neuer Release. Ich werd mich mit Gernot beraten.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

WPShadow

Das wäre spitze!

Bis dahin bin ich (wenn alles so weiter geht) mit Lost Revenant auch soweit, daß ich an den entsprechenden Schlüsselstellen LUA zum Einsatz bringen kann!

Aber nur, wenn ich dein System auch benutzen darf! *lieb_schau*
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

trucidare

wenn gernot das ok gibt auf jedenfall.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Kitty Hello

Für sein Spiel auf jeden Fall. Wg. der Bibliothek an sich muss ich mal überlegen. Evtl. bau ich da was an der Lizenz um...

FutureCow

Can someone who speaks english tell me what the outcome of combining LUA and GLBasic was? Web translaters don't do a good job of translating the forum posts.

Kitty Hello

The result is: It's working, but it's LUA.
We do have a wrapper for the Tcl/Tk language in the samples, which I personally prefer.

FutureCow

I don't know either of them so I'm happy to learn whichever one works in GLBasic!
I searched my whole GLBasic directory on my computer for any files containing "tcl" and there were no wrappers there. I searched the website and the only result was Ocean's Tcl/Tk GUI demo - but there's only screenshots.
Is the wrapper in v7 or am I missing it?

What I'm looking for is a way where I can call GLBasic functions/subroutines from external scripts to code game levels/game logic, hopefully the Tcl/Tk wrapper will let me do that.

Kitty Hello

Samples/Projects/TclTk - not there?

FutureCow

Nope - 16 directories in the _Projects_ directory, but none are TclTk :(

FutureCow

I have it in the directory on my work PC which has the demo version so I'm not sure what happened to my copy at home.

I can't see in the example any Tcl/Tk code calling GLBasic functions directly. As someone who knows nothing so far about Tcl/Tk, is it possible to have a script file that says, eg. CreateTank and have your Tcl/Tk program interpret that and then call a CreateTank Subroutine with variables from the script?