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: 722
@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
ΛΛdZ
Acidchild/Padua
Chesser/Blazon
Scrap/Genesis Project
Guests online: 110
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Organizers
1 Burglar  (9.9)
2 Sixx  (9.8)
3 hedning  (9.7)
4 Irata  (9.7)
5 Tim  (9.7)

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