RetroBASIC

Retrogamecoding(.org) => Pulsar2D => Topic started by: Rick3137 on October 18, 2015, 04:35:10 PM

Title: Using Geany with Pulsarlua
Post by: Rick3137 on October 18, 2015, 04:35:10 PM
    I managed to get the Geany IDE working with Pulsarlua.
    It's a really nice setup.
    After putting filetypes.lua into the geany Data folder I got everything in color.
    It even gives me the line numbers of all my functions. I can go to any function with one click of the mouse.
    Now, I am working on the Build buttons. I got the execute button to work, but it only works if your .lua file is in the PulsarluaWin32 folder. If you put it in another folder it doesn't seem to work.
 
   
Title: Re: Using Geany with Pulsarlua
Post by: Cybermonkey on October 18, 2015, 08:39:28 PM
You have to add the complete path, then it will work, both Windows and Linux.
Title: Re: Using Geany with Pulsarlua
Post by: Rick3137 on October 18, 2015, 09:31:38 PM
   Not that simple.
   Here's the path I used:
   C:\Users\Rick\Desktop\PulsarLuaWin32\pulsarlua.exe  C:\Users\Rick\Desktop\PulsarExamples %f
   It almost worked. What I got was " Permission Denied "
   To make it work, I had to hit the button, "run as administrator"
   It will not run if I log in as a regular User. Must be a Windows8 thing.  :o
   I think I better stick to just one folder.

 Is this it?: C:\Users\Rick\Desktop\PulsarLuaWin32\pulsarlua.exe %f
 I put my examples folder in my Pulsarlua folder and this path made it work.
 Never mind; This fixed everything. It now works anywhere. Thanks for the help.

Title: Re: Using Geany with Pulsarlua
Post by: Bereb on October 26, 2015, 03:32:56 PM
Here is my local setup with Geany :

(https://farm1.staticflickr.com/661/21872792273_0ef0b991f1_c.jpg) (https://flic.kr/p/zjPM7a)

Sometimes I invert Löve and Pulsar2D − depending on wether I'm using more one than the other − so that I can take advantage of the <F9> key (which commands number 2), to launch quickly the script (for testing).

PS:
Maybe the quotes are important here: %f  -> "%f".