Thursday, 08 January 2009
 
  Home arrow Forum  
Main Menu
Home
News
Forum
Documentation
Download
Links
Administrator
Login Form
Welcome, Guest. Please login or register.
January 08, 2009, 07:45:40 AM
Username: Password:
Login with username, password and session length

Forgot your password?
Recent Posts
DSLua Community
Welcome, Guest. Please login or register.
January 08, 2009, 07:45:40 AM
1724 Posts in 316 Topics by 10250 Members
Latest Member: monPyncloyalp
Pages: 1 2 [3] 4 5 ... 10
 21 
 on: June 09, 2008, 03:54:45 PM 
Started by daltonlaffs - Last post by sllide
why is he away anyway?

i know i'm posting in a OLD topic

 22 
 on: June 09, 2008, 03:05:17 PM 
Started by sllide - Last post by sllide
ok did what u say but still isnt working

and i changed the code a bit i thought this maiby worked -.-

BGBot8Bit = Screen.Load8BitBG()
Screen.Initialize( SCREEN_BOTTOM, BGBot8Bit)

BGBot8Bit:SetPaletteColor( CA, 31, 0, 0 )
BGBot8Bit:SetPaletteColor( CB, 0, 31, 0 )
BGBot8Bit:SetPaletteColor( CC, 0, 0, 31 )
BGBot8Bit:SetPaletteColor( CD, 31, 15, 0 )
BGBot8Bit:SetPaletteColor( CE, 31, 31, 0 )
BGBot8Bit:SetPaletteColor( CF, 15, 15, 15 )
BGBot8Bit:SetPaletteColor( CG, 31, 31, 31 )

X = 0
Y = 0
while X ~= 31 and Y ~= 23
   BGBot8Bit:Plot( X, Y, Random(CA,CB,CC,CD,CE,CF,CG))
   
   if X == 31
      Y = Y + 1
      X = 0
   else
      X = X + 1
   end
end
DSLua.WaitForAnyKey()

 23 
 on: June 08, 2008, 05:52:35 PM 
Started by sllide - Last post by Jeremysr
The second-last line is the problem. BGbottext:clear() should be BGBotText:Clear().

Also, the "y + 1" and "x + 1" lines won't do anything, I think you want to put "y = y + 1" and "x = x + 1".

 24 
 on: June 08, 2008, 02:44:54 PM 
Started by sllide - Last post by sllide
i dowloaded dslua 0.7 this morning
and i'm bussy all day to get this code to work

SCREEN_BOTTOM = 1
BGBot8Bit = Screen.Load8BitBG()
BGBotText = Screen.LoadTextBG()
Screen.Initialize(SCREEN_BOTTOM,BGBotText,BGBot8Bit)

x = 0
y = 0
BGTopText:PrintXY(0,0,"generating")
while x ~= 31 and y ~= 23
   BGBot8Bit:Plot(x,y,random(0,1,2,3,4,5,6,7,8,9))
   
   if x == 31
      y + 1
      x = 0
   else
      x + 1
   end
end
BGbottext:clear()
DSLua.WaitForAnyKey()

what did i do wrong?

 25 
 on: June 08, 2008, 01:18:47 PM 
Started by Extreme Coder - Last post by sllide
also make a in-game editor

 26 
 on: June 06, 2008, 02:48:37 PM 
Started by Alex72 - Last post by Alex72
Hello,
just a while that I don't surf this forum,
but I was no able to "have time" for luads.

Now, I'm back, and I would like to know, if the developers are still working on the next release of Luads Smiley
This becose, before I and my friends rework on our project, we want to know (if possible) if the develop of Luads will be.


Thanks
Ale

 27 
 on: June 03, 2008, 12:32:49 PM 
Started by Shmoopy909 - Last post by Ninken
PLEASE. I beg of you people. Make DsLua work once more! Couldn't you atleast make 0.7 working properly!? I spent a whole day reading up on DSlua and planning out a game in my head only to find out that  0.6 doesn't work on M3 simply and 0.7 is crap.

 28 
 on: June 02, 2008, 02:10:13 PM 
Started by Maple - Last post by Maple
Alright, I've seen the excellent work some of you guys have made with DSLua and the subsequent silencing of this creative output. Anybody interested in bringing DSLua up to date with the current PALib release? (i.e. the 080203 Community Release) Now that I've got a handle on how the Lua C API works (and done a little Lua coding on the DS, albeit mostly without DSLua), I'm ready to lend a hand getting this ship off the rocks and back into smoother waters.

Anybody left around here interested? If you need to find me, I generally lurk around the PALib forums (palib.info) dispensing misinformation that appears to be wisdom.

 29 
 on: May 31, 2008, 06:31:16 AM 
Started by Xera - Last post by Xera
When calling Socket:Send, what is "buffer" supposed to be?

I tried sending "hi" but my PC application never receives it.

Code:
top = Screen.LoadTextBG( )

Screen.Initialize( 1, top )

top:PrintXY( 0, 0, "Connecting.." )

if Wifi.ConnectWFC( ) then
sock = Wifi.InitTCP( "192.168.1.102", 9001 )
top:PrintXY( 0, 0, "Connected." )
sock:Send( "hi" )

while not Stylus.Down( ) do end
while Stylus.Down( ) do end
else
top:PrintXY( 0, 0, "Could not connect." )
end

top:PrintXY( 0, 1, "Disconnected." )

Wifi.Disconnect( )

 30 
 on: May 26, 2008, 04:59:45 PM 
Started by Extreme Coder - Last post by MightyGreenRanger
I basically think that it just needs to be built upon - at least to get a good base. It wil eventually need to be rewritten for everything to run efficiently on the DS

Pages: 1 2 [3] 4 5 ... 10


(C) 2009 DSLua

DSLua - Best scripting language for Nintendo DS home-brew!