Author Topic: Using Geany with Pulsarlua  (Read 3244 times)

Rick3137

  • Guest
Using Geany with Pulsarlua
« 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.
 
   

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: Using Geany with Pulsarlua
« Reply #1 on: October 18, 2015, 08:39:28 PM »
You have to add the complete path, then it will work, both Windows and Linux.

Rick3137

  • Guest
Re: Using Geany with Pulsarlua
« Reply #2 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.

« Last Edit: October 18, 2015, 10:39:44 PM by Rick3137 »

Bereb

  • Guest
Re: Using Geany with Pulsarlua
« Reply #3 on: October 26, 2015, 03:32:56 PM »
Here is my local setup with Geany :



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".
« Last Edit: October 26, 2015, 03:41:41 PM by Bereb »