Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > SLANG
2010-04-07 15:24
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
SLANG

I have been playing with Slang and started to code a simple game using it but I ran into a problem...

Is there other way of doing this?:

ubyte tile0(4) = [ 1 2 3 4 ]
ubyte tile1(4) = [ 5 6 7 8 ]
ubyte tile2(4) = [ 1 2 2 1 ]


uint pToTiles(3) 

pToTiles(0) = #tile0
pToTiles(1) = #tile1
pToTiles(2) = #tile2 


I get a warning for these three last lines:Fewer dims than expected. Didn't check if it works even with the warning.


I would like to do something like:

pToTiles(3) [ #tile0 #tile1 #tile2 ] 


but it doesn't work (I get "bad number" error)


Thx
2010-04-07 15:38
Mace

Registered: May 2002
Posts: 1799
I don't know any Commodore 64 coding language by the name of SLANG...
2010-04-07 15:54
Cybernator

Registered: Jun 2002
Posts: 154
@Mace: http://www.ffd2.com/fridge/slang/
2010-04-07 17:34
Martin Piper

Registered: Nov 2007
Posts: 634
@Mace: http://www.lmgtfy.com/?q=c64+slang
2010-04-07 18:55
Mace

Registered: May 2002
Posts: 1799
Aha, glad I didn't utter an even more sarcastic reply :-)
2010-04-09 14:33
Iapetus/Algarbi/Wood

Registered: Dec 2004
Posts: 71
So no one knows about Slang.... ok back to asm.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
iceout/Avatar/HF
alwyz/udi
csabanw
Guests online: 113
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.048 sec.